diff mbox series

[meta-gnome] Use GNOME_MIRROR

Message ID 20250617140417.727483-1-schonm@gmail.com
State Accepted
Headers show
Series [meta-gnome] Use GNOME_MIRROR | expand

Commit Message

Jason Schonberg June 17, 2025, 2:04 p.m. UTC
http://ftp.gnome.org/pub/gnome --> https://download.gnome.org
https://download.gnome.org/sources --> ${GNOME_MIRROR}

Drop the SRC_URI[md5sum] while we are here.  SRC_URI[sha256sum] is
already in use.

Signed-off-by: Jason Schonberg <schonm@gmail.com>
---
 .../recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb      | 3 +--
 meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb | 2 +-
 .../recipes-gnome/gtksourceview/gtksourceview5_5.16.0.bb       | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)
diff mbox series

Patch

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 0ab9b14692..d3fa032fcd 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb
@@ -18,8 +18,7 @@  REQUIRED_DISTRO_FEATURES = "x11"
 EXTRA_OECONF += "--disable-glade-catalog --disable-gtk-doc --disable-Werror"
 
 CFLAGS += "-Wno-error=incompatible-pointer-types"
-SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtksourceview/3.24/${PNAME}-${PV}.tar.xz"
-SRC_URI[md5sum] = "b748da426a7d64e1304f0c532b0f2a67"
+SRC_URI = "${GNOME_MIRROR}/gtksourceview/3.24/${PNAME}-${PV}.tar.xz"
 SRC_URI[sha256sum] = "691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd"
 
 FILES:${PN} += " ${datadir}/gtksourceview-3.0"
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 38ca4a39e6..109050397c 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
@@ -14,7 +14,7 @@  inherit gnomebase lib_package gettext features_check gtk-doc gobject-introspecti
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
-SRC_URI = "https://download.gnome.org/sources/gtksourceview/4.8/${PNAME}-${PV}.tar.xz \
+SRC_URI = "${GNOME_MIRROR}/gtksourceview/4.8/${PNAME}-${PV}.tar.xz \
            file://0001-remove-pointless-check.patch"
 SRC_URI[sha256sum] = "7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb5958420a87d"
 
diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.16.0.bb b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.16.0.bb
index deab259299..939d053a75 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.16.0.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.16.0.bb
@@ -23,7 +23,7 @@  inherit gnomebase lib_package gettext features_check gi-docgen gtk-icon-cache go
 
 REQUIRED_DISTRO_FEATURES = "opengl"
 
-SRC_URI = "https://download.gnome.org/sources/gtksourceview/5.16/${PNAME}-${PV}.tar.xz"
+SRC_URI = "${GNOME_MIRROR}/gtksourceview/5.16/${PNAME}-${PV}.tar.xz"
 SRC_URI[sha256sum] = "ab35d420102f3e8b055dd3b8642d3a48209f888189e6254d0ffb4b6a7e8c3566"
 
 GIR_MESON_ENABLE_FLAG = 'enabled'