diff options
| -rw-r--r-- | meta/recipes-core/dbus/dbus.inc | 39 | ||||
| -rw-r--r-- | meta/recipes-core/dbus/dbus_1.12.22.bb | 40 |
2 files changed, 39 insertions, 40 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc deleted file mode 100644 index 8e6f597c0a..0000000000 --- a/meta/recipes-core/dbus/dbus.inc +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | inherit autotools pkgconfig gettext upstream-version-is-even ptest-gnome | ||
| 2 | |||
| 3 | LICENSE = "AFL-2.1 | GPL-2.0-or-later" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ | ||
| 5 | file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c" | ||
| 6 | |||
| 7 | SRC_URI = "https://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ | ||
| 8 | file://run-ptest \ | ||
| 9 | file://python-config.patch \ | ||
| 10 | file://tmpdir.patch \ | ||
| 11 | file://dbus-1.init \ | ||
| 12 | file://clear-guid_from_server-if-send_negotiate_unix_f.patch \ | ||
| 13 | file://stop_using_selinux_set_mapping.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRC_URI[sha256sum] = "8d25785c798ec4f892e6f9d177fb0ceeb8b29867b119798f9d5228561d3ad474" | ||
| 17 | |||
| 18 | EXTRA_OECONF = "--disable-xml-docs \ | ||
| 19 | --disable-doxygen-docs \ | ||
| 20 | --enable-largefile \ | ||
| 21 | --with-system-socket=/run/dbus/system_bus_socket \ | ||
| 22 | --enable-tests \ | ||
| 23 | --enable-checks \ | ||
| 24 | --enable-asserts \ | ||
| 25 | " | ||
| 26 | EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl" | ||
| 27 | |||
| 28 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ | ||
| 29 | user-session \ | ||
| 30 | " | ||
| 31 | PACKAGECONFIG:class-native = "" | ||
| 32 | PACKAGECONFIG:class-nativesdk = "" | ||
| 33 | |||
| 34 | PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd --without-systemdsystemunitdir,systemd" | ||
| 35 | PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm" | ||
| 36 | PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session" | ||
| 37 | PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,," | ||
| 38 | PACKAGECONFIG[audit] = "--enable-libaudit,--disable-libaudit,audit" | ||
| 39 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | ||
diff --git a/meta/recipes-core/dbus/dbus_1.12.22.bb b/meta/recipes-core/dbus/dbus_1.12.22.bb index e611e7d98a..792f34c7ef 100644 --- a/meta/recipes-core/dbus/dbus_1.12.22.bb +++ b/meta/recipes-core/dbus/dbus_1.12.22.bb | |||
| @@ -3,7 +3,45 @@ 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 | require dbus.inc | 6 | inherit autotools pkgconfig gettext upstream-version-is-even ptest-gnome |
| 7 | |||
| 8 | LICENSE = "AFL-2.1 | GPL-2.0-or-later" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ | ||
| 10 | file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c" | ||
| 11 | |||
| 12 | SRC_URI = "https://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ | ||
| 13 | file://run-ptest \ | ||
| 14 | file://python-config.patch \ | ||
| 15 | file://tmpdir.patch \ | ||
| 16 | file://dbus-1.init \ | ||
| 17 | file://clear-guid_from_server-if-send_negotiate_unix_f.patch \ | ||
| 18 | file://stop_using_selinux_set_mapping.patch \ | ||
| 19 | " | ||
| 20 | |||
| 21 | SRC_URI[sha256sum] = "8d25785c798ec4f892e6f9d177fb0ceeb8b29867b119798f9d5228561d3ad474" | ||
| 22 | |||
| 23 | EXTRA_OECONF = "--disable-xml-docs \ | ||
| 24 | --disable-doxygen-docs \ | ||
| 25 | --enable-largefile \ | ||
| 26 | --with-system-socket=/run/dbus/system_bus_socket \ | ||
| 27 | --enable-tests \ | ||
| 28 | --enable-checks \ | ||
| 29 | --enable-asserts \ | ||
| 30 | " | ||
| 31 | EXTRA_OECONF:append:class-target = " SYSTEMCTL=${base_bindir}/systemctl" | ||
| 32 | |||
| 33 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ | ||
| 34 | user-session \ | ||
| 35 | " | ||
| 36 | PACKAGECONFIG:class-native = "" | ||
| 37 | PACKAGECONFIG:class-nativesdk = "" | ||
| 38 | |||
| 39 | PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd --without-systemdsystemunitdir,systemd" | ||
| 40 | PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm" | ||
| 41 | PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session" | ||
| 42 | PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,," | ||
| 43 | PACKAGECONFIG[audit] = "--enable-libaudit,--disable-libaudit,audit" | ||
| 44 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | ||
| 7 | 45 | ||
| 8 | DEPENDS = "expat virtual/libintl autoconf-archive glib-2.0" | 46 | DEPENDS = "expat virtual/libintl autoconf-archive glib-2.0" |
| 9 | RDEPENDS:${PN} += "${PN}-common ${PN}-tools" | 47 | RDEPENDS:${PN} += "${PN}-common ${PN}-tools" |
