[Lunar-commits] <moonbase-other> texlive: bump to 20140525. If POST_INSTALL starts asking you questions and complaining about
Dennis Veatch
dennisveatch at bellsouth.net
Sat Sep 27 14:44:48 CEST 2014
commit 7151da7b981d3d3b85043d86f521a89369705c3f
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Sat, 27 Sep 2014 08:43:37 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/7151da7b981d3d3b85043d86f521a89369705c3f
texlive: bump to 20140525. If POST_INSTALL starts asking you questions and complaining about
stuff, then lin psutils and/or luatex.
---
doc-tools/texlive/BUILD | +0/-45
doc-tools/texlive/DEPENDS | +10/-2
doc-tools/texlive/DETAILS | +4/-5
doc-tools/texlive/POST_INSTALL | +2/-2
doc-tools/texlive/PRE_BUILD | +79/-0
5 files changed, 95 insertions(+), 54 deletions(-)
--- a/doc-tools/texlive/BUILD
+++ b/doc-tools/texlive/BUILD
@@ -1,46 +1,3 @@
-(
-
- # Use /usr/share as root
- sedit 's:^\(TEXMFROOT = \)\$SELFAUTOPARENT:\1 /usr/share:' texk/kpathsea/texmf.cnf &&
- sedit 's:^\(TEXMFLOCAL = \).*$:\1 \$TEXMFROOT/texmf-local:' texk/kpathsea/texmf.cnf &&
-
- # Fonts dir
- sedit 's:^\(OSFONTDIR =\).*:\1 /usr/share/fonts:' texk/kpathsea/texmf.cnf &&
-
- # Use /usr/share/texmf and /usr/share/texmf-dist
- find -name Makefile\* -print0 | xargs -0 sed -i -e "s:\${prefix}/texmf:\${datadir}/texmf:" &&
- find -name configure -print0 | xargs -0 sed -i -e "s:\${prefix}/texmf:\${datadir}/texmf:" &&
- find -name \*.info -print0 | xargs -0 sed -i -e "s:/usr/local:/usr:" &&
- find -name \*.texi -print0 | xargs -0 sed -i -e "s:/usr/local:/usr:" &&
- find -name \*.synctex -print0 | xargs -0 sed -i -e "s:/usr/local:/usr:" &&
- sed -i -e "s:\$(DESTDIR)\$(texconfigdir):/usr/share/texmf/texconfig:g" -e "s:\$(DESTDIR)\$(texconfdir):/usr/share:g" texk/tetex/Makefile.* &&
-
- # Direct symlinks from /usr/bin/ into /usr/*share*/texmf... rather than /usr/texmf...
- find -name Makefile\* -print0 | xargs -0 sed -i -e "s:\$(REL):/usr/share:" &&
- sedit "s:\${prefix}/\$(tex:/usr/share/\$(tex:" texk/tex4htk/Makefile* &&
-
- # Prevent the ridiculous behaviour of deleting, then trying to replace, /usr/bin/man
- sedit "s:rm -f man:true:" texk/texlive/linked_scripts/Makefile* &&
- sedit "s:ln -s /usr/share/texmf/doc/man man:true:" texk/texlive/linked_scripts/Makefile* &&
-
- # Fix symlinks in /usr/share/man/man1/
- sed -i -e "s:link\.1:link\.1\.gz:g" -e "s:file\.1:file\.1\.gz:g" {texk/kpathsea/man,texk/tetex,texk/web2c/man}/Makefile.{am,in} &&
- sed -i -e "s:dvilj2p.1 dvilj4.1 dvilj4l.1 dvilj6.1:dvilj2p.1.gz dvilj4.1.gz dvilj4l.1.gz dvilj6.1.gz:1" -e "s:LN_S) dvilj\.1:LN_S) dvilj.1.gz:" texk/dviljk/Makefile.{am,in} &&
-
- # Fix 64-bit XeTeX - http://bugs.gentoo.org/show_bug.cgi?id=356701
- sedit "/^#define __XETEXEXT_H/a#include <w2c\/c-auto.h>" texk/web2c/xetexdir/XeTeX_ext.h &&
-
- # Hide warnings about being unable to find its own config files
- export KPATHSEA_WARNING=0 &&
-
- # Some options are from http://www.gentoo-portage.com/app-text/texlive-core
- # and http://repos.archlinux.org/wsvn/packages/texlive-bin/trunk/
- # xindy should be in its own module, because its compilation needs latex to be *already* installed.
- # luatex and psutils are individual modules.
- OPTS+=" --datadir=/usr/share --disable-multiplatform --disable-native-texlive-build --with-gs=gs --disable-xindy --enable-etex --disable-luatex --disable-psutils --enable-xetex --enable-ipc --enable-shared --disable-static --with-system-zlib --with-system-zziplib --with-system-libpng --with-system-gd --with-system-t1lib --with-system-teckit --with-teckit-includes=/usr/include/teckit --with-system-freetype2 --disable-t1utils --disable-lcdf-typetools" &&
-
- # the etex binary is _not_ compatible with pdftex
- sedit "s:^etex pdftex:etex etex:" texk/tetex/fmtutil.cnf &&
# They warn an in source build is a very bad idea, so
mkdir tex-build &&
@@ -54,5 +11,3 @@
# Idea from http://projects.archlinux.org/svntogit/packages.git/tree/texlive-bin/trunk/
install -m644 $SOURCE_CACHE/$SOURCE2 /etc/fonts/conf.d/09-texlive-fonts.conf
-
-) > $C_FIFO 2>&1
--- a/doc-tools/texlive/DEPENDS
+++ b/doc-tools/texlive/DEPENDS
@@ -1,14 +1,22 @@
+depends zlib
+depends zziplib
+depends libpng
+depends fontconfig
+depends pixman
+depends icu4c
+depends harfbuzz
+depends graphite2
+depends cairo
+depends poppler
depends ed
depends w3c-libwww
depends texlive-texmf
depends gd
depends psutils
-depends zziplib
depends t1lib
depends TECkit
depends t1utils
depends lcdf-typetools
-depends libpng
# Needed to run fmtutil-sys in POST_INSTALL
depends luatex
--- a/doc-tools/texlive/DETAILS
+++ b/doc-tools/texlive/DETAILS
@@ -1,15 +1,14 @@
MODULE=texlive
- VERSION=20120701
- SOURCE=$MODULE-$VERSION-source.tar.xz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION-source
+ VERSION=20140525-source
+ SOURCE=$MODULE-$VERSION.tar.xz
SOURCE2=texlive-20100722-09-texlive-fonts.conf
SOURCE_URL=ftp://tug.org/historic/systems/texlive/${VERSION:0:4}
SOURCE2_URL=$PATCH_URL
- SOURCE_VFY=sha1:e41ef31eba27891f3434e01638d3559cc6958016
+ SOURCE_VFY=sha1:8cb283ad26b1fe18e1089820cf64ecc63d8224e8
SOURCE2_VFY=sha1:a36517f4250915b011740c7790fba749fde3aaff
WEB_SITE=http://www.tug.org/texlive/
ENTERED=20100805
- UPDATED=20121001
+ UPDATED=20140927
SHORT="TeX distribution that includes web2c, pdfTeX, e-Tex and more"
# Text from http://www.tug.org/texlive/
--- a/doc-tools/texlive/POST_INSTALL
+++ b/doc-tools/texlive/POST_INSTALL
@@ -1,9 +1,9 @@
# Create symlinks in /usr/bin/, for e.g. pdflatex and lualatex.
# Is not inside BUILD, to prevent /usr/bin/lualatex dual-ownership.
-texlinks -q --cnffile /usr/share/texmf/web2c/fmtutil.cnf
+texlinks -q --cnffile /usr/share/texmf-dist/web2c/fmtutil.cnf
# Fixes "can't find foo.{tex,sty}" errors
-mktexlsr --quiet
+mktexlsr --quiet
# From http://tug.org/pipermail/tlbuild/2010q2/001606.html
# Comments out comicvn.map and mscorevn.map from /usr/share/texmf-config/web2c/updmap.cfg
--- /dev/null
+++ b/doc-tools/texlive/PRE_BUILD
@@ -0,0 +1,79 @@
+
+ default_pre_build &&
+
+ # Use /usr/share as root
+ sedit 's:^\(TEXMFROOT = \)\$SELFAUTOPARENT:\1 /usr/share:' texk/kpathsea/texmf.cnf &&
+ sedit 's:^\(TEXMFLOCAL = \).*$:\1 \$TEXMFROOT/texmf-local:' texk/kpathsea/texmf.cnf &&
+
+ # Fonts dir
+ sedit 's:^\(OSFONTDIR =\).*:\1 /usr/share/fonts:' texk/kpathsea/texmf.cnf &&
+
+ # Use /usr/share/texmf and /usr/share/texmf-dist
+ find -name Makefile\* -print0 | xargs -0 sed -i -e "s:\${prefix}/texmf:\${datadir}/texmf:" &&
+ find -name configure -print0 | xargs -0 sed -i -e "s:\${prefix}/texmf:\${datadir}/texmf:" &&
+ find -name \*.info -print0 | xargs -0 sed -i -e "s:/usr/local:/usr:" &&
+ find -name \*.texi -print0 | xargs -0 sed -i -e "s:/usr/local:/usr:" &&
+ find -name \*.synctex -print0 | xargs -0 sed -i -e "s:/usr/local:/usr:" &&
+ sed -i -e "s:\$(DESTDIR)\$(texconfigdir):/usr/share/texmf/texconfig:g" -e "s:\$(DESTDIR)\$(texconfdir):/usr/share:g" texk/texlive/tl_scripts/Makefile.* &&
+
+ # Direct symlinks from /usr/bin/ into /usr/*share*/texmf... rather than /usr/texmf...
+ find -name Makefile\* -print0 | xargs -0 sed -i -e "s:\$(REL):/usr/share:" &&
+ sedit "s:\${prefix}/\$(tex:/usr/share/\$(tex:" texk/tex4htk/Makefile* &&
+
+ # Prevent the ridiculous behaviour of deleting, then trying to replace, /usr/bin/man
+ sedit "s:rm -f man:true:" texk/texlive/linked_scripts/Makefile* &&
+ sedit "s:ln -s /usr/share/texmf/doc/man man:true:" texk/texlive/linked_scripts/Makefile* &&
+
+ # Fix symlinks in /usr/share/man/man1/
+ sed -i -e "s:link\.1:link\.1\.gz:g" -e "s:file\.1:file\.1\.gz:g" {texk/kpathsea/man,texk/texlive/tl_scripts,texk/web2c/man}/Makefile.{am,in} &&
+ sed -i -e "s:dvilj2p.1 dvilj4.1 dvilj4l.1 dvilj6.1:dvilj2p.1.gz dvilj4.1.gz dvilj4l.1.gz dvilj6.1.gz:1" -e "s:LN_S) dvilj\.1:LN_S) dvilj.1.gz:" texk/dviljk/Makefile.{am,in} &&
+
+ # Fix 64-bit XeTeX - http://bugs.gentoo.org/show_bug.cgi?id=356701
+ sedit "/^#define __XETEXEXT_H/a#include <w2c\/c-auto.h>" texk/web2c/xetexdir/XeTeX_ext.h &&
+
+ # Hide warnings about being unable to find its own config files
+ export KPATHSEA_WARNING=0 &&
+
+ # Some options are from http://www.gentoo-portage.com/app-text/texlive-core
+ # and http://repos.archlinux.org/wsvn/packages/texlive-bin/trunk/
+ # xindy should be in its own module, because its compilation needs latex to be *already* installed.
+ # luatex and psutils are individual modules.
+ # psutils is disabled here, it is provided by its own module using the same texlive tarball.
+ # t1utils is disabled here, it has its own module and ditto for lcdf-typetools.
+ # since a lot of am and in files get a sed thought it would be a good idea to run its provided reautoconf.
+ # Doing so almost doubles the compile time with it spent traversing the whole tree.
+ # ./reautoconf &&
+ OPTS+=" --build=$BUILD \
+ --host=$BUILD \
+ --datadir=/usr/share \
+ --enable-etex \
+ --enable-xetex \
+ --enable-ipc \
+ --enable-shared \
+ --with-gs=gs \
+ --with-system-zlib \
+ --with-system-zziplib \
+ --with-system-libpng \
+ --with-system-gd \
+ --with-system-t1lib \
+ --with-system-teckit \
+ --with-teckit-includes=/usr/include/teckit \
+ --with-system-freetype2 \
+ --with-system-poppler \
+ --with-system-fontconfig \
+ --with-system-icu \
+ --with-system-graphite2 \
+ --with-system-harfbuzz \
+ --with-system-cairo \
+ --with-system-pixman \
+ --disable-xindy \
+ --disable-multiplatform \
+ --disable-native-texlive-build \
+ --disable-static \
+ --disable-luatex \
+ --disable-psutils \
+ --disable-t1utils \
+ --disable-lcdf-typetools" &&
+
+ # the etex binary is _not_ compatible with pdftex
+ sedit "s:^etex pdftex:etex etex:" texk/texlive/tl_scripts/fmtutil.cnf
More information about the Lunar-commits
mailing list