summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus/dbus.inc
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-03-09 23:22:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-15 08:40:09 +0000
commit73673240555a5cf446edc8512a16228cf0ef6241 (patch)
tree393e6cbd238e6f86ca37542041af4df7ab5e5019 /meta/recipes-core/dbus/dbus.inc
parent5d11e2028e9674df2a548ea93f1d6a4351973038 (diff)
downloadpoky-73673240555a5cf446edc8512a16228cf0ef6241.tar.gz
dbus-test: merge into main dbus recipe
The reason it was separate is that there is a peculiar circular dependency: dbus tests require glib, while some of glib's gdbus tests require dbus. So dbus was built with tests disabled and without glib dependency, then glib was built with dbus dependency, then dbus was built again with glib dependency and tests enabled, only for the purpose of installing those tests. I find that brittle and hacky, so this removes dbus dependecy from glib (the fallout is that some gdbus tests are no longer being executed), and dbus and its tests are built once, after glib. Conversely, dbus is now dependent on glib for the purpose of building the tests. Also, dbus ptest installation is no longer using custom code, and dbus run-ptest simply uses standard installed tests execution mechanism from gnome. (From OE-Core rev: cfecef4e6925865961858d0fe5ffc7794c71cd3b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/dbus/dbus.inc')
-rw-r--r--meta/recipes-core/dbus/dbus.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index cb4c56db92..8e6f597c0a 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -1,10 +1,12 @@
1inherit autotools pkgconfig gettext upstream-version-is-even 1inherit autotools pkgconfig gettext upstream-version-is-even ptest-gnome
2 2
3LICENSE = "AFL-2.1 | GPL-2.0-or-later" 3LICENSE = "AFL-2.1 | GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ 4LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
5 file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c" 5 file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c"
6 6
7SRC_URI = "https://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ 7SRC_URI = "https://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
8 file://run-ptest \
9 file://python-config.patch \
8 file://tmpdir.patch \ 10 file://tmpdir.patch \
9 file://dbus-1.init \ 11 file://dbus-1.init \
10 file://clear-guid_from_server-if-send_negotiate_unix_f.patch \ 12 file://clear-guid_from_server-if-send_negotiate_unix_f.patch \
@@ -17,6 +19,9 @@ EXTRA_OECONF = "--disable-xml-docs \
17 --disable-doxygen-docs \ 19 --disable-doxygen-docs \
18 --enable-largefile \ 20 --enable-largefile \
19 --with-system-socket=/run/dbus/system_bus_socket \ 21 --with-system-socket=/run/dbus/system_bus_socket \
22 --enable-tests \
23 --enable-checks \
24 --enable-asserts \
20 " 25 "
21EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl" 26EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl"
22 27