Skip to contentSkip to conversation

wayland: fix upstream version check by asking gitlab directly

PATCH New Alexander Kanavin 1 participant 1 message Mar 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wayland: fix upstream version check by asking gitlab directly

https://wayland.freedesktop.org/releases.html is prone to delays and missing entries as it is manually updated; in particular latest wayland-protocols remains unlisted:
https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/issues/7

---
 meta/recipes-graphics/wayland/wayland-protocols_1.33.bb | 2 +-
 meta/recipes-graphics/wayland/wayland-utils_1.2.0.bb    | 2 +-
 meta/recipes-graphics/wayland/wayland_1.22.0.bb         | 2 +-
 meta/recipes-graphics/wayland/weston_13.0.0.bb          | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-graphics/wayland/wayland-protocols_1.33.bb +1 -1
index c8875cc3cb6..074ea3663ab 100644
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
 SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/${PV}/downloads/wayland-protocols-${PV}.tar.xz"
 SRC_URI[sha256sum] = "94f0c50b090d6e61a03f62048467b19abbe851be4e11ae7b36f65f8b98c3963a"
 
-UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
+UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tags"
 
 inherit meson pkgconfig allarch
 
meta/recipes-graphics/wayland/wayland-utils_1.2.0.bb +1 -1
index 657f67fb090..878c7a267e6 100644
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=548a66038a77415e1df51118625e832f \
 SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland-utils/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz"
 SRC_URI[sha256sum] = "d9278c22554586881802540751bcc42569262bf80cd9ac9b0fd12ff4bd09a9e4"
 
-UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
+UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-utils/-/tags"
 
 inherit meson pkgconfig
 
meta/recipes-graphics/wayland/wayland_1.22.0.bb +1 -1
index 17e4a0cd98d..6aa76063ea2 100644
@@ -19,7 +19,7 @@ SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PV}/downl
            "
 SRC_URI[sha256sum] = "1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842"
 
-UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
+UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/tags"
 UPSTREAM_CHECK_REGEX = "wayland-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
 
 inherit meson pkgconfig ptest
meta/recipes-graphics/wayland/weston_13.0.0.bb +1 -1
index c74f471f078..b728bd0ef3f 100644
@@ -16,7 +16,7 @@ SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downlo
 
 SRC_URI[sha256sum] = "52ff1d4aa2394a2e416c85a338b627ce97fa71d43eb762fd4aaf145d36fc795a"
 
-UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
+UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags"
 UPSTREAM_CHECK_REGEX = "weston-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
 
 inherit meson pkgconfig useradd
Signature · 1 line
2.39.2