blob: 0eff28a55b7b89913cbe887a20240c887994afb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
TeX Live for *Open*BSD
======================
There are two ways of using TeX Live in OpenBSD.
1. From ports. TeX Live is available in variety of “schemes” to wit
different sets of package collections, of which a list can be found
on
[openports.pl](https://openports.pl/search?file=&pkgname=texlive).[^1]
2. By installing the “native” TeX Live over the internet, as described
on [its home page](https://tug.org/texlive). This latter method
facilitates the installation of new packages and the updating of
existing ones. However, the binaries for OpenBSD are not currently
part of the official TeX Live distribution. The reason for this is
that the TeX Live binaries are published once a year while the
OpenBSD system undergoes two updates a year.
This page provides an easy way to build one's own TeX Live binaries
for OpenBSD—either -stable or -current—through a simple script which
is nothing but an adapted version of the one used to build TeX Live
for the supported systems.[^2]
Furthermore, *TeX Live for OpenBSD* provides ready-to-use binary sets
for those who do not wish to compile their own.
In addition to the standard binaries supported by TeX Live, TeX Live
for OpenBSD provides the following:
- xindy
- LuaMetaTeX (ConTeXt)
- asymptote
biber will soon be added to this list.
Installing TeX Live on OpenBSD with ready-to-use binaries
---------------------------------------------------------
Please read first the reference page on this matter:
<https://tug.org/texlive/custom-bin.html>.
1. Requirements:
- curl
- gpg
- xz
- p5-Tk
2. Import the public key used to sign the archive:
```sh
gpg --keyserver pgp.mit.edu --recv 1773E9248085C8C7
```
3. Clone this git repository and fetch the binaries:
```sh
git clone https://git.sr.ht/~ralessi/texlive-openbsd
cd texlive-openbsd
make fetch
```
or
```sh
git clone https://git.robertalessi.net/texlive-openbsd
cd texlive-openbsd
make fetch
```
4. Proceed with TL installation, as per the instructions displayed on
the terminal.
### All by hand
Direct link to the binaries: <https://www.ekdosis.org/texlive>.
Updating the binaries over the course of the year
-------------------------------------------------
The requirements are the same as above. (Make sure you already have
imported the public key used to sign the archives.)
1. Go to the directory where the texlive-openbsd git repository was
cloned, then do:
```sh
git pull
make
```
2. Proceed as per the instructions displayed on the terminal.
Alternatively, the direct link to the binaries provided above can be
used.
Building the sources
--------------------
### References
- General information: <https://tug.org/texlive/build.html>
- Building GNU CLISP for xindy:
<https://tug.org/svn/texlive/trunk/Build/source/utils/README?view=markup>
### Requirements
- For texlive
- git
- gmake
- rsync
- subversion
- wget
- curl
- For context:
- cmake
- ninja
- For asymptote:
- freeglut
- readline
- eigen3
### Getting the sources
```sh
./checkout-tl.sh
```
### Building
```sh
./tl-build.sh
```
Acknowledgements
----------------
Special thanks go to the following people for their work and kind
advice: Karl Berry, Nelson H. F. Beebe, Norbert Preining and Mojca
Miklavec.
Notes
-----
[^1]: More information on how TL is built for OpenBSD here:
<https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/print/texlive>
[^2]: See <https://tug.org/texlive/build.html>. The `Build` script can
be found here: <https://tug.org/svn/texlive/trunk/Build/source>.
|