Skip to contentSkip to conversation

Use GNOME_MIRROR

PATCH New Jason Schonberg 1 participant 1 message Jun 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use GNOME_MIRROR

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.

---
 .../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(-)
meta-gnome/recipes-gnome/gtksourceview/gtksourceview3_3.24.11.bb +1 -2
index 0ab9b14692..d3fa032fcd 100644
@@ -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"
meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb +1 -1
index 38ca4a39e6..109050397c 100644
@@ -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"
 
meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.16.0.bb +1 -1
index deab259299..939d053a75 100644
@@ -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'
Signature · 1 line
2.43.0