Skip to contentSkip to conversation

libgtop: add UPSTREAM_CHECK_REGEX

PATCH New Yi Zhao 1 participant 2 messages Nov 8, 2025

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/2 libgtop: add UPSTREAM_CHECK_REGEX

Add UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version libgtop
INFO: Current version: 2.41.3
INFO: Latest version:

After the patch:

$ devtool latest-version libgtop
INFO: Current version: 2.41.3
INFO: Latest version: 2.41.3
---
 meta-gnome/recipes-gnome/libgtop/libgtop_2.41.3.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-gnome/recipes-gnome/libgtop/libgtop_2.41.3.bb +2 -0
index 5587baa0f7..e7b61a7b20 100644
@@ -9,4 +9,6 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 SRC_URI[archive.sha256sum] = "775676df958e2ea2452f7568f28b2ea581063d312773dd5c0b7624c1b9b2da8c"
 
+UPSTREAM_CHECK_REGEX = "libgtop-(?P<pver>\d+(\.\d+)+).tar"
+
 DEPENDS = "glib-2.0 libxau"
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 2/2 libtimezonemap: add UPSTREAM_CHECK_URI

Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version libtimezonemap
INFO: Current version: 0.4.6
INFO: Latest version:

After the patch:

$ devtool latest-version libtimezonemap
INFO: Current version: 0.4.6
INFO: Latest version: 0.4.6
---
 .../recipes-gnome/libtimezonemap/libtimezonemap_0.4.6.bb       | 3 +++
 1 file changed, 3 insertions(+)
meta-gnome/recipes-gnome/libtimezonemap/libtimezonemap_0.4.6.bb +3 -0
index 3f37890e8d..7c8e410b09 100644
@@ -8,6 +8,9 @@ SRC_URI = "${DEBIAN_MIRROR}/main/libt/${BPN}/${BPN}_${PV}.orig.tar.gz;downloadfi
            file://0001-configure.ac-correct-the-version.patch"
 SRC_URI[sha256sum] = "0d634cc2476d8f57d1ee1864bd4f442180ae4bf040a9ae4bf73b66bbd85d7195"
 
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/libt/libtimezonemap"
+UPSTREAM_CHECK_REGEX = "libtimezonemap_(?P<pver>\d+(\.\d+)+)"
+
 DEPENDS = "gtk+3 gdk-pixbuf libsoup-2.4 json-glib gnome-common-native"
 
 B = "${S}"
Signature · 1 line
2.34.1