diff --git a/parts.rst b/parts.rst index 96a528f7..dd842c6b 100644 --- a/parts.rst +++ b/parts.rst @@ -1015,6 +1015,12 @@ This is an older version of bison required for the bison files in older perls. We backwards-bootstrap this from 3.4.1, using 3.4.1 to compile the bison files in 2.3. This parser works sufficiently well for perl 5.10.1. +zlib 1.3.1 +========== + +zlib is a software library used for data compression and implements an abstraction of +DEFLATE algorithm that is also used in ``gzip``. + dist 3.5 ======== @@ -1044,113 +1050,6 @@ perl 5.12.5 This is the final version that can be built by perl 5.8. Again, there are new files to be regenerated. -openssl 3.0.13 -============== - -OpenSSL is a C library for secure communications/cryptography. - -We do not use the latest 3.3.0 release because it causes lockups in curl. - -ca-certificates 3.99 -==================== - -Install TLS root certificates from nss. This will allows us to use HTTPS for downloads -once curl is rebuilt against OpenSSL. - -curl 8.17.0 -=========== - -We rebuild curl with support for OpenSSL. - -zlib 1.3.1 -========== - -zlib is a software library used for data compression and implements an abstraction of -DEFLATE algorithm that is also used in ``gzip``. - -patch 2.7.6 -=========== - -Our old patch was built with manual makefile and used mes libc. -This is a newer version which we need in order to import gnulib into gettext. - -gcc 4.7.4 -========= - -GCC 4.7.4 is the last version written in C. This time we build both C and C++ backends. -The C++ backend has a dependency on ``gperf``, which is written in C++. Fortunately, it is -easy to patch it out; the resulting ``g++`` compiler is capable of building ``gperf``. -We also add in two patchsets to the compiler; - -* one to add support for musl shared library support -* one providing a few compiler flags/features that are required later to build GCC 10 - -binutils 2.41 -============= - -This version of binutils provides a more comprehensive set of programming tools for -creating and managing binary programs. It also includes modern versions of the ``ld`` -linker, the ``as`` assembler and the ``ar`` program. - -musl 1.2.5 -========== - -With GCC and binutils supporting a musl-based toolchain natively, musl itself is rebuilt -with support for dynamic linking. - -python 2.0.1 -============ - -Everything is in place to bootstrap the useful programming language/utility -Python. While Python is largely written in C, many parts of the codebase are -generated from Python scripts, which only increases as Python matured over time. - -We begin with Python 2.0.1, which has minimal generated code, most of which can -be removed. Lib/{keyword,token,symbol} scripts are rewritten in C and used to -regenerate parts of the standard library. Unicode support and sre (regex) -support is stripped out. - -Using the stripped-down first version of Python 2.0.1, Python 2.0.1 is rebuilt, -including Unicode and regex support (required for future Python builds). The -first version is insufficient to run the Lib/{keyword,token,symbol} scripts, so -those continue to use the C versions. - -Precompiled Python code at this point is highly unreproducible, so it is -deleted (JIT compiled instead). This makes Python itself slower, but this is of -little consequence. - -python 2.3.7 -============ - -Python 2.0.1 is sufficient to build Python 2.3.7. - -Differences to 2.0.1: - -* The new "ast" module, performing parsing of Python, is generated from a - parsing specification using Python code. -* 2.0.1 is insufficient to run 2.3.7's unicode regeneration, so Unicode - support is again stripped out. - -Python 2.3.7 is then rebuilt to include Unicode support. - -gperf 3.3 -========= - -``gperf`` is a perfect hash function generator (hash function is injective). - -gettext 0.26 -============ - -GNU Gettext is an internationalization and localization system used for writing -multilingual programs. Now that we have Python 2.3 and gperf, we can regenerate -all the pregenerated files in Gettext and so build it. - -texinfo 6.7 -=========== - -Texinfo is a typesetting syntax used for generating documentation. We can now use -``makeinfo`` script to convert ``.texi`` files into ``.info`` documentation format. - perl 5.15.7 =========== @@ -1256,6 +1155,107 @@ perl 5.42.0 5.42 is the latest version of Perl! The Perl bootstrap is complete. +openssl 3.0.13 +============== + +OpenSSL is a C library for secure communications/cryptography. + +We do not use the latest 3.3.0 release because it causes lockups in curl. + +ca-certificates 3.119.1 +======================= + +Install TLS root certificates from nss. This will allows us to use HTTPS for downloads +once curl is rebuilt against OpenSSL. + +curl 8.17.0 +=========== + +We rebuild curl with support for OpenSSL. + +patch 2.8 +========= + +Our old patch was built with manual makefile and used mes libc. +This is a newer version which we need in order to import gnulib into gettext. + +gcc 4.7.4 +========= + +GCC 4.7.4 is the last version written in C. This time we build both C and C++ backends. +The C++ backend has a dependency on ``gperf``, which is written in C++. Fortunately, it is +easy to patch it out; the resulting ``g++`` compiler is capable of building ``gperf``. +We also add in two patchsets to the compiler; + +* one to add support for musl shared library support +* one providing a few compiler flags/features that are required later to build GCC 10 + +binutils 2.41 +============= + +This version of binutils provides a more comprehensive set of programming tools for +creating and managing binary programs. It also includes modern versions of the ``ld`` +linker, the ``as`` assembler and the ``ar`` program. + +musl 1.2.5 +========== + +With GCC and binutils supporting a musl-based toolchain natively, musl itself is rebuilt +with support for dynamic linking. + +python 2.0.1 +============ + +Everything is in place to bootstrap the useful programming language/utility +Python. While Python is largely written in C, many parts of the codebase are +generated from Python scripts, which only increases as Python matured over time. + +We begin with Python 2.0.1, which has minimal generated code, most of which can +be removed. Lib/{keyword,token,symbol} scripts are rewritten in C and used to +regenerate parts of the standard library. Unicode support and sre (regex) +support is stripped out. + +Using the stripped-down first version of Python 2.0.1, Python 2.0.1 is rebuilt, +including Unicode and regex support (required for future Python builds). The +first version is insufficient to run the Lib/{keyword,token,symbol} scripts, so +those continue to use the C versions. + +Precompiled Python code at this point is highly unreproducible, so it is +deleted (JIT compiled instead). This makes Python itself slower, but this is of +little consequence. + +python 2.3.7 +============ + +Python 2.0.1 is sufficient to build Python 2.3.7. + +Differences to 2.0.1: + +* The new "ast" module, performing parsing of Python, is generated from a + parsing specification using Python code. +* 2.0.1 is insufficient to run 2.3.7's unicode regeneration, so Unicode + support is again stripped out. + +Python 2.3.7 is then rebuilt to include Unicode support. + +gperf 3.3 +========= + +``gperf`` is a perfect hash function generator (hash function is injective). + +gettext 0.26 +============ + +GNU Gettext is an internationalization and localization system used for writing +multilingual programs. Now that we have Python 2.3 and gperf, we can regenerate +all the pregenerated files in Gettext and so build it. + +texinfo 7.2 +=========== + +Texinfo is a typesetting syntax used for generating documentation. We can now use +``makeinfo`` script to convert ``.texi`` files into ``.info`` documentation format. + libunistring 0.9.10 =================== diff --git a/steps/SHA256SUMS.pkgs b/steps/SHA256SUMS.pkgs index e602eb83..d69d1fb2 100644 --- a/steps/SHA256SUMS.pkgs +++ b/steps/SHA256SUMS.pkgs @@ -24,7 +24,7 @@ c5807850a377e4bb9aa4121d9781d145bdd80327626a9419630a75ce2c8d9c71 automake-1.9.6 e5a0c306550ccfbea0b0e0a8ac121dfb1439759441916050778c448b02b8b301 bc-1.08.1_0.tar.bz2 6591838fbfcd64b88435cd948ebe6fcfd6c22b0993935bd0a19310e767da9e94 binutils-2.30_0.tar.bz2 3281578f74e40919d5c9378a766bf3ca5340840aec75b7a6441222166617017a binutils-2.41_0.tar.bz2 -d5bec340bf90562db749f4dc7fead5c622eb27e439658628636bc601bfc237fa binutils-2.41_1.tar.bz2 +31037464750b634d635ceae82d1b0b0883d38e49adbde53549e70ed1e4257c9b binutils-2.41_1.tar.bz2 5182bedc1c68f9908ed782dbb0a79c0a5b262fe8b1f9c6eea6d7e7186696827e bison-2.3_0.tar.bz2 b3b99ebf348f4a3ff1af29e958cab745232d3400d6604ab6ef8450538f6a0738 bison-3.4.1_0.tar.bz2 7f738ec72f716db3e91de9a9d9b9b4d335b9e5b34d01e8a69f4dc931d977b670 bison-3.4.1_1.tar.bz2 @@ -41,7 +41,7 @@ e8271c1213b6cc7c9ae2ddb018cd093cbbd5f6e842548c0747ce95b13b6b9447 bzip2-1.0.8_0. a49f13bb73144bf9a8e70bc27cc7e0adce0f136762da82fc05e77c0382628c0f curl-8.17.0_1.tar.bz2 0ee8251b7251bf1c4a5634554c92c79339bd562b893b7c8fb1619c3ae6084bda dhcpcd-10.0.1_0.tar.bz2 0462b6a04899a98d60c33f9d16fa00e2e6b7c21cc80ccebc8358fc08105467a2 diffutils-2.7_0.tar.bz2 -4cbe1fce51122f1a421e2c8bbb896b10f4a0be849916bdb67819f6f0e754c4a5 diffutils-3.10_0.tar.bz2 +64b05c5f9243c5bb91f280589f12dc1086a7616093482584fef938a2a4ab61f5 diffutils-3.10_0.tar.bz2 6a24890ec15a72ee67e8722f14ab6ddfc6432c0294039584d2ee95a7992c3df3 dist-3.5_0.tar.bz2 60559f700659d70c6c9d2c70170bef62355d8e38fbb30c1d0629978351b796fd e2fsprogs-1.45.7_0.tar.bz2 bf0ae256f441485d46f456a2b2edf89d619835aeccdc4bbcc1641b690e4670ff ed-1.4_0.tar.bz2 @@ -51,10 +51,10 @@ f6c65eef86aa9f5317396a8443b25ed87a18f72d07dfd2231a594aa2c1a68942 findutils-4.2. 2ba6bfb20ab603787a95bf293742f36cfd8270c616073a880bc6d0c703e2c870 flex-2.5.33_0.tar.bz2 9e898068d570b5cfa016f0e14819d7f7a6577bae9177ef1e9bb62866d5b0f0b9 flex-2.6.4_0.tar.bz2 c925739472260498342ba6dc3263da937abf5237e7e9102622bf5657ec98094a gawk-3.0.4_0.tar.bz2 -e119505fb6218deaaafbf5d31e0ce3dc1e60dae8475fe2a3f9230f9e9e8c7eaf gawk-5.3.0_0.tar.bz2 +c5b6b61e6c445e50a02ec129426be9e45d5d45d4dda59ea1557c5072d7244e20 gawk-5.3.0_0.tar.bz2 b4fafdabdbd8c1f9f7c96fc4677023a8151fe2afe0702e3dee920157b30deb98 gc-8.0.4_0.tar.bz2 -4d19c0dc6b3731f7a4f9f3e183b8bc55833bb6d7671393aa78caa3238671b8fe gcc-10.5.0_0.tar.bz2 -519cb272f4e819024c788b38963cf6d98b3b96c6c343ddb2e4b6d12aebb50b39 gcc-15.2.0_0.tar.bz2 +4e8704855e85cf05a044570c2d13ffac6b763fd4e8d8ce19c4687b5de33de24a gcc-10.5.0_0.tar.bz2 +4c1059345f300b350b0981c5e35879c1d5ae38e650d3607ba01b446e652263a1 gcc-15.2.0_0.tar.bz2 d34de902de6de9204abedb834c4c39fbb95b993e545fbb090de2b028fa1d4a61 gcc-4.0.4_0.tar.bz2 2f13b3306832d882536c97d0302f2ec1801193086dbbe62388f930858e5728a3 gcc-4.0.4_1.tar.bz2 931f105104b446dff5be30927e6e98d798844e6cd446b246f30def11984a9587 gcc-4.7.4_0.tar.bz2 @@ -63,8 +63,8 @@ d34de902de6de9204abedb834c4c39fbb95b993e545fbb090de2b028fa1d4a61 gcc-4.0.4_0.ta f06593eb6343d5af77c82c0c8cc15efa08b491b0cc04ebb1030cdc459f9e8903 gperf-3.3_0.tar.bz2 c1989fc2855dbb0350c4e5b677028306614a9f4b5cb6c01fd459c5e1abf592b9 grep-2.4_0.tar.bz2 3f3247c7d05fcef0d9f624a523afa01257207584045eb7efb7fb8f29fc782c7a grep-3.7_0.tar.bz2 -d7a28778c1199604ba7af0e706c56c65fa345cae7e80646956f1be71ae30b448 grub-2.06_0.tar.bz2 -16c4e88be3f88314205f0296e77a0e7c81026eccdc5764bd2b91dec4bfdcbca0 guile-3.0.9_0.tar.bz2 +39320fce205c3d53209351c48c7cc59c6157373f940bd9f425cf3c51558fb09f grub-2.06_0.tar.bz2 +95bcaad636bee2233c552448c6fb925a5f42c12a2cc1b90913b82da543f9a701 guile-3.0.9_0.tar.bz2 893bb26efb8b1789702b8fd1a3ed72951990c8e38ab650c5220992405e79b96e gzip-1.13_0.tar.bz2 f27e1eaafa7ab198d2ed549aecfd8a1205d960f59a509789a159997565abd6d4 heirloom-devtools-070527_0.tar.bz2 8d2015b87337abbf287f7a39ee4cf53514120b5d3e90a93fe7d533dcc43f14fa help2man-1.36.4_0.tar.bz2 @@ -74,14 +74,14 @@ f27e1eaafa7ab198d2ed549aecfd8a1205d960f59a509789a159997565abd6d4 heirloom-devto 838989f6b0aa02d6185d7cd9138036260bcf24ef484e516c4a50819d29b5e0d6 libarchive-3.5.2_0.tar.bz2 e28fdaf6191513d8e45b2c1e0d1991e01c93f4294c7fd44126568648a40f4643 libatomic_ops-7.6.10_0.tar.bz2 3e392a5332e8db77c409f1566b6f05d1f92a85e1fbe902dbe97704548c0f6c8e libbsd-0.11.8_0.tar.bz2 -de10b5b3d1b721c8d8365d524c13f524b2c9cb5eff1f891698b1aa4915a73092 libffi-3.3_0.tar.bz2 +bb1b1196caa7d4eebf37bdb8f355b63caa5b5642a696b7930c6c62c035180d59 libffi-3.3_0.tar.bz2 9e1932db252894478dc98985f931312cbe5ee0eb40db251c75c79dd01294b15b libmd-1.1.0_0.tar.bz2 311cc3a5ad4126b030b32bc1e9e787bd55caa861626d210bab4eb81e50244125 libtool-2.2.4_0.tar.bz2 a9ddd248e490623caeb0380089d03bc638e78af5c4fb65426f3b7f73521af604 libtool-2.4.7_0.tar.bz2 -dc71ee51f5da2211b4e49f10375a0600b7d85f8ed581fe98d3b825ab1447b221 libunistring-0.9.10_0.tar.bz2 +d03e020c88f94f242f97f8126daa86be4b9a0164a0351379ad593712c8aaeec9 libunistring-0.9.10_0.tar.bz2 e34195462aa376c9ad92d77d68ef519c911100c06fe2f3929b260d0a811a4288 linux-4.14.341-openela_0.tar.bz2 c97644d0db5b3de127b048683afee6d31453441d97ba5dea71df5838b13542a4 linux-headers-4.14.341-openela_0.tar.bz2 -748aafe25363c9777b2970b54d29d3f60d7ed3a07b0839415de37061f13358ff m4-1.4.19_0.tar.bz2 +8283d7c23a656c2f47198561b102ca3517dd2a48614e818f36149100c2c96d66 m4-1.4.19_0.tar.bz2 d4dff784cac3d58d0cedfd9a51b52ff100ad8654e10a7c8c41590351f48f57d6 m4-1.4.7_0.tar.bz2 38611790ea602063095c2819672932cbfbc29cd1244b68a8f46123e76a1ad630 make-3.82_0.tar.bz2 d477947e4df6f4964fae00c9c16850caf0c8e3b09771007fcca1fec8f6da9d6e make-4.2.1_0.tar.bz2 @@ -126,6 +126,7 @@ b4091f0273d71edc0d71c441c2f5f5aefbf9934f0f20da1eb90b4e307c820377 perl-Devel-Tok 77aee4df9eb2271c3b4e450f216af83c5844078d93702eae60ec1141816622d4 perl-Devel-Tokenizer-C-0.11_7.tar.bz2 d2f1e838b9ed58d58c0d6594dd868af49b576b1d6ef05903a43ad33d4986b32d perl-Devel-Tokenizer-C-0.11_8.tar.bz2 3e5519ff5fec08c27f4ef146674ed9e957de6a057c381baf04bbda7adf18c11c perl-Devel-Tokenizer-C-0.11_9.tar.bz2 +dfb435b6f1356547f596f4094844509bfb3704b4b9a95d96fddb2c8fb6f7a5f7 perl-Text-CSV-2.06_0.tar.bz2 dfd2e494cc1c13ac241668d7489895984100bd14848281d2a4881d15436525fc pkg-config-0.29.2_0.tar.bz2 541d75be65f3daedc44df145556aacb3debbb7029635d8ccc9e96d839c8c6815 python-2.0.1_0.tar.bz2 5bd6c35b4d6003ce5d9fb7223816aad6bf2de66cabe97f31d7b27bfb5cc3b4f3 python-2.0.1_1.tar.bz2 @@ -146,7 +147,7 @@ b3675b0d72677f30559386e1756e85a0a5065d738bb6206457a5a8d51b8bd0ce tcc-0.9.27_0.t 03454c87049198998bc2c8c2c04b7c3312551a7c233097eabc5e67a4a07bd056 tcc-0.9.27_1.tar.bz2 ab49972345d0c05f79b9370530829792e8c5c3b7fe283fc90e1dff26c2d0f6db tcc-0.9.27_2.tar.bz2 8576a7c99802bb462dd044ef7df7263192f1acfabde47462afd6145ffec1e4f1 tcc-0.9.27_3.tar.bz2 -ac74bde2c277d6eb25125e0abfd353ad268a61b8f4a5308adfd6638046b409ac texinfo-6.7_0.tar.bz2 +252cc7226bef56e9dc591433ab2176cf1dd54dd18de20535edb708d5c6c21dce texinfo-7.2_0.tar.bz2 b54b1aa40dc08eec51982fd581a64a900e2598ba29acc6ca9c2b1b2321603b49 util-linux-2.19.1_0.tar.bz2 9075b6832d8d7b094775c8e6ead763851aec96f4559d8cd62ce0a25e7a8a70ab which-2.21_0.tar.bz2 d7357c5a73e4a0adb07220392316185716c42003fe7e63b63ba8493f12f3621b xz-5.6.4_0.tar.bz2 diff --git a/steps/manifest b/steps/manifest index bf4497a7..da62703b 100644 --- a/steps/manifest +++ b/steps/manifest @@ -199,7 +199,8 @@ build: python-2.3.7 build: python-2.3.7 build: gperf-3.3 build: gettext-0.26 -build: texinfo-6.7 +build: perl-Text-CSV-2.06 +build: texinfo-7.2 build: libunistring-0.9.10 build: libffi-3.3 build: libatomic_ops-7.6.10 diff --git a/steps/texinfo-6.7/import-gnulib.sh b/steps/texinfo-6.7/import-gnulib.sh deleted file mode 100755 index 74251499..00000000 --- a/steps/texinfo-6.7/import-gnulib.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh - -# SPDX-FileCopyrightText: 2021 Andrius Štikonas -# -# SPDX-License-Identifier: GPL-3.0-or-later - -../gnulib-b81ec69/gnulib-tool --import \ - --lib=libgnu \ - --source-base=gnulib/lib \ - --m4-base=gnulib/m4 \ - --doc-base=doc \ - --tests-base=tests \ - --aux-dir=build-aux \ - --conditional-dependencies \ - --no-libtool \ - --macro-prefix=gl \ - --no-vc-files \ - argz \ - getopt-gnu \ - gettext-h \ - iconv \ - mbchar \ - mbiter \ - mbscasecmp \ - mbschr \ - mbslen \ - mbsncasecmp \ - mbsstr \ - mbswidth \ - memrchr \ - regex \ - stdarg \ - strcasestr \ - strdup-posix \ - strerror \ - vasprintf \ - xalloc diff --git a/steps/texinfo-6.7/pass1.sh b/steps/texinfo-6.7/pass1.sh deleted file mode 100755 index da22f6d8..00000000 --- a/steps/texinfo-6.7/pass1.sh +++ /dev/null @@ -1,15 +0,0 @@ -# SPDX-FileCopyrightText: 2022 Andrius Štikonas -# -# SPDX-License-Identifier: GPL-3.0-or-later - -src_prepare() { - find . -name '*.mo' -delete - find . -name '*.gmo' -delete - - ../../import-gnulib.sh - autoreconf -fi -} - -src_configure() { - ./configure --prefix="${PREFIX}" -} diff --git a/steps/texinfo-6.7/sources b/steps/texinfo-6.7/sources deleted file mode 100644 index 39784571..00000000 --- a/steps/texinfo-6.7/sources +++ /dev/null @@ -1,2 +0,0 @@ -f https://mirrors.kernel.org/gnu/texinfo/texinfo-6.7.tar.xz 988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa -g https://https.git.savannah.gnu.org/git/gnulib.git~b81ec69 _ 1aeea67b7b3883ebcf2b90bc01f4182d7de073a052dabd3749f20c5aa4ad3e27 gnulib-b81ec69.tar.gz diff --git a/steps/texinfo-7.2/import-gnulib.sh b/steps/texinfo-7.2/import-gnulib.sh new file mode 100755 index 00000000..85ce104a --- /dev/null +++ b/steps/texinfo-7.2/import-gnulib.sh @@ -0,0 +1,133 @@ +#!/bin/sh + +# SPDX-FileCopyrightText: 2021 Andrius Štikonas +# +# SPDX-License-Identifier: GPL-3.0-or-later + +rm gnulib/lib/unictype/ctype_*.h \ + gnulib/lib/uniwidth/width*.h \ + gnulib/lib/unicase/tolower.h \ + tp/Texinfo/XS/gnulib/lib/unicase/{tolower,cased,ignorable,toupper}.h \ + tp/Texinfo/XS/gnulib/lib/unicase/special-casing-table.gperf \ + tp/Texinfo/XS/gnulib/lib/uninorm/composition-table* \ + tp/Texinfo/XS/gnulib/lib/uninorm/decomposition-table{1,2}.h \ + tp/Texinfo/XS/gnulib/lib/uniwidth/width*.h \ + tp/Texinfo/XS/gnulib/lib/unictype/{combiningclass,ctype_upper}.h \ + tp/Texinfo/XS/gnulib/lib/unictype/{pr_,categ_}*.h + +GNULIB_DIR=$(realpath ../gnulib-d82702e) + +pushd "$GNULIB_DIR" +rm lib/unictype/ctype_*.h \ + lib/unictype/combiningclass.h \ + lib/unictype/{pr_,categ_}*.h \ + lib/unicase/{tolower,cased,ignorable,toupper}.h \ + lib/unicase/special-casing-table.gperf \ + lib/uninorm/composition-table* \ + lib/uninorm/decomposition-table{1,2}.h \ + lib/uniwidth/width*.h + +pushd lib +gcc -Iunictype -o gen-uni-tables gen-uni-tables.c +mv ../../*-16.0.0.txt ../../PropList-3.0.1.txt . +./gen-uni-tables UnicodeData-16.0.0.txt \ + PropList-16.0.0.txt \ + DerivedCoreProperties-16.0.0.txt \ + emoji-data-16.0.0.txt \ + ArabicShaping-16.0.0.txt \ + Scripts-16.0.0.txt \ + Blocks-16.0.0.txt \ + PropList-3.0.1.txt \ + BidiMirroring-16.0.0.txt \ + EastAsianWidth-16.0.0.txt \ + LineBreak-16.0.0.txt \ + WordBreakProperty-16.0.0.txt \ + GraphemeBreakProperty-16.0.0.txt \ + CompositionExclusions-16.0.0.txt \ + SpecialCasing-16.0.0.txt \ + CaseFolding-16.0.0.txt \ + 16.0.0 +popd + +popd + +"$GNULIB_DIR"/gnulib-tool --import \ + --lib=libgnu \ + --source-base=gnulib/lib \ + --m4-base=gnulib/m4 \ + --doc-base=doc \ + --tests-base=tests \ + --aux-dir=build-aux \ + --conditional-dependencies \ + --no-libtool \ + --macro-prefix=gl \ + --no-vc-files \ + argz \ + getopt-gnu \ + gettext-h \ + iconv \ + mbchar \ + mbiter \ + mbscasecmp \ + mbschr \ + mbslen \ + mbsncasecmp \ + mbsstr \ + mbswidth \ + memrchr \ + mkstemp \ + regex \ + stdarg \ + strcasestr \ + strdup-posix \ + strerror \ + vasprintf \ + xalloc + +pushd tp/Texinfo/XS +"$GNULIB_DIR"/gnulib-tool --import \ + --lib=libgnu \ + --source-base=gnulib/lib \ + --m4-base=gnulib/m4 \ + --doc-base=doc \ + --tests-base=tests \ + --aux-dir=build-aux \ + --no-conditional-dependencies \ + --libtool \ + --macro-prefix=gl \ + euidaccess \ + getline \ + gettext-h \ + iconv \ + libunistring \ + locale \ + setenv \ + strchrnul \ + strndup \ + uchar \ + unicase/u8-tolower \ + unicase/u8-toupper \ + unictype/category-L \ + unictype/category-M \ + unictype/category-Mn \ + unictype/category-Nd \ + unictype/category-test \ + unictype/ctype-upper \ + unictype/property-alphabetic \ + unictype/property-join-control \ + unictype/property-test \ + uninorm/nfc \ + uninorm/nfkd \ + uninorm/u8-normalize \ + unistr/u32-next \ + unistr/u8-mbsnlen \ + unistr/u8-mbtouc \ + unistr/u8-next \ + unistr/u8-strlen \ + unistr/u8-strmbtouc \ + unistr/u8-uctomb \ + uniwidth/u8-strwidth \ + uniwidth/u8-width \ + unsetenv \ + vasprintf +popd diff --git a/steps/texinfo-7.2/pass1.sh b/steps/texinfo-7.2/pass1.sh new file mode 100755 index 00000000..ab152883 --- /dev/null +++ b/steps/texinfo-7.2/pass1.sh @@ -0,0 +1,55 @@ +# SPDX-FileCopyrightText: 2022 Andrius Štikonas +# SPDX-FileCopyrightText: 2026 Samuel Tyler +# +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + default + + find . \( -name '*.mo' -o -name '*.gmo' -o -name '*.pdf' \) -delete + rm man/{info,install-info,makeinfo,pod2texi,texi2dvi,texindex}.1 + + rm tp/Texinfo/XS/convert/converters_options.{c,h} \ + tp/Texinfo/XS/convert/cmd_converter.c \ + tp/Texinfo/XS/main/{cmd,global,options}_* \ + tp/Texinfo/XS/main/{element_types,html_conversion_data}.{c,h} \ + tp/Texinfo/XS/main/{accent_tables_8bit_codepoints.c,command_data.c,command_ids.h} \ + tp/Texinfo/Documentlanguages.pm \ + tp/maintain/lib/libintl-perl/{gettext_xs,}/Makefile \ + tp/maintain/lib/{Text-Unidecode,libintl-perl}/META.json \ + tp/maintain/template.pod + + touch tp/Texinfo/XS/main/command_{ids.h,data.c} \ + tp/Texinfo/XS/main/global_{multi,unique}_commands_case.c \ + tp/Texinfo/XS/main/global_commands_types.h + + rm -r tp/t/results \ + tp/tests/test_scripts \ + tp/tests/*/res_parser \ + tp/tests/many_input_files/*_res \ + install-info/tests/ii-*-file* + + for f in \ + tp/Texinfo/{Commands,Options,HTMLData}.pm \ + tp/Texinfo/Convert/{Info,DocBook,Plaintext,TexinfoXML,HTML}.pm; do + sed '/^__END__$/q' "$f" > "$f.new" + mv "$f.new" "$f" + done + + grep generated tp/maintain/lib/libintl-perl/lib/Locale/RecodeData/*.pm -l | xargs rm + + pushd tp + mv ../../ISO-639-2_utf-8.txt ../../country-codes.csv maintain/ + perl maintain/regenerate_documentlanguages-loc.pl + popd + + ../../import-gnulib.sh + autoreconf -fi + pushd tp/Texinfo/XS + autoreconf -fi + popd +} + +src_configure() { + ./configure --prefix="${PREFIX}" +} diff --git a/steps/texinfo-7.2/patches/documentlanguages_no_download.patch b/steps/texinfo-7.2/patches/documentlanguages_no_download.patch new file mode 100644 index 00000000..14570f1b --- /dev/null +++ b/steps/texinfo-7.2/patches/documentlanguages_no_download.patch @@ -0,0 +1,20 @@ +SPDX-FileCopyrightText: 2026 Samuel Tyler + +SPDX-License-Identifier: GPL-3.0-or-later + +We download the files separately, don't use wget in the environment. + +--- texinfo-7.2/tp/maintain/regenerate_documentlanguages-loc.pl 2026-01-25 11:41:11.642692461 +1100 ++++ texinfo-7.2/tp/maintain/regenerate_documentlanguages-loc.pl 2026-01-25 11:41:38.678693603 +1100 +@@ -26,11 +26,6 @@ + use Text::CSV; + + my $dir = 'maintain'; +-system ("cd $dir && wget -N https://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt"); +-# the ISO 3166-1 alpha-2 codes are not easily accessible from the ISO website, there is +-# an interface not a raw download (seems incredible, but true...). +-# Use the country code project list instead +-system ("cd $dir && wget -N https://raw.githubusercontent.com/datasets/country-codes/master/data/country-codes.csv"); + + open(TXT, "$dir/ISO-639-2_utf-8.txt") or die "Open $dir/ISO-639-2_utf-8.txt: $!\n"; + binmode(TXT, ":utf8"); diff --git a/steps/texinfo-7.2/sources b/steps/texinfo-7.2/sources new file mode 100644 index 00000000..f7bd547b --- /dev/null +++ b/steps/texinfo-7.2/sources @@ -0,0 +1,22 @@ +f https://mirrors.kernel.org/gnu/texinfo/texinfo-7.2.tar.xz 0329d7788fbef113fa82cb80889ca197a344ce0df7646fe000974c5d714363a6 +g https://https.git.savannah.gnu.org/git/gnulib.git~d82702e _ 6c6e35a6028317dcea2ddacc9551e2d03308fb9c85c5b7f636a866689d304629 gnulib-d82702e.tar.gz +f http://ftp.unicode.org/Public/16.0.0/ucd/UnicodeData.txt ff58e5823bd095166564a006e47d111130813dcf8bf234ef79fa51a870edb48f UnicodeData-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/PropList.txt 53d614508e2a0b2305a8aa21cd60d993de9326cdf65993660dfcce4503548583 PropList-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/DerivedCoreProperties.txt 39d35161f2954497f69e08bdb9e701493f476a3d30222de20028feda36c1dabd DerivedCoreProperties-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/emoji/emoji-data.txt f1365a5173eee18e1f98b240cdc492e84a25f1ce7e0c9d1094eb29c41a22696a emoji-data-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/ArabicShaping.txt 764f420cedfc8b43d9fec251c957a5d55fc45d40f6573f162990ed1dce7e36e0 ArabicShaping-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/Scripts.txt 9e88f0a677df47311106340be8ede2ecdacd9c1c931831218d2be6d5508e0039 Scripts-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/Blocks.txt f3907b395d410f1b97342292ca6bc83dd12eb4b205f2a0c48efdef99e517d7b0 Blocks-16.0.0.txt +f http://ftp.unicode.org/Public/3.0-Update1/PropList-3.0.1.txt 909eef4adbeddbdddcd9487c856fe8cdbb8912aa8eb315ed7885b6ef65f4dc4c +f http://ftp.unicode.org/Public/16.0.0/ucd/BidiMirroring.txt d7afdadd1bbd66f5a663ac0e8f7958f18fd9491fc0bc59ec5877cb82db71db7d BidiMirroring-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/EastAsianWidth.txt 43adc76c0686a42cb370764eb8cfe2b2a45b10b855e5572a2db4a0eecce15d5b EastAsianWidth-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/LineBreak.txt e97e4259d0d20fab150b9c7b4b28abfae5cd78ca97e7f4ac6ed20d685d5f4a7c LineBreak-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/auxiliary/WordBreakProperty.txt 476464e71a4b7b779b8ba7c5671f4338fea77da8e6b6b05fb82b3fdd14603779 WordBreakProperty-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/auxiliary/GraphemeBreakProperty.txt c29360bd6f7132811d701d29069541e827eb44bfc4c8fbde8c370d6982689dc1 GraphemeBreakProperty-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/CompositionExclusions.txt 89e83cf9cc8bef6c1f8bf77e42cf6f0341dfa42e66261f4dbe9b492e7a23c8ee CompositionExclusions-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/SpecialCasing.txt 8d5de354eef79f2395a54c9c7dcebbaf3d30fc962d0f85611ea97aa973a0c451 SpecialCasing-16.0.0.txt +f http://ftp.unicode.org/Public/16.0.0/ucd/CaseFolding.txt 6f1f9c588eb4a5c718d9e8f93b782685e5c7fec872cf05e8e6878053599e09bb CaseFolding-16.0.0.txt +f http://ftp.unicode.org/Public/4.0-Update1/Blocks-4.0.1.txt c9dba71655b8787c381b3421ba2bf9a3df9e6168b5835f93fd3931c1eeff90cf Blocks-4.0.1.txt +f http://ftp.unicode.org/Public/4.0-Update1/UnicodeData-4.0.1.txt de54d68f2df927a20ea4a83dfd74a543ca7f3e3df2441576e7f6a185ec6fa217 UnicodeData-4.0.1.txt +f https://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt 42b71885e4dc885559fda5ad059fd81838cf4782cedb5fd08cc3431f7d067371 +f https://raw.githubusercontent.com/datasets/country-codes/1991017dfce2e8cdea0c1d6f20341bd0f9baa225/data/country-codes.csv bc34b498d87dfaadc10a2fa52e38dacc72a16fbc9ae477a294450667fa8abf49