diff options
author | Robert Alessi <alessi@robertalessi.net> | 2024-02-26 17:31:42 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2024-02-26 17:31:42 +0100 |
commit | 130a2c76d25fc5391afe39acad210f343b519b25 (patch) | |
tree | c2b96362e05cddebe9472d3f46b8b30ca12b0202 | |
parent | 9834714aac40919aaa47ed9db9b41c223403407b (diff) | |
download | texlive-openbsd-130a2c76d25fc5391afe39acad210f343b519b25.tar.gz |
a missing cd in the makefile
-rw-r--r-- | README.md | 51 | ||||
-rwxr-xr-x | tl-build.sh | 10 |
2 files changed, 40 insertions, 21 deletions
@@ -1,27 +1,46 @@ | |||
1 | How to Build texlive binaries for OpenBSD | 1 | TeX Live for OpenBSD |
2 | ----------------------------------------- | 2 | =================== |
3 | 3 | ||
4 | ### References | 4 | There are two ways to use TeX Live in OpenBSD. |
5 | |||
6 | 1. From ports. TeX Live is available in variety of “schemes” to wit | ||
7 | different sets of package collections. A list can be found on the | ||
8 | [openports.pl](https://openports.pl/search?file=&pkgname=texlive) | ||
9 | website.[^1] | ||
10 | |||
11 | References | ||
12 | ---------- | ||
5 | - General information: <https://tug.org/texlive/build.html> | 13 | - General information: <https://tug.org/texlive/build.html> |
6 | - Building GNU CLISP for xindy: | 14 | - Building GNU CLISP for xindy: |
7 | <https://tug.org/svn/texlive/trunk/Build/source/utils/README?view=markup> | 15 | <https://tug.org/svn/texlive/trunk/Build/source/utils/README?view=markup> |
8 | 16 | ||
9 | ### Requirements | 17 | Requirements |
10 | - git | 18 | ------------ |
11 | - gmake | 19 | - For texlive |
12 | - rsync | 20 | - git |
13 | - subversion | 21 | - gmake |
14 | - wget | 22 | - rsync |
15 | - curl | 23 | - subversion |
16 | - for context: | 24 | - wget |
25 | - curl | ||
26 | - For context: | ||
17 | - cmake | 27 | - cmake |
18 | - ninja | 28 | - ninja |
19 | - for asymptote: | 29 | - For asymptote: |
20 | - freeglut | 30 | - freeglut |
21 | - readline | 31 | - readline |
22 | 32 | ||
23 | ### Getting the sources | 33 | Getting the sources |
24 | Run `checkout-tl.sh` | 34 | ------------------- |
35 | ```sh | ||
36 | checkout-tl.sh | ||
37 | ``` | ||
38 | |||
39 | Building the binaries | ||
40 | --------------------- | ||
41 | ```sh | ||
42 | tl-build.sh | ||
43 | ``` | ||
25 | 44 | ||
26 | ### Building the binaries | 45 | [^1]: More information on how TL is built for OpenBSD here: |
27 | Run `tl-build.sh` | 46 | <https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/print/texlive> |
diff --git a/tl-build.sh b/tl-build.sh index 73c5184..ac30032 100755 --- a/tl-build.sh +++ b/tl-build.sh | |||
@@ -81,7 +81,7 @@ fi | |||
81 | 81 | ||
82 | # Build Asymptote | 82 | # Build Asymptote |
83 | if [[ ${with_asymptote} == "y" ]];then | 83 | if [[ ${with_asymptote} == "y" ]];then |
84 | cd source/utils/asymptote | 84 | cd ${tl_sourcedir}/utils/asymptote |
85 | ./configure --prefix=/tmp/asyinst --enable-texlive-build \ | 85 | ./configure --prefix=/tmp/asyinst --enable-texlive-build \ |
86 | --enable-static CXXFLAGS=-std=c++11 \ | 86 | --enable-static CXXFLAGS=-std=c++11 \ |
87 | --disable-curl --disable-lsp --disable-gsl --disable-fftw | 87 | --disable-curl --disable-lsp --disable-gsl --disable-fftw |
@@ -97,9 +97,9 @@ if [[ ${build_tl} == "y" ]]; then | |||
97 | ./Build ${enable_xindy} | 97 | ./Build ${enable_xindy} |
98 | if [[ ${with_context} == "y" ]]; then | 98 | if [[ ${with_context} == "y" ]]; then |
99 | cd ${tl_sourcedir} | 99 | cd ${tl_sourcedir} |
100 | tl_bindir=$tl_sourcedir/inst/bin/`ls ${tl_sourcedir}/inst/bin` | 100 | tl_bindir=${tl_sourcedir}/inst/bin/`ls ${tl_sourcedir}/inst/bin` |
101 | cp luametatex-$context_ver/build/native/luametatex $tl_bindir | 101 | cp luametatex-$context_ver/build/native/luametatex $tl_bindir |
102 | cd $tl_bindir | 102 | cd ${tl_bindir} |
103 | ln -s luametatex context | 103 | ln -s luametatex context |
104 | ln -s luametatex mtxrun | 104 | ln -s luametatex mtxrun |
105 | ln -s ../../texmf-dist/scripts/context/lua/context.lua context.lua | 105 | ln -s ../../texmf-dist/scripts/context/lua/context.lua context.lua |
@@ -107,8 +107,8 @@ if [[ ${build_tl} == "y" ]]; then | |||
107 | fi | 107 | fi |
108 | if [[ ${with_asymptote} == "y" ]];then | 108 | if [[ ${with_asymptote} == "y" ]];then |
109 | cd ${tl_sourcedir} | 109 | cd ${tl_sourcedir} |
110 | tl_bindir=$tl_sourcedir/inst/bin/`ls ${tl_sourcedir}/inst/bin` | 110 | tl_bindir=${tl_sourcedir}/inst/bin/`ls ${tl_sourcedir}/inst/bin` |
111 | cp utils/asymptote/asy ${tl_sourcedir}/inst/bin | 111 | cp utils/asymptote/asy ${tl_bindir} |
112 | cd ${tl_bindir} | 112 | cd ${tl_bindir} |
113 | ln -s ../../texmf-dist/asymptote/GUI/xasy.py xasy | 113 | ln -s ../../texmf-dist/asymptote/GUI/xasy.py xasy |
114 | fi | 114 | fi |