glib-2.0: libelf has a configure option now, specify it
PATCH 1/7 glib-2.0: libelf has a configure option now, specify it
From: Ross Burton <[email protected]>
GLib has had an option to control libelf since 2.67.0, so use it.
--- meta/recipes-core/glib-2.0/glib.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-core/glib-2.0/glib.inc +1 -2
@@ -40,8 +40,7 @@ PACKAGECONFIG ??= "libmount \ ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" PACKAGECONFIG[libmount] = "-Dlibmount=enabled,-Dlibmount=disabled,util-linux" PACKAGECONFIG[manpages] = "-Dman=true, -Dman=false, libxslt-native xmlto-native" -# libelf is auto-detected without a configuration option -PACKAGECONFIG[libelf] = ",,elfutils" +PACKAGECONFIG[libelf] = "-Dlibelf=enabled,-Dlibelf=disabled,elfutils" PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false," PACKAGECONFIG[selinux] = "-Dselinux=enabled,-Dselinux=disabled,libselinux"
Signature · 1 line
2.34.1
PATCH 2/7 libgudev: explicitly disable tests and vapi
From: Ross Burton <[email protected]>
Explicitly disable the tests and vapi support instead of relying on defaults and missing dependencies.
--- meta/recipes-gnome/libgudev/libgudev_237.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-gnome/libgudev/libgudev_237.bb +2 -0
@@ -25,6 +25,8 @@ GTKDOC_MESON_OPTION = "gtk_doc" UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/" UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))" +EXTRA_OEMESON += "-Dtests=disabled -Dvapi=disabled" + # This isn't a GNOME-style version do gnome_verdir fails. Just return the # version as that is how the directory is structured. def gnome_verdir(v):
Signature · 1 line
2.34.1
PATCH 3/7 harfbuzz: update PACKAGECONFIG
In reply to [email protected]From: Ross Burton <[email protected]>
Add a chafa PACKAGECONFIG so that we explicitly disable it, and update the graphite PACKAGECONFIG to use the graphite2 option as the old name is deprecated.
--- meta/recipes-graphics/harfbuzz/harfbuzz_8.1.1.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-graphics/harfbuzz/harfbuzz_8.1.1.bb +2 -1
@@ -22,9 +22,10 @@ GTKDOC_MESON_DISABLE_FLAG = 'disabled' PACKAGECONFIG ??= "cairo freetype glib icu" PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" +PACKAGECONFIG[chafa] = "-Dchafa=enabled,-Dchafa=disabled,chafa" PACKAGECONFIG[freetype] = "-Dfreetype=enabled,-Dfreetype=disabled,freetype" PACKAGECONFIG[glib] = "-Dglib=enabled,-Dglib=disabled,glib-2.0" -PACKAGECONFIG[graphite] = "-Dgraphite=enabled,-Dgraphite=disabled,graphite2" +PACKAGECONFIG[graphite] = "-Dgraphite2=enabled,-Dgraphite2=disabled,graphite2" PACKAGECONFIG[icu] = "-Dicu=enabled,-Dicu=disabled,icu" PACKAGES =+ "${PN}-icu ${PN}-icu-dev ${PN}-subset"
Signature · 1 line
2.34.1
PATCH 4/7 pango: explictly enable/disable libthai
In reply to [email protected]From: Ross Burton <[email protected]>
Pango has had an explicit option since 1.46.2
--- meta/recipes-graphics/pango/pango_1.51.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/pango/pango_1.51.0.bb +1 -1
@@ -33,7 +33,7 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ PACKAGECONFIG[x11] = ",,virtual/libx11 libxft" PACKAGECONFIG[tests] = "-Dinstall-tests=true, -Dinstall-tests=false" -PACKAGECONFIG[thai] = ",,libthai" +PACKAGECONFIG[thai] = "-Dlibthai=enabled,-Dlibthai=disabled,libthai" GIR_MESON_OPTION = 'introspection'
Signature · 1 line
2.34.1
PATCH 5/7 libsoup-2.4: update PACKAGECONFIG
In reply to [email protected]From: Ross Burton <[email protected]>
Add explicit PACKAGECONFIGs for brotli,ntlm, and sysprof.
libsoup needs to be told where ntlm_auth will be on the target, so write a cross file to do so.
--- .../libsoup/libsoup-2.4_2.74.3.bb | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-)
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +15 -3
@@ -25,12 +25,24 @@ UPSTREAM_CHECK_REGEX = "libsoup-(?P<pver>2(\.(?!99)\d+)+)\.tar" GIR_MESON_ENABLE_FLAG = 'enabled' GIR_MESON_DISABLE_FLAG = 'disabled' -# libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards. Disable by default. PACKAGECONFIG ??= "" +PACKAGECONFIG[brotli] = "-Dbrotli=enabled,-Dbrotli=disabled,brotli" +# libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards PACKAGECONFIG[gnome] = "-Dgnome=true,-Dgnome=false" PACKAGECONFIG[gssapi] = "-Dgssapi=enabled,-Dgssapi=disabled,krb5" - -EXTRA_OEMESON:append = " -Dvapi=disabled -Dtls_check=false" +PACKAGECONFIG[ntlm] = "-Dntlm=enabled,-Dntlm=disabled" +PACKAGECONFIG[sysprof] = "-Dsysprof=enabled,-Dsysprof=disabled,sysprof" + +# Tell libsoup where the target ntlm_auth is installed +do_write_config:append:class-target() { + cat >${WORKDIR}/soup.cross <<EOF +[binaries] +ntlm_auth = '${bindir}/ntlm_auth' +EOF +} +EXTRA_OEMESON += "--cross-file ${WORKDIR}/soup.cross" + +EXTRA_OEMESON += "-Dvapi=disabled -Dtls_check=false" GTKDOC_MESON_OPTION = "gtk_doc"
Signature · 1 line
2.34.1
PATCH 6/7 libsoup: update PACKAGECONFIG
In reply to [email protected]From: Ross Burton <[email protected]>
Add explicit PACKAGECONFIGs for brotli,ntlm, and sysprof.
libsoup needs to be told where ntlm_auth will be on the target, so write a cross file to do so.
Also explicitly disable more of the test suites as we don't build them yet.
--- meta/recipes-support/libsoup/libsoup_3.4.2.bb | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-)
meta/recipes-support/libsoup/libsoup_3.4.2.bb +16 -3
@@ -24,11 +24,24 @@ inherit meson gettext pkgconfig upstream-version-is-even gobject-introspection g GIR_MESON_ENABLE_FLAG = 'enabled' GIR_MESON_DISABLE_FLAG = 'disabled' -# libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards. Disable by default. PACKAGECONFIG ??= "" +PACKAGECONFIG[brotli] = "-Dbrotli=enabled,-Dbrotli=disabled,brotli" PACKAGECONFIG[gssapi] = "-Dgssapi=enabled,-Dgssapi=disabled,krb5" - -EXTRA_OEMESON:append = " -Dvapi=disabled -Dtls_check=false" +PACKAGECONFIG[ntlm] = "-Dntlm=enabled,-Dntlm=disabled" +PACKAGECONFIG[sysprof] = "-Dsysprof=enabled,-Dsysprof=disabled,sysprof" + +# Tell libsoup where the target ntlm_auth is installed +do_write_config:append:class-target() { + cat >${WORKDIR}/soup.cross <<EOF +[binaries] +ntlm_auth = '${bindir}/ntlm_auth' +EOF +} +EXTRA_OEMESON += "--cross-file ${WORKDIR}/soup.cross" + +EXTRA_OEMESON += "-Dvapi=disabled -Dtls_check=false" +# Disable the test suites +EXTRA_OEMESON += "-Dtests=false -Dautobahn=disabled -Dpkcs11_tests=disabled" GIDOCGEN_MESON_OPTION = 'docs' GIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
Signature · 1 line
2.34.1
PATCH 7/7 wayland-utils: add libdrm PACKAGECONFIG
In reply to [email protected]From: Ross Burton <[email protected]>
wayland-utils has optional libdrm support, so add a PACKAGECONFIG and enable it.
--- meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb +3 -0
@@ -19,3 +19,6 @@ UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" inherit meson pkgconfig DEPENDS += "wayland wayland-native wayland-protocols" + +PACKAGECONFIG ??= "drm" +PACKAGECONFIG[drm] = "-Ddrm=enabled,-Ddrm=disabled,libdrm"
Signature · 1 line
2.34.1