diff options
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | README.md | 50 | ||||
-rw-r--r-- | makefile | 2 | ||||
-rw-r--r-- | patches/patch-source-asymptote-fileio_cc | 18 | ||||
-rw-r--r-- | patches/patch-source-clisp-clispver_lispbibl_d | 18 | ||||
-rwxr-xr-x | tl-build.sh | 5 | ||||
-rw-r--r-- | variables.conf | 2 |
7 files changed, 78 insertions, 19 deletions
@@ -1,7 +1,7 @@ | |||
1 | Unless otherwise stated, the following terms apply to all files in | 1 | Unless otherwise stated, the following terms apply to all files in |
2 | this repository:— | 2 | this repository:— |
3 | 3 | ||
4 | Copyright (c) 2024 Robert Alessi <alessi@robertalessi.net> | 4 | Copyright (c) 2024, 2025 Robert Alessi <alessi@robertalessi.net> |
5 | 5 | ||
6 | Permission to use, copy, modify, and distribute this software for any | 6 | Permission to use, copy, modify, and distribute this software for any |
7 | purpose with or without fee is hereby granted, provided that the above | 7 | purpose with or without fee is hereby granted, provided that the above |
@@ -3,7 +3,7 @@ TeX Live for *Open*BSD | |||
3 | 3 | ||
4 | Contents | 4 | Contents |
5 | -------- | 5 | -------- |
6 | - [Current Release](#2024-release) | 6 | - [Current Release](#2025-release) |
7 | - [Running TeX Live in OpenBSD](#running-tex-live-in-openbsd) | 7 | - [Running TeX Live in OpenBSD](#running-tex-live-in-openbsd) |
8 | - [TeX Live for OpenBSD at Utah](#tex-live-for-openbsd-at-utah) | 8 | - [TeX Live for OpenBSD at Utah](#tex-live-for-openbsd-at-utah) |
9 | - [Installing TeX Live on OpenBSD With Ready-to-Use Binaries](#installing-tex-live-on-openbsd-with-ready-to-use-binaries) | 9 | - [Installing TeX Live on OpenBSD With Ready-to-Use Binaries](#installing-tex-live-on-openbsd-with-ready-to-use-binaries) |
@@ -12,21 +12,23 @@ Contents | |||
12 | - [Building the Sources](#building-the-sources) | 12 | - [Building the Sources](#building-the-sources) |
13 | - [Acknowledgements](#acknowledgements) | 13 | - [Acknowledgements](#acknowledgements) |
14 | 14 | ||
15 | 2024 Release | 15 | 2025 Release (pretest) |
16 | ------------ | 16 | ---------------------- |
17 | 17 | ||
18 | [Updated August 14, 2024] TeX Live for OpenBSD is meant for the [2024 | 18 | [Updated February 10, 2025] TeX Live for OpenBSD is meant for the [2025 |
19 | release of TeX Live](https://tug.org/texlive), and will always run on | 19 | release of TeX Live](https://tug.org/texlive), and will always run on |
20 | both -stable and -current versions of OpenBSD. | 20 | both -stable and -current versions of OpenBSD. |
21 | 21 | ||
22 | The TeX Live 2024 binaries are available for the following versions of | 22 | The TeX Live 2025 pretest binaries are available for the following |
23 | OpenBSD: | 23 | versions of OpenBSD: |
24 | 24 | ||
25 | - 7.4 (frozen as of April 6, 2024) | ||
26 | - 7.5 (frozen as of September 4, 2024) | ||
27 | - 7.6 | 25 | - 7.6 |
28 | - 7.6-current | 26 | - 7.6-current |
29 | 27 | ||
28 | Archives | ||
29 | -------- | ||
30 | - 2024 ([link](https://www.ekdosis.org/texlive/2024)) | ||
31 | |||
30 | Running TeX Live in OpenBSD | 32 | Running TeX Live in OpenBSD |
31 | --------------------------- | 33 | --------------------------- |
32 | 34 | ||
@@ -69,10 +71,7 @@ be found here: <https://ftp.math.utah.edu/pub/texlive-utah>. | |||
69 | 71 | ||
70 | From this url, the binaries for OpenBSD are located in the | 72 | From this url, the binaries for OpenBSD are located in the |
71 | [`bin/`](https://ftp.math.utah.edu/pub/texlive-utah/bin) | 73 | [`bin/`](https://ftp.math.utah.edu/pub/texlive-utah/bin) |
72 | subdirectory. Look for `amd64-openbsd*.tar.xz`. the build for 7.4 was | 74 | subdirectory. Look for `amd64-openbsd*.tar.xz`. |
73 | done with the `gcc-11` compilers. The one for 7.5 is done with the | ||
74 | `gcc-8.4.0` compilers which are widely used to build most OpenBSD | ||
75 | ports. | ||
76 | 75 | ||
77 | The binaries available here are made with `clang`, which is the base | 76 | The binaries available here are made with `clang`, which is the base |
78 | system compiler. | 77 | system compiler. |
@@ -91,7 +90,13 @@ Please read first the reference page on this matter: | |||
91 | 90 | ||
92 | 2. Acquire `install-tl-unx.tar.gz` from CTAN as described [on this | 91 | 2. Acquire `install-tl-unx.tar.gz` from CTAN as described [on this |
93 | page](https://tug.org/texlive/acquire-netinstall.html). | 92 | page](https://tug.org/texlive/acquire-netinstall.html). |
94 | - do: | 93 | |
94 | > [NOTE!] | ||
95 | > During the so-called “pretest” phase, that is between February 8, | ||
96 | > and March 8 2025, the TeX Live installer must be retrieved from [one | ||
97 | > of these hosts](https://tug.org/texlive/mirmon). | ||
98 | |||
99 | - do: | ||
95 | 100 | ||
96 | ```sh | 101 | ```sh |
97 | zcat < install-tl-unx.tar.gz | tar xf - | 102 | zcat < install-tl-unx.tar.gz | tar xf - |
@@ -183,7 +188,7 @@ Please read first the reference page on this matter: | |||
183 | `/usr/local/texlive/<yyyy>/bin/amd64-openbsd`: | 188 | `/usr/local/texlive/<yyyy>/bin/amd64-openbsd`: |
184 | 189 | ||
185 | ```sh | 190 | ```sh |
186 | cd /usr/local/texlive/<yyyy>/bin/custom | 191 | cd /usr/local/texlive/<yyyy>/bin |
187 | ln -s custom amd64-openbsd | 192 | ln -s custom amd64-openbsd |
188 | ``` | 193 | ``` |
189 | 194 | ||
@@ -296,7 +301,7 @@ Building the sources | |||
296 | - cmake | 301 | - cmake |
297 | - ninja | 302 | - ninja |
298 | - For asymptote: | 303 | - For asymptote: |
299 | - readline | 304 | - ~~readline~~ |
300 | - freeglut | 305 | - freeglut |
301 | - eigen3 | 306 | - eigen3 |
302 | - py3-cson, py3-qt5 and py3-numpy (run dependencies for `xasy`) | 307 | - py3-cson, py3-qt5 and py3-numpy (run dependencies for `xasy`) |
@@ -306,11 +311,26 @@ Building the sources | |||
306 | ./checkout-tl.sh | 311 | ./checkout-tl.sh |
307 | ``` | 312 | ``` |
308 | 313 | ||
314 | > [NOTE!] | ||
315 | > During the so-called “pretest” phase, that is between February 8, | ||
316 | > and March 8 2025, use this command instead: | ||
317 | > ```sh | ||
318 | > ./checkout-tl.sh dev | ||
319 | > ``` | ||
320 | |||
321 | |||
309 | ### Building | 322 | ### Building |
310 | ```sh | 323 | ```sh |
311 | ./tl-build.sh | 324 | ./tl-build.sh |
312 | ``` | 325 | ``` |
313 | 326 | ||
327 | > [NOTE!] | ||
328 | > During the so-called “pretest” phase, that is between February 8, | ||
329 | > and March 8 2025, use this command instead: | ||
330 | > ```sh | ||
331 | > ./tl-build.sh dev | ||
332 | > ``` | ||
333 | |||
314 | ### Special considerations for biber | 334 | ### Special considerations for biber |
315 | [For the same reasons as in standard TeX | 335 | [For the same reasons as in standard TeX |
316 | Live](https://tug.org/texlive/build.html#biber), `biber` is not | 336 | Live](https://tug.org/texlive/build.html#biber), `biber` is not |
@@ -1,4 +1,4 @@ | |||
1 | TL_YEAR?=2024 | 1 | TL_YEAR?=2025 |
2 | PREFIX?=/usr/local/texlive/${TL_YEAR}/bin/custom | 2 | PREFIX?=/usr/local/texlive/${TL_YEAR}/bin/custom |
3 | BINREPO=https://www.ekdosis.org/texlive | 3 | BINREPO=https://www.ekdosis.org/texlive |
4 | TMPDIR!=mktemp -d | 4 | TMPDIR!=mktemp -d |
diff --git a/patches/patch-source-asymptote-fileio_cc b/patches/patch-source-asymptote-fileio_cc new file mode 100644 index 0000000..15d0a52 --- /dev/null +++ b/patches/patch-source-asymptote-fileio_cc | |||
@@ -0,0 +1,18 @@ | |||
1 | --- fileio.cc Sun Feb 9 11:32:40 2025 | ||
2 | +++ fileio.cc.1 Sun Feb 9 11:27:29 2025 | ||
3 | @@ -421,6 +421,8 @@ | ||
4 | if(errorstream::interrupt) throw interrupted(); | ||
5 | } | ||
6 | |||
7 | +#if HAVE_LIBTIRPC | ||
8 | + | ||
9 | void igzxfile::open() | ||
10 | { | ||
11 | name=locatefile(inpath(name)); | ||
12 | @@ -447,5 +449,6 @@ | ||
13 | processData().ixfile.remove(index); | ||
14 | } | ||
15 | } | ||
16 | +#endif | ||
17 | |||
18 | } // namespace camp | ||
diff --git a/patches/patch-source-clisp-clispver_lispbibl_d b/patches/patch-source-clisp-clispver_lispbibl_d new file mode 100644 index 0000000..2eec681 --- /dev/null +++ b/patches/patch-source-clisp-clispver_lispbibl_d | |||
@@ -0,0 +1,18 @@ | |||
1 | --- src/lispbibl.d.orig 2013-06-17 14:15:17.000000000 +0000 | ||
2 | +++ src/lispbibl.d | ||
3 | @@ -9090,6 +9090,15 @@ All other long words on the LISP-Stack a | ||
4 | #define setSP(adresse) \ | ||
5 | ({ __asm__ __volatile__ ("movel %0,"REGISTER_PREFIX"sp" : : "g" ((aint)(adresse)) : "sp" ); }) | ||
6 | #define FAST_SP | ||
7 | +#elif defined(__clang__) && defined(__x86_64__) | ||
8 | + /* Access to a register-"variable" %rsp */ | ||
9 | + #define SP() \ | ||
10 | + ({var aint __SP; \ | ||
11 | + __asm__ __volatile__ ("movq %%rsp,%0" : "=g" (__SP) : ); \ | ||
12 | + __SP; \ | ||
13 | + }) | ||
14 | + #define setSP(adresse) \ | ||
15 | + ({ __asm__ __volatile__ ("movq %0,%%rsp" : : "g" ((aint)(adresse)) : "sp" ); }) | ||
16 | #elif (defined(GNU) || defined(INTEL)) && defined(I80386) && !defined(NO_ASM) | ||
17 | /* Access to a register-"variable" %esp */ | ||
18 | #define SP() \ | ||
diff --git a/tl-build.sh b/tl-build.sh index b538401..12e0463 100755 --- a/tl-build.sh +++ b/tl-build.sh | |||
@@ -4,6 +4,7 @@ | |||
4 | 4 | ||
5 | this_dir=`pwd` | 5 | this_dir=`pwd` |
6 | tl_sourcedir=${this_dir}/source | 6 | tl_sourcedir=${this_dir}/source |
7 | patch_dir=${this_dir}/patches | ||
7 | 8 | ||
8 | . ${this_dir}/variables.conf | 9 | . ${this_dir}/variables.conf |
9 | 10 | ||
@@ -71,6 +72,7 @@ if [[ ${with_clisp} == "y" ]]; then | |||
71 | $wget https://alpha.gnu.org/gnu/clisp/$clisp_ver.tar.bz2 | 72 | $wget https://alpha.gnu.org/gnu/clisp/$clisp_ver.tar.bz2 |
72 | bunzip2 -dc $clisp_ver.tar.bz2 | tar xf - | 73 | bunzip2 -dc $clisp_ver.tar.bz2 | tar xf - |
73 | cd $clisp_ver | 74 | cd $clisp_ver |
75 | cp ${patch_dir}/patch-source-clisp-clispver_lispbibl_d . && patch < patch-source-clisp-clispver_lispbibl_d | ||
74 | ./configure CPPFLAGS=-DUNIX_BINARY_DISTRIB --prefix=$clisp_toolsdir \ | 76 | ./configure CPPFLAGS=-DUNIX_BINARY_DISTRIB --prefix=$clisp_toolsdir \ |
75 | --without-readline --without-dynamic-modules \ | 77 | --without-readline --without-dynamic-modules \ |
76 | --disable-nls \ | 78 | --disable-nls \ |
@@ -129,8 +131,9 @@ if [[ ${with_asymptote} == "y" ]];then | |||
129 | cd ${tl_sourcedir}/utils/asymptote | 131 | cd ${tl_sourcedir}/utils/asymptote |
130 | ./configure --prefix=/tmp/asyinst --enable-texlive-build \ | 132 | ./configure --prefix=/tmp/asyinst --enable-texlive-build \ |
131 | --enable-static CXXFLAGS=-std=c++11 \ | 133 | --enable-static CXXFLAGS=-std=c++11 \ |
132 | --disable-curl --disable-lsp --disable-gsl --disable-fftw | 134 | --disable-curl --disable-lsp --disable-gsl --disable-fftw --disable-readline --disable-gc |
133 | sed -i.bak -e 's/^LIBS = /LIBS = -static /' Makefile | 135 | sed -i.bak -e 's/^LIBS = /LIBS = -static /' Makefile |
136 | cp ${patch_dir}/patch-source-asymptote-fileio_cc . && patch < patch-source-asymptote-fileio_cc | ||
134 | gmake | 137 | gmake |
135 | strip asy | 138 | strip asy |
136 | fi | 139 | fi |
diff --git a/variables.conf b/variables.conf index 6247164..0cb4bbf 100644 --- a/variables.conf +++ b/variables.conf | |||
@@ -1 +1 @@ | |||
TL_BRANCH=2024 | TL_BRANCH=2025 | ||