Skip to contentSkip to conversation

geany-plugins: Switch to using libsoup 3.0

PATCH New Khem Raj 1 participant 4 messages May 16, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/4 geany-plugins: Switch to using libsoup 3.0

libsoup-2.4 is being removed and its preferred to use libsoup 3.0

---
 meta-oe/recipes-devtools/geany/geany-plugins_2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/geany/geany-plugins_2.0.bb +1 -1
index bd10c09195..9a19e5dc98 100644
@@ -15,7 +15,7 @@ DEPENDS = " \
     fribidi \
     geany \
     libxml2 \
-    libsoup-2.4 \
+    libsoup \
     enchant2 \
     intltool-native \
     libassuan \
author
#1 lore raw

PATCH 2/4 xfce4-screenshooter: Use libsoup 3.0 instead of 2.4

---
 .../xfce4-screenshooter/xfce4-screenshooter_1.10.4.bb           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-apps/xfce4-screenshooter/xfce4-screenshooter_1.10.4.bb +1 -1
index 7c2ecd30d4..da929b7fca 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://docs.xfce.org/apps/xfce4-screenshooter/start"
 SECTION = "x11/application"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-DEPENDS = "xfce4-panel libxfce4util libxfce4ui gdk-pixbuf gtk+3 glib-2.0 libsoup-2.4 exo libxfixes xext virtual/libx11 libxml-parser-perl-native"
+DEPENDS = "xfce4-panel libxfce4util libxfce4ui gdk-pixbuf gtk+3 glib-2.0 libsoup exo libxfixes xext virtual/libx11 libxml-parser-perl-native"
 
 inherit xfce-app perlnative
 
author
#2 lore raw

PATCH 3/4 gfbgraph: Remove direct dependency on libsoup-2.4

In reply to Khem Raj

This is not needed explicitly during build, librest needs it which is a separate recipe

---
 meta-gnome/recipes-gnome/gfbgraph/gfbgraph_0.2.5.bb | 1 -
 1 file changed, 1 deletion(-)
meta-gnome/recipes-gnome/gfbgraph/gfbgraph_0.2.5.bb +0 -1
index 9b1a02bb09..aafcdbdc8e 100644
@@ -7,7 +7,6 @@ DEPENDS = " \
     glib-2.0 \
     json-glib \
     librest \
-    libsoup-2.4 \
     gnome-online-accounts \
 "
 GNOMEBASEBUILDCLASS = "autotools"
author
#3 lore raw

PATCH 4/4 osinfo-db-tools: Migrat to using libsoup3

In reply to Khem Raj

Disable Werror, it gets enabled when build is done from git checkouts perhaps assuming its a developer build, but thats not the case for OE

---
 meta-oe/recipes-support/libosinfo/osinfo-db-tools_1.12.0.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta-oe/recipes-support/libosinfo/osinfo-db-tools_1.12.0.bb +5 -1
index 4434a851e7..11de5e404b 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "https://libosinfo.org"
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
-DEPENDS = "glib-2.0 json-glib libarchive libsoup-2.4"
+DEPENDS = "glib-2.0 json-glib libarchive libsoup"
 
 SRC_URI = "git://gitlab.com/libosinfo/osinfo-db-tools.git;branch=main;protocol=https \
            "
@@ -14,4 +14,8 @@ S = "${WORKDIR}/git"
 
 inherit meson pkgconfig
 
+do_configure:prepend () {
+    sed -i 's/-Werror//' ${S}/meson.build
+}
+
 BBCLASSEXTEND = "native"