Anything that uses polkit should really RUN_DEPENDS on consolekit;

otherwise we have no way to know the active session.

discussed/agreed with jasper@
This commit is contained in:
ajacoutot 2013-03-30 13:03:45 +00:00
parent c7aedc1206
commit ac9d8dd7a4
11 changed files with 53 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.81 2013/03/11 10:50:04 espie Exp $
# $OpenBSD: Makefile,v 1.82 2013/03/30 13:03:45 ajacoutot Exp $
# gconf2-polkit requires spidermonkey
ONLY_FOR_ARCHS-polkit= alpha amd64 i386 hppa mips64el mips64 powerpc sparc64
@ -14,6 +14,7 @@ PKGNAME-main= gconf2-${GNOME_VERSION}
PKGNAME-polkit= gconf2-polkit-${GNOME_VERSION}
REVISION-main= 0
REVISION-polkit=1
SHARED_LIBS += gconf-2 6.2 # 5.5
@ -55,11 +56,14 @@ LIB_DEPENDS-main= ${LIB_DEPENDS} \
textproc/libxml \
x11/dbus-glib
RUN_DEPENDS-polkit= # empty
RUN_DEPENDS-polkit=${MODGETTEXT_RUN_DEPENDS}
LIB_DEPENDS-polkit= ${LIB_DEPENDS} \
devel/gconf2 \
sysutils/polkit
# polkit(8) almost always needs to know the "active" session
RUN_DEPENDS-polkit +=sysutils/consolekit
MODGNOME_TOOLS= goi
CONFIGURE_STYLE=gnu

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.21 2013/03/21 08:45:17 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.22 2013/03/30 13:03:45 ajacoutot Exp $
COMMENT= device color profile management daemon
V= 0.1.30
DISTNAME= colord-${V}
EXTRACT_SUFX= .tar.xz
REVISION= 0
SHARED_LIBS += colordprivate 0.0 # 1.18
SHARED_LIBS += colord 0.2 # 1.18
@ -34,8 +35,11 @@ BUILD_DEPENDS= devel/gobject-introspection \
LIB_DEPENDS= graphics/lcms2 \
sysutils/polkit
# polkit(8) almost always needs to know the "active" session
RUN_DEPENDS += sysutils/consolekit
# cd-self-test.c:1528:colord_client_func: assertion failed (version == version_str)
TEST_DEPENDS=STEM-=${V}:${BUILD_PKGPATH}
TEST_DEPENDS= STEM-=${V}:${BUILD_PKGPATH}
USE_GMAKE= Yes

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.10 2013/03/11 11:37:53 espie Exp $
# $OpenBSD: Makefile,v 1.11 2013/03/30 13:03:45 ajacoutot Exp $
COMMENT= fine-grained privileges PolicyKit helper for CUPS
DISTNAME= cups-pk-helper-0.2.4
EXTRACT_SUFX= .tar.xz
REVISION= 0
CATEGORIES= print sysutils
@ -25,6 +26,9 @@ MODULES= devel/gettext \
LIB_DEPENDS= sysutils/polkit \
print/cups,-libs
# polkit(8) almost always needs to know the "active" session
RUN_DEPENDS += sysutils/consolekit
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.72 2013/03/21 08:46:35 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.73 2013/03/30 13:03:45 ajacoutot Exp $
SHARED_ONLY= Yes
@ -17,6 +17,8 @@ PKGNAME-hpcups= hpcups-${V}
PKGNAME-libs= hplip-libs-${V}
PKGNAME-gui= hplip-gui-${V}
REVISION-main= 0
SHARED_LIBS += hpmud 2.0 # .0.6
SHARED_LIBS += hpip 2.0 # .0.1
@ -61,6 +63,9 @@ RUN_DEPENDS-main=${MODPY_RUN_DEPENDS} \
print/hplip,-hpcups \
sysutils/polkit
# polkit(8) almost always needs to know the "active" session
RUN_DEPENDS-main += sysutils/consolekit
# package is only useful if cups is installed
RUN_DEPENDS-main += print/cups

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.39 2013/03/21 08:48:53 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.40 2013/03/30 13:03:45 ajacoutot Exp $
COMMENT= D-Bus interface for user account query and manipulation
@ -29,7 +29,8 @@ BUILD_DEPENDS= devel/gobject-introspection \
LIB_DEPENDS= sysutils/polkit
RUN_DEPENDS= sysutils/consolekit
# polkit(8) almost always needs to know the "active" session
RUN_DEPENDS += sysutils/consolekit
USE_GMAKE= Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.88 2013/03/29 19:21:30 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.89 2013/03/30 13:03:45 ajacoutot Exp $
SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT= GNOME control center
GNOME_PROJECT= gnome-control-center
GNOME_VERSION= 3.8.0
REVISION= 0
REVISION= 1
CATEGORIES= x11
@ -57,6 +57,9 @@ RUN_DEPENDS= x11/gnome/settings-daemon \
# man pages
BUILD_DEPENDS += textproc/docbook-xsl
# polkit(8) almost always needs to know the "active" session
RUN_DEPENDS += sysutils/consolekit
# XXX when the user account panel is re-enabled
BUILD_DEPENDS += security/libpwquality
#LIB_DEPENDS += security/libpwquality

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.223 2013/03/29 15:41:02 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.224 2013/03/30 13:03:46 ajacoutot Exp $
COMMENT= GNOME session
GNOME_PROJECT= gnome-session
GNOME_VERSION= 3.8.0
REVISION= 0
CATEGORIES= x11
@ -32,7 +33,9 @@ LIB_DEPENDS= devel/libexecinfo \
devel/gconf2 \
sysutils/upower \
devel/json-glib
RUN_DEPENDS= sysutils/consolekit
# polkit(8) almost always needs to know the "active" session
RUN_DEPENDS += sysutils/consolekit
# gnome.session RequiredComponents
RUN_DEPENDS+= x11/gnome/settings-daemon \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.96 2013/03/29 16:58:30 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.97 2013/03/30 13:03:45 ajacoutot Exp $
SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT= GNOME settings daemon
GNOME_PROJECT= gnome-settings-daemon
GNOME_VERSION= 3.8.0
REVISION= 0
REVISION= 1
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
@ -46,6 +46,9 @@ BUILD_DEPENDS += textproc/docbook-xsl
# share/polkit-1/actions/org.gnome.settings-daemon.plugins.power.policy
RUN_DEPENDS += sysutils/polkit
# polkit(8) almost always needs to know the "active" session
RUN_DEPENDS += sysutils/consolekit
# plugins/mouse/gsd-mouse-manager.c
RUN_DEPENDS += x11/gnome/mousetweaks

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.35 2013/03/30 10:03:08 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.36 2013/03/30 13:03:45 ajacoutot Exp $
COMMENT= next generation GNOME shell
GNOME_PROJECT= gnome-shell
GNOME_VERSION= 3.8.0.1
REVISION= 0
REVISION= 1
HOMEPAGE= http://live.gnome.org/GnomeShell
@ -60,6 +60,9 @@ LIB_DEPENDS= audio/pulseaudio>=2.1 \
RUN_DEPENDS= devel/py-gobject3 \
x11/gnome/caribou
# polkit(8) almost always needs to know the "active" session
RUN_DEPENDS += sysutils/consolekit
# Don't depend on evolution to lower down the amount of dependencies and
# because most users want to be able to choose their PIM. Evolution can
# be installed separately or as part of the "gnome-extra" meta-package.

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.37 2013/03/30 12:52:22 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.38 2013/03/30 13:03:45 ajacoutot Exp $
COMMENT= sytem monitor for GNOME
GNOME_PROJECT= gnome-system-monitor
GNOME_VERSION= 3.8.0
REVISION= 0
REVISION= 1
CATEGORIES= sysutils

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2013/03/11 11:46:15 espie Exp $
# $OpenBSD: Makefile,v 1.12 2013/03/30 13:03:45 ajacoutot Exp $
SHARED_ONLY= Yes
@ -7,6 +7,7 @@ COMMENT= PolicyKit authentication agent for for Qt4
V= 0.103.0
DISTNAME= polkit-qt-1-${V}
PKGNAME= polkit-qt4-${V}
REVISION= 0
SHARED_LIBS += polkit-qt-agent-1 1.0 # 0.99
SHARED_LIBS += polkit-qt-core-1 1.0 # 0.99
@ -36,6 +37,9 @@ BUILD_DEPENDS= devel/automoc
LIB_DEPENDS= sysutils/polkit
# polkit(8) almost always needs to know the "active" session
RUN_DEPENDS += sysutils/consolekit
CONFIGURE_ARGS= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \
-DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include" \
-DCMAKE_EXE_LINKER_FLAGS:STRING="-L${LOCALBASE}/lib" \