diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2016-01-14 17:16:23 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-30 11:37:00 +0000 |
commit | a16e9a2f0e2d0dfd8446e0dfd78f35bcab863619 (patch) | |
tree | 7f3c83c877dadf9514beb6e6b47a1224322ce489 /meta/recipes-core/dbus/dbus-test_1.10.6.bb | |
parent | 70814586bb11c8f1aeb4c991f44cd52542159a91 (diff) | |
download | poky-a16e9a2f0e2d0dfd8446e0dfd78f35bcab863619.tar.gz |
dbus: upgrade to 1.10.6
Now that systemd doesn't use DBus directly, dbus can --enable-systemd. In fact
this appears to be essential for DBus to work on under modern systemd.
python-config.patch refreshed.
Package dbus-test-tool into PN-dev, and remove obsolete dbus-glib-tool
reference.
Remove obsolete --without-dbus-glib option, and dependency on dbus-glib in
dbus-test.
[ patch originally by Chen, tweaked and message rewritten by RB ]
(From OE-Core rev: 3cd34c673d2f64e310b474036754e1ead5775d66)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/dbus/dbus-test_1.10.6.bb')
-rw-r--r-- | meta/recipes-core/dbus/dbus-test_1.10.6.bb | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/meta/recipes-core/dbus/dbus-test_1.10.6.bb b/meta/recipes-core/dbus/dbus-test_1.10.6.bb new file mode 100644 index 0000000000..a768a09c4a --- /dev/null +++ b/meta/recipes-core/dbus/dbus-test_1.10.6.bb | |||
@@ -0,0 +1,61 @@ | |||
1 | SUMMARY = "D-Bus test package (for D-bus functionality testing only)" | ||
2 | HOMEPAGE = "http://dbus.freedesktop.org" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "AFL-2 | GPLv2+" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ | ||
6 | file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c" | ||
7 | |||
8 | DEPENDS = "python-pygobject dbus" | ||
9 | |||
10 | RDEPENDS_${PN} += "make" | ||
11 | RDEPENDS_${PN}-dev = "" | ||
12 | |||
13 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ | ||
14 | file://tmpdir.patch \ | ||
15 | file://dbus-1.init \ | ||
16 | file://run-ptest \ | ||
17 | file://python-config.patch \ | ||
18 | file://clear-guid_from_server-if-send_negotiate_unix_f.patch \ | ||
19 | " | ||
20 | |||
21 | SRC_URI[md5sum] = "26d0cf3a1c9782cb0e342101f0450440" | ||
22 | SRC_URI[sha256sum] = "b5fefa08a77edd76cd64d872db949eebc02cf6f3f8be82e4bbc641742af5d35f" | ||
23 | |||
24 | S="${WORKDIR}/dbus-${PV}" | ||
25 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/dbus:" | ||
26 | |||
27 | inherit autotools pkgconfig gettext ptest upstream-version-is-even | ||
28 | |||
29 | EXTRA_OECONF_X = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}" | ||
30 | EXTRA_OECONF_X_class-native = "--without-x" | ||
31 | |||
32 | EXTRA_OECONF = "--enable-tests \ | ||
33 | --enable-modular-tests \ | ||
34 | --enable-installed-tests \ | ||
35 | --enable-checks \ | ||
36 | --enable-asserts \ | ||
37 | --enable-verbose-mode \ | ||
38 | --disable-xml-docs \ | ||
39 | --disable-doxygen-docs \ | ||
40 | --disable-libaudit \ | ||
41 | --disable-systemd \ | ||
42 | --without-systemdsystemunitdir \ | ||
43 | --with-dbus-test-dir=${PTEST_PATH} \ | ||
44 | ${EXTRA_OECONF_X}" | ||
45 | |||
46 | do_install() { | ||
47 | : | ||
48 | } | ||
49 | |||
50 | do_install_ptest() { | ||
51 | install -d ${D}${PTEST_PATH}/test | ||
52 | case1="shell printf refs syslog" | ||
53 | for i in ${case1}; do install ${B}/test/test-$i ${D}${PTEST_PATH}/test; done | ||
54 | case2="marshal syntax corrupt dbus-daemon dbus-daemon-eavesdrop loopback relay" | ||
55 | for i in ${case2}; do install ${B}/test/.libs/test-$i ${D}${PTEST_PATH}/test; done | ||
56 | case3="bus bus-system bus-launch-helper" | ||
57 | for i in ${case3}; do install ${B}/bus/test-$i ${D}${PTEST_PATH}/test; done | ||
58 | install ${B}/dbus/test-dbus ${D}${PTEST_PATH}/test | ||
59 | cp -r ${B}/test/data ${D}${PTEST_PATH}/test | ||
60 | } | ||
61 | RDEPENDS_${PN}-ptest += "bash" | ||