diff options
| author | Ross Burton <ross@openedhand.com> | 2008-01-30 18:41:21 +0000 |
|---|---|---|
| committer | Ross Burton <ross@openedhand.com> | 2008-01-30 18:41:21 +0000 |
| commit | b24a3ca1d9a26e660a759de3f7be31ea7dae8292 (patch) | |
| tree | 77a95b80a6522d4ec7b81f4f2bef0d1109cac896 /meta/packages/dbus/dbus.inc | |
| parent | 50ef39fffe878ea93cc673cc9a7c8e9f44a3474e (diff) | |
| download | poky-b24a3ca1d9a26e660a759de3f7be31ea7dae8292.tar.gz | |
dbus.inc: somewhat merge with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3633 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/dbus/dbus.inc')
| -rw-r--r-- | meta/packages/dbus/dbus.inc | 25 |
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 @@ | |||
| 1 | SECTION = "base" | 1 | SECTION = "base" |
| 2 | PR = "r0" | 2 | PR = "r0" |
| 3 | HOMEPAGE = "http://www.freedesktop.org/Software/dbus" | 3 | HOMEPAGE = "http://dbus.freedesktop.org" |
| 4 | DESCRIPTION = "message bus system for applications to talk to one another" | 4 | DESCRIPTION = "Message bus system for applications to talk to one another" |
| 5 | LICENSE = "GPL" | 5 | LICENSE = "GPL" |
| 6 | DEPENDS = "expat glib-2.0 virtual/libintl" | 6 | DEPENDS = "expat glib-2.0 virtual/libintl virtual/libx11" |
| 7 | |||
| 7 | DEFAULT_PREFERENCE = "-1" | 8 | DEFAULT_PREFERENCE = "-1" |
| 8 | 9 | ||
| 9 | SRC_URI = "http://freedesktop.org/software/dbus/releases/dbus-${PV}.tar.gz \ | 10 | SRC_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 | ||
| 16 | inherit autotools pkgconfig update-rc.d gettext | 17 | inherit autotools pkgconfig update-rc.d gettext |
| @@ -20,8 +21,8 @@ INITSCRIPT_PARAMS = "defaults" | |||
| 20 | 21 | ||
| 21 | CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session.conf" | 22 | CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session.conf" |
| 22 | 23 | ||
| 23 | FILES_${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.*" | 24 | FILES_${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.*" |
| 24 | FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" | 25 | FILES_${PN}-dev += "${libdir}/dbus-1.0/include" |
| 25 | 26 | ||
| 26 | pkg_postinst_dbus() { | 27 | pkg_postinst_dbus() { |
| 27 | #!/bin/sh | 28 | #!/bin/sh |
| @@ -37,16 +38,16 @@ MESSAGEHOME=/var/run/dbus | |||
| 37 | mkdir -p $MESSAGEHOME || true | 38 | mkdir -p $MESSAGEHOME || true |
| 38 | chgrp "$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || addgroup "$MESSAGEUSER" | 39 | chgrp "$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || addgroup "$MESSAGEUSER" |
| 39 | chown "$MESSAGEUSER"."$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || adduser --system --home "$MESSAGEHOME" --no-create-home --disabled-password --ingroup "$MESSAGEUSER" "$MESSAGEUSER" | 40 | chown "$MESSAGEUSER"."$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || adduser --system --home "$MESSAGEHOME" --no-create-home --disabled-password --ingroup "$MESSAGEUSER" "$MESSAGEUSER" |
| 41 | grep -q netdev: /etc/group || addgroup netdev | ||
| 40 | } | 42 | } |
| 41 | 43 | ||
| 42 | EXTRA_OECONF = "--disable-qt --disable-gtk --disable-tests \ | 44 | EXTRA_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 | ||
| 47 | do_stage () { | 49 | do_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 | ||
