[PATCH] audio/pulseaudio: depend on consolekit
Yuri Pankov
yuri.pankov at gmail.com
Sun Jan 17 08:33:31 UTC 2010
>Submitter-Id: current-users
>Originator: Yuri Pankov
>Organization:
>Confidential: no
>Synopsis: [PATCH] audio/pulseaudio: depend on consolekit
>Severity: non-critical
>Priority: low
>Category: ports
>Class: change-request
>Release: FreeBSD 9.0-CURRENT amd64
>Environment:
System: FreeBSD darklight.org.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r202144: Tue Jan 12 15:19:51 MSK
>Description:
Unconditionally depend on consolekit, remove --disable-polkit as it's not recognized by configure anymore.
Port maintainer (gnome at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
> pkg_info -Ex consolekit
> pulseaudio
W: module.c: module-detect is deprecated: Please use module-udev-detect instead of module-detect!
E: module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
E: module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.
Installing consolekit solves the problem.
>Fix:
--- pulseaudio-0.9.21_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/pulseaudio/Makefile,v
retrieving revision 1.55
diff -u -u -r1.55 Makefile
--- Makefile 28 Nov 2009 20:05:25 -0000 1.55
+++ Makefile 17 Jan 2010 07:52:53 -0000
@@ -12,6 +12,7 @@
PORTNAME= pulseaudio
PORTVERSION= 0.9.21
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/
@@ -23,6 +24,7 @@
dbus-1.3:${PORTSDIR}/devel/dbus \
gdbm.3:${PORTSDIR}/databases/gdbm \
execinfo:${PORTSDIR}/devel/libexecinfo
+RUN_DEPENDS= ${LOCALBASE}/sbin/console-kit-daemon:${PORTSDIR}/sysutils/consolekit
USE_GNOME= gnometarget gnomehack glib20 intltool ltverhack
USE_XORG= x11 sm xtst ice
@@ -92,8 +94,7 @@
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
PLIST_SUB+= HAL=""
.else
-CONFIGURE_ARGS+=--disable-hal \
- --disable-polkit
+CONFIGURE_ARGS+=--disable-hal
PLIST_SUB+= HAL="@comment "
.endif
--- pulseaudio-0.9.21_1.patch ends here ---
More information about the freebsd-gnome
mailing list