summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/texlive-core/PKGBUILD26
-rw-r--r--libre/texlive-core/texlive-core.fmts32
-rw-r--r--libre/texlive-core/texlive-core.maps2
-rw-r--r--libre/texlive-core/texlive.install64
4 files changed, 52 insertions, 72 deletions
diff --git a/libre/texlive-core/PKGBUILD b/libre/texlive-core/PKGBUILD
index c31da6b5f..c5d1b165f 100644
--- a/libre/texlive-core/PKGBUILD
+++ b/libre/texlive-core/PKGBUILD
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD 273844 2016-08-16 05:46:07Z remy $
+# $Id: PKGBUILD 281688 2016-11-21 06:23:47Z remy $
# Maintainer (Arch): Rémy Oudompheng <remy@archlinux.org>
# Maintainer: Michał Masłowski <mtjm@mtjm.eu>
# Contributor: André Silva <emulatorman@parabola.nu>
_pkgname=texlive-core-libre
pkgname=texlive-core
-pkgver=2016.41843
+pkgver=2016.42515
_revnr=${pkgver#2016.}
-pkgrel=1.parabola1
+pkgrel=2.parabola1
pkgdesc="TeX Live core distribution, without nonfree add-on packages (Parabola rebranded)"
license=('GPL')
arch=(any)
@@ -32,6 +32,7 @@ mksource=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip"
noextract=("$pkgname-$pkgver-src.zip")
source=("https://repo.parabola.nu/other/$_pkgname/$_pkgname-$pkgver-src.tar.xz"
"$pkgname.maps"
+ "$pkgname.fmts"
"texmf.cnf"
"texmfcnf.lua"
"09-texlive-fonts.conf")
@@ -47,9 +48,10 @@ backup=(etc/texmf/web2c/texmf.cnf \
etc/texmf/web2c/fmtutil.cnf \
etc/texmf/web2c/mktex.cnf \
etc/texmf/xdvi/XDvi)
-mkmd5sums=('84c8d40322b98dc10994f8e378d62640')
-md5sums=('3224500e7d52f824d42f966c7f61a83f'
- '54a34f8ddbeccec2427e4d5763349f9b'
+mkmd5sums=('ba06826f0b284a96f6384c3f56791ee3')
+md5sums=('7320436d75452151351d429b9052dc16'
+ 'ae4f25a5e69e3debd0e662bd2231ff95'
+ 'd38aaf62ad1e4d09113c44cd68d82fed'
'00d2e495f34c4e055b70c0ba13fcd891'
'16ad4dc53deb00029baef1b01ba1d984'
'393a4bf67adc7ca5df2b386759d1a637')
@@ -63,7 +65,7 @@ mksource() {
# MeX licensed packages
rm -v {cc-pl,cs,ec,mex,pl}.tar.xz
# public domain, will be relicensed
- rm -v context-{account,algorithmic,fixme,games,letter,ruby}.tar.xz
+ rm -v context-{account,algorithmic,letter,ruby}.tar.xz
# no specific free license
rm -v euro-ce.tar.xz
@@ -109,6 +111,7 @@ package() {
sed -i '/^#/d' CONTENTS
install -m644 CONTENTS $pkgdir/var/lib/texmf/arch/installedpkgs/${pkgname}_${_revnr}.pkgs
install -m644 $srcdir/$pkgname.maps $pkgdir/var/lib/texmf/arch/installedpkgs/
+ install -m644 $srcdir/$pkgname.fmts $pkgdir/var/lib/texmf/arch/installedpkgs/
install -m755 -d $pkgdir/usr/share
wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true
for dir in $wanteddirs; do
@@ -136,9 +139,6 @@ package() {
# Remove manpages (already in texlive-bin).
rm -rf "$pkgdir"/usr/share/texmf-dist/doc/man
- ## remove aleph from fmtutil.cnf
- sed -i -e '/aleph/d' "$pkgdir"/usr/share/texmf-dist/web2c/fmtutil.cnf
-
# copy config files to $TEXMFCONFIG tree
cp -a "$pkgdir"/usr/share/texmf-dist/chktex/chktexrc \
"$pkgdir"/etc/texmf/chktex/
@@ -146,8 +146,8 @@ package() {
"$pkgdir"/etc/texmf/web2c/
cp -a "$pkgdir"/usr/share/texmf-dist/web2c/updmap-hdr.cfg \
"$pkgdir"/etc/texmf/web2c/
- cp -a "$pkgdir"/usr/share/texmf-dist/web2c/fmtutil.cnf \
- "$pkgdir"/etc/texmf/web2c/
+ cp -a "$pkgdir"/usr/share/texmf-dist/web2c/fmtutil-hdr.cnf \
+ "$pkgdir"/etc/texmf/web2c/fmtutil.cnf
cp -a "$pkgdir"/usr/share/texmf-dist/dvips/config/config.ps \
"$pkgdir"/etc/texmf/dvips/config/
cp -a "$pkgdir"/usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg \
@@ -194,6 +194,8 @@ package() {
# remove upstream updmap.cfg: it contains too many maps.
rm "${pkgdir}/usr/share/texmf-dist/web2c/updmap.cfg"
+ # remove upstream fmtutil.cnf: it will be autogenerated
+ rm "${pkgdir}/usr/share/texmf-dist/web2c/fmtutil.cnf"
# more cleanup
rm -rf $pkgdir/usr/share/texmf-dist/scripts/context/stubs/mswin/
diff --git a/libre/texlive-core/texlive-core.fmts b/libre/texlive-core/texlive-core.fmts
new file mode 100644
index 000000000..944c9def7
--- /dev/null
+++ b/libre/texlive-core/texlive-core.fmts
@@ -0,0 +1,32 @@
+cont-en pdftex cont-usr.tex -8bit *cont-en.mkii
+cont-en xetex cont-usr.tex -8bit *cont-en.mkii
+#! cont-fr pdftex cont-usr.tex -8bit *cont-fr.mkii
+#! cont-it pdftex cont-usr.tex -8bit *cont-it.mkii
+#! cont-nl pdftex cont-usr.tex -8bit *cont-nl.mkii
+#! cont-ro pdftex cont-usr.tex -8bit *cont-ro.mkii
+cslatex pdftex - -etex cslatex.ini
+csplain pdftex - -etex -enc csplain-utf8.ini
+dvilualatex luatex language.dat,language.dat.lua dvilualatex.ini
+dviluatex luatex language.def,language.dat.lua dviluatex.ini
+etex pdftex language.def -translate-file=cp227.tcx *etex.ini
+latex pdftex language.dat -translate-file=cp227.tcx *latex.ini
+#! luajitlatex luajittex language.dat,language.dat.lua lualatex.ini
+luajittex luajittex language.def,language.dat.lua luatex.ini
+lualatex luatex language.dat,language.dat.lua lualatex.ini
+luatex luatex language.def,language.dat.lua luatex.ini
+mex pdftex mexconf.tex -translate-file=cp227.tcx *mex.ini
+mf mf-nowin - -translate-file=cp227.tcx mf.ini
+#! mflua mflua-nowin - mf.ini
+mptopdf pdftex - -translate-file=cp227.tcx mptopdf.tex
+pdfcslatex pdftex - -etex cslatex.ini
+pdfcsplain luatex - -etex csplain.ini
+pdfcsplain pdftex - -etex -enc csplain-utf8.ini
+pdfcsplain xetex - -etex csplain.ini
+pdfetex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini
+pdflatex pdftex language.dat -translate-file=cp227.tcx *pdflatex.ini
+pdfmex pdftex mexconf.tex -translate-file=cp227.tcx *pdfmex.ini
+pdftex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini
+tex tex - tex.ini
+utf8mex pdftex mexconf.tex -enc *utf8mex.ini
+xelatex xetex language.dat -etex xelatex.ini
+xetex xetex language.def -etex xetex.ini
diff --git a/libre/texlive-core/texlive-core.maps b/libre/texlive-core/texlive-core.maps
index 743284944..129718fab 100644
--- a/libre/texlive-core/texlive-core.maps
+++ b/libre/texlive-core/texlive-core.maps
@@ -55,8 +55,6 @@ MixedMap mflogo.map
MixedMap plother.map
MixedMap pltext.map
MixedMap rsfs.map
-MixedMap stmaryrd.map
MixedMap symbols.map
MixedMap tipa.map
MixedMap wasy.map
-MixedMap yhmath.map
diff --git a/libre/texlive-core/texlive.install b/libre/texlive-core/texlive.install
index 282186ad0..041ac72c8 100644
--- a/libre/texlive-core/texlive.install
+++ b/libre/texlive-core/texlive.install
@@ -1,64 +1,12 @@
-PKGNAME="texlive-core"
-UPDMAP="etc/texmf/web2c/updmap.cfg"
-UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg"
-SYNCWITHTREES=''
-
-MAPFILE="var/lib/texmf/arch/installedpkgs/$PKGNAME.maps"
-
post_install() {
- echo ">>> texlive: regenerating updmap.cfg (custom additions should go"
- echo " into /etc/texmf/web2c/updmap-local.cfg"
- cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
- cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
- [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- (cd etc/texmf && ../../bin/mtxrun --generate >/dev/null)
- # We need to remove directory "." from luatex cache to avoid absurd
- # behaviour.
- for item in var/lib/texmf/luatex-cache/context/*/trees/*.lua; do
- grep -F '["root"]="."' "$item" >/dev/null && rm -f "$item" "${item%.lua}.luc"
- done
- echo ">>> texlive: updating the fontmap files with updmap..."
- usr/bin/updmap-sys --quiet --nohash
- echo " done."
- echo -n "creating all formats..."
- usr/bin/fmtutil-sys --all 1>/dev/null
- echo " done."
- echo " (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)"
- echo "NB: To setup ConTeXt and the lua(la)tex font db,"
- echo " see http://wiki.archlinux.org/index.php/TeX_Live"
+ echo ">>> updmap custom entries should go into /etc/texmf/web2c/updmap-local.cfg"
+ echo ">>> fmtutil custom entries should go into /etc/texmf/web2c/fmtutil-local.cnf"
+ echo "NB: To setup ConTeXt and the lua(la)tex font db,"
+ echo " see http://wiki.archlinux.org/index.php/TeX_Live"
}
post_upgrade() {
- echo ">>> texlive: regenerating updmap.cfg (custom additions should go"
- echo " into /etc/texmf/web2c/updmap-local.cfg"
- cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
- cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
- [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- (cd usr/share/texmf-dist && ../../bin/mtxrun --generate >/dev/null)
- # We need to remove directory "." from luatex cache to avoid absurd
- # behaviour.
- for item in var/lib/texmf/luatex-cache/context/*/trees/*.lua; do
- grep -F '["root"]="."' "$item" >/dev/null && rm -f "$item" "${item%.lua}.luc"
- done
- echo ">>> texlive: updating the fontmap files with updmap..."
- usr/bin/updmap-sys --quiet --nohash $SYNCWITHTREES
- echo " done."
- echo ">>> texlive: recreating all formats..."
- usr/bin/fmtutil-sys --all 1>/dev/null
- echo " done."
- echo " (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)"
- echo "NB: To setup ConTeXt and the lua(la)tex font db,"
- echo " see http://wiki.archlinux.org/index.php/TeX_Live"
- if [[ "$2" == 200* ]]; then
- echo "Important note. Some directories have moved:"
- echo " \$TEXMFSYSVAR is now /var/lib/texmf (previously /usr/share/texmf-var)"
- echo " \$TEXMFSYSCONFIG is now /etc/texmf (previously /usr/share/texmf-config)"
- echo "Please move and update the config files you had modified and delete the rest."
- echo "(Note however that updmap.cfg has been automatically copied and updated.)"
- fi
+ echo ">>> updmap custom entries should go into /etc/texmf/web2c/updmap-local.cfg"
+ echo ">>> fmtutil custom entries should go into /etc/texmf/web2c/fmtutil-local.cnf"
}