From 476b3f623d0f113d59ba3ae986007206477b40ef Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura Date: Fri, 11 Jul 2003 18:59:49 +0000 Subject: [PATCH] Update to 0.5.2 [1]. Drop MAINTAINERship. PR: ports/53493 [1] Submitted by: Ports Fury [1] Approved by: maintainer timeout (a long time) --- graphics/gtksee/Makefile | 20 +++++++++++--------- graphics/gtksee/distinfo | 2 +- graphics/gtksee/files/patch-aa | 11 ----------- graphics/gtksee/files/patch-ab | 20 -------------------- graphics/gtksee/pkg-descr | 2 ++ graphics/gtksee/pkg-plist | 2 ++ 6 files changed, 16 insertions(+), 41 deletions(-) delete mode 100644 graphics/gtksee/files/patch-aa delete mode 100644 graphics/gtksee/files/patch-ab diff --git a/graphics/gtksee/Makefile b/graphics/gtksee/Makefile index 320bd0ce9cff..793287801fa7 100644 --- a/graphics/gtksee/Makefile +++ b/graphics/gtksee/Makefile @@ -6,17 +6,14 @@ # PORTNAME= gtksee -PORTVERSION= 0.5.0 -PORTREVISION= 2 +PORTVERSION= 0.5.2 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 +MAINTAINER= ports@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 @@ -24,9 +21,14 @@ RUN_DEPENDS= bzip:${PORTSDIR}/archivers/bzip RUN_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2 .endif -USE_GNOME= gtk12 +USE_GNOME= gtk12 gnometarget +USE_REINPLACE= yes GNU_CONFIGURE= yes 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 diff --git a/graphics/gtksee/distinfo b/graphics/gtksee/distinfo index b0e557e3c7b7..82b1f3d9c187 100644 --- a/graphics/gtksee/distinfo +++ b/graphics/gtksee/distinfo @@ -1 +1 @@ -MD5 (gtksee-0.5.0.tar.gz) = 21a8a9f28fa61d73725fb606962fa108 +MD5 (gtksee-0.5.2.tar.gz) = a5012896f86dde9fc90be71a413e7326 diff --git a/graphics/gtksee/files/patch-aa b/graphics/gtksee/files/patch-aa deleted file mode 100644 index 4ada6d9d5f1f..000000000000 --- a/graphics/gtksee/files/patch-aa +++ /dev/null @@ -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 -+#include - #endif - - #include diff --git a/graphics/gtksee/files/patch-ab b/graphics/gtksee/files/patch-ab deleted file mode 100644 index 2918ea5b22f9..000000000000 --- a/graphics/gtksee/files/patch-ab +++ /dev/null @@ -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 --git a/graphics/gtksee/pkg-descr b/graphics/gtksee/pkg-descr index 3ea35df8f305..0cd49296740c 100644 --- a/graphics/gtksee/pkg-descr +++ b/graphics/gtksee/pkg-descr @@ -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 --git a/graphics/gtksee/pkg-plist b/graphics/gtksee/pkg-plist index fa2af84248ed..df6d96ca401c 100644 --- a/graphics/gtksee/pkg-plist +++ b/graphics/gtksee/pkg-plist @@ -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