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

(-)graphics/gtksee/Makefile (-8 / +10 lines)
Lines 6-22 Link Here
6
#
6
#
7
7
8
PORTNAME=	gtksee
8
PORTNAME=	gtksee
9
PORTVERSION=	0.5.0
9
PORTVERSION=	0.5.2
10
PORTREVISION=	2
11
CATEGORIES=	graphics
10
CATEGORIES=	graphics
12
MASTER_SITES=	http://www.linux.tucows.com/files/x11/graphics/ \
11
MASTER_SITES=	http://download.berlios.de/gtksee/
13
		http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/
14
12
15
MAINTAINER=	dirk@FreeBSD.org
13
MAINTAINER=	dirk@FreeBSD.org
16
COMMENT=	Image viewer
14
COMMENT=	Image viewer
17
15
18
LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext \
16
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
19
		jpeg.9:${PORTSDIR}/graphics/jpeg \
20
		png.5:${PORTSDIR}/graphics/png \
17
		png.5:${PORTSDIR}/graphics/png \
21
		tiff.4:${PORTSDIR}/graphics/tiff
18
		tiff.4:${PORTSDIR}/graphics/tiff
22
RUN_DEPENDS=	bzip:${PORTSDIR}/archivers/bzip
19
RUN_DEPENDS=	bzip:${PORTSDIR}/archivers/bzip
Lines 24-32 Link Here
24
RUN_DEPENDS+=	bzip2:${PORTSDIR}/archivers/bzip2
21
RUN_DEPENDS+=	bzip2:${PORTSDIR}/archivers/bzip2
25
.endif
22
.endif
26
23
27
USE_GNOME=	gtk12
24
USE_GNOME=	gtk12 gnometarget
25
USE_REINPLACE=	yes
28
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
29
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
27
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
30
		LIBS="-L${LOCALBASE}/lib"
28
		LDFLAGS="-L${LOCALBASE}/lib"
29
30
post-patch:
31
	@${REINPLACE_CMD} -e \
32
		's|^CFLAGS=""|CFLAGS="$$CFLAGS"|g' ${WRKSRC}/configure
31
33
32
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)graphics/gtksee/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (gtksee-0.5.0.tar.gz) = 21a8a9f28fa61d73725fb606962fa108
1
MD5 (gtksee-0.5.2.tar.gz) = a5012896f86dde9fc90be71a413e7326
(-)graphics/gtksee/files/patch-aa (-11 lines)
Lines 1-11 Link Here
1
--- src/im_xcf.c.orig	Thu Dec  3 12:22:17 1998
2
+++ src/im_xcf.c	Fri Dec  4 10:15:47 1998
3
@@ -23,7 +23,7 @@
4
 
5
 /* patch from Pyun YongHyeon: fixed compilation error for FreeBSD 3.0 */
6
 #ifdef __FreeBSD__
7
-#include <sys/param.h>
8
+#include <sys/types.h>
9
 #endif
10
 
11
 #include <netinet/in.h>
(-)graphics/gtksee/files/patch-ab (-20 lines)
Lines 1-20 Link Here
1
--- src/gtksee.c.orig	Sat Sep 25 01:27:40 1999
2
+++ src/gtksee.c	Sun May  6 13:25:31 2001
3
@@ -322,13 +322,13 @@
4
 	}
5
 	if (hour == 0)
6
 	{
7
-		sprintf(buffer, "%s, %02i/%02i/%02i 12:%02i AM",
8
-			text, time->tm_year, time->tm_mon+1, time->tm_mday,
9
+		sprintf(buffer, "%s, %04i/%02i/%02i 12:%02i AM",
10
+			text, time->tm_year + 1900, time->tm_mon+1, time->tm_mday,
11
 			time->tm_min);
12
 	} else
13
 	{
14
-		sprintf(buffer, "%s, %02i/%02i/%02i %02i:%02i %s",
15
-			text, time->tm_year, time->tm_mon+1, time->tm_mday,
16
+		sprintf(buffer, "%s, %04i/%02i/%02i %02i:%02i %s",
17
+			text, time->tm_year + 1900, time->tm_mon+1, time->tm_mday,
18
 			hour, time->tm_min, (time->tm_hour<12)?"AM":"PM");
19
 	}
20
 	g_free(text);
(-)graphics/gtksee/pkg-descr (+2 lines)
Lines 1-3 Link Here
1
A Image viewer based on X-Window system and GTK+. The main purpose
1
A Image viewer based on X-Window system and GTK+. The main purpose
2
is to port ACD See, which is a very popular image viewer in M$
2
is to port ACD See, which is a very popular image viewer in M$
3
world, to Unix platform.
3
world, to Unix platform.
4
5
WWW: http://gtksee.berlios.de/
(-)graphics/gtksee/pkg-plist (+2 lines)
Lines 1-2 Link Here
1
bin/gtksee
1
bin/gtksee
2
share/locale/es/LC_MESSAGES/gtksee.mo
3
share/locale/fr/LC_MESSAGES/gtksee.mo
2
share/locale/zh_CN.EUC/LC_MESSAGES/gtksee.mo
4
share/locale/zh_CN.EUC/LC_MESSAGES/gtksee.mo

Return to bug 53493