Re: UPDATE: pan version 0.132

2008-01-30 Thread Antoine Jacoutot

On Wed, 30 Jan 2008, Pierre-Emmanuel André wrote:

Updated diff with some cleaning in WANTLIB and LIB_DEPENDS
Test, comments are welcome. Commit ?


update-desktop-database goo is missing.
Also, the following line is not needed:

+PKGNAME=   ${DISTNAME}



--
Antoine


Re: UPDATE: pan version 0.132

2008-01-30 Thread Pierre-Emmanuel André
Le Wed, 30 Jan 2008 10:10:03 +0100,
Pierre-Emmanuel André <[EMAIL PROTECTED]> a écrit :

> Le Fri, 25 Jan 2008 10:18:38 +,
> Pierre-Emmanuel André <[EMAIL PROTECTED]> a écrit :
> 
> > Le Mon, 7 Jan 2008 19:07:00 +,
> > 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
--- Makefile17 Nov 2007 20:39:03 -  1.26
+++ Makefile30 Jan 2008 12:22:50 -
@@ -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 
Index: distinfo
===
RCS file: /cvs/ports/news/pan/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- distinfo5 Apr 2007 16:20:17 -   1.14
+++ distinfo30 Jan 2008 12:22:50 -
@@ -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 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12

Re: UPDATE: pan version 0.132

2008-01-30 Thread Pierre-Emmanuel André
Le Fri, 25 Jan 2008 10:18:38 +,
Pierre-Emmanuel André <[EMAIL PROTECTED]> a écrit :

> Le Mon, 7 Jan 2008 19:07:00 +,
> 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

Index: Makefile
===
RCS file: /cvs/ports/news/pan/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile17 Nov 2007 20:39:03 -  1.26
+++ Makefile30 Jan 2008 09:05:45 -
@@ -2,16 +2,11 @@
 
 COMMENT=   powerful Gtk+2 newsreader
 
-VER=   0.14.2
+VER=   0.132
 DISTNAME=  pan-${VER}
-PKGNAME=   ${DISTNAME}p4
+PKGNAME=   ${DISTNAME}
 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
+MASTER_SITES=  http://pan.rebelbase.com/download/releases/${VER}/source/
 
 HOMEPAGE=  http://pan.rebelbase.com/
 
@@ -25,19 +20,24 @@ 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
-
 USE_X11=   Yes
 CONFIGURE_STYLE=gnu
 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
+
+LIB_DEPENDS=   gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
+   gmime-2.0::mail/gmime 
+
+
+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
+
+post-configure:
+   cd ${WRKSRC}/po && for i in $$(ls *.po) ; do msgfmt -c -o 
$${i%%po}gmo $$i ; done
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/news/pan/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- distinfo5 Apr 2007 16:20:17 -   1.14
+++ distinfo30 Jan 2008 09:05:45 -
@@ -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 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -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 fi

Re: UPDATE: pan version 0.132

2008-01-25 Thread Pierre-Emmanuel André
Le Mon, 7 Jan 2008 19:07:00 +,
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 ?



Re: UPDATE: pan version 0.132

2008-01-08 Thread Pierre-Emmanuel André
Le Mon, 7 Jan 2008 19:07:00 +,
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
> 
> 
Yes i agree.. version number is a little strange.
If jolan@ doesn't want to be the maintainer, I'd be interested in
taking over.



Re: UPDATE: pan version 0.132

2008-01-07 Thread Stuart Henderson
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



Re: UPDATE: pan version 0.132

2008-01-07 Thread Marc Balmer

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 (different story for e.g. python, which is a language, but this
is application software).



Re: UPDATE: pan version 0.132

2008-01-07 Thread Pierre-Emmanuel Andre
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 ?



Re: UPDATE: pan version 0.132

2008-01-04 Thread Bryan Linton
On 2007-12-21 14:13:36, Pierre-Emmanuel Andre <[EMAIL PROTECTED]> wrote:
> Hi ports,
> 
> Mail sent to the maintainer (jolan@). His answer: 
> > Would you mind sending this to ports?  I don't use newsgroups anymore.
> 
> Update to pan version 0.132. It's still considered as beta
> (released in Aug 2007). You can see the release note here:
> http://pan.rebelbase.com/download/releases/0.132/
> But i think it is better than actual version 0.14.2.
> 
> Tested on @i386. Make regress ok.
> 
> Tests, comments are welcome.
> 

Works for me on 4.2-stable. 

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?