diff mbox series

[meta-gnome,6/6] libgedit-gtksourceview: upgrade 299.2.1 -> 299.4.0

Message ID 20260125170625.3178555-6-skandigraun@gmail.com
State Under Review
Headers show
Series [meta-networking,1/6] linux-atm: fix SRC_URI | expand

Commit Message

Gyorgy Sarvari Jan. 25, 2026, 5:06 p.m. UTC
Also update the SRC_URI. The original upstream Github repos have been
deleted. Switched to Gnome servers to fetch the sources from.

Changelog:

299.4.0:
- Remove the background-pattern (with the grid) feature.
- Fix some crashes.
- Fix GI annotation warnings.
- Translation updates.

299.3.0:
Style schemes:
- Remove GtkSourceStyleSchemeChooser interface.
- Add light-only and dark-only kinds.
- Mark classic and tango as light-only kind (so they are unsupported with dark
  theme variants).

Syntax highlighting:
- New *.lang file: Nix.

For packagers:
- Build: add the 'tests' option.

Misc:
- Documentation updates and improvements.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 ...w_299.2.1.bb => libgedit-gtksourceview_299.4.0.bb} | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
 rename meta-gnome/recipes-gnome/gedit/{libgedit-gtksourceview_299.2.1.bb => libgedit-gtksourceview_299.4.0.bb} (55%)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/gedit/libgedit-gtksourceview_299.2.1.bb b/meta-gnome/recipes-gnome/gedit/libgedit-gtksourceview_299.4.0.bb
similarity index 55%
rename from meta-gnome/recipes-gnome/gedit/libgedit-gtksourceview_299.2.1.bb
rename to meta-gnome/recipes-gnome/gedit/libgedit-gtksourceview_299.4.0.bb
index 4f21c3e569..0d67471280 100644
--- a/meta-gnome/recipes-gnome/gedit/libgedit-gtksourceview_299.2.1.bb
+++ b/meta-gnome/recipes-gnome/gedit/libgedit-gtksourceview_299.4.0.bb
@@ -5,10 +5,9 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 
 DEPENDS = "glib-2.0 gtk+3 libxml2"
 
-inherit meson pkgconfig gobject-introspection features_check gtk-doc
+inherit gobject-introspection features_check gtk-doc gnomebase
 
-SRC_URI = "git://github.com/gedit-technology/libgedit-gtksourceview.git;protocol=https;branch=main"
-SRCREV = "eaafc892d033713c7c823d8ad602061e456b3c88"
+SRC_URI[archive.sha256sum] = "20c17ff89e2031aed5dc1107fe9a93fd50f92b569be2954b119c86f9e2fd85d6"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
@@ -21,3 +20,9 @@  do_install:prepend() {
 }
 
 FILES:${PN} += "${datadir}"
+
+# Most gnome projects have a verison like x.y.z, and they are stored in a folder called x.y
+# Not this one. This has x.y.z version, but stored in folder called x.
+# The original of this function is in gnomebase.bbclass.
+def gnome_verdir(v):
+    return v.split(".")[0]