From 86f051b9af387901961f7bdf041a610d9d91852f Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 30 Jul 2003 14:05:26 +0000 Subject: Update to 2.0.5: Piotr Najman has provided a path that fixed bug in internationalisation. Translation for polish added. --- misc/gperiodic/Makefile | 6 +++--- misc/gperiodic/PLIST | 8 ++++---- misc/gperiodic/distinfo | 10 +++++----- misc/gperiodic/patches/patch-aa | 22 +++++++++++----------- misc/gperiodic/patches/patch-ac | 6 +++--- 5 files changed, 26 insertions(+), 26 deletions(-) (limited to 'misc') diff --git a/misc/gperiodic/Makefile b/misc/gperiodic/Makefile index ca498b45490..59a2cd9d7cc 100644 --- a/misc/gperiodic/Makefile +++ b/misc/gperiodic/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.15 2003/07/17 21:49:06 grant Exp $ +# $NetBSD: Makefile,v 1.16 2003/07/30 14:05:26 wiz Exp $ -DISTNAME= gperiodic-2.0.4 -PKGREVISION= 1 +DISTNAME= gperiodic-2.0.5 CATEGORIES= misc x11 MASTER_SITES= http://www.acclab.helsinki.fi/~frantz/software/ @@ -10,6 +9,7 @@ HOMEPAGE= http://www.acclab.helsinki.fi/~frantz/software/gperiodic.php COMMENT= Displays a periodic table of the elements BUILD_USES_MSGFMT= # defined +DEPENDS+= gnome1-dirs>=1.0:../../misc/gnome1-dirs USE_BUILDLINK2= # defined USE_PKGLOCALEDIR= # defined diff --git a/misc/gperiodic/PLIST b/misc/gperiodic/PLIST index 06eca7ae546..5a069dacf24 100644 --- a/misc/gperiodic/PLIST +++ b/misc/gperiodic/PLIST @@ -1,8 +1,8 @@ -@comment $NetBSD: PLIST,v 1.3 2003/05/10 01:31:25 jtb Exp $ +@comment $NetBSD: PLIST,v 1.4 2003/07/30 14:05:26 wiz Exp $ bin/gperiodic share/gnome/apps/Applications/gperiodic.desktop +${PKGLOCALEDIR}/locale/da/LC_MESSAGES/gperiodic.mo +${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/gperiodic.mo ${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gperiodic.mo share/pixmaps/gperiodic.png -@unexec ${RMDIR} %D/share/gnome/apps/Applications 2>/dev/null || ${TRUE} -@unexec ${RMDIR} %D/share/gnome/apps 2>/dev/null || ${TRUE} -@unexec ${RMDIR} %D/share/gnome 2>/dev/null || ${TRUE} +share/pixmaps/gperiodic-crystal.png diff --git a/misc/gperiodic/distinfo b/misc/gperiodic/distinfo index 9eed0b90bfd..c621c85ee31 100644 --- a/misc/gperiodic/distinfo +++ b/misc/gperiodic/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2003/06/23 21:04:37 jtb Exp $ +$NetBSD: distinfo,v 1.5 2003/07/30 14:05:26 wiz Exp $ -SHA1 (gperiodic-2.0.4.tar.gz) = 0bb22ec25dbddf75c296a59345182d234e465ac1 -Size (gperiodic-2.0.4.tar.gz) = 39868 bytes -SHA1 (patch-aa) = 992911a0502c39a30db81179d764590c62bd57d0 +SHA1 (gperiodic-2.0.5.tar.gz) = 25f94b175c91c772a7157355617fc75088528efa +Size (gperiodic-2.0.5.tar.gz) = 47663 bytes +SHA1 (patch-aa) = 2ae8d15525aa868ed95ac4b03d0fb247850919c7 SHA1 (patch-ab) = 24058fac21d3418a11752cb8ca2cd9777c7350d1 -SHA1 (patch-ac) = edf9394fdba646b6f149d738634559d556f163a8 +SHA1 (patch-ac) = 1465c4c96a0b848773cce15041e02b5efa025f2e diff --git a/misc/gperiodic/patches/patch-aa b/misc/gperiodic/patches/patch-aa index 39ef29978c8..6f78ef05345 100644 --- a/misc/gperiodic/patches/patch-aa +++ b/misc/gperiodic/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.2 2003/05/10 01:31:26 jtb Exp $ +$NetBSD: patch-aa,v 1.3 2003/07/30 14:05:27 wiz Exp $ ---- Makefile.orig +--- Makefile.orig Fri Jul 25 09:26:15 2003 +++ Makefile -@@ -1,13 +1,11 @@ +@@ -1,24 +1,22 @@ -CC=gcc -CFLAGS=`pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED +CC?=gcc @@ -19,19 +19,19 @@ $NetBSD: patch-aa,v 1.2 2003/05/10 01:31:26 jtb Exp $ gpdata.o: gpdata.c gperiodic.h -@@ -17,10 +15,11 @@ - rm *.o gperiodic + gperiodic.o: gperiodic.c gperiodic.h table_data.h install: - make -C po/ install enable_nls=1 - cp gperiodic /usr/local/bin - cp gperiodic.desktop /usr/share/applications - cp gperiodic.png /usr/share/pixmaps -+ cd po && $(MAKE) install enable_nls=1 -+ $(BSD_INSTALL_PROGRAM) gperiodic $(PREFIX)/bin -+ $(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/gnome/apps/Applications -+ $(BSD_INSTALL_DATA) gperiodic.desktop $(PREFIX)/share/gnome/apps/Applications -+ $(BSD_INSTALL_DATA) gperiodic.png $(PREFIX)/share/pixmaps - +- cp gperiodic-crystal.png /usr/share/pixmaps ++ cd po && ${MAKE} install enable_nls=1 ++ ${BSD_INSTALL_PROGRAM} gperiodic ${PREFIX}/bin ++ ${BSD_INSTALL_DATA} gperiodic.desktop ${PREFIX}/share/gnome/apps/Applications ++ ${BSD_INSTALL_DATA} gperiodic.png ${PREFIX}/share/pixmaps ++ ${BSD_INSTALL_DATA} gperiodic-crystal.png ${PREFIX}/share/pixmaps + make clean uninstall: rm /usr/local/bin/gperiodic diff --git a/misc/gperiodic/patches/patch-ac b/misc/gperiodic/patches/patch-ac index 69426aca265..3da27efab06 100644 --- a/misc/gperiodic/patches/patch-ac +++ b/misc/gperiodic/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.2 2003/06/23 21:04:38 jtb Exp $ +$NetBSD: patch-ac,v 1.3 2003/07/30 14:05:27 wiz Exp $ ---- gperiodic.c.orig +--- gperiodic.c.orig Fri Jul 25 09:15:29 2003 +++ gperiodic.c -@@ -413,7 +413,7 @@ +@@ -414,7 +414,7 @@ void main_prog(void) int main(int argc, char** argv) { -- cgit v1.2.3