Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2003 22:13:56 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/52895: Update port: graphics/gtksee to 0.5.1
Message-ID:  <20030603221356.4c35fc91.tkato@prontomail.com>
Resent-Message-ID: <200306031320.h53DKBld044693@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         52895
>Category:       ports
>Synopsis:       Update port: graphics/gtksee to 0.5.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 03 06:20:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.1

Remove file:
files/patch-aa
files/patch-ab

No response from maintainer.

>How-To-Repeat:
>Fix:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030603221356.4c35fc91.tkato>