From 15fd3bbcf7cc66249ba11f87a6215ee6f291bb26 Mon Sep 17 00:00:00 2001 From: Thomas1664 <46387399+Thomas1664@users.noreply.github.com> Date: Fri, 26 Sep 2025 21:11:21 +0200 Subject: [PATCH] [gettext, gettext-libintl] Prefer downloads from mirror (#47469) --- ports/gettext-libintl/portfile.cmake | 3 ++- ports/gettext-libintl/vcpkg.json | 2 +- ports/gettext/portfile.cmake | 3 ++- ports/gettext/vcpkg.json | 2 +- versions/baseline.json | 4 ++-- versions/g-/gettext-libintl.json | 5 +++++ versions/g-/gettext.json | 5 +++++ 7 files changed, 18 insertions(+), 6 deletions(-) diff --git a/ports/gettext-libintl/portfile.cmake b/ports/gettext-libintl/portfile.cmake index 617221f2cd..987ae00d15 100644 --- a/ports/gettext-libintl/portfile.cmake +++ b/ports/gettext-libintl/portfile.cmake @@ -24,7 +24,8 @@ endif() set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled) vcpkg_download_distfile(ARCHIVE - URLS "https://ftp.gnu.org/pub/gnu/gettext/gettext-${VERSION}.tar.gz" + URLS "https://ftpmirror.gnu.org/gnu/gettext/gettext-${VERSION}.tar.gz" + "https://ftp.gnu.org/pub/gnu/gettext/gettext-${VERSION}.tar.gz" "https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/gettext/gettext-${VERSION}.tar.gz" FILENAME "gettext-${VERSION}.tar.gz" SHA512 d8b22d7fba10052a2045f477f0a5b684d932513bdb3b295c22fbd9dfc2a9d8fccd9aefd90692136c62897149aa2f7d1145ce6618aa1f0be787cb88eba5bc09be diff --git a/ports/gettext-libintl/vcpkg.json b/ports/gettext-libintl/vcpkg.json index 5c5c41918a..d7e1d5266d 100644 --- a/ports/gettext-libintl/vcpkg.json +++ b/ports/gettext-libintl/vcpkg.json @@ -1,7 +1,7 @@ { "name": "gettext-libintl", "version": "0.22.5", - "port-version": 3, + "port-version": 4, "description": "The libintl C library from GNU gettext-runtime.", "homepage": "https://www.gnu.org/software/gettext/", "license": "LGPL-2.1-or-later", diff --git a/ports/gettext/portfile.cmake b/ports/gettext/portfile.cmake index f35beeee05..86b1f56d49 100644 --- a/ports/gettext/portfile.cmake +++ b/ports/gettext/portfile.cmake @@ -13,7 +13,8 @@ set(VCPKG_BUILD_TYPE release) set(VCPKG_POLICY_EMPTY_PACKAGE enabled) vcpkg_download_distfile(ARCHIVE - URLS "https://ftp.gnu.org/pub/gnu/gettext/gettext-${VERSION}.tar.gz" + URLS "https://ftpmirror.gnu.org/gnu/gettext/gettext-${VERSION}.tar.gz" + "https://ftp.gnu.org/pub/gnu/gettext/gettext-${VERSION}.tar.gz" "https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/gettext/gettext-${VERSION}.tar.gz" FILENAME "gettext-${VERSION}.tar.gz" SHA512 d8b22d7fba10052a2045f477f0a5b684d932513bdb3b295c22fbd9dfc2a9d8fccd9aefd90692136c62897149aa2f7d1145ce6618aa1f0be787cb88eba5bc09be diff --git a/ports/gettext/vcpkg.json b/ports/gettext/vcpkg.json index 84c627a53b..522b2b2288 100644 --- a/ports/gettext/vcpkg.json +++ b/ports/gettext/vcpkg.json @@ -1,7 +1,7 @@ { "name": "gettext", "version": "0.22.5", - "port-version": 2, + "port-version": 3, "description": "A GNU framework to help produce multi-lingual messages.", "homepage": "https://www.gnu.org/software/gettext/", "license": "GPL-3.0-only", diff --git a/versions/baseline.json b/versions/baseline.json index cec635eadd..9d155f1a9c 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3246,11 +3246,11 @@ }, "gettext": { "baseline": "0.22.5", - "port-version": 2 + "port-version": 3 }, "gettext-libintl": { "baseline": "0.22.5", - "port-version": 3 + "port-version": 4 }, "gettimeofday": { "baseline": "2017-10-14", diff --git a/versions/g-/gettext-libintl.json b/versions/g-/gettext-libintl.json index 508241dae3..2b0df56a57 100644 --- a/versions/g-/gettext-libintl.json +++ b/versions/g-/gettext-libintl.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "f68d5e391ae2bc2cf4ed86cb26097b2f0c218e2c", + "version": "0.22.5", + "port-version": 4 + }, { "git-tree": "89734e29d2753df206cdd0e45f2f6c9b3f3fbc4f", "version": "0.22.5", diff --git a/versions/g-/gettext.json b/versions/g-/gettext.json index ea66945306..80a948d8f0 100644 --- a/versions/g-/gettext.json +++ b/versions/g-/gettext.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "6308f030041019677efe2ef49cc2d7a42b9cf632", + "version": "0.22.5", + "port-version": 3 + }, { "git-tree": "26b118cdddb84cdc2e8cc6b0330ca39e2799055b", "version": "0.22.5",