|
44 | 44 | # URL prefix suitable for downloading individual files through 'wget' |
45 | 45 | #gnulib_url_prefix: https://gitweb.git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f= |
46 | 46 | gnulib_url_prefix: https://raw.githubusercontent.com/coreutils/gnulib/refs/heads/master/ |
| 47 | + # Mirror of ftp.gnu.org |
| 48 | + ftp_gnu_org: mirrors.ocf.berkeley.edu |
47 | 49 |
|
48 | 50 | jobs: |
49 | 51 | build-tarball: |
|
59 | 61 | # List of packages: https://packages.ubuntu.com/ |
60 | 62 | - run: sudo apt update; sudo apt install gperf gobjc fp-compiler fp-units-fcl gettext groff texlive-base texlive-latex-base |
61 | 63 | - run: | |
62 | | - wget -O automake-1.18.tar.gz https://ftp.gnu.org/gnu/automake/automake-1.18.tar.gz |
| 64 | + wget -O automake-1.18.tar.gz https://${{ env.ftp_gnu_org }}/gnu/automake/automake-1.18.tar.gz |
63 | 65 | tar xfz automake-1.18.tar.gz && cd automake-1.18 && patch -p0 < ../patches/automake-installcheck.diff && ./configure --prefix=/usr && make && sudo make install && cd .. |
64 | 66 | ./build-tarball.sh '${{ env.package }}' |
65 | 67 | # Doc: https://github.com/actions/upload-artifact?tab=readme-ov-file#usage |
@@ -206,7 +208,7 @@ jobs: |
206 | 208 | cd /work |
207 | 209 | ls -l |
208 | 210 | export CPPFLAGS="-Wall" |
209 | | - wget -O make-4.2.1.tar.gz https://ftp.gnu.org/gnu/make/make-4.2.1.tar.gz |
| 211 | + wget -O make-4.2.1.tar.gz https://${{ env.ftp_gnu_org }}/gnu/make/make-4.2.1.tar.gz |
210 | 212 | ./build-on.sh '${{ env.package }}' '' 'make' '/usr/local' 'make-4.2.1' 'yum -y install epel-release && yum -y install gcc-c++ gcc-objc python3 guile gnu-smalltalk java-11-openjdk-devel mono-devel tcl perl perl-libintl php gcc-go ruby ruby-gettext lua gjs vala glibc-common && localedef -i ar_SA -f ISO-8859-6 ar_SA.ISO-8859-6 && localedef -i de_DE -f ISO-8859-1 de_DE.ISO-8859-1 && localedef -i de_DE -f UTF-8 de_DE.UTF-8 && localedef -i es_ES -f UTF-8 es_ES.UTF-8 && localedef -i fa_IR -f UTF-8 fa_IR && localedef -i fr_FR -f ISO-8859-1 fr_FR.ISO-8859-1 && localedef -i fr_FR -f UTF-8 fr_FR.UTF-8 && localedef -i ja_JP -f EUC-JP ja_JP.EUC-JP && localedef -i tr_TR -f UTF-8 tr_TR.UTF-8 && localedef -i zh_CN -f GB18030 zh_CN.GB18030' |
211 | 213 | # Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts |
212 | 214 | # https://github.com/actions/upload-artifact?tab=readme-ov-file#usage |
@@ -1194,7 +1196,7 @@ jobs: |
1194 | 1196 | export CPPFLAGS="-Wall" |
1195 | 1197 | export CC=${{ matrix.bitness == 32 && 'i686' || 'x86_64' }}-w64-mingw32-gcc |
1196 | 1198 | export CXX=${{ matrix.bitness == 32 && 'i686' || 'x86_64' }}-w64-mingw32-g++ |
1197 | | - wget -O libiconv-1.18.tar.gz https://ftp.gnu.org/gnu/libiconv/libiconv-1.18.tar.gz |
| 1199 | + wget -O libiconv-1.18.tar.gz https://${{ env.ftp_gnu_org }}/gnu/libiconv/libiconv-1.18.tar.gz |
1198 | 1200 | ./build-on.sh '${{ env.package }}' '--host=${{ matrix.bitness == 32 && 'i686' || 'x86_64' }}-w64-mingw32 --enable-csharp=dotnet' 'make' '/usr/${{ matrix.bitness == 32 && 'i686' || 'x86_64' }}-w64-mingw32/sys-root/mingw' 'libiconv-1.18' '' |
1199 | 1201 | # Doc: https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts |
1200 | 1202 | # https://github.com/actions/upload-artifact?tab=readme-ov-file#usage |
@@ -1319,7 +1321,7 @@ jobs: |
1319 | 1321 | export STRIP=":" |
1320 | 1322 | export AR="`pwd`/ar-lib lib" |
1321 | 1323 | export RANLIB=":" |
1322 | | - wget -O libiconv-1.18.tar.gz https://ftp.gnu.org/gnu/libiconv/libiconv-1.18.tar.gz |
| 1324 | + wget -O libiconv-1.18.tar.gz https://${{ env.ftp_gnu_org }}/gnu/libiconv/libiconv-1.18.tar.gz |
1323 | 1325 | : "Make sure iconv-2.dll gets found after libiconv has been built and installed." |
1324 | 1326 | export PATH=/usr/local/msvc${{ matrix.bitness }}/bin:"$PATH" |
1325 | 1327 | ./build-on.sh '${{ env.package }}' '--host=${{ matrix.bitness == 32 && 'i686' || 'x86_64' }}-w64-mingw32 --enable-csharp=dotnet' 'make' '/usr/local/msvc${{ matrix.bitness }}' 'libiconv-1.18' '' |
|
0 commit comments