[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

update for wip/libdv



I see that tech-pkg-ja@ is the maintainer for pkgsrc-wip's libdv.

It would not build for me due to some extern __inline__ problem with
dv_peek_vlc. I found a solution from FreeBSD ports: an -O optimization
must be done. (NetBSD defaults to -O2 which is fine.)

May I commit any of the following? Or can you update wip/libdv?

cvs diff: Diffing libdv
Index: libdv/DESCR
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/libdv/DESCR,v
retrieving revision 1.1.1.1
diff -b -u -r1.1.1.1 DESCR
--- libdv/DESCR	27 Mar 2004 22:46:01 -0000	1.1.1.1
+++ libdv/DESCR	10 Jun 2004 18:38:44 -0000
@@ -1,2 +1,11 @@
-This is LibDV, a GPL codec for DV video.
-See http://libdv.sourceforge.net/
+The Quasar DV codec (libdv) is a software codec for DV video, the
+encoding format used by most digital camcorders, typically those that
+support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. Libdv was
+developed according to the official standards for DV video: IEC 61834 and
+SMPTE 314M.
+
+This package also includes playdv for displaying DV-encoded video
+data, dubdv for inserting audio into a digital video stream, encodedv
+for encoding a series of images to a digital video stream, and
+dvconnect for capturing and sending raw DV streams using the Linux
+IEEE 1394 video1394 device.
Index: libdv/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/libdv/Makefile,v
retrieving revision 1.2
diff -b -u -r1.2 Makefile
--- libdv/Makefile	4 May 2004 02:57:13 -0000	1.2
+++ libdv/Makefile	10 Jun 2004 18:38:44 -0000
@@ -1,24 +1,31 @@
 # $NetBSD$

-DISTNAME=	libdv-0.101
+DISTNAME=	libdv-0.102
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=libdv/}

 MAINTAINER=	tech-pkg-ja@jp.NetBSD.org
 HOMEPAGE=	http://libdv.sourceforge.net/
-COMMENT=	a GPL codec for DV video
+COMMENT=	Quasar DV codec for digital video

 USE_BUILDLINK3=	yes
+USE_LIBTOOL=		yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=--prefix=${PREFIX}
+PKGCONFIG_OVERRIDE+=     ${WRKSRC}/libdv.pc.in
+
+# XXX workaround build problem, make sure -O is defined
+# XXX this needs to be improved to not reset -O2 for example
+CFLAGS+=		-O
+
+CONFIGURE_ARGS+=	--prefix=${PREFIX}

 .include "../../mk/bsd.prefs.mk"
 .if empty(MACHINE_PLATFORM:MNetBSD-*-i386)
-CONFIGURE_ARGS+=--disable-asm
+CONFIGURE_ARGS+=	--disable-asm
 .endif

 #if Xfree86 < ver. 4.x.x, uncomment
-#CONFIGURE_ARGS+=--disable-xv
+#CONFIGURE_ARGS+=	--disable-xv

 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
@@ -27,3 +34,7 @@
 .include "../../x11/gtk/buildlink3.mk"
 .include "../../mk/ossaudio.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
+
+# work-around bug where -O is not defined
+# Or use  ${CFLAGS:N-O0}
+CFLAGS:=        ${CFLAGS:C/-O0//g}
Index: libdv/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/libdv/distinfo,v
retrieving revision 1.1.1.1
diff -b -u -r1.1.1.1 distinfo
--- libdv/distinfo	27 Mar 2004 22:46:01 -0000	1.1.1.1
+++ libdv/distinfo	10 Jun 2004 18:38:44 -0000
@@ -1,5 +1,5 @@
 $NetBSD$

-SHA1 (libdv-0.101.tar.gz) = ecff65f2334c75820706f380dec461e9c8590165
-Size (libdv-0.101.tar.gz) = 476510 bytes
+SHA1 (libdv-0.102.tar.gz) = 66d2609bd639c8223f388dc1d1de653f9e61fd2d
+Size (libdv-0.102.tar.gz) = 476931 bytes
 SHA1 (patch-aa) = e65be0a4ec63b287ec519477e956f80419317083
cvs diff: Diffing libdv/patches

Thank you,

 Jeremy C. Reed

 	  	 	 technical support & remote administration
	  	 	 http://www.pugetsoundtechnology.com/