Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2010 22:13:03 +0200
From:      Hans Petter Selasky <hselasky@freebsd.org>
To:        freebsd-multimedia@freebsd.org
Cc:        me@janh.de, kwm@freebsd.org, kde@freebsd.org, Juergen Lock <nox@jelal.kn-bremen.de>, Joe Marcus Clarke <marcus@freebsd.org>, gnome@freebsd.org
Subject:   New version of webcamd and cuse4bsd available
Message-ID:  <201009012213.03859.hselasky@freebsd.org>
In-Reply-To: <20100901175422.GA12485@triton8.kn-bremen.de>
References:  <4C66C4BC.4040504@janh.de> <201008312058.16445.hselasky@freebsd.org> <20100901175422.GA12485@triton8.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_PPrfMviu67kflU7
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi,

Please find ports patches attached for cuse4bsd and webcamd ports. Please test 
and report any bugs.

News:

- Add support for GNU/kFreeBSD
- Add support for DBUS/HAL registration
- Add support for more DVB tuner frontends
- Add support for multi-antenna DVB adapters
- Update to latest version of Linux DVB code

--HPS

--Boundary-00=_PPrfMviu67kflU7
Content-Type: text/x-patch;
  charset="iso-8859-1";
  name="cuse4bsd.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
	filename="cuse4bsd.diff"

diff -u -r cuse4bsd-kmod.orig/Makefile cuse4bsd-kmod/Makefile
--- cuse4bsd-kmod.orig/Makefile	2010-09-01 21:55:46.000000000 +0200
+++ cuse4bsd-kmod/Makefile	2010-09-01 21:57:15.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cuse4bsd-kmod
-PORTVERSION=	0.1.12
+PORTVERSION=	0.1.13
 CATEGORIES=	multimedia kld
 MASTER_SITES=	http://www.selasky.org/hans_petter/cuse4bsd/releases/
 
diff -u -r cuse4bsd-kmod.orig/distinfo cuse4bsd-kmod/distinfo
--- cuse4bsd-kmod.orig/distinfo	2010-09-01 21:55:46.000000000 +0200
+++ cuse4bsd-kmod/distinfo	2010-09-01 21:57:28.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (cuse4bsd-kmod-0.1.12.tar.bz2) = dde330df068374610b6633853b67191f
-SHA256 (cuse4bsd-kmod-0.1.12.tar.bz2) = 5c8196375e2e97338106a823f2131463426b10fb2f2a3b1a05db131db04be7a5
-SIZE (cuse4bsd-kmod-0.1.12.tar.bz2) = 12656
+MD5 (cuse4bsd-kmod-0.1.13.tar.bz2) = b4f4744cea02702519f0dc99fad9c55d
+SHA256 (cuse4bsd-kmod-0.1.13.tar.bz2) = fb22b7bbc87e01d4815dcd2e73230df1c27c94f1efb2d86641b6e118ccf524c7
+SIZE (cuse4bsd-kmod-0.1.13.tar.bz2) = 12677

--Boundary-00=_PPrfMviu67kflU7
Content-Type: text/x-patch;
  charset="iso-8859-1";
  name="webcamd.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
	filename="webcamd.diff"

diff -u -r webcamd.orig/Makefile webcamd/Makefile
--- webcamd.orig/Makefile	2010-09-01 20:21:32.000000000 +0200
+++ webcamd/Makefile	2010-09-01 21:45:58.000000000 +0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	webcamd
-PORTVERSION=	0.1.14
-PORTREVISION=	1
+PORTVERSION=	0.1.15
 CATEGORIES=	multimedia
 MASTER_SITES=	http://www.selasky.org/hans_petter/video4bsd/releases/
 
@@ -25,8 +24,23 @@
 
 LIBDIR=		${PREFIX}/lib
 
+OPTIONS=        HAL "Build with HAL and DBUS support" On
+
 .include <bsd.port.pre.mk>
 
+MAKE_ARGS+="-j2"
+
+LIBCUSE=${LIBDIR}/libcuse4bsd.so
+
+.if defined(WITH_HAL)
+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
+.else
+LIBHAL=
+.endif
+
 .if ${OSVERSION} < 800000
 IGNORE=		requires FreeBSD 8.0-RELEASE or later
 .endif
@@ -38,6 +52,8 @@
 post-install:
 	@${MKDIR} ${PREFIX}/etc/devd
 	@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
+		-e "s|%%LIBHAL%%|${LIBHAL}|g" \
+		-e "s|%%LIBCUSE%%|${LIBCUSE}|g" \
 		< ${FILESDIR}/webcamd.conf.in > ${WRKDIR}/webcamd.conf
 	${INSTALL_DATA} "${WRKDIR}/webcamd.conf" ${PREFIX}/etc/devd
 	@${CAT} ${PKGMESSAGE}
diff -u -r webcamd.orig/distinfo webcamd/distinfo
--- webcamd.orig/distinfo	2010-09-01 20:21:32.000000000 +0200
+++ webcamd/distinfo	2010-09-01 21:49:14.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (webcamd-0.1.14.tar.bz2) = e20b5946ef7e7b4c519303625709b46b
-SHA256 (webcamd-0.1.14.tar.bz2) = eedb054dcaa4aced9ef680ab909e3f44d67687495eb264daceccaead8ca87826
-SIZE (webcamd-0.1.14.tar.bz2) = 3583100
+MD5 (webcamd-0.1.15.tar.bz2) = 2a5cd14fb1e6587f6cc2e0aabcb6cc7d
+SHA256 (webcamd-0.1.15.tar.bz2) = f9459ec4dac097f5c948a55fb8e34413d42a6f2cda72df21f1a604a7e2d3c6d0
+SIZE (webcamd-0.1.15.tar.bz2) = 3542238
diff -u -r webcamd.orig/files/webcamd.conf.in webcamd/files/webcamd.conf.in
--- webcamd.orig/files/webcamd.conf.in	2010-09-01 20:21:32.000000000 +0200
+++ webcamd/files/webcamd.conf.in	2010-09-01 20:45:23.000000000 +0200
@@ -3,5 +3,5 @@
 	match "subsystem"	"INTERFACE";
 	match "type"		"ATTACH";
 	match "intclass"	"(0x0e|0xff)";
-	action "env LD_PRELOAD=%%PREFIX%%/lib/libcuse4bsd.so %%PREFIX%%/etc/rc.d/webcamd start $cdev";
+	action "env LD_PRELOAD=%%LIBHAL%%%%LIBCUSE%% %%PREFIX%%/etc/rc.d/webcamd start $cdev";
 };
diff -u -r webcamd.orig/files/webcamd.in webcamd/files/webcamd.in
--- webcamd.orig/files/webcamd.in	2010-09-01 20:21:32.000000000 +0200
+++ webcamd/files/webcamd.in	2010-09-01 21:20:03.000000000 +0200
@@ -10,6 +10,7 @@
 #
 
 webcamd_enable=${webcamd_enable-"NO"}
+hald_enable=${hald_enable-"NO"}
 
 . /etc/rc.subr
 
@@ -17,6 +18,11 @@
 rcvar=`set_rcvar`
 command=%%PREFIX%%/sbin/webcamd
 command_args="-B"
+
+if [ -n "$hald_enable" ]; then
+	command_args="$command_args -H"
+fi
+
 pidfile="/var/run/webcamd.$cdev.0.pid"
 
 load_rc_config $name

--Boundary-00=_PPrfMviu67kflU7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009012213.03859.hselasky>