Date: Fri, 10 Dec 2010 23:21:38 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: kwm@freebsd.org Cc: freebsd-multimedia@freebsd.org, Dru Lavigne <drulavigne@sympatico.ca> Subject: Webcamd v0.1.17 ready for testing Message-ID: <201012102321.38864.hselasky@c2i.net>
next in thread | raw e-mail | index | archive | help
--Boundary-00=_yfqANZ0N9TL653w Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Please find attached a patch which upgrades the webcamd port to version 0.1.17. List of changes: - Added man-pages for all drivers including webcamd itself. Big thanks to Dru Lavigne! - Fixed deadlock/hang issue with hald during plug of USB device after boot. - Added patch from Luigi Rizzo to use "checkyesno" in webcamd rc startup file to detect presence of hald. - Upgraded drivers to latest version from the respective V4L repositories - Added new debug option to the port config system. - Added License keyword. Please test and report any issues! NOTE: Have not test built on i386 yet. Only amd64. --HPS --Boundary-00=_yfqANZ0N9TL653w Content-Type: text/x-patch; charset="us-ascii"; name="webcamd-0.1.17.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="webcamd-0.1.17.diff" diff -u -r webcamd.orig/Makefile webcamd/Makefile --- webcamd.orig/Makefile 2010-12-10 22:20:02.000000000 +0100 +++ webcamd/Makefile 2010-12-10 22:52:17.000000000 +0100 @@ -6,7 +6,7 @@ # PORTNAME= webcamd -PORTVERSION= 0.1.16 +PORTVERSION= 0.1.17 CATEGORIES= multimedia MASTER_SITES= http://www.selasky.org/hans_petter/video4bsd/releases/ @@ -18,6 +18,8 @@ LIB_DEPENDS= v4l1.0:${PORTSDIR}/multimedia/libv4l +LICENSE= GPLv2 + USE_RC_SUBR= webcamd USE_BZIP2= yes USE_LDCONFIG= yes @@ -26,13 +28,14 @@ LIBDIR= ${PREFIX}/lib OPTIONS= HAL "Build with HAL and DBUS support" On +OPTIONS+= DBG "Build with debugging support" Off .include <bsd.port.pre.mk> LIBCUSE=${LIBDIR}/libcuse4bsd.so .if defined(WITH_HAL) -MAKE_ARGS+="HAVE_HAL=YES" +MAKE_ARGS+=" HAVE_HAL=YES" LIBHAL=${LIBDIR}/libhal.so:${LIBDIR}/libdbus-1.so: LIB_DEPENDS+=hal.1:${PORTSDIR}/sysutils/hal LIB_DEPENDS+=dbus-1:${PORTSDIR}/devel/dbus @@ -40,6 +43,10 @@ LIBHAL= .endif +.if defined(WITH_DBG) +MAKE_ARGS+=" HAVE_DEBUG=YES" +.endif + .if ${OSVERSION} < 800000 IGNORE= requires FreeBSD 8.0-RELEASE or later .endif diff -u -r webcamd.orig/distinfo webcamd/distinfo --- webcamd.orig/distinfo 2010-12-10 22:20:02.000000000 +0100 +++ webcamd/distinfo 2010-12-10 23:04:14.000000000 +0100 @@ -1,3 +1,2 @@ -MD5 (webcamd-0.1.16.tar.bz2) = 2e48673e4f729ac4ebfcbddf9985c18e -SHA256 (webcamd-0.1.16.tar.bz2) = ab5e5b7253414c822ce434317e5a0b0c82827765433bf4d115812d6e5ad8b192 -SIZE (webcamd-0.1.16.tar.bz2) = 3543806 +SHA256 (webcamd-0.1.17.tar.bz2) = 41778871a929eab6d753e47b7f24348dfa4484a897ae9678e9b11825bc1c3485 +SIZE (webcamd-0.1.17.tar.bz2) = 3543330 diff -u -r webcamd.orig/files/webcamd.in webcamd/files/webcamd.in --- webcamd.orig/files/webcamd.in 2010-12-10 22:20:02.000000000 +0100 +++ webcamd/files/webcamd.in 2010-12-10 22:31:37.000000000 +0100 @@ -19,7 +19,7 @@ command=%%PREFIX%%/sbin/webcamd command_args="-B" -if [ -n "$hald_enable" ]; then +if checkyesno hald_enable ; then command_args="$command_args -H" fi diff -u -r webcamd.orig/pkg-descr webcamd/pkg-descr --- webcamd.orig/pkg-descr 2010-12-10 22:20:02.000000000 +0100 +++ webcamd/pkg-descr 2010-12-10 22:34:45.000000000 +0100 @@ -5,4 +5,6 @@ currently depends on libc, pthreads, libusb and the CUSE4BSD kernel module. +LICENSE: GPLv2 + WWW: http://www.selasky.org/hans_petter/video4bsd/ diff -u -r webcamd.orig/pkg-plist webcamd/pkg-plist --- webcamd.orig/pkg-plist 2010-12-10 22:20:02.000000000 +0100 +++ webcamd/pkg-plist 2010-12-10 22:29:05.000000000 +0100 @@ -1,2 +1,48 @@ etc/devd/webcamd.conf sbin/webcamd +man/man4/au0828.4.gz +man/man4/benq.4.gz +man/man4/bttv.4.gz +man/man4/conex.4.gz +man/man4/cpiax.4.gz +man/man4/cx23885.4.gz +man/man4/cx88.4.gz +man/man4/em28xx.4.gz +man/man4/et61x251.4.gz +man/man4/finepix.4.gz +man/man4/gl860.4.gz +man/man4/ibmcam.4.gz +man/man4/ivtv.4.gz +man/man4/jeilinj.4.gz +man/man4/m5602.4.gz +man/man4/mars.4.gz +man/man4/meye.4.gz +man/man4/mr97310a.4.gz +man/man4/ov519.4.gz +man/man4/ov534.4.gz +man/man4/pacxxx.4.gz +man/man4/pvrusb2.4.gz +man/man4/pwc.4.gz +man/man4/saa7134.4.gz +man/man4/saa7164.4.gz +man/man4/se401.4.gz +man/man4/si470x.4.gz +man/man4/sn9c102.4.gz +man/man4/sn9c20x.4.gz +man/man4/sonixj.4.gz +man/man4/spca5xx.4.gz +man/man4/sq905c.4.gz +man/man4/stk014.4.gz +man/man4/stv06xx.4.gz +man/man4/sunplus.4.gz +man/man4/t613.4.gz +man/man4/tv8532.4.gz +man/man4/usbvision.4.gz +man/man4/vc032x.4.gz +man/man4/w9966.4.gz +man/man4/w996x.4.gz +man/man4/zc0301.4.gz +man/man4/zc3xx.4.gz +man/man4/zoran.4.gz +man/man4/zr364xx.4.gz +man/man8/webcamd.8.gz --Boundary-00=_yfqANZ0N9TL653w--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012102321.38864.hselasky>