Re: update audio/oggtag

2017-11-15 Thread Julian Leyh
Looks fine to me, too.

I wouldn't mind being replaced as maintainer, since I didn't use this program 
for a while.

Feel free to commit.

Julian

-Ursprüngliche Nachricht-
Von: Jan Stary [mailto:h...@stare.cz] 
Gesendet: Mittwoch, 15. November 2017 19:06
An: ports@openbsd.org; Julian Leyh <jul...@vgai.de>
Betreff: Re: update audio/oggtag

Ah, right; thanks.

Does anyone want to commit this version tweaked by Anthony and Stu?

Jan

On Nov 15 12:52:42, s...@spacehopper.org wrote:
> On 2017/11/15 13:34, Jan Stary wrote:
> > On Nov 14 19:39:59, anth...@anjbe.name wrote:
> > > Stuart Henderson writes:
> > > > >  do-build:
> > > > > - cd ${WRKSRC} && \
> > > > > + cd ${WRKSRC}/oggtag && \
> > > > >   ${CC} ${CFLAGS} -o oggtag oggtag.c vcedit.c \
> > > > >   -I${LOCALBASE}/include -L${LOCALBASE}/lib ${LIBS}
> > > > >  
> > > > >  do-install:
> > > > > - ${INSTALL_PROGRAM} ${WRKSRC}/oggtag ${PREFIX}/bin
> > > > > - ${INSTALL_MAN} ${WRKSRC}/oggtag.1 ${PREFIX}/man/man1
> > > > > + ${INSTALL_PROGRAM} ${WRKSRC}/oggtag/oggtag ${PREFIX}/bin
> > > > > + ${INSTALL_MAN} ${WRKSRC}/oggtag/oggtag.1 ${PREFIX}/man/man1
> > > 
> > > You should remove the WRKDIST=${WRKDIR} line instead.
> > 
> > That fails for me. Did I missunderstand?
> > 
> > Jan
> > 
> > 
> > $ make
> > ===>  Building for oggtag-1.0.2
> > cd /usr/ports/pobj/oggtag-1.0.2/oggtag_1.0.2 &&  cc -O2 -pipe   -o 
> > oggtag oggtag.c vcedit.c  -I/usr/local/include -L/usr/local/lib -lvorbis 
> > -logg -lm
> > cc: error: no such file or directory: 'oggtag.c'
> > cc: error: no such file or directory: 'vcedit.c'
> > *** Error 1 in . (Makefile:30 'do-build')
> > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2724 
> > '/usr/ports/pobj/oggtag-1.0.2/.build_done')
> > *** Error 1 in /usr/ports/audio/oggtag 
> > (/usr/ports/infrastructure/mk/bsd.port.mk:2425 'all')
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/audio/oggtag/Makefile,v
> retrieving revision 1.12
> diff -u -p -r1.12 Makefile
> --- Makefile  22 Jan 2015 21:17:46 -  1.12
> +++ Makefile  15 Nov 2017 12:52:18 -
> @@ -1,9 +1,8 @@
>  # $OpenBSD: Makefile,v 1.12 2015/01/22 21:17:46 naddy Exp $
>  COMMENT= command-line editor for tags in Ogg Vorbis files
>  
> -DISTNAME=oggtag_1.0
> +DISTNAME=oggtag_1.0.2
>  PKGNAME= ${DISTNAME:S/_/-/}
> -REVISION=0
>  CATEGORIES=  audio
>  
>  HOMEPAGE=http://oggtag.sourceforge.net/
> @@ -21,7 +20,7 @@ EXTRACT_SUFX=   .tgz
>  LIB_DEPENDS= audio/libogg \
>   audio/libvorbis
>  
> -WRKDIST= ${WRKDIR}
> +WRKSRC=  ${WRKDIR}/oggtag
>  
>  NO_TEST= Yes
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/audio/oggtag/distinfo,v
> retrieving revision 1.4
> diff -u -p -r1.4 distinfo
> --- distinfo  18 Jan 2015 03:12:46 -  1.4
> +++ distinfo  15 Nov 2017 12:52:18 -
> @@ -1,2 +1,2 @@
> -SHA256 (oggtag_1.0.tgz) = AZdZgRWUQl4DPfXtv6ygWZXsn66epQbTPWOtDaFQBzQ=
> -SIZE (oggtag_1.0.tgz) = 14463
> +SHA256 (oggtag_1.0.2.tgz) = hU+f3DttnqTERzX2b5NQqyHNcGDc0rjsz95skFB2Cxc=
> +SIZE (oggtag_1.0.2.tgz) = 14689
> Index: patches/patch-oggtag_c
> ===
> RCS file: patches/patch-oggtag_c
> diff -N patches/patch-oggtag_c
> --- patches/patch-oggtag_c10 Jun 2004 20:37:44 -  1.1.1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,12 +0,0 @@
> -$OpenBSD: patch-oggtag_c,v 1.1.1.1 2004/06/10 20:37:44 xsa Exp $
>  oggtag.c.orig2002-12-02 10:03:27.0 +0100
> -+++ oggtag.c 2004-06-10 16:51:58.0 +0200
> -@@ -4,6 +4,8 @@
> -  */
> - 
> - #include 
> -+#include 
> -+#include 
> - #include 
> - #include "vcedit.h"
> - 
> 



minor update: oggtag

2009-03-10 Thread Julian Leyh

minor update for oggtag:
- change my email (old email still valid, but i prefer this one)
- new PLIST (@bin for binary)

please commit.

regards,
Julian
Index: Makefile
===
RCS file: /cvs/ports/audio/oggtag/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile15 Sep 2007 21:26:02 -  1.4
+++ Makefile24 Feb 2009 13:12:42 -
@@ -7,7 +7,7 @@
 
 HOMEPAGE=  http://oggtag.sourceforge.net/
 
-MAINTAINER=Julian Leyh oen...@oenone.de
+MAINTAINER=Julian Leyh jul...@vgai.de
 
 # LGPL
 PERMIT_PACKAGE_CDROM=  Yes
Index: pkg/PLIST
===
RCS file: /cvs/ports/audio/oggtag/pkg/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- pkg/PLIST   6 Aug 2004 14:37:28 -   1.2
+++ pkg/PLIST   24 Feb 2009 13:12:42 -
@@ -1,3 +1,3 @@
 @comment $OpenBSD: PLIST,v 1.2 2004/08/06 14:37:28 espie Exp $
-bin/oggtag
+...@bin bin/oggtag
 @man man/man1/oggtag.1


Re: minor update: oggtag

2009-03-10 Thread Julian Leyh
Federico G. Schwindt schrieb:
 On Tue, Mar 10, 2009 at 11:18:35AM +0100, Julian Leyh wrote:
 minor update for oggtag:
 - change my email (old email still valid, but i prefer this one)
 - new PLIST (@bin for binary)

 please commit.
 
   btw, changing the email also needs to bump the package name.
  
   f.-

okay, thanks for the information.



Update: xzgv

2009-03-04 Thread Julian Leyh

Update of xzgv to new version 0.9
 - uses gtk+2 now
 - $HOMEPAGE and $MASTER_SITES have changed
 - get rid of some fixes that should be sent to original author

please test and commit.

Regards,
Julian
Index: Makefile
===
RCS file: /cvs/ports/graphics/xzgv/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile17 Jul 2007 12:45:49 -  1.5
+++ Makefile24 Feb 2009 13:03:45 -
@@ -1,39 +1,35 @@
 # $OpenBSD: Makefile,v 1.5 2007/07/17 12:45:49 ajacoutot Exp $
 
 COMMENT=   picture viewer for X, with thumbnail-based file selector
-DISTNAME=  xzgv-0.8
-PKGNAME=   ${DISTNAME}p1
+DISTNAME=  xzgv-0.9
 CATEGORIES=graphics
 
-HOMEPAGE=  http://rus.members.beeb.net/xzgv.html
+HOMEPAGE=  http://xzgv.sourceforge.net/
 
 MAINTAINER=Julian Leyh jul...@vgai.de
 
-PATCHFILES=xzgv-0.8-integer-overflow-fix.diff:0
-PATCH_DIST_STRIP=  -p1
-
 # GPL
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-MASTER_SITES=  ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/viewers/X/
-MASTER_SITES0= http://rus.members.beeb.net/
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=xzgv/}
 
 MODULES=   devel/gettext
 
-LIB_DEPENDS=   gdk_imlib.=19::graphics/imlib
+LIB_DEPENDS+=   
gdk-x11-2.0.=0.11,gdk_pixbuf-2.0.=0.11,gtk-x11-2.0.=0.11::x11/gtk+2
+
+WANTLIB+=  X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
+WANTLIB+=  Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
+WANTLIB+=  freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 m 
pango-1.0
+WANTLIB+=  pangocairo-1.0 pangoft2-1.0 pixman-1 png z
 
-WANTLIB=   X11 Xext Xi c gdk glib gmodule gtk jpeg m png tiff \
-   ungif z
 
 USE_X11=   Yes
 NO_REGRESS=Yes
 
 pre-configure:
-   @perl -pi -e 's,!!SYSCONFDIR!!,${SYSCONFDIR},g;' \
-   -e 's,!!LOCALBASE!!,${LOCALBASE},g' \
-   ${WRKSRC}/doc/xzgv.1 ${WRKSRC}/doc/xzgv.texi
+   @${SUBST_CMD} ${WRKSRC}/doc/xzgv.1 ${WRKSRC}/doc/xzgv.texi
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/graphics/xzgv/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo17 Jul 2007 12:45:49 -  1.4
+++ distinfo24 Feb 2009 13:03:45 -
@@ -1,10 +1,5 @@
-MD5 (xzgv-0.8-integer-overflow-fix.diff) = lJXoIweUXAhZmgvZ/8L09g==
-MD5 (xzgv-0.8.tar.gz) = 45InfxRHB2QC3y49nngssg==
-RMD160 (xzgv-0.8-integer-overflow-fix.diff) = vXXIfPbyDk+idXr+RyER4iU8tkA=
-RMD160 (xzgv-0.8.tar.gz) = 42RmpzwnYWYQ/QMrOpKJjZWlWhc=
-SHA1 (xzgv-0.8-integer-overflow-fix.diff) = sY39qv4pXixCdk9ZeEtrYgG0ieo=
-SHA1 (xzgv-0.8.tar.gz) = GqITNuJWKEnm9fmEy7/LdFSJ3zs=
-SHA256 (xzgv-0.8-integer-overflow-fix.diff) = 
yKAeI0zAzjoLnxuZ03gb4OrsZcKE3DdSpoy5KaHa9x8=
-SHA256 (xzgv-0.8.tar.gz) = T2JHZl38Pk03b0Vzebnkx3wqhIZZ/ysN1Td8CqCeWIQ=
-SIZE (xzgv-0.8-integer-overflow-fix.diff) = 6374
-SIZE (xzgv-0.8.tar.gz) = 302801
+MD5 (xzgv-0.9.tar.gz) = fi361ZXJfCq7s5K2HqafGw==
+RMD160 (xzgv-0.9.tar.gz) = fDKE6sWgo2jbG+Lth/iC4m05+rc=
+SHA1 (xzgv-0.9.tar.gz) = XYEVyHvjg22e0126d3zR3EhUFxU=
+SHA256 (xzgv-0.9.tar.gz) = xXFplCkN+kla1SKQScUQMy1q/ToHJ7Nd45Q2trU9EJE=
+SIZE (xzgv-0.9.tar.gz) = 235367
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/graphics/xzgv/patches/patch-Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-Makefile
--- patches/patch-Makefile  22 May 2005 11:32:11 -  1.1.1.1
+++ patches/patch-Makefile  24 Feb 2009 13:03:45 -
@@ -1,24 +1,17 @@
-$OpenBSD: patch-Makefile,v 1.1.1.1 2005/05/22 11:32:11 alek Exp $
 Makefile.orig  Tue Sep 16 14:58:30 2003
-+++ Makefile   Thu May 12 16:00:02 2005
-@@ -24,30 +24,24 @@ VERS=0.8
+$OpenBSD$
+--- Makefile.orig  Sun Sep  9 20:12:48 2007
 Makefile   Wed Oct 22 09:17:28 2008
+@@ -23,7 +23,7 @@ VERS=0.9
  
  
  
--all: src man infowarn
+-all: src man
 +all: src man info
  
--src: xzgv src/install-info
-+src: xzgv
+ src: xzgv
  
- # We try this the whole time, as the dependancies are a bit
- # complicated to duplicate here.
- xzgv:
-   cd src  $(MAKE) xzgv
+@@ -37,14 +37,11 @@ src/install-info: src/install-info.c
  
--src/install-info: src/install-info.c
--  cd src  $(MAKE) install-info
--
  man: doc/xzgv.1
  
 -doc/xzgv.1: doc/xzgv.texi doc/makeman.awk
@@ -26,8 +19,6 @@
 -
  # Like in GNU stuff, info files aren't automatically remade,
  # as I don't want to assume everyone has texinfo's `makeinfo' handy.
- # So the `infowarn' below is mainly to warn me if the info gets
- # out of date. :-)
 -info: doc/xzgv.gz
 +info: doc/xzgv.info
  
@@ -35,4 +26,4 @@
 +doc/xzgv.info: doc/xzgv.texi
cd doc  $(MAKE) info
  
- # Warn if the info is out of date. This *is* automatically done.
+ clean:
Index: patches/patch-config_mk

Re: what's the openjdk6 port status ?

2009-03-03 Thread Julian Leyh

Dongsheng Song schrieb:

I found the openjdk6 port commit to freebsd:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/java/openjdk6/

What's the openjdk6 port status ?

---
Dongsheng Song



We have OpenJDK 7: http://www.openbsd.org/cgi-bin/cvsweb/ports/devel/jdk/1.7/



Re: Update: xzgv 0.9

2008-10-30 Thread Julian Leyh

Whoops.. forgot -N. new patch attached.
Correct homepage this time, too.

Antoine Jacoutot wrote:
File to patch: 
No file found--skip this patch? [n] y

1 out of 1 hunks ignored--saving rejects to Oops.rej
***   patch-src_install-info_c did not apply cleanly
File to patch: 
No file found--skip this patch? [n] y

1 out of 1 hunks ignored--saving rejects to Oops.rej
***   patch-src_logoconv_c did not apply cleanly

Index: Makefile
===
RCS file: /cvs/ports/graphics/xzgv/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile17 Jul 2007 12:45:49 -  1.5
+++ Makefile30 Oct 2008 06:01:12 -
@@ -1,39 +1,35 @@
 # $OpenBSD: Makefile,v 1.5 2007/07/17 12:45:49 ajacoutot Exp $
 
 COMMENT=   picture viewer for X, with thumbnail-based file selector
-DISTNAME=  xzgv-0.8
-PKGNAME=   ${DISTNAME}p1
+DISTNAME=  xzgv-0.9
 CATEGORIES=graphics
 
-HOMEPAGE=  http://rus.members.beeb.net/xzgv.html
+HOMEPAGE=  http://xzgv.sourceforge.net/
 
 MAINTAINER=Julian Leyh [EMAIL PROTECTED]
 
-PATCHFILES=xzgv-0.8-integer-overflow-fix.diff:0
-PATCH_DIST_STRIP=  -p1
-
 # GPL
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-MASTER_SITES=  ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/viewers/X/
-MASTER_SITES0= http://rus.members.beeb.net/
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=xzgv/}
 
 MODULES=   devel/gettext
 
-LIB_DEPENDS=   gdk_imlib.=19::graphics/imlib
+LIB_DEPENDS+=   
gdk-x11-2.0.=0.11,gdk_pixbuf-2.0.=0.11,gtk-x11-2.0.=0.11::x11/gtk+2
+
+WANTLIB+=  X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
+WANTLIB+=  Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
+WANTLIB+=  freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 m pango-1.0
+WANTLIB+=  pangocairo-1.0 pangoft2-1.0 pixman-1 png z
 
-WANTLIB=   X11 Xext Xi c gdk glib gmodule gtk jpeg m png tiff \
-   ungif z
 
 USE_X11=   Yes
 NO_REGRESS=Yes
 
 pre-configure:
-   @perl -pi -e 's,!!SYSCONFDIR!!,${SYSCONFDIR},g;' \
-   -e 's,!!LOCALBASE!!,${LOCALBASE},g' \
-   ${WRKSRC}/doc/xzgv.1 ${WRKSRC}/doc/xzgv.texi
+   @${SUBST_CMD} ${WRKSRC}/doc/xzgv.1 ${WRKSRC}/doc/xzgv.texi
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/graphics/xzgv/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo17 Jul 2007 12:45:49 -  1.4
+++ distinfo30 Oct 2008 06:01:12 -
@@ -1,10 +1,5 @@
-MD5 (xzgv-0.8-integer-overflow-fix.diff) = lJXoIweUXAhZmgvZ/8L09g==
-MD5 (xzgv-0.8.tar.gz) = 45InfxRHB2QC3y49nngssg==
-RMD160 (xzgv-0.8-integer-overflow-fix.diff) = vXXIfPbyDk+idXr+RyER4iU8tkA=
-RMD160 (xzgv-0.8.tar.gz) = 42RmpzwnYWYQ/QMrOpKJjZWlWhc=
-SHA1 (xzgv-0.8-integer-overflow-fix.diff) = sY39qv4pXixCdk9ZeEtrYgG0ieo=
-SHA1 (xzgv-0.8.tar.gz) = GqITNuJWKEnm9fmEy7/LdFSJ3zs=
-SHA256 (xzgv-0.8-integer-overflow-fix.diff) = 
yKAeI0zAzjoLnxuZ03gb4OrsZcKE3DdSpoy5KaHa9x8=
-SHA256 (xzgv-0.8.tar.gz) = T2JHZl38Pk03b0Vzebnkx3wqhIZZ/ysN1Td8CqCeWIQ=
-SIZE (xzgv-0.8-integer-overflow-fix.diff) = 6374
-SIZE (xzgv-0.8.tar.gz) = 302801
+MD5 (xzgv-0.9.tar.gz) = fi361ZXJfCq7s5K2HqafGw==
+RMD160 (xzgv-0.9.tar.gz) = fDKE6sWgo2jbG+Lth/iC4m05+rc=
+SHA1 (xzgv-0.9.tar.gz) = XYEVyHvjg22e0126d3zR3EhUFxU=
+SHA256 (xzgv-0.9.tar.gz) = xXFplCkN+kla1SKQScUQMy1q/ToHJ7Nd45Q2trU9EJE=
+SIZE (xzgv-0.9.tar.gz) = 235367
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/graphics/xzgv/patches/patch-Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-Makefile
--- patches/patch-Makefile  22 May 2005 11:32:11 -  1.1.1.1
+++ patches/patch-Makefile  30 Oct 2008 06:01:12 -
@@ -1,24 +1,17 @@
-$OpenBSD: patch-Makefile,v 1.1.1.1 2005/05/22 11:32:11 alek Exp $
 Makefile.orig  Tue Sep 16 14:58:30 2003
-+++ Makefile   Thu May 12 16:00:02 2005
-@@ -24,30 +24,24 @@ VERS=0.8
+$OpenBSD$
+--- Makefile.orig  Sun Sep  9 20:12:48 2007
 Makefile   Wed Oct 22 09:17:28 2008
+@@ -23,7 +23,7 @@ VERS=0.9
  
  
  
--all: src man infowarn
+-all: src man
 +all: src man info
  
--src: xzgv src/install-info
-+src: xzgv
+ src: xzgv
  
- # We try this the whole time, as the dependancies are a bit
- # complicated to duplicate here.
- xzgv:
-   cd src  $(MAKE) xzgv
+@@ -37,14 +37,11 @@ src/install-info: src/install-info.c
  
--src/install-info: src/install-info.c
--  cd src  $(MAKE) install-info
--
  man: doc/xzgv.1
  
 -doc/xzgv.1: doc/xzgv.texi doc/makeman.awk
@@ -26,8 +19,6 @@
 -
  # Like in GNU stuff, info files aren't automatically remade,
  # as I don't want to assume everyone has texinfo's `makeinfo' handy.
- # So the `infowarn' below is mainly to warn me if the info gets
- # out of date. :-)
 -info: doc/xzgv.gz
 +info: doc/xzgv.info
  
@@ -35,4 +26,4 @@
 +doc

Update: xzgv 0.9

2008-10-29 Thread Julian Leyh

Here is an update for xzgv:

o update to version 0.9
o update HOMEPAGE
o update MASTER_SITES
o moved to gtk+ 2.x
o use SUBST_CMD
o fix some malloc/strcpy/strcat/sprintf (previous port resulted in 
truncated filenames)

o @bin in plist

please test and comment. if nobody finds bad things, please commit.

tested on i386, copying/moving files works now without error.

small question regarding this:
should ports really patch all those string functions?

regards,
Julian
Index: Makefile
===
RCS file: /cvs/ports/graphics/xzgv/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile17 Jul 2007 12:45:49 -  1.5
+++ Makefile29 Oct 2008 13:49:51 -
@@ -1,39 +1,35 @@
 # $OpenBSD: Makefile,v 1.5 2007/07/17 12:45:49 ajacoutot Exp $
 
 COMMENT=   picture viewer for X, with thumbnail-based file selector
-DISTNAME=  xzgv-0.8
-PKGNAME=   ${DISTNAME}p1
+DISTNAME=  xzgv-0.9
 CATEGORIES=graphics
 
-HOMEPAGE=  http://rus.members.beeb.net/xzgv.html
+HOMEPAGE=  http://sourceforge.net/xzgv
 
 MAINTAINER=Julian Leyh [EMAIL PROTECTED]
 
-PATCHFILES=xzgv-0.8-integer-overflow-fix.diff:0
-PATCH_DIST_STRIP=  -p1
-
 # GPL
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-MASTER_SITES=  ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/viewers/X/
-MASTER_SITES0= http://rus.members.beeb.net/
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=xzgv/}
 
 MODULES=   devel/gettext
 
-LIB_DEPENDS=   gdk_imlib.=19::graphics/imlib
+LIB_DEPENDS+=   
gdk-x11-2.0.=0.11,gdk_pixbuf-2.0.=0.11,gtk-x11-2.0.=0.11::x11/gtk+2
+
+WANTLIB+=  X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
+WANTLIB+=  Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
+WANTLIB+=  freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 m pango-1.0
+WANTLIB+=  pangocairo-1.0 pangoft2-1.0 pixman-1 png z
 
-WANTLIB=   X11 Xext Xi c gdk glib gmodule gtk jpeg m png tiff \
-   ungif z
 
 USE_X11=   Yes
 NO_REGRESS=Yes
 
 pre-configure:
-   @perl -pi -e 's,!!SYSCONFDIR!!,${SYSCONFDIR},g;' \
-   -e 's,!!LOCALBASE!!,${LOCALBASE},g' \
-   ${WRKSRC}/doc/xzgv.1 ${WRKSRC}/doc/xzgv.texi
+   @${SUBST_CMD} ${WRKSRC}/doc/xzgv.1 ${WRKSRC}/doc/xzgv.texi
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/graphics/xzgv/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo17 Jul 2007 12:45:49 -  1.4
+++ distinfo29 Oct 2008 13:49:51 -
@@ -1,10 +1,5 @@
-MD5 (xzgv-0.8-integer-overflow-fix.diff) = lJXoIweUXAhZmgvZ/8L09g==
-MD5 (xzgv-0.8.tar.gz) = 45InfxRHB2QC3y49nngssg==
-RMD160 (xzgv-0.8-integer-overflow-fix.diff) = vXXIfPbyDk+idXr+RyER4iU8tkA=
-RMD160 (xzgv-0.8.tar.gz) = 42RmpzwnYWYQ/QMrOpKJjZWlWhc=
-SHA1 (xzgv-0.8-integer-overflow-fix.diff) = sY39qv4pXixCdk9ZeEtrYgG0ieo=
-SHA1 (xzgv-0.8.tar.gz) = GqITNuJWKEnm9fmEy7/LdFSJ3zs=
-SHA256 (xzgv-0.8-integer-overflow-fix.diff) = 
yKAeI0zAzjoLnxuZ03gb4OrsZcKE3DdSpoy5KaHa9x8=
-SHA256 (xzgv-0.8.tar.gz) = T2JHZl38Pk03b0Vzebnkx3wqhIZZ/ysN1Td8CqCeWIQ=
-SIZE (xzgv-0.8-integer-overflow-fix.diff) = 6374
-SIZE (xzgv-0.8.tar.gz) = 302801
+MD5 (xzgv-0.9.tar.gz) = fi361ZXJfCq7s5K2HqafGw==
+RMD160 (xzgv-0.9.tar.gz) = fDKE6sWgo2jbG+Lth/iC4m05+rc=
+SHA1 (xzgv-0.9.tar.gz) = XYEVyHvjg22e0126d3zR3EhUFxU=
+SHA256 (xzgv-0.9.tar.gz) = xXFplCkN+kla1SKQScUQMy1q/ToHJ7Nd45Q2trU9EJE=
+SIZE (xzgv-0.9.tar.gz) = 235367
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/graphics/xzgv/patches/patch-Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-Makefile
--- patches/patch-Makefile  22 May 2005 11:32:11 -  1.1.1.1
+++ patches/patch-Makefile  29 Oct 2008 13:49:51 -
@@ -1,24 +1,17 @@
-$OpenBSD: patch-Makefile,v 1.1.1.1 2005/05/22 11:32:11 alek Exp $
 Makefile.orig  Tue Sep 16 14:58:30 2003
-+++ Makefile   Thu May 12 16:00:02 2005
-@@ -24,30 +24,24 @@ VERS=0.8
+$OpenBSD$
+--- Makefile.orig  Sun Sep  9 20:12:48 2007
 Makefile   Wed Oct 22 09:17:28 2008
+@@ -23,7 +23,7 @@ VERS=0.9
  
  
  
--all: src man infowarn
+-all: src man
 +all: src man info
  
--src: xzgv src/install-info
-+src: xzgv
+ src: xzgv
  
- # We try this the whole time, as the dependancies are a bit
- # complicated to duplicate here.
- xzgv:
-   cd src  $(MAKE) xzgv
+@@ -37,14 +37,11 @@ src/install-info: src/install-info.c
  
--src/install-info: src/install-info.c
--  cd src  $(MAKE) install-info
--
  man: doc/xzgv.1
  
 -doc/xzgv.1: doc/xzgv.texi doc/makeman.awk
@@ -26,8 +19,6 @@
 -
  # Like in GNU stuff, info files aren't automatically remade,
  # as I don't want to assume everyone has texinfo's `makeinfo' handy.
- # So the `infowarn' below is mainly to warn me if the info gets
- # out of date. :-)
 -info: doc

Re: mystuff. mystuff?

2008-10-16 Thread Julian Leyh

frantisek holop schrieb:

hi there,

i was wondering where 'mystuff' comes from...  i know
it has a lot of history and some people feel very
fondly about it, but i can't help that it kind of
reminds me the failed naming scheme from redmond
(my computer, etc)...

i think /usr/ports/local/ is more openbsd-y and
kind of more professional (or perhaps not).

i am not asking for changing or removing 'mystuff',
rather to consider the addition of 'local' as a legal
'mystuff' directory  please share your comments.

-f


name it what you like, and add it to PORTSDIR_PATH. that's how i do it 
(moved the mystuff dir to different location... it's too easy to rm -rf 
/usr/ports).




Re: Problem compiling squid ldap

2008-09-24 Thread Julian Leyh

Hi Ricardo,


I AM trying to install squid on openBSD 4.3 -stable using ports
-current.


This is *not* supported. See FAQ 5.1, Keeping Things in Sync




NEW: graphics/freeglut

2008-01-29 Thread Julian Leyh
Hello ports@,

I tried to compile a program that uses freeglut, and the available
glut in ports didn't provide some of the functions. Also, the
original glut seems to be abandoned. So I ported freeglut.

Please test, comment, commit :)

Worked for me, but with this warning while executing a program that
uses freeglut (for example the demo programs provided with the source):

freeglut (./fractals): Unable to create direct context rendering for window 
'Koch Snowflake'
This may hurt performance.

Regards,
Julian Leyh

-- 
If you don't remember something, it never existed...
If you aren't remembered, you never existed...
I don't quite understand what love is like... But if there
was someone who liked me, I'd be happy.


freeglut.tar.gz
Description: application/tar-gz


Re: NEW: games/jumpnbump

2008-01-25 Thread Julian Leyh
Hi Antti,

I like this little game, and I created a port in the past, too...
You might want to see mine: 
http://marc.info/?l=openbsd-portsm=107322445329509w=2

 http://users.openbsd.fi/iku/opensource/openbsd-ports/openbsd_port_jumpnbump-1.50-rev0.tar.gz

I couldn't download your port, it gives me a 403 - forbidden.

Regards,
Julian

-- 
If you don't remember something, it never existed...
If you aren't remembered, you never existed...
I don't quite understand what love is like... But if there
was someone who liked me, I'd be happy.



Re: [NEW] databases/postgresql-odbc

2007-11-20 Thread Julian Leyh
On 17:49 Tue 23 Oct , Paul Irofti wrote:
 I've attached some configs that can be used in order to lighten the test
 process, hope this will make submitting this port faster.

Works for me, thanks.

Julian



Ada Ports for OpenBSD: GNAT GPL 2007, GtkAda, XmlAda, GNAT Programming Studio

2007-10-12 Thread Julian Leyh
Hi,

I ported some Ada stuff I'd like to use with OpenBSD. The ports are still
WIP, but I thought I should tell you what I'm working on and ask for
comments and help.

The ports are available on: http://vgai.de/ada/

One problem I discovered: the GPS port complains about missing dependency
when making 'lib-depends-check' or 'port-lib-depends-check'. I added the
dependencies, but now it still complains about the dependencies - once
for missing ones and once for the ones I added to be too much. Any idea
what could be wrong?

Whoever is interested, please test. I could only test for i386 - and
can't provide an Ada bootstrap for other archs, but if anybody wants to
help, please contact me.

I'd like to thank tkoskine from the freenode IRC, for he helped me a lot
while building the GNAT port.

Regards,
Julian

-- 
If you don't remember something, it never existed...
If you aren't remembered, you never existed...
I don't quite understand what love is like... But if there
was someone who liked me, I'd be happy.



Re: New: guichan 0.7.1

2007-08-26 Thread Julian Leyh
On 16:49 Mon 20 Aug , Andreas Bihlmaier wrote:
 please resubmit after unlock (post 4.2 release).

Bump instead of resubmit (to save traffic).

http://marc.info/?l=openbsd-portsm=118764050502142w=2

Please test and/or comment.

Regards,
Julian



New: guichan 0.7.1

2007-08-20 Thread Julian Leyh
Hi there,

I ported guichan (http://guichan.sourceforge.net) - a portable C++ GUI
library designed for games using Allegro, HGE, OpenGL, OpenLayer and/or
SDL.

I configured it to use OpenGL and SDL, but maybe I should put that into
Flavors or Subpackages?

Tested on i386, examples compile after some changes to the makefile
(should I add them to the package?) and The Mana World, which uses
guichan, and was the reason why I ported it, works fine.

Regards,
Julian


guichan-0.7.1-port.tgz
Description: application/tar-gz


Re: New: guichan 0.7.1

2007-08-20 Thread Julian Leyh
On 16:49 Mon 20 Aug , Andreas Bihlmaier wrote:
 Ports lock is active.
 
 http://marc.info/?l=openbsd-portsm=118609297808504w=2
 
 This will be ignored, but since it should NOT get lost, please resubmit
 after unlock (post 4.2 release).
 
 Regards,
 ahb

Hi ahb, somehow I didn't notice... will resubmit later.

Thanks,
Julian



UPDATE: graphics/xzgv (security patch)

2007-07-17 Thread Julian Leyh
Hi there,

I have missed this security patch for a long time..

suitably-constructed images can be made to run arbitrary commands (as
the user) when viewed with xzgv.

Updated:
 * apply security patch
 * correct my email address (old one is still working, but I don't now
   for how long)

Please test, comment, and commit.

Tested it on i386. No issues (there weren't any before and I don't know
suitably-constructed image to test it).

Regards,
Julian
diff -ur /usr/ports/graphics/xzgv/Makefile graphics/xzgv/Makefile
--- /usr/ports/graphics/xzgv/Makefile   Sat Mar 24 12:00:43 2007
+++ graphics/xzgv/Makefile  Mon Jul 16 19:55:44 2007
@@ -2,13 +2,16 @@
 
 COMMENT=   picture viewer for X, with thumbnail-based file selector
 DISTNAME=  xzgv-0.8
-PKGNAME=   ${DISTNAME}p0
+PKGNAME=   ${DISTNAME}p1
 CATEGORIES=graphics
 
 HOMEPAGE=  http://rus.members.beeb.net/xzgv.html
 
-MAINTAINER=Julian Leyh [EMAIL PROTECTED]
+MAINTAINER=Julian Leyh [EMAIL PROTECTED]
 
+PATCHFILES=xzgv-0.8-integer-overflow-fix.diff:0
+PATCH_DIST_STRIP=  -p1
+
 # GPL
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
@@ -16,6 +19,7 @@
 PERMIT_DISTFILES_FTP=  Yes
 
 MASTER_SITES=  ftp://ftp.ibiblio.org/pub/Linux/apps/graphics/viewers/X/
+MASTER_SITES0= http://rus.members.beeb.net/
 
 MODULES=   devel/gettext
 
diff -ur /usr/ports/graphics/xzgv/distinfo graphics/xzgv/distinfo
--- /usr/ports/graphics/xzgv/distinfo   Sat Apr  7 17:21:23 2007
+++ graphics/xzgv/distinfo  Mon Jul 16 19:50:40 2007
@@ -1,5 +1,10 @@
+MD5 (xzgv-0.8-integer-overflow-fix.diff) = lJXoIweUXAhZmgvZ/8L09g==
 MD5 (xzgv-0.8.tar.gz) = 45InfxRHB2QC3y49nngssg==
+RMD160 (xzgv-0.8-integer-overflow-fix.diff) = vXXIfPbyDk+idXr+RyER4iU8tkA=
 RMD160 (xzgv-0.8.tar.gz) = 42RmpzwnYWYQ/QMrOpKJjZWlWhc=
+SHA1 (xzgv-0.8-integer-overflow-fix.diff) = sY39qv4pXixCdk9ZeEtrYgG0ieo=
 SHA1 (xzgv-0.8.tar.gz) = GqITNuJWKEnm9fmEy7/LdFSJ3zs=
+SHA256 (xzgv-0.8-integer-overflow-fix.diff) = 
yKAeI0zAzjoLnxuZ03gb4OrsZcKE3DdSpoy5KaHa9x8=
 SHA256 (xzgv-0.8.tar.gz) = T2JHZl38Pk03b0Vzebnkx3wqhIZZ/ysN1Td8CqCeWIQ=
+SIZE (xzgv-0.8-integer-overflow-fix.diff) = 6374
 SIZE (xzgv-0.8.tar.gz) = 302801


Re: pkg_add -u actualy downgrades

2007-07-03 Thread Julian Leyh
On 22:00 Tue 03 Jul , Edd Barrett wrote:
 Hi ports@,
 
 A minor issue with pkg_add -u :
 # pkg_add -u -F update -F alwaysupdate
 Candidates for updating faad-2.0p6 - faad-2.0p5
 Candidates for updating jwm-2.0 - jwm-1.8
 
 jwm-2.0 is a port that I have updated, and although it was committed,
 the package has not yet been built. Should'nt it recognise that my
 version is in-fact newer?

add the path of your packages to PKG_PATH

pkg_add -u only compares the signatures and not the actual version
number.

 
 -- 
 Best Regards
 
 Edd
 
 ---
 http://students.dec.bournemouth.ac.uk/ebarrett
 



Re: NEW: x11/gtkada (GtkAda-gpl-2.10.0)

2007-06-14 Thread Julian Leyh
Ok, I fixed my problems and now got a working version without any
errors.

Please test. Works for me on i386 with gnat from patched gcc-4.2 (see
the patch at http://marc.info/?l=openbsd-portsm=117679065130354w=2)

Regards,
Julian



Re: NEW: x11/gtkada (GtkAda-gpl-2.10.0)

2007-06-14 Thread Julian Leyh
On 06:54 Thu 14 Jun , Julian Leyh wrote:
 This Time with attachment

Sorry for the noise, but I forgot to include three patches that are
necessary... Don't want to eat up more traffic, so I put it on my
webspace. Please download and test it:

http://vgai.de/ada/gtkada-2.10.0.tgz

Thanks,
Julian



NEW: textproc/xmlada

2007-06-14 Thread Julian Leyh
Hi,

I just finished porting XML/Ada.

It's a XML module for Ada. The port works for me on i386 with patched
GNAT version (see below). All regress tests compile without error.

Please test and comment.

Regards,
Julian

PS: You may need the patch for GNAT provided by Tero Koskinen in
http://marc.info/?l=openbsd-portsm=117679065130354w=2



xmlada-2.2.0.tgz
Description: application/tar-gz


Re: NEW: x11/gtkada (GtkAda-gpl-2.10.0)

2007-06-14 Thread Julian Leyh
On 21:11 Thu 14 Jun , Tero Koskinen wrote:
 Works for me on few weeks old (May 31) 4.1-current/i386.
 A customized version of Preben Randhol's Klokka linked
 successfully with the library and ran nicely.

Thanks for testing it.

I just noticed that the .gpr files generated contain the path of
${WRKINST} - that shouldn't be... Will try to fix it as soon as
possible.

Regards,
Julian



Re: NEW: textproc/xmlada

2007-06-14 Thread Julian Leyh
On 12:14 Thu 14 Jun , Julian Leyh wrote:
 It's a XML module for Ada. The port works for me on i386 with patched
 GNAT version (see below). All regress tests compile without error.
 
 Please test and comment.

Ok, I just encountered some problems using the port. I'll try to fix it,
but I can't really find hints about what's going wrong.

If a .gpr file contains something like
with xmlada;
(or any other of the .gpr files provided by this port), I get following
error:

$ gnatmake -Pfoo  
xmlada_unicode.gpr:3:30: file with sources xmlada/xmlada_unicode.lgpr does 
not exist
gnatmake: foo processing failed

Does anybody have ideas why this happens? (Hope I find a fix soon.)

Regards,
Julian



Re: NEW: textproc/xmlada

2007-06-14 Thread Julian Leyh
On 17:42 Thu 14 Jun , Julian Leyh wrote:
 Ok, I just encountered some problems using the port. I'll try to fix it,
 but I can't really find hints about what's going wrong.

Port is fixed... Please test if there are any more problems with it.

Regards,
Julian


xmlada-2.2.0.tgz
Description: application/tar-gz


Re: NEW: x11/gtkada (GtkAda-gpl-2.10.0)

2007-06-13 Thread Julian Leyh
Thanks, Jacob..

I remember having read something about how to handle porting libraries,
but couldn't find that on the homepage any more...

It doesn't seem to use libtool, so I fixed the naming of the libraries
in the Makefiles. I think it should be libfoo.so.major.minor...

Thanks again, I'll resubmit port after building and testing it again.

Regards,
Julian

On 02:23 Thu 14 Jun , Jacob Meuser wrote:
 
 looking at PFRAG.shared-main, there is stuff like 
 
 @lib lib/libfoo-x.y.so.0
 @lib lib/libfoo.so.0
 
 and only libfoo-x.y is registered with SHARED_LIBS.
 
 probably the source of the problem.
 
 removing the '-release' tag from the libtool command that
 creates the libraries will remove the release version from the
 library name, and having a symlink created.  also, library
 versions should ideally have both major and minor numbers,
 like libfoo.so.x.y as opposed to libfoo.so.x as in your port.
 
 -- 
 [EMAIL PROTECTED]
 SDF Public Access UNIX System - http://sdf.lonestar.org
 



Re: PATCH: Ada tasking support for lang/gcc/4.2

2007-04-17 Thread Julian Leyh
On 23:02 Mon 16 Apr , Tero Koskinen wrote:
 Special thanks to Kurt Miller for fixing few pthread deadlock bugs some
 months ago and OpenBSD users on [EMAIL PROTECTED] for testing this patch.

Being one of the users on [EMAIL PROTECTED], I can say that it works for me
on 4.1-Current, i386.

Thanks alot for the work,
Julian



Re: gnustep

2005-11-13 Thread Julian Leyh
On Sun, 13 Nov 2005 11:17:48 +0100
Jasper Lievisse Adriaanse [EMAIL PROTECTED] wrote:

 On Sat, 12 Nov 2005 23:27:27 +0100
 [EMAIL PROTECTED] wrote:
 
 [...]
   And a port was developed in 2004:
   
   http://marc.theaimsgroup.com/?l=openbsd-portsm=110519671300293w=2
  
  I know. And the port is working for me! Therefore I'm just curious why
  it didn't make it into the ports tree. I guess no one tested it. This is
  sad. 
 Well you could update it and repost it here...

yes.. it would need to be updated. especially gnustep-make has to be
patched for openbsd - for example the output format of nm differs.

at the moment i really don't have enough time to do it myself.. but if
anybody wants to do it maybe i could give some hints.

cu
JRL

-- 
If you don't remember something, it never existed...
If you aren't remembered, you never existed...
I don't quite understand what love is like... But if there
was someone who liked me, I'd be happy.