Gentoo Archives: gentoo-dev

From: Andrey Grozin <grozin@×××××××××××××××××.org>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] LaTeX documentation
Date: Mon, 12 May 2008 21:23:31
Message-Id: Pine.LNX.4.64.0805121736190.740@woodpecker.gentoo.org
1 Hello *,
2
3 Many packages have documentation in LaTeX, and latex is being run (often
4 when USE=doc). This may cause a sandbox violation, if a font not yet
5 generated on this particular computer is encountered: latex calls metafont
6 to generate it, and metafont wants to write it to /var/cache/fonts (and
7 its subdirectories). The worst thing is that this bug is unpredictable: if
8 only commonly-used fonts are encountered, they are already in
9 /var/cache/fonts, and everything is OK; on some other computer, the same
10 package can produce a sandbox violation.
11
12 There are two methods commonly used to fight against this situation in
13 ebuilds: using addwrite or setting VARTEXFONTS="${T}/fonts". The second
14 method is, probably, better. The packages still using addwrite are:
15
16 app-doc/doxygen
17 app-office/kletterwizard
18 app-text/noweb
19 dev-lisp/cl-mcclim
20 dev-python/pyopenssl
21 dev-tex/feynmf
22 dev-tex/memoir
23 media-gfx/asymptote
24 media-libs/t1lib
25 media-libs/allegro
26 sci-chemistry/moldy
27 sci-mathematics/pari
28 sci-visualization/pyxplot
29
30 Probably, it would be a good idea to change these ebuilds.
31
32 The packages using the VARTEXFONTS method are
33
34 app-emulation/wine
35 app-text/jadetex
36 app-text/linuxdoc-tools
37 dev-lang/R
38 dev-tex/listings
39 dev-tex/texpower
40 dev-tex/envlab
41 dev-tex/bibtex2html
42 dev-tex/xcolor
43 dev-tex/latex2rtf
44 dev-tex/mh
45 media-libs/libcaca
46 media-libs/libdvdcss
47 media-libs/aubio
48 media-libs/libfishsound
49 sci-mathematics/octave
50 sci-visualization/gnuplot
51
52 Two of them convertex just recently: app-text/jadetex between 3.13-r1 and
53 3.13-r2, and dev-tex/listings between 1.3 and 1.4. Good for them.
54
55 Most disturbingly, there are a number of packages which (probably) run
56 latex and do neither addwrite nor VARTEXFONTS. An incomplete list of such
57 suspect packages is (for now, I only considered packages not directly
58 related to TeX/LaTeX, i.e., not in dev-tex or dev-texlive and not
59 TeX/LaTeX packages in app-text):
60
61 app-backup/bacula
62 app-emacs/pymacs
63 app-emacs/slime
64 app-emulation/xen-tools
65 app-i18n/canna
66 app-misc/tdl
67 app-misc/fdutils
68 dev-ada/xmlada
69 dev-ada/asis-gcc
70 dev-ada/asis-gpl
71 dev-embedded/avrdude
72 dev-haskell/lhs2tex (*)
73 dev-lang/mlton
74 dev-lang/mmix
75 dev-libs/beecrypt
76 dev-libs/libtomcrypt
77 dev-lisp/gcl
78 dev-lisp/cl-cffi
79 dev-lisp/cl-cgi-utils
80 dev-lisp/cl-iterate/cl-iterate-1.4 (**)
81 dev-lisp/cl-tclink (***)
82 dev-lisp/cl-xml-psychiatrist
83 dev-lisp/clisp
84 dev-python/python-xlib
85 dev-python/pyx
86 dev-tcltk/tkzinc
87 dev-tinyos/tos
88 dev-util/bnfc
89 dev-util/ragel
90 dev-util/darcs
91 games-board/freedoko
92 media-gfx/sane-backends
93 media-sound/musescore (****)
94 media-video/dirac
95 net-analyzer/ns
96 net-analyzer/sonar
97 net-dialup/mgetty
98 sci-biology/wise
99 sci-libs/netcdf
100 sci-libs/pgplot
101 sci-mathematics/axiom
102 sci-mathematics/ginac
103 sci-mathematics/nusmv
104 sci-misc/gri
105 sci-misc/nco
106 sys-block/btrace
107 sys-cluster/mpich2
108 sys-cluster/pvfs2
109 sys-cluster/charm
110 sys-power/apcupsd
111 sys-power/powersave
112
113 (*) By the way, here a .pdf file is installed using dodoc, and hence will
114 be bzip2ed - not a goog idea
115
116 (**) but not later versions
117
118 (***) The only place where the USE flag "doc" is used commented out???
119
120 (****) USE flag "doc" never used??
121
122 These are (potentially) bombs waiting to blow up an unsuspecting user.
123 They should be carefully checked.
124
125 By the way, while investigating this question, I found quite a few
126 packages which still depend on virtual/tetex, while, probably,
127 virtual/latex-base would be better (in some of them, the USE flag tetex
128 then should become latex). Some suspects are:
129
130 app-doc/doxygen
131 app-emacs/slime
132 app-misc/tdl
133 app-misc/fdutils
134 app-misc/muttprint
135 app-misc/chesstask
136 app-office/eqe
137 app-office/texmaker
138 app-office/grisbi
139 app-office/kletterwizard
140 app-text/a2ps
141 app-text/dvipdfmx
142 app-text/noweb
143 app-text/active-dvi
144 app-text/evince
145 app-text/pdfjam
146 app-text/passivetex
147 app-text/kbibtex
148 app-vim/latexsuite
149 dev-ada/asis-gpl
150 dev-embedded/avrdude
151 dev-haskell/lhs2tex
152 dev-lang/mmix
153 dev-libs/libtomcrypt
154 dev-lisp/cl-mcclim
155 dev-lisp/cl-cgi-utils
156 dev-lisp/cl-iterate
157 dev-lisp/clisp
158 dev-lisp/cl-tclink
159 dev-lisp/cl-cffi
160 dev-perl/Template-Latex
161 dev-python/pyx
162 dev-python/epydoc
163 dev-tcltk/tkzinc
164 dev-tinyos/tos
165 dev-util/bnfc
166 dev-util/ragel
167 dev-util/darcs
168 games-board/freedoko
169 kde-base/kdvi
170 kde-base/kopete
171 media-gfx/asymptote
172 media-libs/vflib
173 media-libs/allegro
174 media-sound/musescore
175 net-analyzer/ns
176 net-analyzer/sonar
177 net-dialup/mgetty
178 sci-biology/wise
179 sci-chemistry/moldy
180 sci-electronics/gnucap
181 sci-geosciences/gpsbabel
182 sci-libs/libcore
183 sci-libs/pgplot
184 sci-libs/itpp
185 sci-mathematics/pari
186 sci-mathematics/nusmv
187 sci-misc/gri
188 sci-physics/jaxodraw
189 sci-physics/paw
190 sci-physics/cernlib
191 sci-physics/cernlib-montecarlo
192 sci-physics/geant
193 sci-visualization/pyxplot
194 sys-block/btrace
195 sys-cluster/mpich2
196 sys-cluster/charm
197 sys-power/apcupsd
198 sys-power/powersave
199 www-apps/mediawiki
200 www-servers/boa
201 x11-plugins/pidgin-latex
202
203 (I have not checked in detail, maybe, some of them indeed need tetex).
204
205 What do you think?
206
207 Andrey
208 --
209 gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] LaTeX documentation Alexis Ballier <aballier@g.o>
Re: [gentoo-dev] LaTeX documentation Ulrich Mueller <ulm@g.o>
Re: [gentoo-dev] LaTeX documentation Patrick Kursawe <phosphan@g.o>
[gentoo-dev] Re: LaTeX documentation Ali Polatel <hawking@g.o>
[gentoo-dev] Re: LaTeX documentation Christian Faulhammer <opfer@g.o>