libblockdev: add PACKAGECONFIG for tools
PATCH 1/13 libblockdev: add PACKAGECONFIG for tools
From: Ross Burton <[email protected]>
Add another PACKAGECONFIG for the tools option. As this builds a binary in what is primarily a library package, also inherit lib_package so the tools are packaged in libblockdev-bin.
--- meta-oe/recipes-extended/libblockdev/libblockdev_2.28.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-extended/libblockdev/libblockdev_2.28.bb +3 -2
@@ -8,7 +8,7 @@ SECTION = "devel/lib" LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c" -inherit autotools gobject-introspection pkgconfig +inherit autotools gobject-introspection pkgconfig lib_package SRC_URI = "git://github.com/storaged-project/libblockdev;branch=2.x-branch;protocol=https \ "
@@ -17,7 +17,7 @@ S = "${WORKDIR}/git" FILES:${PN} += "${libdir}/python2.7/dist-packages ${libdir}/python3.*/site-packages" -PACKAGECONFIG ??= "python3 lvm dm kmod parted fs escrow btrfs crypto mdraid kbd mpath nvdimm" +PACKAGECONFIG ??= "python3 lvm dm kmod parted fs escrow btrfs crypto mdraid kbd mpath nvdimm tools" PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" PACKAGECONFIG[python2] = "--with-python2, --without-python2,,python" PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools, lvm2"
@@ -36,5 +36,6 @@ PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,cryptsetup nss volume-ke PACKAGECONFIG[mdraid] = "--with-mdraid,--without-mdraid,libbytesize" PACKAGECONFIG[kbd] = "--with-kbd,--without-kbd,libbytesize" PACKAGECONFIG[mpath] = "--with-mpath,--without-mpath, multipath-tools, lvm2" +PACKAGECONFIG[tools] = "--with-tools,--without-tools,libbytesize libdevmapper" export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs"
Signature · 1 line
2.34.1
PATCH 2/13 libblockdev: clean up DEPENDS
From: Ross Burton <[email protected]>
If you try to build libblockdev with an empty PACKAGECONFIG then the configure fails.
Add autoconf-archive, glib-2.0, and udev; these were implicitly pulled in via other dependencies. Move kmod to DEPENDS as it's a hard requirement.
--- meta-oe/recipes-extended/libblockdev/libblockdev_2.28.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-extended/libblockdev/libblockdev_2.28.bb +4 -2
@@ -10,6 +10,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c" inherit autotools gobject-introspection pkgconfig lib_package +DEPENDS = "autoconf-archive-native glib-2.0 kmod udev" + SRC_URI = "git://github.com/storaged-project/libblockdev;branch=2.x-branch;protocol=https \ " SRCREV = "1412dc51c8f76bf8d9a6008228737db4a9a26d69"
@@ -24,12 +26,12 @@ PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools, lvm2" PACKAGECONFIG[lvm-dbus] = "--with-lvm_dbus, --without-lvm_dbus, multipath-tools, lvm2" PACKAGECONFIG[dm] = "--with-dm, --without-dm, multipath-tools, lvm2" PACKAGECONFIG[dmraid] = "--with-dmraid, --without-dmraid" -PACKAGECONFIG[kmod] = "--with-kbd, --without-kbd, kmod" +PACKAGECONFIG[kmod] = "--with-kbd, --without-kbd,libbytesize" PACKAGECONFIG[parted] = "--with-part, --without-part, parted" PACKAGECONFIG[fs] = "--with-fs, --without-fs, util-linux" PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native" PACKAGECONFIG[nvdimm] = "--with-nvdimm, --without-nvdimm, ndctl util-linux" -PACKAGECONFIG[vdo] = "--with-vdo, --without-vdo" +PACKAGECONFIG[vdo] = "--with-vdo, --without-vdo,libbytesize" PACKAGECONFIG[escrow] = "--with-escrow, --without-escrow, nss volume-key" PACKAGECONFIG[btrfs] = "--with-btrfs,--without-btrfs,libbytesize btrfs-tools" PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,cryptsetup nss volume-key"
Signature · 1 line
2.34.1
PATCH 3/13 graphviz: no longer needs intltool-native
In reply to [email protected]From: Ross Burton <[email protected]>
--- meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb | 1 - 1 file changed, 1 deletion(-)
meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb +0 -1
@@ -4,7 +4,6 @@ LICENSE = "EPL-1.0" LIC_FILES_CHKSUM = "file://COPYING;md5=9109f5fc16cf963fb3cdd32781b3ce04" DEPENDS = " \ - intltool-native \ bison-native \ groff-native \ libtool \
Signature · 1 line
2.34.1
PATCH 4/13 vte9: add missing dependency on glib-2.0-native
In reply to [email protected]From: Ross Burton <[email protected]>
This can be satisfied via transitive dependencies, but make it an explicit DEPENDS.
--- meta-oe/recipes-gnome/vte9/vte9.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-gnome/vte9/vte9.inc +1 -1
@@ -1,7 +1,7 @@ SUMMARY = "Virtual terminal emulator GTK+ widget library" BUGTRACKER = "https://bugzilla.gnome.org/buglist.cgi?product=vte" LICENSE = "LGPL-2.0-only" -DEPENDS = " glib-2.0 gtk+ intltool-native gnome-common-native ncurses" +DEPENDS = "glib-2.0-native glib-2.0 gtk+ intltool-native gnome-common-native ncurses" RDEPENDS:libvte = "vte-termcap" # help gnomebase get the SRC_URI correct
Signature · 1 line
2.34.1
PATCH 5/13 networkmanager: enable Vala iff gobject-introspection is available
In reply to [email protected]From: Ross Burton <[email protected]>
If vala is enabled but gobject-introspection isn't:
meson.build:816:4: ERROR: Assert failed: vala api require GObject introspection. Use -Dvapi=false to disable it
--- .../networkmanager/networkmanager_1.42.6.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb +2 -1
@@ -70,11 +70,12 @@ do_compile:prepend() { export GI_TYPELIB_PATH="${B}}/src/libnm-client-impl${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}" } -PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli vala \ +PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d), d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \ ${@bb.utils.filter('DISTRO_FEATURES', 'wifi polkit', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'vala', '', d)} \ " inherit ${@bb.utils.contains('PACKAGECONFIG', 'vala', 'vala', '', d)}
Signature · 1 line
2.34.1
Re: [oe] [PATCH 05/13] networkmanager: enable Vala iff gobject-introspection is available
Quoted 19 lines · Ross Burton
From: Ross Burton <[email protected]>
If vala is enabled but gobject-introspection isn't:
meson.build:816:4: ERROR: Assert failed: vala api require GObject introspection. Use -Dvapi=false to disable it
Signed-off-by Ross Burton <[email protected]>--- .../networkmanager/networkmanager_1.42.6.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb +0
-0@@ -70,11 +70,12 @@ do_compile:prepend() { export GI_TYPELIB_PATH="${B}}/src/libnm-client-impl${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb do_compile:prepend() { · line 79
Quoted 10 lines
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb +2
-1} -PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli vala \ +PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d), d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \ ${@bb.utils.filter('DISTRO_FEATURES', 'wifi polkit', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'vala', '', d)} \ "
This ends up in errors
https://errors.yoctoproject.org/Errors/Details/704795/
When gobject-introspection-data is in DISTRO_FEATURES
Quoted 14 lines
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.42.6.bb +0
-1inherit ${@bb.utils.contains('PACKAGECONFIG', 'vala', 'vala', '', d)} --2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102679): https://lists.openembedded.org/g/openembedded-devel/message/102679
Mute This Topic: https://lists.openembedded.org/mt/99015894/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH 6/13 glade: add autoconf-archive-native DEPENDS
In reply to [email protected]From: Ross Burton <[email protected]>
This can be satisfied via transitive dependencies, but make it an explicit DEPENDS.
--- meta-oe/recipes-devtools/glade/glade_3.22.2.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/glade/glade_3.22.2.bb +1 -0
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \ file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475" DEPENDS = "gtk+3 glib-2.0 libxml2 intltool-native \ gnome-common-native \ + autoconf-archive-native \ " inherit features_check autotools pkgconfig gnomebase gobject-introspection mime-xdg
Signature · 1 line
2.34.1
PATCH 7/13 libgxim: add autoconf-archive-native DEPENDS
In reply to [email protected]From: Ross Burton <[email protected]>
This can be satisfied via transitive dependencies, but make it an explicit DEPENDS.
--- meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb +1 -1
@@ -24,7 +24,7 @@ LIC_FILES_CHKSUM = "\ file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" EXTRA_OECONF = "--enable-debug --disable-static --disable-rebuilds --enable-compile-warnings=minimum" -DEPENDS += "gtk+ glib-2.0 glib-2.0-native ruby-native intltool-native gnome-common-native" +DEPENDS += "gtk+ glib-2.0 glib-2.0-native ruby-native intltool-native gnome-common-native autoconf-archive-native" inherit features_check autotools pkgconfig gettext
Signature · 1 line
2.34.1
PATCH 8/13 gnome-common: add autoconf-archive RDEPENDS
In reply to [email protected]From: Ross Burton <[email protected]>
If we're using autoconf-archive, add it to the RDEPENDS too.
--- meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb +1 -1
@@ -16,7 +16,7 @@ DEPENDS = "" # Default to enable autoconf-archive to avoid conflicts PACKAGECONFIG ??= "autoconf-archive" -PACKAGECONFIG[autoconf-archive] = "--with-autoconf-archive, --without-autoconf-archive, autoconf-archive" +PACKAGECONFIG[autoconf-archive] = "--with-autoconf-archive, --without-autoconf-archive, autoconf-archive,autoconf-archive" FILES:${PN} += "${datadir}/aclocal" FILES:${PN}-dev = ""
Signature · 1 line
2.34.1
PATCH 9/13 libpeas: depend on gobject-introspection-data
In reply to [email protected]From: Ross Burton <[email protected]>
peas uses the G-I repository to load plugins.
--- meta-oe/recipes-gnome/libpeas/libpeas_1.36.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-gnome/libpeas/libpeas_1.36.0.bb +2 -0
@@ -24,3 +24,5 @@ FILES:${PN}-demo = " \ RDEPENDS:${PN}-python3 = "python3-pygobject" FILES:${PN}-python3 = "${libdir}/libpeas-1.0/loaders/libpython3loader.so" + +REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
Signature · 1 line
2.34.1
PATCH 10/13 python3-kivy: depend on gobject-introspection-data DISTRO_FEATURE
In reply to [email protected]From: Ross Burton <[email protected]>
Any user of python-gstreamer (and so, pygobject) needs to support gobject-introspection.
--- meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb +1 -1
@@ -43,7 +43,7 @@ export KIVY_GRAPHICS KIVY_CROSS_SYSROOT="${RECIPE_SYSROOT}" export KIVY_CROSS_SYSROOT -REQUIRED_DISTRO_FEATURES += "x11 opengl" +REQUIRED_DISTRO_FEATURES += "x11 opengl gobject-introspection-data" DEPENDS += " \ gstreamer1.0 \
Signature · 1 line
2.34.1
PATCH 11/13 python3-pyatspi: make dependent on gobject-introspection-data being enabled
In reply to [email protected]From: Ross Burton <[email protected]>
Any user of pygobject needs to support gobject-introspection.
--- meta-python/recipes-devtools/python/python3-pyatspi_2.46.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pyatspi_2.46.0.bb +1 -0
@@ -15,6 +15,7 @@ S = "${WORKDIR}/git" # Same restriction as gtk+ inherit features_check setuptools3 ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" +REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" inherit pkgconfig autotools python3native
Signature · 1 line
2.34.1
PATCH 12/13 system-config-printer: clean up DEPENDS
In reply to [email protected]From: Ross Burton <[email protected]>
Remove intltool-native as it is not used, and add autoconf-archive-native.
Also explicitly disable systemd when not selected to be sure it doesn't automatically enable.
--- .../system-config-printer/system-config-printer_1.5.18.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb +2 -2
@@ -11,10 +11,10 @@ inherit autotools gettext pkgconfig python3native features_check REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" -DEPENDS = "cups glib-2.0 libusb xmlto-native intltool-native desktop-file-utils-native" +DEPENDS = "cups glib-2.0 libusb xmlto-native desktop-file-utils-native autoconf-archive-native" PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" -PACKAGECONFIG[systemd] = ",,systemd" +PACKAGECONFIG[systemd] = ",--without-systemdsystemunitdir,systemd" do_configure:prepend() { # This file is not provided if fetching from git but required for configure
Signature · 1 line
2.34.1
PATCH 13/13 imsettings: add missing DEPENDS on autoconf-archive-native
In reply to [email protected]From: Ross Burton <[email protected]>
This can be satisfied via transitive dependencies, but make it an explicit DEPENDS.
--- meta-xfce/recipes-extended/imsettings/imsettings_1.8.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-extended/imsettings/imsettings_1.8.3.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" inherit autotools gtk-doc gobject-introspection gettext features_check -DEPENDS = "gtk+3 libnotify" +DEPENDS = "autoconf-archive-native gtk+3 libnotify" REQUIRED_DISTRO_FEATURES = "x11"
Signature · 1 line
2.34.1