Changeset 00a3154 for pst/typesetting/texlive.xml
- Timestamp:
- 04/24/2021 01:38:42 AM (2 years ago)
- Branches:
- 11.0, 11.1, 11.2, 11.3, ken/inkscape-core-mods, lazarus, plabs/python-mods, qt5new, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226
- Children:
- 1715682
- Parents:
- 356e8b5f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/typesetting/texlive.xml
r356e8b5f r00a3154 6 6 <!ENTITY texlive-download-http " "> 7 7 <!ENTITY texlive-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz"> 8 <!ENTITY texlive-md5sum " a5d992e3cb8554ce92c55adde03958ba">8 <!ENTITY texlive-md5sum "19da95538956e26570ef7fb202af258f"> 9 9 <!ENTITY texlive-size "53 MB"> 10 10 11 <!ENTITY texlive-buildsize "8. 5 GB including the additional download and the tests, 6.4GB installed">12 <!ENTITY texlive-time " 5.8SBU including the additional download and the tests, building with parallelism=4">11 <!ENTITY texlive-buildsize "8.1 GB including the additional download and the tests, 7.0 GB installed"> 12 <!ENTITY texlive-time "4.2 SBU including the additional download and the tests, building with parallelism=4"> 13 13 14 14 <!ENTITY texlive-texmf-download-http " "> 15 15 <!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texmf-version;-texmf.tar.xz"> 16 <!ENTITY texlive-texmf-md5sum " bca40df2ff11269fbcb2d1b4ff0278b1">17 <!ENTITY texlive-texmf-size "3. 0GB">16 <!ENTITY texlive-texmf-md5sum "2426a62e43f8b07397ef2dd8367e0465"> 17 <!ENTITY texlive-texmf-size "3.3 GB"> 18 18 19 19 <!ENTITY texlive-tlpdb-download-http " "> 20 20 <!ENTITY texlive-tlpdb-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&tex-tlpdb-version;-tlpdb-full.tar.gz"> 21 <!ENTITY texlive-tlpdb-md5sum " d8cd997c1bba422b30c9bc225e508794">22 <!ENTITY texlive-tlpdb-size " 2.9MB">21 <!ENTITY texlive-tlpdb-md5sum "af0240961ecd28be5fd30d0e99b341d5"> 22 <!ENTITY texlive-tlpdb-size "3.0 MB"> 23 23 24 24 ]> … … 169 169 </listitem> 170 170 171 <!--<listitem>171 <listitem> 172 172 <para> 173 173 Required patch: <ulink url= 174 "&patch-root;/texlive-&texlive-version;- source-upstream_fixes-1.patch"/>175 </para> 176 </listitem> -->174 "&patch-root;/texlive-&texlive-version;-upstream_fixes-1.patch"/> 175 </para> 176 </listitem> 177 177 </itemizedlist> 178 178 … … 223 223 <caution> 224 224 <para> 225 The instructions here for dealing with <application>poppler</application> 226 will only work with versions of poppler used in BLFS-9.1 and later, i.e. 227 poppler >= 0.83.0. If you wish to upgrade an older system, there 228 are versions of <filename>pdftoepdf{,-poppler*}.cc</filename> and 229 <filename>pdftosrc{,-newpoppler,-poppler*}.cc</filename> in <filename 230 class="directory">texk/web2c/pdftexdir</filename>. You should establish 231 which version of <application>poppler</application> is installed and use 232 the appropriate versions of these files. 233 </para> 234 235 <para> 236 Similarly, if you wish to upgrade to current <application>texlive</application> 225 If you wish to upgrade to current <application>texlive</application> 237 226 on an older system where extra packages (<application>asymptote</application>. 238 227 <application>biber</application>, <application>dvisvgm</application> or … … 257 246 EOF</userinput></screen> 258 247 259 <para>260 <application>TexLive</application> ships with a very old version of261 <application>poppler</application>, and some updated files for newer versions.262 To use the system version, first identify it and then copy the correct263 versions of the updated files (please read the Caution above):264 </para>265 266 <!-- on a release, drop this back to current version but update the267 Caution above and ideally keep this commented, every other (expletive268 deleted) poppler update tends to break this. Fortunately, upstream269 has deleted the poppler directory from their source in270 https://tug.org/svn/texlive?view=revision&revision=55138271 so from TL2021 this aggravation should be gone. -->272 <screen><userinput>SYSPOP= &&273 MYPOPPLER_MAJOR=$(pkg-config --modversion poppler | cut -d '.' -f1)274 if [ "$MYPOPPLER_MAJOR" = "0" ]; then275 # if major was >=20, minor could start with 0 and not fit in octal276 # causing error from 'let' in bash.277 let MYPOPPLER_MINOR=$(pkg-config --modversion poppler | cut -d '.' -f2)278 else279 # force a value > 85280 let MYPOPPLER_MINOR=99281 fi282 if [ "$MYPOPPLER_MINOR" -lt 85 ]; then283 # BLFS-9.1 uses 0.85.0, ignore earlier versions in this script.284 # If updating texlive on an older system, review the available285 # variants for pdftoepdf and pdftosrc to use system poppler.286 SYSPOP=287 else288 SYSPOP="--with-system-poppler --with-system-xpdf"289 if [ "$MYPOPPLER_MINOR" -lt 86 ]; then290 mv -v texk/web2c/pdftexdir/pdftoepdf{-poppler0.83.0,}.cc291 else # 0.86.0 or later, including 20.08.0.292 mv -v texk/web2c/pdftexdir/pdftoepdf{-poppler0.86.0,}.cc293 fi294 # For pdftosrc BLFS-9.1 uses 0.83.0 and that is the latest variant.295 mv -v texk/web2c/pdftexdir/pdftosrc{-poppler0.83.0,}.cc296 fi &&297 export SYSPOP &&298 unset MYPOPPLER_{MAJOR,MINOR}</userinput></screen>299 300 248 <note> 301 249 <para> … … 309 257 Now, as a normal user: 310 258 </para> 311 <!-- after the export! 312 patch -Np1 -i ../texlive-&texlive-version;-source-upstream_fixes-1.patch &&--> 313 <screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') && 259 260 <screen><userinput>export TEXARCH=$(uname -m | 261 sed -e 's/i.86/i386/' -e 's/$/-linux/') && 262 patch -Np1 -i ../texlive-&texlive-version;-upstream_fixes-1.patch && 314 263 315 264 mkdir texlive-build && 316 265 cd texlive-build && 317 266 318 ../configure \ 319 --prefix=/opt/texlive/&texlive-year; \ 320 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \ 321 --datarootdir=/opt/texlive/&texlive-year; \ 322 --includedir=/opt/texlive/&texlive-year;/include \ 323 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \ 324 --libdir=/opt/texlive/&texlive-year;/lib \ 325 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \ 326 --disable-native-texlive-build \ 327 --disable-static --enable-shared \ 328 --disable-dvisvgm \ 329 --with-system-cairo \ 330 --with-system-fontconfig \ 331 --with-system-freetype2 \ 332 --with-system-gmp \ 333 --with-system-graphite2 \ 334 --with-system-harfbuzz \ 335 --with-system-icu \ 336 --with-system-libgs \ 337 --with-system-libpaper \ 338 --with-system-libpng \ 339 --with-system-mpfr \ 340 --with-system-pixman \ 341 ${SYSPOP} \ 342 --with-system-zlib \ 267 ../configure \ 268 --prefix=/opt/texlive/&texlive-year; \ 269 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \ 270 --datarootdir=/opt/texlive/&texlive-year; \ 271 --includedir=/opt/texlive/&texlive-year;/include \ 272 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \ 273 --libdir=/opt/texlive/&texlive-year;/lib \ 274 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \ 275 --disable-native-texlive-build \ 276 --disable-static --enable-shared \ 277 --disable-dvisvgm \ 278 --with-system-cairo \ 279 --with-system-fontconfig \ 280 --with-system-freetype2 \ 281 --with-system-gmp \ 282 --with-system-graphite2 \ 283 --with-system-harfbuzz \ 284 --with-system-icu \ 285 --with-system-libgs \ 286 --with-system-libpaper \ 287 --with-system-libpng \ 288 --with-system-mpfr \ 289 --with-system-pixman \ 290 --with-system-zlib \ 343 291 --with-banner-add=" - BLFS" && 344 292 345 make && 346 unset SYSPOP</userinput></screen> 347 348 <para> 349 To test the results, issue: <command>make -k check</command>. 350 One of the Kpathsea tests will fail because BLFS uses system 351 libraries. 352 <!-- https://tug.org/pipermail/tex-k/2019-August/003036.html --> 293 make</userinput></screen> 294 295 <para> 296 To test the results, issue: <command>make check</command>. 353 297 </para> 354 298 … … 384 328 385 329 <para> 330 It has been established by debian that the <command>python</command> 331 scripts in <filename class="directory">latex-make</filename> will work 332 with <command>python3</command>, so update them to invoke that by running 333 the following command as the <systemitem class="username">root</systemitem> 334 user: 335 </para> 336 337 <screen role="root"><userinput>for F in /opt/texlive/&texlive-year;/texmf-dist/scripts/latex-make/*.py ; do 338 sed -i 's%/usr/bin/env python%/usr/bin/python3%' $F 339 done 340 </userinput></screen> 341 342 <para> 386 343 Still as the <systemitem class="username">root</systemitem> user, 387 344 initialise the new system (the commands <command>fmtutil-sys … … 409 366 <title>Command Explanations</title> 410 367 411 <!--<para> 368 <para> 369 <!-- https://tug.org/pipermail/tlbuild/2021q2/004885.html --> 412 370 <command>patch -Np1 -i ../texlive-&texlive-version;-source-upstream_fixes-1.patch</command>: 413 various problems have come to light since the shipped source was frozen to414 be committed to DVDs.415 </para> -->371 A small update to mpost and LuaTeX caused the binaries to be rebuilt. 372 This ptch applies the same fixes. 373 </para> 416 374 417 375 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.