[kde-freebsd] kaffeine-1.0 and webcamd based DVB-T?

Juergen Lock nox at jelal.kn-bremen.de
Tue Aug 31 20:48:15 CEST 2010


On Mon, Aug 30, 2010 at 11:22:20PM +0200, Hans Petter Selasky wrote:
> Hi,
Hi!
> 
> I've committed to the HAL stuff to webcamd in the I4B SVN as of r1628. To 
> enable HAL support build like this:
> 
> make -j3 HAVE_HAL=YES LIBDIR=/usr/local/lib
> 
> Run like this:
> 
> ./webcamd -H

 There's an initialization missing so the code did nothing...
(works now for dvb, v4l untested due to lack of device.)

 Cheers,
	Juergen

Index: webcamd_hal.c
===================================================================
--- webcamd_hal.c	(revision 1628)
+++ webcamd_hal.c	(working copy)
@@ -69,6 +69,8 @@
 	char **ppdev;
 	int n;
 
+	if (!(hal_conn = dbus_bus_get(DBUS_BUS_SYSTEM, NULL)))
+		return;
 	hal_ctx = libhal_ctx_new();
 	if (hal_ctx == NULL)
 		return;


More information about the kde-freebsd mailing list