Re: update audio/oggtag
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" > - >
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" > - >
Re: update audio/oggtag
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 --- Makefile22 Jan 2015 21:17:46 - 1.12 +++ Makefile15 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 --- distinfo18 Jan 2015 03:12:46 - 1.4 +++ distinfo15 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_c 10 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.orig 2002-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" -
Re: update audio/oggtag
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') $ cat Makefile # $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.2 PKGNAME=${DISTNAME:S/_/-/} CATEGORIES= audio HOMEPAGE= http://oggtag.sourceforge.net/ MAINTAINER= Julian Leyh# GPLv2 PERMIT_PACKAGE_CDROM= Yes WANTLIB=c m ogg>=5 vorbis>=3 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=oggtag/} EXTRACT_SUFX= .tgz LIB_DEPENDS=audio/libogg \ audio/libvorbis NO_TEST=Yes LIBS= -lvorbis -logg -lm do-build: cd ${WRKSRC} && \ ${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 .include
Re: update audio/oggtag
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.
Re: update audio/oggtag
On 2017/11/14 22:07, Jan Stary wrote: > This is an upgrade to oggtag 1.0.2 - upstream has accepted > a rewrite of the manpage into mdoc(7) and incorporated our patch. > Diff below, but I don't know how to convey the removal of patches/ cvs can't remove directories, only the files in them: cvs rm -f patches/patch-oggtag_c cvs diff -uNp ok with me. Any comments Julian? Do you still want to be listed as maintainer? > While at it, upstream also changed the structure of the tarball > - previously xfz into current dir, now xzf into oggtag/ > > Jan > > 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 14 Nov 2017 20:15:26 - > @@ -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/ > @@ -28,12 +27,12 @@ NO_TEST= Yes > LIBS=-lvorbis -logg -lm > > 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 > > .include > 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 14 Nov 2017 20:15:26 - > @@ -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 >