View | Details | Raw Unified | Return to bug 118621
Collapse All | Expand All

(-)graphics/qcomicbook/Makefile (-12 / +10 lines)
Lines 6-35 Link Here
6
#
6
#
7
7
8
PORTNAME=	qcomicbook
8
PORTNAME=	qcomicbook
9
PORTVERSION=	0.3.4
9
PORTVERSION=	0.4.0
10
PORTREVISION=	2
11
CATEGORIES=	graphics
10
CATEGORIES=	graphics
12
MASTER_SITES=	http://linux.bydg.org/~yogin/
11
MASTER_SITES=	http://linux.bydg.org/~yogin/qcomicbook/
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	QT-based comic book archive viewer
14
COMMENT=	QT-based comic book archive viewer
16
15
17
LIB_DEPENDS=	Imlib2.4:${PORTSDIR}/graphics/imlib2
18
RUN_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip \
16
RUN_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip \
19
		unrar:${PORTSDIR}/archivers/unrar
17
		unrar:${PORTSDIR}/archivers/unrar
20
18
21
USE_X_PREFIX=	yes
19
USE_QT_VER=	4
22
USE_QT_VER=	3
20
QT_COMPONENTS=	gui moc
21
USE_GNOME=	gnometarget
23
USE_GMAKE=	yes
22
USE_GMAKE=	yes
24
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
25
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
24
CONFIGURE_ENV=	QtGui_CFLAGS="${QtGui_CFLAGS}"
26
CONFIGURE_ARGS=	--with-Qt-dir="${QT_PREFIX}"
27
25
28
MAN1=		qcomicbook.1
26
MAN1=		qcomicbook.1
29
27
30
# Luckily, QT apps on FreeBSD don't compile against
28
QtGui_CFLAGS=	-DQT_SHARED \
31
# pthread by default. That might *gasp* make them work!
29
		-I${QT_PREFIX}/include/QtGui \
32
QTCPPFLAGS+=	${PTHREAD_CFLAGS}
30
		-I${QT_PREFIX}/include/QtCore \
33
QTCFGLIBS+=	${PTHREAD_LIBS}
31
		-I${QT_PREFIX}/include
34
32
35
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)graphics/qcomicbook/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (qcomicbook-0.3.4.tar.gz) = f93f29e0635f8fe64f036bf654050438
1
MD5 (qcomicbook-0.4.0.tar.gz) = a0ef74e5478d66e3538a362ec691999d
2
SHA256 (qcomicbook-0.3.4.tar.gz) = 7accb599b05b5d5a52b66dde1f3cbb41af8eac8d5bdce0d637f06d348cfdb6a9
2
SHA256 (qcomicbook-0.4.0.tar.gz) = d6f07803f543d8597378df8c3f6e3ff186d7b7c022178dbdd6185d77ad07eb3b
3
SIZE (qcomicbook-0.3.4.tar.gz) = 384681
3
SIZE (qcomicbook-0.4.0.tar.gz) = 363715
(-)graphics/qcomicbook/files/patch-configure (-11 lines)
Lines 1-11 Link Here
1
--- configure.orig	Thu Jul  6 01:52:40 2006
2
+++ configure	Thu Jul  6 01:53:18 2006
3
@@ -5822,7 +5822,7 @@
4
 }
5
 EOF
6
 
7
-      bnv_cv_qt_test_result="failure"
8
+      bnv_cv_qt_test_result=""
9
       bnv_try_1="$QT_MOC bnv_qt_test.h -o moc_bnv_qt_test.$ac_ext >/dev/null 2>/dev/null"
10
       { (eval echo "$as_me:$LINENO: \"$bnv_try_1\"") >&5
11
   (eval $bnv_try_1) 2>&5
(-)graphics/qcomicbook/files/patch-src-thumbnail.cpp (-10 lines)
Lines 1-10 Link Here
1
--- src/thumbnail.cpp.orig	Sat Apr  2 19:59:03 2005
2
+++ src/thumbnail.cpp	Fri May 20 00:51:33 2005
3
@@ -11,6 +11,7 @@
4
  */
5
 
6
 #include "thumbnail.h"
7
+#include <sys/types.h>
8
 #include <utime.h>
9
 
10
 int Thumbnail::thwidth = 100;
(-)graphics/qcomicbook/files/patch-src__imgarchiver.cpp (-10 lines)
Lines 1-10 Link Here
1
--- src/imgarchiver.cpp.orig	Tue Aug 15 20:51:05 2006
2
+++ src/imgarchiver.cpp	Sun Aug 27 20:12:00 2006
3
@@ -13,6 +13,7 @@
4
 #include "imgarchiver.h"
5
 #include <qprocess.h>
6
 #include <qapplication.h>
7
+#include <unistd.h>
8
 
9
 using namespace QComicBook;
10
 
(-)graphics/qcomicbook/files/patch-src__imgdirsink.cpp (-10 lines)
Lines 1-10 Link Here
1
--- src/imgdirsink.cpp.orig	Thu Aug 24 03:07:06 2006
2
+++ src/imgdirsink.cpp	Sun Aug 27 20:14:19 2006
3
@@ -404,6 +404,6 @@
4
 	for (int i=0; imgext[i]; i++)
5
 		if (path.endsWith(imgext[i], false))
6
 			return imgext[i];
7
-	return false;
8
+	return QString::null;
9
 }
10
 
(-)graphics/qcomicbook/pkg-plist (-7 lines)
Lines 5-15 Link Here
5
%%DATADIR%%/fforward.png
5
%%DATADIR%%/fforward.png
6
%%DATADIR%%/fitheight.png
6
%%DATADIR%%/fitheight.png
7
%%DATADIR%%/fitwidth.png
7
%%DATADIR%%/fitwidth.png
8
%%DATADIR%%/help/en/index.html
9
%%DATADIR%%/help/en/internals.html
10
%%DATADIR%%/help/en/intro.html
11
%%DATADIR%%/help/en/keyboard.html
12
%%DATADIR%%/help/en/menu.html
13
%%DATADIR%%/info.png
8
%%DATADIR%%/info.png
14
%%DATADIR%%/japanese.png
9
%%DATADIR%%/japanese.png
15
%%DATADIR%%/nextpage.png
10
%%DATADIR%%/nextpage.png
Lines 27-32 Link Here
27
%%DATADIR%%/thumbnails.png
22
%%DATADIR%%/thumbnails.png
28
%%DATADIR%%/twopages.png
23
%%DATADIR%%/twopages.png
29
%%DATADIR%%/wholepage.png
24
%%DATADIR%%/wholepage.png
30
@dirrm %%DATADIR%%/help/en
31
@dirrm %%DATADIR%%/help
32
@dirrm %%DATADIR%%
25
@dirrm %%DATADIR%%

Return to bug 118621