diff options
Diffstat (limited to 'meta/recipes-core/dbus')
-rw-r--r-- | meta/recipes-core/dbus/dbus-glib/no-examples.patch | 16 | ||||
-rw-r--r-- | meta/recipes-core/dbus/dbus-glib/test-install-makefile.patch | 17 | ||||
-rw-r--r-- | meta/recipes-core/dbus/dbus-glib_0.114.bb (renamed from meta/recipes-core/dbus/dbus-glib_0.112.bb) | 17 | ||||
-rw-r--r-- | meta/recipes-core/dbus/dbus/tmpdir.patch | 44 | ||||
-rw-r--r-- | meta/recipes-core/dbus/dbus_1.16.2.bb (renamed from meta/recipes-core/dbus/dbus_1.14.10.bb) | 80 |
5 files changed, 70 insertions, 104 deletions
diff --git a/meta/recipes-core/dbus/dbus-glib/no-examples.patch b/meta/recipes-core/dbus/dbus-glib/no-examples.patch index 32e7611718..3e2fa41c59 100644 --- a/meta/recipes-core/dbus/dbus-glib/no-examples.patch +++ b/meta/recipes-core/dbus/dbus-glib/no-examples.patch | |||
@@ -1,14 +1,20 @@ | |||
1 | Disable compiling examples | 1 | From 8bb06c2f0929a4b878fd9abdb63c177a7c308b9d Mon Sep 17 00:00:00 2001 |
2 | From: Kevin Tian <kevin.tian@intel.com> | ||
3 | Date: Tue, 21 Nov 2006 14:20:37 +0000 | ||
4 | Subject: [PATCH] Disable compiling examples | ||
2 | 5 | ||
3 | Upstream-Status: Inappropriate [disable feature] | 6 | Upstream-Status: Inappropriate [disable feature] |
4 | 7 | ||
5 | Signed-off-by: Kevin Tian <kevin.tian@intel.com> | 8 | Signed-off-by: Kevin Tian <kevin.tian@intel.com> |
6 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | 9 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> |
10 | --- | ||
11 | dbus/Makefile.am | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
7 | 13 | ||
8 | Index: dbus-glib-0.108/dbus/Makefile.am | 14 | diff --git a/dbus/Makefile.am b/dbus/Makefile.am |
9 | =================================================================== | 15 | index 2e8cb27..a86df30 100644 |
10 | --- dbus-glib-0.108.orig/dbus/Makefile.am | 16 | --- a/dbus/Makefile.am |
11 | +++ dbus-glib-0.108/dbus/Makefile.am | 17 | +++ b/dbus/Makefile.am |
12 | @@ -1,4 +1,4 @@ | 18 | @@ -1,4 +1,4 @@ |
13 | -SUBDIRS = . examples | 19 | -SUBDIRS = . examples |
14 | +SUBDIRS = . | 20 | +SUBDIRS = . |
diff --git a/meta/recipes-core/dbus/dbus-glib/test-install-makefile.patch b/meta/recipes-core/dbus/dbus-glib/test-install-makefile.patch index 027c82b27e..0b1b712dd9 100644 --- a/meta/recipes-core/dbus/dbus-glib/test-install-makefile.patch +++ b/meta/recipes-core/dbus/dbus-glib/test-install-makefile.patch | |||
@@ -1,4 +1,8 @@ | |||
1 | Change Makefile.am to install regression tests for test package purpose. | 1 | From 4dbb1a459c281eeb716b4f0ce2fc01e8034c3e20 Mon Sep 17 00:00:00 2001 |
2 | From: Yao Zhao <yao.zhao@windriver.com> | ||
3 | Date: Tue, 17 Jul 2012 16:46:30 -0400 | ||
4 | Subject: [PATCH] Change Makefile.am to install regression tests for test | ||
5 | package purpose. | ||
2 | 6 | ||
3 | Upstream-Status: Inappropriate [test not install is for purpose from upstream] | 7 | Upstream-Status: Inappropriate [test not install is for purpose from upstream] |
4 | 8 | ||
@@ -11,7 +15,7 @@ Signed-off-by: Chong Lu <Chong.Lu@windriver.com> | |||
11 | 3 files changed, 6 insertions(+), 3 deletions(-) | 15 | 3 files changed, 6 insertions(+), 3 deletions(-) |
12 | 16 | ||
13 | diff --git a/test/Makefile.am b/test/Makefile.am | 17 | diff --git a/test/Makefile.am b/test/Makefile.am |
14 | index 379c8c3..6580927 100644 | 18 | index 7393bed..1c25d5d 100644 |
15 | --- a/test/Makefile.am | 19 | --- a/test/Makefile.am |
16 | +++ b/test/Makefile.am | 20 | +++ b/test/Makefile.am |
17 | @@ -48,7 +48,8 @@ TESTS = \ | 21 | @@ -48,7 +48,8 @@ TESTS = \ |
@@ -25,10 +29,10 @@ index 379c8c3..6580927 100644 | |||
25 | $(test_related_programs) \ | 29 | $(test_related_programs) \ |
26 | $(NULL) | 30 | $(NULL) |
27 | diff --git a/test/core/Makefile.am b/test/core/Makefile.am | 31 | diff --git a/test/core/Makefile.am b/test/core/Makefile.am |
28 | index e4bceb4..54b077d 100644 | 32 | index 35defa9..295202f 100644 |
29 | --- a/test/core/Makefile.am | 33 | --- a/test/core/Makefile.am |
30 | +++ b/test/core/Makefile.am | 34 | +++ b/test/core/Makefile.am |
31 | @@ -64,7 +64,8 @@ endif | 35 | @@ -57,7 +57,8 @@ if DBUS_BUILD_TESTS |
32 | 36 | ||
33 | ## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we | 37 | ## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we |
34 | ## build even when not doing "make check" | 38 | ## build even when not doing "make check" |
@@ -39,7 +43,7 @@ index e4bceb4..54b077d 100644 | |||
39 | test-error-mapping \ | 43 | test-error-mapping \ |
40 | test-service-glib \ | 44 | test-service-glib \ |
41 | diff --git a/test/interfaces/Makefile.am b/test/interfaces/Makefile.am | 45 | diff --git a/test/interfaces/Makefile.am b/test/interfaces/Makefile.am |
42 | index a94d08d..707dcac 100644 | 46 | index f3f62e4..f034b95 100644 |
43 | --- a/test/interfaces/Makefile.am | 47 | --- a/test/interfaces/Makefile.am |
44 | +++ b/test/interfaces/Makefile.am | 48 | +++ b/test/interfaces/Makefile.am |
45 | @@ -57,7 +57,8 @@ if DBUS_BUILD_TESTS | 49 | @@ -57,7 +57,8 @@ if DBUS_BUILD_TESTS |
@@ -52,6 +56,3 @@ index a94d08d..707dcac 100644 | |||
52 | 56 | ||
53 | test_service_SOURCES = \ | 57 | test_service_SOURCES = \ |
54 | test-interfaces.c \ | 58 | test-interfaces.c \ |
55 | -- | ||
56 | 1.9.1 | ||
57 | |||
diff --git a/meta/recipes-core/dbus/dbus-glib_0.112.bb b/meta/recipes-core/dbus/dbus-glib_0.114.bb index 4acf435694..28a9d4a4fc 100644 --- a/meta/recipes-core/dbus/dbus-glib_0.112.bb +++ b/meta/recipes-core/dbus/dbus-glib_0.114.bb | |||
@@ -2,9 +2,14 @@ SUMMARY = "High level language (GLib) binding for D-Bus" | |||
2 | DESCRIPTION = "GLib bindings for the D-Bus message bus that integrate \ | 2 | DESCRIPTION = "GLib bindings for the D-Bus message bus that integrate \ |
3 | the D-Bus library with the GLib thread abstraction and main loop." | 3 | the D-Bus library with the GLib thread abstraction and main loop." |
4 | HOMEPAGE = "https://www.freedesktop.org/Software/dbus" | 4 | HOMEPAGE = "https://www.freedesktop.org/Software/dbus" |
5 | LICENSE = "AFL-2.1 | GPL-2.0-or-later" | 5 | LICENSE = "(AFL-2.1 & LGPL-2.0-or-later & MIT) | (GPL-2.0-or-later & LGPL-2.0-or-later & MIT)" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c31c73c1d8f5d06784b2ccd22e42d641 \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=267b04646da5ce3ea2df7a38a07c3f0b \ |
7 | file://dbus/dbus-glib.h;beginline=7;endline=21;md5=c374833bd817988323f3a8fda0dc7f48" | 7 | file://LICENSES/AFL-2.1.txt;md5=f3ad2f482ec639b440413665cfb9e714 \ |
8 | file://LICENSES/GPL-2.0-or-later.txt;md5=3d26203303a722dedc6bf909d95ba815 \ | ||
9 | file://LICENSES/LGPL-2.1-or-later.txt;md5=41890f71f740302b785c27661123bff5 \ | ||
10 | file://LICENSES/MIT.txt;md5=7dda4e90ded66ab88b86f76169f28663 \ | ||
11 | file://dbus/dbus-glib.h;beginline=7;endline=21;md5=c374833bd817988323f3a8fda0dc7f48 \ | ||
12 | " | ||
8 | SECTION = "base" | 13 | SECTION = "base" |
9 | 14 | ||
10 | DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" | 15 | DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" |
@@ -14,8 +19,7 @@ SRC_URI = "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.g | |||
14 | file://no-examples.patch \ | 19 | file://no-examples.patch \ |
15 | file://test-install-makefile.patch \ | 20 | file://test-install-makefile.patch \ |
16 | " | 21 | " |
17 | SRC_URI[md5sum] = "021e6c8a288df02c227e4aafbf7e7527" | 22 | SRC_URI[sha256sum] = "c09c5c085b2a0e391b8ee7d783a1d63fe444e96717cc1814d61b5e8fc2827a7c" |
18 | SRC_URI[sha256sum] = "7d550dccdfcd286e33895501829ed971eeb65c614e73aadb4a08aeef719b143a" | ||
19 | 23 | ||
20 | inherit autotools pkgconfig gettext bash-completion gtk-doc | 24 | inherit autotools pkgconfig gettext bash-completion gtk-doc |
21 | 25 | ||
@@ -30,10 +34,11 @@ PACKAGES += "${PN}-tests" | |||
30 | 34 | ||
31 | FILES:${PN} = "${libdir}/lib*${SOLIBS}" | 35 | FILES:${PN} = "${libdir}/lib*${SOLIBS}" |
32 | FILES:${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" | 36 | FILES:${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" |
37 | LICENSE:${PN}-bash-completion = "GPL-2.0-or-later" | ||
33 | FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" | 38 | FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" |
34 | FILES:${PN}-dev += "${bindir}/dbus-binding-tool" | 39 | FILES:${PN}-dev += "${bindir}/dbus-binding-tool" |
35 | 40 | ||
36 | RDEPENDS:${PN}-tests += "dbus-x11" | 41 | RDEPENDS:${PN}-tests = "${PN}" |
37 | FILES:${PN}-tests = "${datadir}/${BPN}/tests" | 42 | FILES:${PN}-tests = "${datadir}/${BPN}/tests" |
38 | 43 | ||
39 | BBCLASSEXTEND = "native" | 44 | BBCLASSEXTEND = "native" |
diff --git a/meta/recipes-core/dbus/dbus/tmpdir.patch b/meta/recipes-core/dbus/dbus/tmpdir.patch deleted file mode 100644 index bf086e1788..0000000000 --- a/meta/recipes-core/dbus/dbus/tmpdir.patch +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | From 5105fedd7fa13dadd2d0d864fb77873b83b79a4b Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Thu, 23 Jun 2011 13:52:09 +0200 | ||
4 | Subject: [PATCH] buildsys: hardcode socketdir to /tmp | ||
5 | |||
6 | the TMPDIR env var isn't always pointing to the right target path | ||
7 | |||
8 | Upstream-Status: Inappropriate [embedded] | ||
9 | |||
10 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
11 | |||
12 | Original comment: | ||
13 | |||
14 | avoid to check tmp dir at build time. instead uses hard coded /tmp here | ||
15 | comment added by Kevin Tian <kevin.tian@intel.com> | ||
16 | --- | ||
17 | configure.ac | 11 +---------- | ||
18 | 1 files changed, 1 insertions(+), 10 deletions(-) | ||
19 | |||
20 | diff --git a/configure.ac b/configure.ac | ||
21 | index 408054b..6d26180 100644 | ||
22 | --- a/configure.ac | ||
23 | +++ b/configure.ac | ||
24 | @@ -1483,16 +1483,7 @@ AC_SUBST(TEST_LAUNCH_HELPER_BINARY) | ||
25 | AC_DEFINE_UNQUOTED(DBUS_TEST_LAUNCH_HELPER_BINARY, "$TEST_LAUNCH_HELPER_BINARY", | ||
26 | [Full path to the launch helper test program in the builddir]) | ||
27 | |||
28 | -#### Find socket directories | ||
29 | -if ! test -z "$TMPDIR" ; then | ||
30 | - DEFAULT_SOCKET_DIR=$TMPDIR | ||
31 | -elif ! test -z "$TEMP" ; then | ||
32 | - DEFAULT_SOCKET_DIR=$TEMP | ||
33 | -elif ! test -z "$TMP" ; then | ||
34 | - DEFAULT_SOCKET_DIR=$TMP | ||
35 | -else | ||
36 | - DEFAULT_SOCKET_DIR=/tmp | ||
37 | -fi | ||
38 | +DEFAULT_SOCKET_DIR=/tmp | ||
39 | |||
40 | DEFAULT_SOCKET_DIR=`echo $DEFAULT_SOCKET_DIR | sed 's/+/%2B/g'` | ||
41 | |||
42 | -- | ||
43 | 1.6.6.1 | ||
44 | |||
diff --git a/meta/recipes-core/dbus/dbus_1.14.10.bb b/meta/recipes-core/dbus/dbus_1.16.2.bb index 4fe7af7512..65f7028b4f 100644 --- a/meta/recipes-core/dbus/dbus_1.14.10.bb +++ b/meta/recipes-core/dbus/dbus_1.16.2.bb | |||
@@ -3,43 +3,44 @@ DESCRIPTION = "D-Bus is a message bus system, a simple way for applications to t | |||
3 | HOMEPAGE = "https://dbus.freedesktop.org" | 3 | HOMEPAGE = "https://dbus.freedesktop.org" |
4 | SECTION = "base" | 4 | SECTION = "base" |
5 | 5 | ||
6 | inherit autotools pkgconfig gettext upstream-version-is-even ptest-gnome | 6 | inherit meson pkgconfig gettext upstream-version-is-even ptest-gnome |
7 | 7 | ||
8 | LICENSE = "AFL-2.1 | GPL-2.0-or-later" | 8 | LICENSE = "AFL-2.1 | GPL-2.0-or-later" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=6423dcd74d7be9715b0db247fd889da3 \ | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb0ffc69a965797a3d6686baa153ef05 \ |
10 | file://dbus/dbus.h;beginline=6;endline=20;md5=866739837ccd835350af94dccd6457d8 \ | 10 | file://dbus/dbus.h;beginline=6;endline=22;md5=df4251a6c6e15e6a9e3c77b2ac30065d \ |
11 | " | 11 | " |
12 | 12 | ||
13 | SRC_URI = "https://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.xz \ | 13 | SRC_URI = "https://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.xz \ |
14 | file://run-ptest \ | 14 | file://run-ptest \ |
15 | file://tmpdir.patch \ | ||
16 | file://dbus-1.init \ | 15 | file://dbus-1.init \ |
17 | " | 16 | " |
18 | 17 | ||
19 | SRC_URI[sha256sum] = "ba1f21d2bd9d339da2d4aa8780c09df32fea87998b73da24f49ab9df1e36a50f" | 18 | SRC_URI[sha256sum] = "0ba2a1a4b16afe7bceb2c07e9ce99a8c2c3508e5dec290dbb643384bd6beb7e2" |
20 | 19 | ||
21 | EXTRA_OECONF = "--disable-xml-docs \ | 20 | EXTRA_OEMESON = "-Dxml_docs=disabled \ |
22 | --disable-doxygen-docs \ | 21 | -Ddoxygen_docs=disabled \ |
23 | --enable-largefile \ | 22 | -Dsystem_socket=/run/dbus/system_bus_socket \ |
24 | --with-system-socket=/run/dbus/system_bus_socket \ | 23 | -Dmodular_tests=enabled \ |
25 | --enable-modular-tests \ | 24 | -Dchecks=true \ |
26 | --enable-checks \ | 25 | -Druntime_dir=${runtimedir} \ |
27 | --runstatedir=/run \ | 26 | -Dtest_socket_dir=/tmp \ |
27 | -Dsession_socket_dir=/tmp \ | ||
28 | " | 28 | " |
29 | EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl" | ||
30 | 29 | ||
31 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ | 30 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ |
32 | user-session \ | 31 | user-session \ |
32 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ | ||
33 | " | 33 | " |
34 | PACKAGECONFIG:class-native = "" | 34 | PACKAGECONFIG:class-native = "" |
35 | PACKAGECONFIG:class-nativesdk = "" | 35 | PACKAGECONFIG:class-nativesdk = "" |
36 | 36 | ||
37 | PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd --without-systemdsystemunitdir,systemd" | 37 | PACKAGECONFIG[systemd] = "-Dsystemd=enabled -Dsystemd_system_unitdir=${systemd_system_unitdir},-Dsystemd=disabled,systemd" |
38 | PACKAGECONFIG[x11] = "--enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm" | 38 | PACKAGECONFIG[x11] = "-Dx11_autolaunch=enabled,-Dx11_autolaunch=disabled, virtual/libx11 libsm" |
39 | PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session" | 39 | PACKAGECONFIG[user-session] = "-Duser_session=true -Dsystemd_user_unitdir=${systemd_user_unitdir},-Duser_session=false" |
40 | PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,," | 40 | PACKAGECONFIG[verbose-mode] = "-Dverbose_mode=true,-Dverbose_mode=false,," |
41 | PACKAGECONFIG[audit] = "--enable-libaudit,--disable-libaudit,audit" | 41 | PACKAGECONFIG[audit] = "-Dlibaudit=enabled,-Dlibaudit=disabled,audit" |
42 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | 42 | PACKAGECONFIG[selinux] = "-Dselinux=enabled,-Dselinux=disabled,libselinux" |
43 | PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false" | ||
43 | 44 | ||
44 | DEPENDS = "expat virtual/libintl autoconf-archive-native glib-2.0" | 45 | DEPENDS = "expat virtual/libintl autoconf-archive-native glib-2.0" |
45 | RDEPENDS:${PN} += "${PN}-common ${PN}-tools" | 46 | RDEPENDS:${PN} += "${PN}-common ${PN}-tools" |
@@ -66,13 +67,6 @@ CONFFILES:${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session | |||
66 | 67 | ||
67 | DEBIANNAME:${PN} = "dbus-1" | 68 | DEBIANNAME:${PN} = "dbus-1" |
68 | 69 | ||
69 | OLDPKGNAME = "dbus-x11" | ||
70 | OLDPKGNAME:class-nativesdk = "" | ||
71 | |||
72 | # for compatibility | ||
73 | RPROVIDES:${PN} = "${OLDPKGNAME}" | ||
74 | RREPLACES:${PN} += "${OLDPKGNAME}" | ||
75 | |||
76 | FILES:${PN} = "${bindir}/dbus-daemon* \ | 70 | FILES:${PN} = "${bindir}/dbus-daemon* \ |
77 | ${bindir}/dbus-cleanup-sockets \ | 71 | ${bindir}/dbus-cleanup-sockets \ |
78 | ${bindir}/dbus-launch \ | 72 | ${bindir}/dbus-launch \ |
@@ -104,6 +98,7 @@ FILES:${PN}-tools = "${bindir}/dbus-uuidgen \ | |||
104 | " | 98 | " |
105 | FILES:${PN}-lib = "${libdir}/lib*.so.*" | 99 | FILES:${PN}-lib = "${libdir}/lib*.so.*" |
106 | RRECOMMENDS:${PN}-lib = "${PN}" | 100 | RRECOMMENDS:${PN}-lib = "${PN}" |
101 | RRECOMMENDS:${PN}-lib:class-target = "${VIRTUAL-RUNTIME_dbus}" | ||
107 | FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-test-tool ${datadir}/xml/dbus-1" | 102 | FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-test-tool ${datadir}/xml/dbus-1" |
108 | 103 | ||
109 | RDEPENDS:${PN}-ptest += "bash make dbus" | 104 | RDEPENDS:${PN}-ptest += "bash make dbus" |
@@ -123,14 +118,22 @@ pkg_postinst:dbus() { | |||
123 | fi | 118 | fi |
124 | } | 119 | } |
125 | 120 | ||
121 | # dbus uses find_program() to find systemctl, which results in a build path in the | ||
122 | # user dbus.socket | ||
123 | EXTRA_OEMESON:append:class-target = " --cross-file=${WORKDIR}/dbus.cross" | ||
126 | 124 | ||
127 | do_install() { | 125 | do_configure:prepend:class-target() { |
128 | autotools_do_install | 126 | cat >${WORKDIR}/dbus.cross <<EOF |
127 | [binaries] | ||
128 | systemctl = '${bindir}/systemctl' | ||
129 | EOF | ||
130 | } | ||
129 | 131 | ||
132 | do_install:append:class-target() { | ||
130 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 133 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
131 | install -d ${D}${sysconfdir}/init.d | 134 | install -d ${D}${sysconfdir}/init.d |
132 | sed 's:@bindir@:${bindir}:' < ${WORKDIR}/dbus-1.init >${WORKDIR}/dbus-1.init.sh | 135 | sed 's:@bindir@:${bindir}:' < ${UNPACKDIR}/dbus-1.init > ${S}/dbus-1.init.sh |
133 | install -m 0755 ${WORKDIR}/dbus-1.init.sh ${D}${sysconfdir}/init.d/dbus-1 | 136 | install -m 0755 ${S}/dbus-1.init.sh ${D}${sysconfdir}/init.d/dbus-1 |
134 | install -d ${D}${sysconfdir}/default/volatiles | 137 | install -d ${D}${sysconfdir}/default/volatiles |
135 | echo "d messagebus messagebus 0755 /run/dbus none" \ | 138 | echo "d messagebus messagebus 0755 /run/dbus none" \ |
136 | > ${D}${sysconfdir}/default/volatiles/99_dbus | 139 | > ${D}${sysconfdir}/default/volatiles/99_dbus |
@@ -145,7 +148,6 @@ do_install() { | |||
145 | ln -fs ../dbus.service ${D}${systemd_system_unitdir}/multi-user.target.wants/dbus.service | 148 | ln -fs ../dbus.service ${D}${systemd_system_unitdir}/multi-user.target.wants/dbus.service |
146 | fi | 149 | fi |
147 | 150 | ||
148 | |||
149 | mkdir -p ${D}${localstatedir}/lib/dbus | 151 | mkdir -p ${D}${localstatedir}/lib/dbus |
150 | 152 | ||
151 | chown messagebus:messagebus ${D}${localstatedir}/lib/dbus | 153 | chown messagebus:messagebus ${D}${localstatedir}/lib/dbus |
@@ -159,27 +161,23 @@ do_install() { | |||
159 | # Remove empty testexec directory as we don't build tests | 161 | # Remove empty testexec directory as we don't build tests |
160 | rm -rf ${D}${libdir}/dbus-1.0/test | 162 | rm -rf ${D}${libdir}/dbus-1.0/test |
161 | 163 | ||
162 | # Remove /var/run as it is created on startup | 164 | # Remove /run as it is created on startup |
163 | rm -rf ${D}${localstatedir}/run | 165 | rm -rf ${D}${runtimedir} |
164 | } | 166 | } |
165 | 167 | ||
166 | do_install:class-native() { | 168 | do_install:append:class-native() { |
167 | autotools_do_install | ||
168 | |||
169 | # dbus-launch has no X support so lets not install it in case the host | 169 | # dbus-launch has no X support so lets not install it in case the host |
170 | # has a more featured and useful version | 170 | # has a more featured and useful version |
171 | rm -f ${D}${bindir}/dbus-launch | 171 | rm -f ${D}${bindir}/dbus-launch |
172 | } | 172 | } |
173 | 173 | ||
174 | do_install:class-nativesdk() { | 174 | do_install:append:class-nativesdk() { |
175 | autotools_do_install | ||
176 | |||
177 | # dbus-launch has no X support so lets not install it in case the host | 175 | # dbus-launch has no X support so lets not install it in case the host |
178 | # has a more featured and useful version | 176 | # has a more featured and useful version |
179 | rm -f ${D}${bindir}/dbus-launch | 177 | rm -f ${D}${bindir}/dbus-launch |
180 | 178 | ||
181 | # Remove /var/run to avoid QA error | 179 | # Remove /run to avoid QA error |
182 | rm -rf ${D}${localstatedir}/run | 180 | rm -rf ${D}${runtimedir} |
183 | } | 181 | } |
184 | BBCLASSEXTEND = "native nativesdk" | 182 | BBCLASSEXTEND = "native nativesdk" |
185 | 183 | ||