]> code.ossystems Code Review - openembedded-core.git/commitdiff
dbus: split X11 dependant dbus-launch into its own subpackage
authorKoen Kooi <koen@dominion.thruhere.net>
Thu, 26 May 2011 09:00:38 +0000 (11:00 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 May 2011 10:01:37 +0000 (11:01 +0100)
This makes dbus usable in non-X enviroments like QT/e

>From the original commit in OE .dev:

commit 8e25448fb01b6fa6ea3a86f9327f080cd753dfbc
Author: John Lee <john_lee@openmoko.org>
Date:   Fri Sep 5 11:37:39 2008 +0000

    dbus: enable x support and put dbus-launch into new package dbus-x11
    * Enable x support only add rdepends to dbus-launch.  Make it a
      seperate package so other packages like dbus does not rdepend on
      libx11.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dbus/dbus.inc
meta/recipes-core/dbus/dbus_1.4.1.bb

index 1ef0d8fcfd40c2867755eaa64e839011a5ed572d..acf43d53ee3566771701c4537cdb7fb17e0b3c35 100644 (file)
@@ -21,7 +21,9 @@ CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session
 
 DEBIANNAME_${PN} = "dbus-1"
 
-PACKAGES =+ "${PN}-lib"
+PACKAGES =+ "${PN}-lib ${PN}-x11"
+
+FILES_${PN}-x11 = "${bindir}/dbus-launch"
 
 FILES_${PN} = "${bindir}/dbus-daemon* \
                ${bindir}/dbus-uuidgen \
index f16d9f2904ab84821b6b9800a119f44d98a10c84..d1c59dcab17d90af03a5b6a2442dbbfd26914a4e 100644 (file)
@@ -1,6 +1,6 @@
 include dbus.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI[md5sum] = "99cb057700c0455fb68f8d57902f77ac"
 SRC_URI[sha256sum] = "caa1a0ded2d0f2e95c1d4ec7e3c8bd44834928c5b0ed41a7189963f3593983bd"