* [meta-gnome][ 1/3] gtksourceview4: Adjust for setting S in gnomebase.bbclass
@ 2025-11-19 4:43 Khem Raj
2025-11-19 4:43 ` [meta-gnome][ 2/3] gtksourceview3: " Khem Raj
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Khem Raj @ 2025-11-19 4:43 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj, Ross Burton
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
---
.../recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
index b9ff4ef459..01d91d31bf 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
@@ -6,15 +6,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
DEPENDS = "gtk+3 libxml2 glib-2.0-native"
-PNAME = "gtksourceview"
-
-S = "${UNPACKDIR}/${PNAME}-${PV}"
+GNOMEBN = "gtksourceview"
inherit gnomebase lib_package gettext features_check gtk-doc gobject-introspection vala
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
-SRC_URI = "${GNOME_MIRROR}/gtksourceview/4.8/${PNAME}-${PV}.tar.xz \
+SRC_URI = "${GNOME_MIRROR}/gtksourceview/${@oe.utils.trim_version("${PV}", 2)}/${GNOMEBN}-${PV}.tar.xz \
file://0001-remove-pointless-check.patch"
SRC_URI[sha256sum] = "7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb5958420a87d"
^ permalink raw reply related [flat|nested] 5+ messages in thread* [meta-gnome][ 2/3] gtksourceview3: Adjust for setting S in gnomebase.bbclass
2025-11-19 4:43 [meta-gnome][ 1/3] gtksourceview4: Adjust for setting S in gnomebase.bbclass Khem Raj
@ 2025-11-19 4:43 ` Khem Raj
2025-11-19 4:43 ` [meta-gnome][ 3/3] gtksourceview5: Upgrade to 5.18 Khem Raj
2025-11-19 10:41 ` [meta-gnome][ 1/3] gtksourceview4: Adjust for setting S in gnomebase.bbclass Ross Burton
2 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2025-11-19 4:43 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj, Ross Burton
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
---
.../recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb
index baf4c33d38..83953316c6 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
DEPENDS = "gtk+3 libxml2 glib-2.0-native"
-PNAME = "gtksourceview"
+GNOMEBN = "gtksourceview"
S = "${UNPACKDIR}/${PNAME}-${PV}"
@@ -18,7 +18,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
EXTRA_OECONF += "--disable-glade-catalog --disable-gtk-doc --disable-Werror"
CFLAGS += "-Wno-error=incompatible-pointer-types"
-SRC_URI = "${GNOME_MIRROR}/gtksourceview/3.24/${PNAME}-${PV}.tar.xz"
+SRC_URI = "${GNOME_MIRROR}/gtksourceview/${@oe.utils.trim_version("${PV}", 2)}/${GNOMEBN}-${PV}.tar.xz"
SRC_URI[sha256sum] = "691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd"
FILES:${PN} += " ${datadir}/gtksourceview-3.0"
^ permalink raw reply related [flat|nested] 5+ messages in thread* [meta-gnome][ 3/3] gtksourceview5: Upgrade to 5.18
2025-11-19 4:43 [meta-gnome][ 1/3] gtksourceview4: Adjust for setting S in gnomebase.bbclass Khem Raj
2025-11-19 4:43 ` [meta-gnome][ 2/3] gtksourceview3: " Khem Raj
@ 2025-11-19 4:43 ` Khem Raj
2025-11-19 10:41 ` [meta-gnome][ 1/3] gtksourceview4: Adjust for setting S in gnomebase.bbclass Ross Burton
2 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2025-11-19 4:43 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj, Ross Burton
Adjust for setting S in gnomebase.bbclass
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
---
...gtksourceview5_5.16.0.bb => gtksourceview5_5.18.0.bb} | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
rename meta-gnome/recipes-gnome/gtksourceview/{gtksourceview5_5.16.0.bb => gtksourceview5_5.18.0.bb} (77%)
diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.16.0.bb b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.18.0.bb
similarity index 77%
rename from meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.16.0.bb
rename to meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.18.0.bb
index 7076214a4d..334435480e 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.16.0.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.18.0.bb
@@ -14,17 +14,14 @@ DEPENDS = " \
pango \
"
-PNAME = "gtksourceview"
-
-S = "${UNPACKDIR}/${PNAME}-${PV}"
-
+GNOMEBN = "gtksourceview"
inherit gnomebase lib_package gettext features_check gi-docgen gtk-icon-cache gobject-introspection vala
REQUIRED_DISTRO_FEATURES = "opengl"
-SRC_URI = "${GNOME_MIRROR}/gtksourceview/5.16/${PNAME}-${PV}.tar.xz"
-SRC_URI[sha256sum] = "ab35d420102f3e8b055dd3b8642d3a48209f888189e6254d0ffb4b6a7e8c3566"
+SRC_URI = "${GNOME_MIRROR}/gtksourceview/${@oe.utils.trim_version("${PV}", 2)}/${GNOMEBN}-${PV}.tar.xz"
+SRC_URI[sha256sum] = "051a78fe38f793328047e5bcd6d855c6425c0b480c20d9432179e356742c6ac0"
GIR_MESON_ENABLE_FLAG = 'enabled'
GIR_MESON_DISABLE_FLAG = 'disabled'
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [meta-gnome][ 1/3] gtksourceview4: Adjust for setting S in gnomebase.bbclass
2025-11-19 4:43 [meta-gnome][ 1/3] gtksourceview4: Adjust for setting S in gnomebase.bbclass Khem Raj
2025-11-19 4:43 ` [meta-gnome][ 2/3] gtksourceview3: " Khem Raj
2025-11-19 4:43 ` [meta-gnome][ 3/3] gtksourceview5: Upgrade to 5.18 Khem Raj
@ 2025-11-19 10:41 ` Ross Burton
2025-11-19 16:33 ` Khem Raj
2 siblings, 1 reply; 5+ messages in thread
From: Ross Burton @ 2025-11-19 10:41 UTC (permalink / raw)
To: Khem Raj; +Cc: openembedded-devel@lists.openembedded.org
On 19 Nov 2025, at 04:43, Khem Raj <raj.khem@gmail.com> wrote:
> -SRC_URI = "${GNOME_MIRROR}/gtksourceview/4.8/${PNAME}-${PV}.tar.xz \
> +SRC_URI = "${GNOME_MIRROR}/gtksourceview/${@oe.utils.trim_version("${PV}", 2)}/${GNOMEBN}-${PV}.tar.xz \
> file://0001-remove-pointless-check.patch"
> SRC_URI[sha256sum] = "7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb5958420a87d"
You can change the SRC_URI to be just += the patch, as gnomebase has a default SRC_URI too.
Ross
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-11-19 16:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-19 4:43 [meta-gnome][ 1/3] gtksourceview4: Adjust for setting S in gnomebase.bbclass Khem Raj
2025-11-19 4:43 ` [meta-gnome][ 2/3] gtksourceview3: " Khem Raj
2025-11-19 4:43 ` [meta-gnome][ 3/3] gtksourceview5: Upgrade to 5.18 Khem Raj
2025-11-19 10:41 ` [meta-gnome][ 1/3] gtksourceview4: Adjust for setting S in gnomebase.bbclass Ross Burton
2025-11-19 16:33 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.