Skip to contentSkip to conversation

libpeas: requires gobject-introspection-data DISTRO_FEATURE

PATCH In review [email protected] 3 participants 17 messages May 25, 2023 – May 26, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/14 libpeas: requires gobject-introspection-data DISTRO_FEATURE

From: Ross Burton <[email protected]>

Until libpeas 2 is released, g-i is a hard requirement.

---
 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
index 3bc975a6fa..1e3b0021c3 100644
@@ -11,6 +11,8 @@ GTKDOC_MESON_OPTION = "gtk_doc"
 inherit gnomebase gobject-introspection gtk-doc gtk-icon-cache features_check
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
+# FIXME: When upgrading to libpeas 2, g-i is no longer needed.
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
 
 SRC_URI += "file://0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch"
 SRC_URI[archive.sha256sum] = "297cb9c2cccd8e8617623d1a3e8415b4530b8e5a893e3527bbfd1edd13237b4c"
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/14 geoclue: the library doesn't need gobject-introspection

From: Ross Burton <[email protected]>

---
 meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-navigation/geoclue/geoclue_2.7.0.bb +1 -1
index d05a309455..6784b099aa 100644
@@ -27,7 +27,7 @@ PACKAGECONFIG[3g] = "-D3g-source=true,-D3g-source=false,modemmanager"
 PACKAGECONFIG[modem-gps] = "-Dmodem-gps-source=true,-Dmodem-gps-source=false,modemmanager"
 PACKAGECONFIG[cdma] = "-Dcdma-source=true,-Dcdma-source=false,modemmanager"
 PACKAGECONFIG[nmea] = "-Dnmea-source=true,-Dnmea-source=false,avahi,avahi-daemon"
-PACKAGECONFIG[lib] = "-Dlibgeoclue=true,-Dlibgeoclue=false,gobject-introspection"
+PACKAGECONFIG[lib] = "-Dlibgeoclue=true,-Dlibgeoclue=false"
 
 GTKDOC_MESON_OPTION = "gtk-doc"
 
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/14 packagegroup-meta-oe.bb: only build libpeas if gobject-introspection is enabled

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -1
index aef3a05392..469e202175 100644
@@ -464,7 +464,7 @@ RDEPENDS:packagegroup-meta-oe-gnome ="\
     gtk+ \
     gtkmm3 \
     gtkmm \
-    libpeas \
+    ${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", "libpeas", "", d)} \
     pyxdg \
     vte9 \
     gnome-theme-adwaita \
Signature · 1 line
2.34.1
#3 lore raw

PATCH 4/14 eog: requires gobject-introspection-data DISTRO_FEATURE

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 meta-gnome/recipes-gnome/eog/eog_44.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/eog/eog_44.1.bb +2 -1
index 95e421c883..0b7cfca49b 100644
@@ -19,7 +19,8 @@ GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase pkgconfig gsettings gobject-introspection gettext mime-xdg features_check gtk-icon-cache
 
-REQUIRED_DISTRO_FEATURES = "opengl"
+# FIXME: whilst eog uses libpeas <2, g-i is needed. This can be removed when libpeas2 is used.
+REQUIRED_DISTRO_FEATURES = "opengl gobject-introspection-data"
 
 SRC_URI += "file://0001-Replace-filename-with-basename.patch"
 SRC_URI[archive.sha256sum] = "e2c963f232fe5a1091dcc18bec25a730e91b02af6e466601efa55e500cd74cab"
Signature · 1 line
2.34.1
#4 lore raw

PATCH 5/14 gnome-desktop: gobject-introspection is not in fact mandatory

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.0.bb | 2 --
 1 file changed, 2 deletions(-)
meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_44.0.bb +0 -2
index eae9d9d065..03411c88d9 100644
@@ -11,8 +11,6 @@ GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase itstool pkgconfig upstream-version-is-even gobject-introspection features_check gtk-doc
 
 REQUIRED_DISTRO_FEATURES = "x11 opengl"
-# gobject-introspection is mandatory and cannot be configured
-REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
 
 GIR_MESON_OPTION = ""
 
Signature · 1 line
2.34.1
#5 lore raw

PATCH 6/14 gnome-photos: requires gobject-introspection-data DISTRO_FEATURE

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 meta-gnome/recipes-gnome/gnome-photos/gnome-photos_44.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gnome-photos/gnome-photos_44.0.bb +1 -1
index cdf9780ab8..066a50e525 100644
@@ -31,7 +31,7 @@ inherit gnomebase gettext gnome-help features_check
 def gnome_verdir(v):
     return oe.utils.trim_version(v, 1)
 
-REQUIRED_DISTRO_FEATURES = "x11 opengl"
+REQUIRED_DISTRO_FEATURES = "x11 opengl gobject-introspection-data"
 
 PACKAGECONFIG ?= ""
 PACKAGECONFIG[doc] = "-Dmanuals=true,-Dmanuals=false,libxslt-native docbook-xsl-stylesheets-native"
Signature · 1 line
2.34.1
#6 lore raw

PATCH 7/14 grilo-plugins: add PACKAGECONFIG for tracker

In reply to [email protected]

From: Ross Burton <[email protected]>

Add a PACKAGECONFIG for the tracker plugin, and enable it only if gobject-introspection is enabled.

---
 meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb +3 -1
index 00474ce446..91cbe82ea9 100644
@@ -7,7 +7,6 @@ DEPENDS = " \
     gperf-native \
     itstool-native \
     grilo \
-    tracker \
     lua \
     liboauth \
 "
@@ -19,4 +18,7 @@ inherit gnomebase gnome-help vala
 SRC_URI += "file://0001-Avoid-running-trackertestutils.patch"
 SRC_URI[archive.sha256sum] = "fe6f4dbe586c6b8ba2406394e202f22d009d642a96eb3a54f32f6a21d084cdcb"
 
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'tracker', '', d)}"
+PACKAGECONFIG[tracker] = "-Denable-tracker3=yes,-Denable-tracker3=no,tracker"
+
 FILES:${PN} += "${libdir}/grilo-0.3"
Signature · 1 line
2.34.1
#7 lore raw

PATCH 8/14 nautilus: requires gobject-introspection-data DISTRO_FEATURE

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 meta-gnome/recipes-gnome/nautilus/nautilus_44.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/nautilus/nautilus_44.1.bb +1 -1
index f7eeb5f5d0..65bef45da7 100644
@@ -29,7 +29,7 @@ def gnome_verdir(v):
 SRC_URI += "file://0001-Replace-filename-with-basename.patch"
 SRC_URI[archive.sha256sum] = "360802a595e3edbad962c8cea353b62baa8be407513b5162c89c933ca5387aa9"
 
-REQUIRED_DISTRO_FEATURES = "x11 opengl"
+REQUIRED_DISTRO_FEATURES = "x11 opengl gobject-introspection-data"
 
 EXTRA_OEMESON += " \
     -Dtests=none \
Signature · 1 line
2.34.1
#8 lore raw

PATCH 9/14 python3-blivetgui: requires gobject-introspection-data DISTRO_FEATURE

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 .../recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb +1 -1
index 29e7a267d2..aba127897d 100644
@@ -15,7 +15,7 @@ SRC_URI = "git://github.com/storaged-project/blivet-gui.git;branch=master;protoc
            "
 
 inherit features_check
-REQUIRED_DISTRO_FEATURES = "x11 systemd"
+REQUIRED_DISTRO_FEATURES = "x11 systemd gobject-introspection-data"
 
 inherit setuptools3_legacy python3native
 
Signature · 1 line
2.34.1
#9 lore raw

PATCH 10/14 catfish: requires gobject-introspection-data DISTRO_FEATURE

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb +3 -1
index 8fe879b816..249c8e1bd8 100644
@@ -3,7 +3,9 @@ SECTION = "x11/application"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
 
-inherit xfce-app python_setuptools_build_meta gtk-icon-cache mime-xdg
+inherit xfce-app python_setuptools_build_meta gtk-icon-cache mime-xdg features_check
+
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
 
 DEPENDS += "python3-distutils-extra-native"
 
Signature · 1 line
2.34.1
#10 lore raw

PATCH 11/14 menulibre: requires gobject-introspection-data DISTRO_FEATURE

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-apps/menulibre/menulibre_2.2.3.bb +1 -1
index 65aa7a53e2..609caf3461 100644
@@ -10,7 +10,7 @@ DEPENDS = " \
 "
 
 inherit setuptools3_legacy gtk-icon-cache features_check
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 gobject-introspection-data"
 
 SRC_URI = "git://github.com/bluesabre/menulibre.git;protocol=https;branch=master"
 SRCREV = "86ee9ad7568128fe9555e54799933b2d3762331a"
Signature · 1 line
2.34.1
#11 lore raw

PATCH 12/14 xfce4-panel-profiles: requires gobject-introspection-data DISTRO_FEATURE

In reply to [email protected]

From: Ross Burton <[email protected]>

---
 .../xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb +1 -1
index ab1b827266..9624f90f92 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 inherit python3native gettext gtk-icon-cache features_check
 
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 gobject-distro-features"
 
 DEPENDS += "intltool-native"
 
Signature · 1 line
2.34.1
#12 lore raw

Re: [oe] [PATCH 12/14] xfce4-panel-profiles: requires gobject-introspection-data DISTRO_FEATURE

Quoted 13 lines · Ross Burton

From: Ross Burton <[email protected]>

---
 .../xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb +0 -0
index ab1b827266..9624f90f92 100644

meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" · line 8

Quoted 5 lines
meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 inherit python3native gettext gtk-icon-cache features_check
 
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 gobject-distro-features"

typo here, it should be gobject-introspection-data instead of gobject-distro-features, I have fixed it locally on master-next no need to send a v2.

Quoted 15 lines
meta-xfce/recipes-apps/xfce4-panel-profiles/xfce4-panel-profiles_1.0.13.bb +0 -1
 DEPENDS += "intltool-native"
 
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102855): https://lists.openembedded.org/g/openembedded-devel/message/102855
Mute This Topic: https://lists.openembedded.org/mt/99128572/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#13 lore raw

PATCH 13/14 xfce4-whiskermenu-plugin: don't forcibly recommend a menu editor

In reply to [email protected]

From: Ross Burton <[email protected]>

A menu plugin doesn't need to recommend a specific menu editor.

This also means that the whiskermenu plugin can be built without gobject-introspection being present, which means menulibre is unbuildable.

---
 .../whiskermenu/xfce4-whiskermenu-plugin_2.7.1.bb               | 2 --
 1 file changed, 2 deletions(-)
meta-xfce/recipes-panel-plugins/whiskermenu/xfce4-whiskermenu-plugin_2.7.1.bb +0 -2
index 6621099cbd..3dfc76f246 100644
@@ -6,5 +6,3 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 inherit xfce-panel-plugin cmake
 
 SRC_URI[sha256sum] = "04ae0c1764a0d5ec70f18a760d998a2109bb6724f048554d7d6999d9072ca63e"
-
-RRECOMMENDS:${PN} += "menulibre"
Signature · 1 line
2.34.1
#14 lore raw

PATCH 14/14 packagegroup-xfce-extended: only build catfish and panel-profies if G-I enabled

In reply to [email protected]

From: Ross Burton <[email protected]>

These recipes need gobject-introspection-data to be enabled.

---
 .../recipes-xfce/packagegroups/packagegroup-xfce-extended.bb  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb +2 -2
index 4da2964e8a..711059c8c4 100644
@@ -63,6 +63,6 @@ RRECOMMENDS:${PN} = " \
     xfce4-taskmanager \
     gigolo \
     mousepad \
-    catfish \
-    xfce4-panel-profiles \
+    ${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", "catfish", "", d)} \
+    ${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", "xfce4-panel-profiles", "", d)} \
 "
Signature · 1 line
2.34.1
#15 lore raw
In reply to [email protected]

There is this line already from your previous patch:
https://lists.openembedded.org/g/openembedded-devel/message/102683

Quoted 41 lines · Ross Burton

From: Ross Burton <[email protected]>

Until libpeas 2 is released, g-i is a hard requirement.

---
 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 +0 -0
index 3bc975a6fa..1e3b0021c3 100644
@@ -11,6 +11,8 @@ GTKDOC_MESON_OPTION = "gtk_doc"
 inherit gnomebase gobject-introspection gtk-doc gtk-icon-cache

features_check

ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"

meta-oe/recipes-gnome/libpeas/libpeas_1.36.0.bb +2 -0
+# FIXME: When upgrading to libpeas 2, g-i is no longer needed.
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
 
 SRC_URI +=

"file://0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch"
SRC_URI[archive.sha256sum] =
"297cb9c2cccd8e8617623d1a3e8415b4530b8e5a893e3527bbfd1edd13237b4c" --
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#102844):
https://lists.openembedded.org/g/openembedded-devel/message/102844
Mute This Topic: https://lists.openembedded.org/mt/99128559/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#16 lore raw
Quoted 3 lines · Martin Jansa

There is this line already from your previous patch:
https://lists.openembedded.org/g/openembedded-devel/message/102683

Good catch, I took the comment piece in though and dropped the duplicate setting.

Quoted 40 lines · Ross Burton
Quoted 24 lines

From: Ross Burton <[email protected]>

Until libpeas 2 is released, g-i is a hard requirement.

---
 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 -1
index 3bc975a6fa..1e3b0021c3 100644
@@ -11,6 +11,8 @@ GTKDOC_MESON_OPTION = "gtk_doc"
 inherit gnomebase gobject-introspection gtk-doc gtk-icon-cache features_check
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
+# FIXME: When upgrading to libpeas 2, g-i is no longer needed.
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
 
 SRC_URI += "file://0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch"
 SRC_URI[archive.sha256sum] = "297cb9c2cccd8e8617623d1a3e8415b4530b8e5a893e3527bbfd1edd13237b4c"
--
Quoted 5 lines

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102862): https://lists.openembedded.org/g/openembedded-devel/message/102862
Mute This Topic: https://lists.openembedded.org/mt/99128559/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-