Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2010 11:01:50 +0300 (MSK)
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/142906: [PATCH] audio/pulseaudio: depend on consolekit
Message-ID:  <201001170801.o0H81ot5012010@darklight.org.ru>
Resent-Message-ID: <201001170810.o0H8A2nV097866@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         142906
>Category:       ports
>Synopsis:       [PATCH] audio/pulseaudio: depend on consolekit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 17 08:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Yuri Pankov
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>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@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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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