summaryrefslogtreecommitdiffstats
path: root/meta/packages/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/dbus')
-rw-r--r--meta/packages/dbus/dbus.inc25
1 files changed, 13 insertions, 12 deletions
diff --git a/meta/packages/dbus/dbus.inc b/meta/packages/dbus/dbus.inc
index 1c63c37fdf..256ccde0b4 100644
--- a/meta/packages/dbus/dbus.inc
+++ b/meta/packages/dbus/dbus.inc
@@ -1,16 +1,17 @@
1SECTION = "base" 1SECTION = "base"
2PR = "r0" 2PR = "r0"
3HOMEPAGE = "http://www.freedesktop.org/Software/dbus" 3HOMEPAGE = "http://dbus.freedesktop.org"
4DESCRIPTION = "message bus system for applications to talk to one another" 4DESCRIPTION = "Message bus system for applications to talk to one another"
5LICENSE = "GPL" 5LICENSE = "GPL"
6DEPENDS = "expat glib-2.0 virtual/libintl" 6DEPENDS = "expat glib-2.0 virtual/libintl virtual/libx11"
7
7DEFAULT_PREFERENCE = "-1" 8DEFAULT_PREFERENCE = "-1"
8 9
9SRC_URI = "http://freedesktop.org/software/dbus/releases/dbus-${PV}.tar.gz \ 10SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
10 file://cross.patch;patch=1 \ 11 file://cross.patch;patch=1 \
11 file://tmpdir.patch;patch=1 \ 12 file://tmpdir.patch;patch=1 \
12 file://dbus-1.init \ 13 file://fix-install-daemon.patch;patch=1 \
13 ${SRC_URI_EXTRA}" 14 file://dbus-1.init"
14 15
15 16
16inherit autotools pkgconfig update-rc.d gettext 17inherit autotools pkgconfig update-rc.d gettext
@@ -20,8 +21,8 @@ INITSCRIPT_PARAMS = "defaults"
20 21
21CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session.conf" 22CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session.conf"
22 23
23FILES_${PN} = "${bindir}/dbus-daemon-1 ${bindir}/dbus-launch ${bindir}/dbus-cleanup-sockets ${bindir}/dbus-send ${bindir}/dbus-monitor ${sysconfdir} ${datadir}/dbus-1/services ${libdir}/lib*.so.*" 24FILES_${PN} = "${bindir}/dbus-daemon ${bindir}/dbus-launch ${bindir}/dbus-cleanup-sockets ${bindir}/dbus-send ${bindir}/dbus-monitor ${bindir}/dbus-uuidgen ${sysconfdir} ${datadir}/dbus-1/services ${libdir}/lib*.so.*"
24FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" 25FILES_${PN}-dev += "${libdir}/dbus-1.0/include"
25 26
26pkg_postinst_dbus() { 27pkg_postinst_dbus() {
27#!/bin/sh 28#!/bin/sh
@@ -37,16 +38,16 @@ MESSAGEHOME=/var/run/dbus
37mkdir -p $MESSAGEHOME || true 38mkdir -p $MESSAGEHOME || true
38chgrp "$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || addgroup "$MESSAGEUSER" 39chgrp "$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || addgroup "$MESSAGEUSER"
39chown "$MESSAGEUSER"."$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || adduser --system --home "$MESSAGEHOME" --no-create-home --disabled-password --ingroup "$MESSAGEUSER" "$MESSAGEUSER" 40chown "$MESSAGEUSER"."$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || adduser --system --home "$MESSAGEHOME" --no-create-home --disabled-password --ingroup "$MESSAGEUSER" "$MESSAGEUSER"
41grep -q netdev: /etc/group || addgroup netdev
40} 42}
41 43
42EXTRA_OECONF = "--disable-qt --disable-gtk --disable-tests \ 44EXTRA_OECONF = "--disable-qt --disable-qt3 --disable-gtk --disable-tests \
43 --disable-checks --disable-xml-docs --disable-doxygen-docs \ 45 --disable-asserts --disable-xml-docs --disable-doxygen-docs \
44 --with-xml=expat --without-x" 46 --with-xml=expat --with-x"
45 47
46 48
47do_stage () { 49do_stage () {
48 oe_libinstall -so -C dbus libdbus-1 ${STAGING_LIBDIR} 50 oe_libinstall -so -C dbus libdbus-1 ${STAGING_LIBDIR}
49 oe_libinstall -so -C glib libdbus-glib-1 ${STAGING_LIBDIR}
50 51
51 autotools_stage_includes 52 autotools_stage_includes
52 53