Le Wed, 30 Jan 2008 10:10:03 +0100, Pierre-Emmanuel André <[EMAIL PROTECTED]> a écrit :
> Le Fri, 25 Jan 2008 10:18:38 +0000, > Pierre-Emmanuel André <[EMAIL PROTECTED]> a écrit : > > > Le Mon, 7 Jan 2008 19:07:00 +0000, > > Stuart Henderson <[EMAIL PROTECTED]> a écrit : > > > > > On 2008/01/07 17:52, Marc Balmer wrote: > > > > Pierre-Emmanuel Andre wrote: > > > >> Le Fri, 4 Jan 2008 17:45:19 -0800, > > > >> Bryan Linton <[EMAIL PROTECTED]> a écrit : > > > >> > > > >>> One question, since this version of Pan is a complete rewrite > > > >>> with a new user-configuration directory (".pan2" instead of > > > >>> ".pan"). Would it be better to make this an entirely new port > > > >>> instead of an update to the previous one? > > > >>> > > > >>> > > > >> > > > >> Why not... So i'am asking ports@ : new name (for example > > > >> pan2 ? ) or just update ? > > > >> > > > > > > > > just update. keepin the old version around makes not much sense > > > > in this case > > > > > > especially because it might be unclear to users which is the newer > > > version... 0.132 vs 0.14.2 > > > > > > > > Nobody interested by this update ? > > > > > > Updated diff with some cleaning in WANTLIB and LIB_DEPENDS > Test, comments are welcome. Commit ? > > Regards, > > Pea As suggested by "Federico G Schwindt", i must follow infrastructure/template/Makefile.template. I also changed the maintainer since Jolan@ no longer wants to maintain pan. Regards, Pea Index: Makefile =================================================================== RCS file: /cvs/ports/news/pan/Makefile,v retrieving revision 1.26 diff -u -p -r1.26 Makefile --- Makefile 17 Nov 2007 20:39:03 -0000 1.26 +++ Makefile 30 Jan 2008 12:22:50 -0000 @@ -2,22 +2,13 @@ COMMENT= powerful Gtk+2 newsreader -VER= 0.14.2 +VER= 0.132 DISTNAME= pan-${VER} -PKGNAME= ${DISTNAME}p4 CATEGORIES= news x11 -MASTER_SITES= http://pan.rebelbase.com/download/releases/${VER}/SOURCE/ - -LIB_DEPENDS= gdk_pixbuf-2.0,gdk-x11-2.0.>=0.5,gtk-x11-2.0.>=0.5::x11/gtk+2 \ - glib-2.0,gmodule-2.0,gobject-2.0,gthread-2.0::devel/glib2 \ - xml2.>=6.22::textproc/libxml \ - gnet-2.0.>=0.3::net/gnet HOMEPAGE= http://pan.rebelbase.com/ -MAINTAINER= Jolan Luff <[EMAIL PROTECTED]> - -MODULES= devel/gettext +MAINTAINER= Pierre-Emmanuel Andre <[EMAIL PROTECTED]> # GPL PERMIT_PACKAGE_CDROM= Yes @@ -25,10 +16,18 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xfixes Xi Xinerama \ - Xrandr Xext Xrender c cairo expat fontconfig freetype m \ - atk-1.0 pango-1.0 pangocairo-1.0 glitz png \ - pangoft2-1.0 pthread z +WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \ + Xi Xinerama Xrandr Xrender c expat fontconfig freetype \ + m pthread stdc++ z glib-2.0 gmodule-2.0 gobject-2.0 \ + gthread-2.0 pcre glitz png pango-1.0 pangocairo-1.0 \ + pangoft2-1.0 atk-1.0 cairo + +MASTER_SITES= http://pan.rebelbase.com/download/releases/${VER}/source/ + +MODULES= devel/gettext + +LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \ + gmime-2.0::mail/gmime USE_X11= Yes CONFIGURE_STYLE=gnu @@ -36,8 +35,8 @@ CONFIGURE_ARGS+=--disable-gtkspell CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pan - ${INSTALL_DATA} ${WRKBUILD}/docs/faq.html ${PREFIX}/share/doc/pan + +post-configure: + cd ${WRKSRC}/po && for i in $$(ls *.po) ; do msgfmt -c -o $${i%%po}gmo $$i ; done .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/news/pan/distinfo,v retrieving revision 1.14 diff -u -p -r1.14 distinfo --- distinfo 5 Apr 2007 16:20:17 -0000 1.14 +++ distinfo 30 Jan 2008 12:22:50 -0000 @@ -1,5 +1,5 @@ -MD5 (pan-0.14.2.tar.gz) = afHB55cVT/+aVWuhxG3i+A== -RMD160 (pan-0.14.2.tar.gz) = X0D2bdPxX9op/fM9gimf3dUrTfM= -SHA1 (pan-0.14.2.tar.gz) = LLPMcvO5TQnECfuncsVBaPGAzuU= -SHA256 (pan-0.14.2.tar.gz) = 7x8C5zQ7GPnZBLu6eP/HVy2WYJrej60cuodD1tuojPg= -SIZE (pan-0.14.2.tar.gz) = 2708736 +MD5 (pan-0.132.tar.gz) = CZnqUvjUGHrHyP1BYGew5w== +RMD160 (pan-0.132.tar.gz) = 4/safv80hTnOaWef4oCn9KuNQI4= +SHA1 (pan-0.132.tar.gz) = pOD1N2plw3Z+6VHvLLdOK7fYkBY= +SHA256 (pan-0.132.tar.gz) = yLxJ5IWTXgbv6/WxFe62LZthUE37EPUHuEZU26thCKc= +SIZE (pan-0.132.tar.gz) = 2069718 Index: patches/patch-po_Makefile_in_in =================================================================== RCS file: patches/patch-po_Makefile_in_in diff -N patches/patch-po_Makefile_in_in --- patches/patch-po_Makefile_in_in 3 Feb 2003 13:53:06 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-po_Makefile_in_in,v 1.1 2003/02/03 13:53:06 fgsch Exp $ ---- po/Makefile.in.in.orig Mon Feb 3 10:17:38 2003 -+++ po/Makefile.in.in Mon Feb 3 10:18:21 2003 -@@ -28,7 +28,7 @@ prefix = @prefix@ - exec_prefix = @exec_prefix@ - datadir = @datadir@ - libdir = @libdir@ --localedir = $(libdir)/locale -+localedir = $(datadir)/locale - gnulocaledir = $(datadir)/locale - gettextsrcdir = $(datadir)/glib-2.0/gettext/po - subdir = po Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/news/pan/pkg/PLIST,v retrieving revision 1.9 diff -u -p -r1.9 PLIST --- pkg/PLIST 15 Sep 2004 18:21:21 -0000 1.9 +++ pkg/PLIST 30 Jan 2008 12:22:50 -0000 @@ -1,21 +1,28 @@ [EMAIL PROTECTED] $OpenBSD: PLIST,v 1.9 2004/09/15 18:21:21 espie Exp $ [EMAIL PROTECTED] $OpenBSD$ bin/pan -share/doc/pan/ -share/doc/pan/faq.html -share/gnome/ -share/gnome/apps/ -share/gnome/apps/Internet/ -share/gnome/apps/Internet/pan.desktop +share/applications/ +share/applications/pan.desktop share/locale/am/ share/locale/am/LC_MESSAGES/ share/locale/am/LC_MESSAGES/pan.mo -share/locale/ca/ -share/locale/ca/LC_MESSAGES/ +share/locale/ar/ +share/locale/ar/LC_MESSAGES/ +share/locale/ar/LC_MESSAGES/pan.mo +share/locale/az/ +share/locale/az/LC_MESSAGES/ +share/locale/az/LC_MESSAGES/pan.mo +share/locale/bg/LC_MESSAGES/pan.mo share/locale/ca/LC_MESSAGES/pan.mo share/locale/cs/LC_MESSAGES/pan.mo share/locale/da/LC_MESSAGES/pan.mo share/locale/de/LC_MESSAGES/pan.mo +share/locale/dz/ +share/locale/dz/LC_MESSAGES/ +share/locale/dz/LC_MESSAGES/pan.mo share/locale/el/LC_MESSAGES/pan.mo +share/locale/en_CA/ +share/locale/en_CA/LC_MESSAGES/ +share/locale/en_CA/LC_MESSAGES/pan.mo share/locale/en_GB/ share/locale/en_GB/LC_MESSAGES/ share/locale/en_GB/LC_MESSAGES/pan.mo @@ -23,10 +30,9 @@ share/locale/es/LC_MESSAGES/pan.mo share/locale/et/LC_MESSAGES/pan.mo share/locale/fi/LC_MESSAGES/pan.mo share/locale/fr/LC_MESSAGES/pan.mo -share/locale/ga/ -share/locale/ga/LC_MESSAGES/ share/locale/ga/LC_MESSAGES/pan.mo share/locale/gl/LC_MESSAGES/pan.mo +share/locale/hr/LC_MESSAGES/pan.mo share/locale/hu/LC_MESSAGES/pan.mo share/locale/it/LC_MESSAGES/pan.mo share/locale/ja/LC_MESSAGES/pan.mo @@ -35,16 +41,21 @@ share/locale/lt/ share/locale/lt/LC_MESSAGES/ share/locale/lt/LC_MESSAGES/pan.mo share/locale/lv/LC_MESSAGES/pan.mo +share/locale/ms/ +share/locale/ms/LC_MESSAGES/ +share/locale/ms/LC_MESSAGES/pan.mo +share/locale/nb/LC_MESSAGES/pan.mo share/locale/nl/LC_MESSAGES/pan.mo -share/locale/no/LC_MESSAGES/pan.mo share/locale/pl/LC_MESSAGES/pan.mo share/locale/pt/LC_MESSAGES/pan.mo share/locale/pt_BR/LC_MESSAGES/pan.mo +share/locale/ro/LC_MESSAGES/pan.mo share/locale/ru/LC_MESSAGES/pan.mo share/locale/sk/LC_MESSAGES/pan.mo share/locale/sl/LC_MESSAGES/pan.mo -share/locale/sr/ -share/locale/sr/LC_MESSAGES/ +share/locale/sq/ +share/locale/sq/LC_MESSAGES/ +share/locale/sq/LC_MESSAGES/pan.mo share/locale/sr/LC_MESSAGES/pan.mo share/locale/[EMAIL PROTECTED]/ share/locale/[EMAIL PROTECTED]/LC_MESSAGES/ @@ -52,9 +63,8 @@ share/locale/[EMAIL PROTECTED]/LC_MESSAGES/pan.mo share/locale/sv/LC_MESSAGES/pan.mo share/locale/tr/LC_MESSAGES/pan.mo share/locale/uk/LC_MESSAGES/pan.mo -share/locale/vi/ -share/locale/vi/LC_MESSAGES/ share/locale/vi/LC_MESSAGES/pan.mo share/locale/zh_CN/LC_MESSAGES/pan.mo +share/locale/zh_TW/LC_MESSAGES/pan.mo share/pixmaps/ share/pixmaps/pan.png