[arch-commits] Commit in texlive-bin/repos (28 files)
Rémy Oudompheng
remy at archlinux.org
Sat Aug 6 18:30:39 UTC 2016
Date: Saturday, August 6, 2016 @ 18:30:38
Author: remy
Revision: 273427
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
texlive-bin/repos/extra-i686/PKGBUILD
(from rev 273426, texlive-bin/trunk/PKGBUILD)
texlive-bin/repos/extra-i686/fix-fontforge-encoding.patch
(from rev 273426, texlive-bin/trunk/fix-fontforge-encoding.patch)
texlive-bin/repos/extra-i686/mktexlsr.hook
(from rev 273426, texlive-bin/trunk/mktexlsr.hook)
texlive-bin/repos/extra-i686/mktexlsr.script
(from rev 273426, texlive-bin/trunk/mktexlsr.script)
texlive-bin/repos/extra-i686/texlive-updmap.hook
(from rev 273426, texlive-bin/trunk/texlive-updmap.hook)
texlive-bin/repos/extra-i686/texlive-updmap.script
(from rev 273426, texlive-bin/trunk/texlive-updmap.script)
texlive-bin/repos/extra-i686/texlive.install
(from rev 273426, texlive-bin/trunk/texlive.install)
texlive-bin/repos/extra-x86_64/PKGBUILD
(from rev 273426, texlive-bin/trunk/PKGBUILD)
texlive-bin/repos/extra-x86_64/fix-fontforge-encoding.patch
(from rev 273426, texlive-bin/trunk/fix-fontforge-encoding.patch)
texlive-bin/repos/extra-x86_64/mktexlsr.hook
(from rev 273426, texlive-bin/trunk/mktexlsr.hook)
texlive-bin/repos/extra-x86_64/mktexlsr.script
(from rev 273426, texlive-bin/trunk/mktexlsr.script)
texlive-bin/repos/extra-x86_64/texlive-updmap.hook
(from rev 273426, texlive-bin/trunk/texlive-updmap.hook)
texlive-bin/repos/extra-x86_64/texlive-updmap.script
(from rev 273426, texlive-bin/trunk/texlive-updmap.script)
texlive-bin/repos/extra-x86_64/texlive.install
(from rev 273426, texlive-bin/trunk/texlive.install)
Deleted:
texlive-bin/repos/extra-i686/PKGBUILD
texlive-bin/repos/extra-i686/fix-fontforge-encoding.patch
texlive-bin/repos/extra-i686/mktexlsr.hook
texlive-bin/repos/extra-i686/mktexlsr.script
texlive-bin/repos/extra-i686/texlive-updmap.hook
texlive-bin/repos/extra-i686/texlive-updmap.script
texlive-bin/repos/extra-i686/texlive.install
texlive-bin/repos/extra-x86_64/PKGBUILD
texlive-bin/repos/extra-x86_64/fix-fontforge-encoding.patch
texlive-bin/repos/extra-x86_64/mktexlsr.hook
texlive-bin/repos/extra-x86_64/mktexlsr.script
texlive-bin/repos/extra-x86_64/texlive-updmap.hook
texlive-bin/repos/extra-x86_64/texlive-updmap.script
texlive-bin/repos/extra-x86_64/texlive.install
-------------------------------------------+
/PKGBUILD | 730 ++++++++++++++++++++++++++++
/fix-fontforge-encoding.patch | 24
/mktexlsr.hook | 30 +
/mktexlsr.script | 24
/texlive-updmap.hook | 24
/texlive-updmap.script | 26
/texlive.install | 62 ++
extra-i686/PKGBUILD | 364 -------------
extra-i686/fix-fontforge-encoding.patch | 12
extra-i686/mktexlsr.hook | 15
extra-i686/mktexlsr.script | 13
extra-i686/texlive-updmap.hook | 12
extra-i686/texlive-updmap.script | 17
extra-i686/texlive.install | 31 -
extra-x86_64/PKGBUILD | 364 -------------
extra-x86_64/fix-fontforge-encoding.patch | 12
extra-x86_64/mktexlsr.hook | 15
extra-x86_64/mktexlsr.script | 13
extra-x86_64/texlive-updmap.hook | 12
extra-x86_64/texlive-updmap.script | 17
extra-x86_64/texlive.install | 31 -
21 files changed, 920 insertions(+), 928 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-i686/PKGBUILD 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,364 +0,0 @@
-# $Id$
-# Maintainer: Rémy Oudompheng <remy at archlinux.org>
-# Contributor: francois <francois.archlinux.org>
-
-pkgname=('texlive-bin' 'libsynctex')
-pkgver=2016.41290
-pkgrel=4
-license=('GPL')
-arch=('i686' 'x86_64')
-makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
- 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
- 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
- 'perl' 'clisp' 'ffcall')
-url='http://tug.org/texlive/'
-source=('fix-fontforge-encoding.patch'
- "http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-${pkgver}.tar.xz"
- "mktexlsr.hook"
- "mktexlsr.script"
- "texlive-updmap.hook"
- "texlive-updmap.script"
-)
-md5sums=('bfb9716aa00c86c08cd31e5b32edeb98'
- '7303361f2d441eb5c962a996fd77e8fa'
- '7bc9cef52d3b0c15d2364b7d8658faa6'
- 'b8005a998186d3846df357ef0f4b4560'
- 'c18cbbd000aac60813b1695aa058964f'
- '06034157badeeefe9982d7b29e7f5b51')
-
-build() {
- cd "$srcdir"
-
- # this patch removes spurious error message with locale "xx_YY.utf8"
- #patch -Np0 -i fix-fontforge-encoding.patch
- # t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
- sed -i s/SELFAUTOPARENT/TEXMFROOT/ source/texk/tex4htk/t4ht.c
- #############################################################
- ### configure
- cd source
- ## prevent compiling Xdvi with libXp
- sed -i~ 's|-lXp ||' texk/xdvik/configure
- test ! -d Work && mkdir Work
- cd Work
- echo "--> Initial configuration..."
- # we use temporary prefix to avoid messing the existing
- # $pkgdir/usr/share/texmf tree
- # system zlib is disabled due to issues with zlib 1.2.6 (FS#28221)
- ../configure --prefix=/usr -C \
- --sysconfdir=/etc \
- --datarootdir=/usr/share \
- --datadir=/usr/share \
- --mandir=/usr/share/man \
- --disable-native-texlive-build \
- --with-banner-add="/Arch Linux" \
- --disable-multiplatform \
- --disable-dialog \
- --disable-psutils \
- --disable-t1utils \
- --disable-bibtexu \
- --disable-xz \
- --enable-shared \
- --disable-static \
- --with-system-zlib \
- --with-system-zziplib \
- --with-system-pnglib \
- --with-system-ncurses \
- --with-system-t1lib \
- --with-system-gd \
- --with-system-poppler \
- --with-system-xpdf \
- --with-system-freetype2 \
- --with-system-pixman \
- --with-system-cairo \
- --with-system-harfbuzz \
- --with-system-graphite \
- --with-system-icu \
- --with-system-gmp \
- --with-system-mpfr \
- --with-system-potrace \
- --with-system-libpaper \
- --with-freetype2-libdir=/usr/lib \
- --with-freetype2-include=/usr/include/freetype2 \
- --with-xdvi-x-toolkit=xaw \
- --disable-dump-share \
- --disable-aleph \
- --enable-luatex \
- --with-clisp-runtime=default \
- --enable-xindy --disable-xindy-rules --disable-xindy-docs
- #############################################################
- ### make
- echo "-------------------------------------------------------"
- echo "--> Building the whole beast ..."
- echo "-------------------------------------------------------"
- make
-}
-
-package_libsynctex() {
- pkgdesc='Library for synchronization between TeX files and resulting file'
- depends=('glibc' 'zlib')
-
- cd "${srcdir}/source/Work"
- make -C texk/web2c DESTDIR="${pkgdir}" \
- install-data-am install-libLTLIBRARIES
-}
-
-package_texlive-bin() {
- pkgdesc="TeX Live binaries"
- depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
- 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
- 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
- 'libsynctex')
- provides=('lcdf-typetools' 'kpathsea' 'xindy' 'pdfjam')
- conflicts=('pdfjam')
- optdepends=('ed: for texconfig')
- install="texlive.install"
- options=('!strip')
-
- cd "$srcdir"
-
- #############################################################
- ### install
- cd source
- # fixes for xindy
- find utils/xindy -name Makefile -exec sed -i -e "s|^prefix =.\+$|prefix = $pkgdir/usr|" -e "s|^mandir =.\+$|mandir = \${prefix}/share/man|" -e "s|^datadir =.\+$|datadir = \${datarootdir}/texmf|" -e "s|^docdir =.\+$|docdir = \${datadir}/doc/xindy|" '{}' \;
-
- echo "-------------------------------------------------------"
- echo "--> Proceeding with make install ..."
- echo "-------------------------------------------------------"
- cd Work
- make DESTDIR="${pkgdir}" texmf="$pkgdir"/usr/share/texmf install
- rm -rf "${pkgdir}"/usr/{texmf,share/texmf-dist}
-
- ## symlink engines by hand. texlinks has moved to texlive-core...
- mkdir -p ${pkgdir}/usr/bin
- ln -s eptex ${pkgdir}/usr/bin/platex
- ln -s euptex ${pkgdir}/usr/bin/uplatex
- ln -s luatex ${pkgdir}/usr/bin/dvilualatex
- ln -s luatex ${pkgdir}/usr/bin/dviluatex
- ln -s luatex ${pkgdir}/usr/bin/lualatex
- ln -s pdftex ${pkgdir}/usr/bin/amstex
- ln -s pdftex ${pkgdir}/usr/bin/cslatex
- ln -s pdftex ${pkgdir}/usr/bin/csplain
- ln -s pdftex ${pkgdir}/usr/bin/eplain
- ln -s pdftex ${pkgdir}/usr/bin/etex
- ln -s pdftex ${pkgdir}/usr/bin/jadetex
- ln -s pdftex ${pkgdir}/usr/bin/latex
- ln -s tex ${pkgdir}/usr/bin/lollipop
- ln -s pdftex ${pkgdir}/usr/bin/mex
- ln -s pdftex ${pkgdir}/usr/bin/mllatex
- ln -s pdftex ${pkgdir}/usr/bin/mltex
- ln -s pdftex ${pkgdir}/usr/bin/pdfetex
- ln -s pdftex ${pkgdir}/usr/bin/pdfcslatex
- ln -s pdftex ${pkgdir}/usr/bin/pdfcsplain
- ln -s pdftex ${pkgdir}/usr/bin/pdfjadetex
- ln -s pdftex ${pkgdir}/usr/bin/pdflatex
- ln -s pdftex ${pkgdir}/usr/bin/pdfmex
- ln -s pdftex ${pkgdir}/usr/bin/pdfxmltex
- ln -s pdftex ${pkgdir}/usr/bin/texsis
- ln -s pdftex ${pkgdir}/usr/bin/utf8mex
- ln -s pdftex ${pkgdir}/usr/bin/xmltex
- ln -s xetex ${pkgdir}/usr/bin/xelatex
-
- ## install pacman hooks
- install -D -m644 ${srcdir}/mktexlsr.hook "$pkgdir/usr/share/libalpm/hooks/mktexlsr.hook"
- install -D -m644 ${srcdir}/texlive-updmap.hook "$pkgdir/usr/share/libalpm/hooks/texlive-updmap.hook"
- install -D -m755 ${srcdir}/mktexlsr.script "$pkgdir/usr/share/libalpm/scripts/mktexlsr"
- install -D -m755 ${srcdir}/texlive-updmap.script "$pkgdir/usr/share/libalpm/scripts/texlive-updmap"
-
- #############################################################
- # remove dangling symlinks
- _bibtexextra_scripts="
-bibexport
-bibdoiadd
-bibzbladd
-listbib
-ltx2crossrefxml
-multibibliography
-urlbst
-"
- _core_scripts="
-a2ping
-a5toa4
-adhocfilelist
-afm2afm
-allcm
-allec
-allneeded
-arara
-arlatex
-autoinst
-bundledoc
-checkcites
-checklistings
-chkweb
-cjk-gs-integrate
-context
-contextjit
-ctanify
-ctanupload
-de-macro
-depythontex
-deweb
-dosepsbin
-dtxgen
-dvi2fax
-dviasm
-dvired
-e2pall
-epstopdf
-findhyph
-fmtutil
-fmtutil-sys
-fontinst
-fragmaster
-installfont-tl
-kpsepath
-kpsetool
-kpsewhere
-kpsexpand
-latex-git-log
-latex2man
-latexdiff
-latexdiff-vc
-latexfileversion
-latexindent
-latexmk
-latexpand
-latexrevise
-listings-ext.sh
-ltxfileinfo
-ltximg
-lua2dox_filter
-luaotfload-tool
-luatools
-make4ht
-match_parens
-mf2pt1
-mkjobtexmf
-mkt1font
-mktexfmt
-mptopdf
-mtxrun
-mtxrunjit
-ot2kpx
-pdf180
-pdf270
-pdf90
-pdfatfi
-pdfbook
-pdfbook2
-pdfcrop
-pdfflip
-pdfjam
-pdfjam-pocketmod
-pdfjam-slides3up
-pdfjam-slides6up
-pdfjoin
-pdfnup
-pdfpun
-pdfxup
-pfarrei
-pkfix
-pkfix-helper
-ps2eps
-ps2frag
-pslatex
-purifyeps
-pythontex
-repstopdf
-rpdfcrop
-rungs
-simpdftex
-srcredact
-sty2dtx
-tex4ebook
-texconfig
-texconfig-dialog
-texconfig-sys
-texcount
-texdef
-texdiff
-texdirflatten
-texdoc
-texdoctk
-texexec
-texfot
-texindy
-texlinks
-texliveonfly
-texloganalyser
-texmfstart
-thumbpdf
-typeoutfileinfo
-updmap
-updmap-sys
-vpl2ovp
-vpl2vpl
-xindy
-"
- _games_scripts="rubikrotation"
- _htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht"
- _humanities_scripts="diadia"
- _langcyrillic_scripts="rubibtex rumakeindex"
- _langextra_scripts="ebong"
- _langgreek_scripts="mkgrkindex"
- _langjapanese_scripts="convbkmk ptex2pdf
-kanji-fontmap-creator
-kanji-config-updmap
-kanji-config-updmap-sys
-"
- _langkorean_scripts="jamo-normalize komkindex ttf2kotexfont"
- _latexextra_scripts="
-authorindex
-exceltex
-makedtx
-makeglossaries
-makeglossaries-lite
-pdfannotextractor
-perltex
-ps4pdf
-splitindex
-svn-multi
-vpe
-yplan"
- _music_scripts="lily-glyph-commands lily-image-commands lily-rebuild-pdfs
-m-tx musixtex musixflx pmx2pdf pmxchords"
- _pictures_scripts="
-cachepic
-epspdf
-epspdftk
-fig4latex
-getmapdl
-mathspic
-mkpic
-pn2pdf"
- _pstricks_scripts="pedigree pst2pdf"
- _science_scripts="pygmentex ulqda"
- for s in \
- ${_bibtexextra_scripts} \
- ${_core_scripts} \
- ${_games_scripts} \
- ${_htmlxml_scripts} \
- ${_humanities_scripts} \
- ${_langcyrillic_scripts} \
- ${_langextra_scripts} \
- ${_langgreek_scripts} \
- ${_langjapanese_scripts} \
- ${_langkorean_scripts} \
- ${_latexextra_scripts} \
- ${_music_scripts} \
- ${_pictures_scripts} \
- ${_pstricks_scripts} \
- ${_science_scripts} \
- tlmgr; do
- ! readlink -e "$pkgdir"/usr/bin/$s && rm "$pkgdir"/usr/bin/$s
- done
- ###################################################################
-
- # remove libsynctex
- rm -f "$pkgdir"/usr/include/synctex/*
- rm -f "$pkgdir"/usr/lib/libsynctex.*
- rm -f "$pkgdir"/usr/lib/pkgconfig/synctex.pc
- rm -f "$pkgdir"/usr/share/man/man*/synctex.*
-}
-
Copied: texlive-bin/repos/extra-i686/PKGBUILD (from rev 273426, texlive-bin/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,365 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: francois <francois.archlinux.org>
+
+pkgname=('texlive-bin' 'libsynctex')
+pkgver=2016.41290
+pkgrel=5
+license=('GPL')
+arch=('i686' 'x86_64')
+makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
+ 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
+ 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
+ 'perl' 'clisp' 'ffcall')
+url='http://tug.org/texlive/'
+source=('fix-fontforge-encoding.patch'
+ "http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-${pkgver}.tar.xz"
+ "mktexlsr.hook"
+ "mktexlsr.script"
+ "texlive-updmap.hook"
+ "texlive-updmap.script"
+)
+md5sums=('bfb9716aa00c86c08cd31e5b32edeb98'
+ '7303361f2d441eb5c962a996fd77e8fa'
+ '7bc9cef52d3b0c15d2364b7d8658faa6'
+ '2bbbef810687f4b2804a4b8cb91ce02f'
+ 'c18cbbd000aac60813b1695aa058964f'
+ 'c64d77b5111a26b9995263b49df4937c')
+
+build() {
+ cd "$srcdir"
+
+ # this patch removes spurious error message with locale "xx_YY.utf8"
+ #patch -Np0 -i fix-fontforge-encoding.patch
+ # t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
+ sed -i s/SELFAUTOPARENT/TEXMFROOT/ source/texk/tex4htk/t4ht.c
+ #############################################################
+ ### configure
+ cd source
+ ## prevent compiling Xdvi with libXp
+ sed -i~ 's|-lXp ||' texk/xdvik/configure
+ test ! -d Work && mkdir Work
+ cd Work
+ echo "--> Initial configuration..."
+ # we use temporary prefix to avoid messing the existing
+ # $pkgdir/usr/share/texmf tree
+ # system zlib is disabled due to issues with zlib 1.2.6 (FS#28221)
+ ../configure --prefix=/usr -C \
+ --sysconfdir=/etc \
+ --datarootdir=/usr/share \
+ --datadir=/usr/share \
+ --mandir=/usr/share/man \
+ --disable-native-texlive-build \
+ --with-banner-add="/Arch Linux" \
+ --disable-multiplatform \
+ --disable-dialog \
+ --disable-psutils \
+ --disable-t1utils \
+ --disable-bibtexu \
+ --disable-xz \
+ --enable-shared \
+ --disable-static \
+ --with-system-zlib \
+ --with-system-zziplib \
+ --with-system-pnglib \
+ --with-system-ncurses \
+ --with-system-t1lib \
+ --with-system-gd \
+ --with-system-poppler \
+ --with-system-xpdf \
+ --with-system-freetype2 \
+ --with-system-pixman \
+ --with-system-cairo \
+ --with-system-harfbuzz \
+ --with-system-graphite \
+ --with-system-icu \
+ --with-system-gmp \
+ --with-system-mpfr \
+ --with-system-potrace \
+ --with-system-libpaper \
+ --with-freetype2-libdir=/usr/lib \
+ --with-freetype2-include=/usr/include/freetype2 \
+ --with-xdvi-x-toolkit=xaw \
+ --disable-dump-share \
+ --disable-aleph \
+ --enable-luatex \
+ --with-clisp-runtime=default \
+ --enable-xindy --disable-xindy-rules --disable-xindy-docs
+ #############################################################
+ ### make
+ echo "-------------------------------------------------------"
+ echo "--> Building the whole beast ..."
+ echo "-------------------------------------------------------"
+ make
+}
+
+package_libsynctex() {
+ pkgdesc='Library for synchronization between TeX files and resulting file'
+ depends=('glibc' 'zlib')
+
+ cd "${srcdir}/source/Work"
+ make -C texk/web2c DESTDIR="${pkgdir}" \
+ install-data-am install-libLTLIBRARIES
+}
+
+package_texlive-bin() {
+ pkgdesc="TeX Live binaries"
+ depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
+ 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
+ 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
+ 'libsynctex')
+ provides=('lcdf-typetools' 'kpathsea' 'xindy' 'pdfjam')
+ conflicts=('pdfjam')
+ optdepends=('ed: for texconfig'
+ 'biber: for bibliography processing')
+ install="texlive.install"
+ options=('!strip')
+
+ cd "$srcdir"
+
+ #############################################################
+ ### install
+ cd source
+ # fixes for xindy
+ find utils/xindy -name Makefile -exec sed -i -e "s|^prefix =.\+$|prefix = $pkgdir/usr|" -e "s|^mandir =.\+$|mandir = \${prefix}/share/man|" -e "s|^datadir =.\+$|datadir = \${datarootdir}/texmf|" -e "s|^docdir =.\+$|docdir = \${datadir}/doc/xindy|" '{}' \;
+
+ echo "-------------------------------------------------------"
+ echo "--> Proceeding with make install ..."
+ echo "-------------------------------------------------------"
+ cd Work
+ make DESTDIR="${pkgdir}" texmf="$pkgdir"/usr/share/texmf install
+ rm -rf "${pkgdir}"/usr/{texmf,share/texmf-dist}
+
+ ## symlink engines by hand. texlinks has moved to texlive-core...
+ mkdir -p ${pkgdir}/usr/bin
+ ln -s eptex ${pkgdir}/usr/bin/platex
+ ln -s euptex ${pkgdir}/usr/bin/uplatex
+ ln -s luatex ${pkgdir}/usr/bin/dvilualatex
+ ln -s luatex ${pkgdir}/usr/bin/dviluatex
+ ln -s luatex ${pkgdir}/usr/bin/lualatex
+ ln -s pdftex ${pkgdir}/usr/bin/amstex
+ ln -s pdftex ${pkgdir}/usr/bin/cslatex
+ ln -s pdftex ${pkgdir}/usr/bin/csplain
+ ln -s pdftex ${pkgdir}/usr/bin/eplain
+ ln -s pdftex ${pkgdir}/usr/bin/etex
+ ln -s pdftex ${pkgdir}/usr/bin/jadetex
+ ln -s pdftex ${pkgdir}/usr/bin/latex
+ ln -s tex ${pkgdir}/usr/bin/lollipop
+ ln -s pdftex ${pkgdir}/usr/bin/mex
+ ln -s pdftex ${pkgdir}/usr/bin/mllatex
+ ln -s pdftex ${pkgdir}/usr/bin/mltex
+ ln -s pdftex ${pkgdir}/usr/bin/pdfetex
+ ln -s pdftex ${pkgdir}/usr/bin/pdfcslatex
+ ln -s pdftex ${pkgdir}/usr/bin/pdfcsplain
+ ln -s pdftex ${pkgdir}/usr/bin/pdfjadetex
+ ln -s pdftex ${pkgdir}/usr/bin/pdflatex
+ ln -s pdftex ${pkgdir}/usr/bin/pdfmex
+ ln -s pdftex ${pkgdir}/usr/bin/pdfxmltex
+ ln -s pdftex ${pkgdir}/usr/bin/texsis
+ ln -s pdftex ${pkgdir}/usr/bin/utf8mex
+ ln -s pdftex ${pkgdir}/usr/bin/xmltex
+ ln -s xetex ${pkgdir}/usr/bin/xelatex
+
+ ## install pacman hooks
+ install -D -m644 ${srcdir}/mktexlsr.hook "$pkgdir/usr/share/libalpm/hooks/mktexlsr.hook"
+ install -D -m644 ${srcdir}/texlive-updmap.hook "$pkgdir/usr/share/libalpm/hooks/texlive-updmap.hook"
+ install -D -m755 ${srcdir}/mktexlsr.script "$pkgdir/usr/share/libalpm/scripts/mktexlsr"
+ install -D -m755 ${srcdir}/texlive-updmap.script "$pkgdir/usr/share/libalpm/scripts/texlive-updmap"
+
+ #############################################################
+ # remove dangling symlinks
+ _bibtexextra_scripts="
+bibexport
+bibdoiadd
+bibzbladd
+listbib
+ltx2crossrefxml
+multibibliography
+urlbst
+"
+ _core_scripts="
+a2ping
+a5toa4
+adhocfilelist
+afm2afm
+allcm
+allec
+allneeded
+arara
+arlatex
+autoinst
+bundledoc
+checkcites
+checklistings
+chkweb
+cjk-gs-integrate
+context
+contextjit
+ctanify
+ctanupload
+de-macro
+depythontex
+deweb
+dosepsbin
+dtxgen
+dvi2fax
+dviasm
+dvired
+e2pall
+epstopdf
+findhyph
+fmtutil
+fmtutil-sys
+fontinst
+fragmaster
+installfont-tl
+kpsepath
+kpsetool
+kpsewhere
+kpsexpand
+latex-git-log
+latex2man
+latexdiff
+latexdiff-vc
+latexfileversion
+latexindent
+latexmk
+latexpand
+latexrevise
+listings-ext.sh
+ltxfileinfo
+ltximg
+lua2dox_filter
+luaotfload-tool
+luatools
+make4ht
+match_parens
+mf2pt1
+mkjobtexmf
+mkt1font
+mktexfmt
+mptopdf
+mtxrun
+mtxrunjit
+ot2kpx
+pdf180
+pdf270
+pdf90
+pdfatfi
+pdfbook
+pdfbook2
+pdfcrop
+pdfflip
+pdfjam
+pdfjam-pocketmod
+pdfjam-slides3up
+pdfjam-slides6up
+pdfjoin
+pdfnup
+pdfpun
+pdfxup
+pfarrei
+pkfix
+pkfix-helper
+ps2eps
+ps2frag
+pslatex
+purifyeps
+pythontex
+repstopdf
+rpdfcrop
+rungs
+simpdftex
+srcredact
+sty2dtx
+tex4ebook
+texconfig
+texconfig-dialog
+texconfig-sys
+texcount
+texdef
+texdiff
+texdirflatten
+texdoc
+texdoctk
+texexec
+texfot
+texindy
+texlinks
+texliveonfly
+texloganalyser
+texmfstart
+thumbpdf
+typeoutfileinfo
+updmap
+updmap-sys
+vpl2ovp
+vpl2vpl
+xindy
+"
+ _games_scripts="rubikrotation"
+ _htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht"
+ _humanities_scripts="diadia"
+ _langcyrillic_scripts="rubibtex rumakeindex"
+ _langextra_scripts="ebong"
+ _langgreek_scripts="mkgrkindex"
+ _langjapanese_scripts="convbkmk ptex2pdf
+kanji-fontmap-creator
+kanji-config-updmap
+kanji-config-updmap-sys
+"
+ _langkorean_scripts="jamo-normalize komkindex ttf2kotexfont"
+ _latexextra_scripts="
+authorindex
+exceltex
+makedtx
+makeglossaries
+makeglossaries-lite
+pdfannotextractor
+perltex
+ps4pdf
+splitindex
+svn-multi
+vpe
+yplan"
+ _music_scripts="lily-glyph-commands lily-image-commands lily-rebuild-pdfs
+m-tx musixtex musixflx pmx2pdf pmxchords"
+ _pictures_scripts="
+cachepic
+epspdf
+epspdftk
+fig4latex
+getmapdl
+mathspic
+mkpic
+pn2pdf"
+ _pstricks_scripts="pedigree pst2pdf"
+ _science_scripts="pygmentex ulqda"
+ for s in \
+ ${_bibtexextra_scripts} \
+ ${_core_scripts} \
+ ${_games_scripts} \
+ ${_htmlxml_scripts} \
+ ${_humanities_scripts} \
+ ${_langcyrillic_scripts} \
+ ${_langextra_scripts} \
+ ${_langgreek_scripts} \
+ ${_langjapanese_scripts} \
+ ${_langkorean_scripts} \
+ ${_latexextra_scripts} \
+ ${_music_scripts} \
+ ${_pictures_scripts} \
+ ${_pstricks_scripts} \
+ ${_science_scripts} \
+ tlmgr; do
+ ! readlink -e "$pkgdir"/usr/bin/$s && rm "$pkgdir"/usr/bin/$s
+ done
+ ###################################################################
+
+ # remove libsynctex
+ rm -f "$pkgdir"/usr/include/synctex/*
+ rm -f "$pkgdir"/usr/lib/libsynctex.*
+ rm -f "$pkgdir"/usr/lib/pkgconfig/synctex.pc
+ rm -f "$pkgdir"/usr/share/man/man*/synctex.*
+}
+
Deleted: extra-i686/fix-fontforge-encoding.patch
===================================================================
--- extra-i686/fix-fontforge-encoding.patch 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-i686/fix-fontforge-encoding.patch 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,12 +0,0 @@
---- source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/noprefs.c.orig 2009-09-30 19:27:00.935039526 +0200
-+++ source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/noprefs.c 2009-09-30 19:28:04.908364646 +0200
-@@ -495,6 +495,9 @@
- { "Big5HKSCS", e_big5hkscs },
- { "Big5-HKSCS", e_big5hkscs },
- { "UTF-8", e_utf8 },
-+ { "utf-8", e_utf8 },
-+ { "UTF8", e_utf8 },
-+ { "utf8", e_utf8 },
- { "ISO-10646/UTF-8", e_utf8 },
- { "ISO_10646/UTF-8", e_utf8 },
- { "UCS2", e_unicode },
Copied: texlive-bin/repos/extra-i686/fix-fontforge-encoding.patch (from rev 273426, texlive-bin/trunk/fix-fontforge-encoding.patch)
===================================================================
--- extra-i686/fix-fontforge-encoding.patch (rev 0)
+++ extra-i686/fix-fontforge-encoding.patch 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,12 @@
+--- source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/noprefs.c.orig 2009-09-30 19:27:00.935039526 +0200
++++ source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/noprefs.c 2009-09-30 19:28:04.908364646 +0200
+@@ -495,6 +495,9 @@
+ { "Big5HKSCS", e_big5hkscs },
+ { "Big5-HKSCS", e_big5hkscs },
+ { "UTF-8", e_utf8 },
++ { "utf-8", e_utf8 },
++ { "UTF8", e_utf8 },
++ { "utf8", e_utf8 },
+ { "ISO-10646/UTF-8", e_utf8 },
+ { "ISO_10646/UTF-8", e_utf8 },
+ { "UCS2", e_unicode },
Deleted: extra-i686/mktexlsr.hook
===================================================================
--- extra-i686/mktexlsr.hook 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-i686/mktexlsr.hook 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,15 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = etc/texmf/*
-Target = usr/share/texmf/*
-Target = usr/share/texmf-dist/*
-Target = var/lib/texmf/*
-
-[Action]
-Description = Updating TeXLive filename database...
-When = PostTransaction
-Exec = /usr/share/libalpm/scripts/mktexlsr
-
Copied: texlive-bin/repos/extra-i686/mktexlsr.hook (from rev 273426, texlive-bin/trunk/mktexlsr.hook)
===================================================================
--- extra-i686/mktexlsr.hook (rev 0)
+++ extra-i686/mktexlsr.hook 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,15 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = etc/texmf/*
+Target = usr/share/texmf/*
+Target = usr/share/texmf-dist/*
+Target = var/lib/texmf/*
+
+[Action]
+Description = Updating TeXLive filename database...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/mktexlsr
+
Deleted: extra-i686/mktexlsr.script
===================================================================
--- extra-i686/mktexlsr.script 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-i686/mktexlsr.script 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-/usr/bin/mktexlsr
-echo ">>> Updating LuaTeX filename database..."
-(cd /etc/texmf && /usr/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
- if grep -F '["root"]="."' "$item" >/dev/null; then
- rm -vf "$item" "${item%.lua}.luc"
- fi
-done
-
Copied: texlive-bin/repos/extra-i686/mktexlsr.script (from rev 273426, texlive-bin/trunk/mktexlsr.script)
===================================================================
--- extra-i686/mktexlsr.script (rev 0)
+++ extra-i686/mktexlsr.script 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+/usr/bin/mktexlsr
+(cd /etc/texmf && /usr/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
+ if grep -F '["root"]="."' "$item" >/dev/null; then
+ rm -f "$item" "${item%.lua}.luc"
+ fi
+done
+
Deleted: extra-i686/texlive-updmap.hook
===================================================================
--- extra-i686/texlive-updmap.hook 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-i686/texlive-updmap.hook 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,12 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = var/lib/texmf/arch/installedpkgs/*.maps
-
-[Action]
-Description = Updating TeXLive font maps...
-When = PostTransaction
-Exec = /usr/share/libalpm/scripts/texlive-updmap
-
Copied: texlive-bin/repos/extra-i686/texlive-updmap.hook (from rev 273426, texlive-bin/trunk/texlive-updmap.hook)
===================================================================
--- extra-i686/texlive-updmap.hook (rev 0)
+++ extra-i686/texlive-updmap.hook 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = var/lib/texmf/arch/installedpkgs/*.maps
+
+[Action]
+Description = Updating TeXLive font maps...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/texlive-updmap
+
Deleted: extra-i686/texlive-updmap.script
===================================================================
--- extra-i686/texlive-updmap.script 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-i686/texlive-updmap.script 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-UPDMAP="etc/texmf/web2c/updmap.cfg"
-UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg"
-
-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
-if [[ -f "$UPDMAPLOCAL" ]]; then
- cat "$UPDMAPLOCAL" >> $UPDMAP
-fi
-
-echo ">>> texlive: updating the fontmap files with updmap..."
-/usr/bin/updmap-sys --quiet --nohash
-echo " done."
-
Copied: texlive-bin/repos/extra-i686/texlive-updmap.script (from rev 273426, texlive-bin/trunk/texlive-updmap.script)
===================================================================
--- extra-i686/texlive-updmap.script (rev 0)
+++ extra-i686/texlive-updmap.script 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+UPDMAP="etc/texmf/web2c/updmap.cfg"
+UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg"
+
+cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
+cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
+if [[ -f "$UPDMAPLOCAL" ]]; then
+ cat "$UPDMAPLOCAL" >> $UPDMAP
+fi
+
+/usr/bin/updmap-sys --quiet --nohash
+
Deleted: extra-i686/texlive.install
===================================================================
--- extra-i686/texlive.install 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-i686/texlive.install 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,31 +0,0 @@
-post_install() {
- if [[ -f usr/bin/mktexlsr ]]; then
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- fi
- if [[ -f usr/bin/fmtutil-sys ]]; then
- 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)"
- fi
-}
-
-post_upgrade() {
- local corename corever _pacout
- if [[ -f usr/bin/mktexlsr ]]; then
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- fi
- _pacout=$(pacman -Q texlive-core 2>/dev/null)
- read corename corever <<< ${_pacout}
- # only recreate formats if texlive-core has right version
- if [[ ${corever} == 2016* ]]; then
- if [[ -f usr/bin/fmtutil-sys ]]; then
- echo -n "recreating all formats..."
- usr/bin/fmtutil-sys --all 1>/dev/null
- echo " done."
- echo " (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)"
- fi
- fi
-}
Copied: texlive-bin/repos/extra-i686/texlive.install (from rev 273426, texlive-bin/trunk/texlive.install)
===================================================================
--- extra-i686/texlive.install (rev 0)
+++ extra-i686/texlive.install 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,31 @@
+post_install() {
+ if [[ -f usr/bin/mktexlsr ]]; then
+ echo ">>> texlive: updating the filename database..."
+ usr/bin/mktexlsr
+ fi
+ if [[ -f usr/bin/fmtutil-sys ]]; then
+ 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)"
+ fi
+}
+
+post_upgrade() {
+ local corename corever _pacout
+ if [[ -f usr/bin/mktexlsr ]]; then
+ echo ">>> texlive: updating the filename database..."
+ usr/bin/mktexlsr
+ fi
+ _pacout=$(pacman -Q texlive-core 2>/dev/null)
+ read corename corever <<< ${_pacout}
+ # only recreate formats if texlive-core has right version
+ if [[ ${corever} == 2016* ]]; then
+ if [[ -f usr/bin/fmtutil-sys ]]; then
+ echo -n "recreating all formats..."
+ usr/bin/fmtutil-sys --all 1>/dev/null
+ echo " done."
+ echo " (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)"
+ fi
+ fi
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-x86_64/PKGBUILD 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,364 +0,0 @@
-# $Id$
-# Maintainer: Rémy Oudompheng <remy at archlinux.org>
-# Contributor: francois <francois.archlinux.org>
-
-pkgname=('texlive-bin' 'libsynctex')
-pkgver=2016.41290
-pkgrel=4
-license=('GPL')
-arch=('i686' 'x86_64')
-makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
- 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
- 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
- 'perl' 'clisp' 'ffcall')
-url='http://tug.org/texlive/'
-source=('fix-fontforge-encoding.patch'
- "http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-${pkgver}.tar.xz"
- "mktexlsr.hook"
- "mktexlsr.script"
- "texlive-updmap.hook"
- "texlive-updmap.script"
-)
-md5sums=('bfb9716aa00c86c08cd31e5b32edeb98'
- '7303361f2d441eb5c962a996fd77e8fa'
- '7bc9cef52d3b0c15d2364b7d8658faa6'
- 'b8005a998186d3846df357ef0f4b4560'
- 'c18cbbd000aac60813b1695aa058964f'
- '06034157badeeefe9982d7b29e7f5b51')
-
-build() {
- cd "$srcdir"
-
- # this patch removes spurious error message with locale "xx_YY.utf8"
- #patch -Np0 -i fix-fontforge-encoding.patch
- # t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
- sed -i s/SELFAUTOPARENT/TEXMFROOT/ source/texk/tex4htk/t4ht.c
- #############################################################
- ### configure
- cd source
- ## prevent compiling Xdvi with libXp
- sed -i~ 's|-lXp ||' texk/xdvik/configure
- test ! -d Work && mkdir Work
- cd Work
- echo "--> Initial configuration..."
- # we use temporary prefix to avoid messing the existing
- # $pkgdir/usr/share/texmf tree
- # system zlib is disabled due to issues with zlib 1.2.6 (FS#28221)
- ../configure --prefix=/usr -C \
- --sysconfdir=/etc \
- --datarootdir=/usr/share \
- --datadir=/usr/share \
- --mandir=/usr/share/man \
- --disable-native-texlive-build \
- --with-banner-add="/Arch Linux" \
- --disable-multiplatform \
- --disable-dialog \
- --disable-psutils \
- --disable-t1utils \
- --disable-bibtexu \
- --disable-xz \
- --enable-shared \
- --disable-static \
- --with-system-zlib \
- --with-system-zziplib \
- --with-system-pnglib \
- --with-system-ncurses \
- --with-system-t1lib \
- --with-system-gd \
- --with-system-poppler \
- --with-system-xpdf \
- --with-system-freetype2 \
- --with-system-pixman \
- --with-system-cairo \
- --with-system-harfbuzz \
- --with-system-graphite \
- --with-system-icu \
- --with-system-gmp \
- --with-system-mpfr \
- --with-system-potrace \
- --with-system-libpaper \
- --with-freetype2-libdir=/usr/lib \
- --with-freetype2-include=/usr/include/freetype2 \
- --with-xdvi-x-toolkit=xaw \
- --disable-dump-share \
- --disable-aleph \
- --enable-luatex \
- --with-clisp-runtime=default \
- --enable-xindy --disable-xindy-rules --disable-xindy-docs
- #############################################################
- ### make
- echo "-------------------------------------------------------"
- echo "--> Building the whole beast ..."
- echo "-------------------------------------------------------"
- make
-}
-
-package_libsynctex() {
- pkgdesc='Library for synchronization between TeX files and resulting file'
- depends=('glibc' 'zlib')
-
- cd "${srcdir}/source/Work"
- make -C texk/web2c DESTDIR="${pkgdir}" \
- install-data-am install-libLTLIBRARIES
-}
-
-package_texlive-bin() {
- pkgdesc="TeX Live binaries"
- depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
- 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
- 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
- 'libsynctex')
- provides=('lcdf-typetools' 'kpathsea' 'xindy' 'pdfjam')
- conflicts=('pdfjam')
- optdepends=('ed: for texconfig')
- install="texlive.install"
- options=('!strip')
-
- cd "$srcdir"
-
- #############################################################
- ### install
- cd source
- # fixes for xindy
- find utils/xindy -name Makefile -exec sed -i -e "s|^prefix =.\+$|prefix = $pkgdir/usr|" -e "s|^mandir =.\+$|mandir = \${prefix}/share/man|" -e "s|^datadir =.\+$|datadir = \${datarootdir}/texmf|" -e "s|^docdir =.\+$|docdir = \${datadir}/doc/xindy|" '{}' \;
-
- echo "-------------------------------------------------------"
- echo "--> Proceeding with make install ..."
- echo "-------------------------------------------------------"
- cd Work
- make DESTDIR="${pkgdir}" texmf="$pkgdir"/usr/share/texmf install
- rm -rf "${pkgdir}"/usr/{texmf,share/texmf-dist}
-
- ## symlink engines by hand. texlinks has moved to texlive-core...
- mkdir -p ${pkgdir}/usr/bin
- ln -s eptex ${pkgdir}/usr/bin/platex
- ln -s euptex ${pkgdir}/usr/bin/uplatex
- ln -s luatex ${pkgdir}/usr/bin/dvilualatex
- ln -s luatex ${pkgdir}/usr/bin/dviluatex
- ln -s luatex ${pkgdir}/usr/bin/lualatex
- ln -s pdftex ${pkgdir}/usr/bin/amstex
- ln -s pdftex ${pkgdir}/usr/bin/cslatex
- ln -s pdftex ${pkgdir}/usr/bin/csplain
- ln -s pdftex ${pkgdir}/usr/bin/eplain
- ln -s pdftex ${pkgdir}/usr/bin/etex
- ln -s pdftex ${pkgdir}/usr/bin/jadetex
- ln -s pdftex ${pkgdir}/usr/bin/latex
- ln -s tex ${pkgdir}/usr/bin/lollipop
- ln -s pdftex ${pkgdir}/usr/bin/mex
- ln -s pdftex ${pkgdir}/usr/bin/mllatex
- ln -s pdftex ${pkgdir}/usr/bin/mltex
- ln -s pdftex ${pkgdir}/usr/bin/pdfetex
- ln -s pdftex ${pkgdir}/usr/bin/pdfcslatex
- ln -s pdftex ${pkgdir}/usr/bin/pdfcsplain
- ln -s pdftex ${pkgdir}/usr/bin/pdfjadetex
- ln -s pdftex ${pkgdir}/usr/bin/pdflatex
- ln -s pdftex ${pkgdir}/usr/bin/pdfmex
- ln -s pdftex ${pkgdir}/usr/bin/pdfxmltex
- ln -s pdftex ${pkgdir}/usr/bin/texsis
- ln -s pdftex ${pkgdir}/usr/bin/utf8mex
- ln -s pdftex ${pkgdir}/usr/bin/xmltex
- ln -s xetex ${pkgdir}/usr/bin/xelatex
-
- ## install pacman hooks
- install -D -m644 ${srcdir}/mktexlsr.hook "$pkgdir/usr/share/libalpm/hooks/mktexlsr.hook"
- install -D -m644 ${srcdir}/texlive-updmap.hook "$pkgdir/usr/share/libalpm/hooks/texlive-updmap.hook"
- install -D -m755 ${srcdir}/mktexlsr.script "$pkgdir/usr/share/libalpm/scripts/mktexlsr"
- install -D -m755 ${srcdir}/texlive-updmap.script "$pkgdir/usr/share/libalpm/scripts/texlive-updmap"
-
- #############################################################
- # remove dangling symlinks
- _bibtexextra_scripts="
-bibexport
-bibdoiadd
-bibzbladd
-listbib
-ltx2crossrefxml
-multibibliography
-urlbst
-"
- _core_scripts="
-a2ping
-a5toa4
-adhocfilelist
-afm2afm
-allcm
-allec
-allneeded
-arara
-arlatex
-autoinst
-bundledoc
-checkcites
-checklistings
-chkweb
-cjk-gs-integrate
-context
-contextjit
-ctanify
-ctanupload
-de-macro
-depythontex
-deweb
-dosepsbin
-dtxgen
-dvi2fax
-dviasm
-dvired
-e2pall
-epstopdf
-findhyph
-fmtutil
-fmtutil-sys
-fontinst
-fragmaster
-installfont-tl
-kpsepath
-kpsetool
-kpsewhere
-kpsexpand
-latex-git-log
-latex2man
-latexdiff
-latexdiff-vc
-latexfileversion
-latexindent
-latexmk
-latexpand
-latexrevise
-listings-ext.sh
-ltxfileinfo
-ltximg
-lua2dox_filter
-luaotfload-tool
-luatools
-make4ht
-match_parens
-mf2pt1
-mkjobtexmf
-mkt1font
-mktexfmt
-mptopdf
-mtxrun
-mtxrunjit
-ot2kpx
-pdf180
-pdf270
-pdf90
-pdfatfi
-pdfbook
-pdfbook2
-pdfcrop
-pdfflip
-pdfjam
-pdfjam-pocketmod
-pdfjam-slides3up
-pdfjam-slides6up
-pdfjoin
-pdfnup
-pdfpun
-pdfxup
-pfarrei
-pkfix
-pkfix-helper
-ps2eps
-ps2frag
-pslatex
-purifyeps
-pythontex
-repstopdf
-rpdfcrop
-rungs
-simpdftex
-srcredact
-sty2dtx
-tex4ebook
-texconfig
-texconfig-dialog
-texconfig-sys
-texcount
-texdef
-texdiff
-texdirflatten
-texdoc
-texdoctk
-texexec
-texfot
-texindy
-texlinks
-texliveonfly
-texloganalyser
-texmfstart
-thumbpdf
-typeoutfileinfo
-updmap
-updmap-sys
-vpl2ovp
-vpl2vpl
-xindy
-"
- _games_scripts="rubikrotation"
- _htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht"
- _humanities_scripts="diadia"
- _langcyrillic_scripts="rubibtex rumakeindex"
- _langextra_scripts="ebong"
- _langgreek_scripts="mkgrkindex"
- _langjapanese_scripts="convbkmk ptex2pdf
-kanji-fontmap-creator
-kanji-config-updmap
-kanji-config-updmap-sys
-"
- _langkorean_scripts="jamo-normalize komkindex ttf2kotexfont"
- _latexextra_scripts="
-authorindex
-exceltex
-makedtx
-makeglossaries
-makeglossaries-lite
-pdfannotextractor
-perltex
-ps4pdf
-splitindex
-svn-multi
-vpe
-yplan"
- _music_scripts="lily-glyph-commands lily-image-commands lily-rebuild-pdfs
-m-tx musixtex musixflx pmx2pdf pmxchords"
- _pictures_scripts="
-cachepic
-epspdf
-epspdftk
-fig4latex
-getmapdl
-mathspic
-mkpic
-pn2pdf"
- _pstricks_scripts="pedigree pst2pdf"
- _science_scripts="pygmentex ulqda"
- for s in \
- ${_bibtexextra_scripts} \
- ${_core_scripts} \
- ${_games_scripts} \
- ${_htmlxml_scripts} \
- ${_humanities_scripts} \
- ${_langcyrillic_scripts} \
- ${_langextra_scripts} \
- ${_langgreek_scripts} \
- ${_langjapanese_scripts} \
- ${_langkorean_scripts} \
- ${_latexextra_scripts} \
- ${_music_scripts} \
- ${_pictures_scripts} \
- ${_pstricks_scripts} \
- ${_science_scripts} \
- tlmgr; do
- ! readlink -e "$pkgdir"/usr/bin/$s && rm "$pkgdir"/usr/bin/$s
- done
- ###################################################################
-
- # remove libsynctex
- rm -f "$pkgdir"/usr/include/synctex/*
- rm -f "$pkgdir"/usr/lib/libsynctex.*
- rm -f "$pkgdir"/usr/lib/pkgconfig/synctex.pc
- rm -f "$pkgdir"/usr/share/man/man*/synctex.*
-}
-
Copied: texlive-bin/repos/extra-x86_64/PKGBUILD (from rev 273426, texlive-bin/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,365 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: francois <francois.archlinux.org>
+
+pkgname=('texlive-bin' 'libsynctex')
+pkgver=2016.41290
+pkgrel=5
+license=('GPL')
+arch=('i686' 'x86_64')
+makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
+ 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
+ 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
+ 'perl' 'clisp' 'ffcall')
+url='http://tug.org/texlive/'
+source=('fix-fontforge-encoding.patch'
+ "http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-${pkgver}.tar.xz"
+ "mktexlsr.hook"
+ "mktexlsr.script"
+ "texlive-updmap.hook"
+ "texlive-updmap.script"
+)
+md5sums=('bfb9716aa00c86c08cd31e5b32edeb98'
+ '7303361f2d441eb5c962a996fd77e8fa'
+ '7bc9cef52d3b0c15d2364b7d8658faa6'
+ '2bbbef810687f4b2804a4b8cb91ce02f'
+ 'c18cbbd000aac60813b1695aa058964f'
+ 'c64d77b5111a26b9995263b49df4937c')
+
+build() {
+ cd "$srcdir"
+
+ # this patch removes spurious error message with locale "xx_YY.utf8"
+ #patch -Np0 -i fix-fontforge-encoding.patch
+ # t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
+ sed -i s/SELFAUTOPARENT/TEXMFROOT/ source/texk/tex4htk/t4ht.c
+ #############################################################
+ ### configure
+ cd source
+ ## prevent compiling Xdvi with libXp
+ sed -i~ 's|-lXp ||' texk/xdvik/configure
+ test ! -d Work && mkdir Work
+ cd Work
+ echo "--> Initial configuration..."
+ # we use temporary prefix to avoid messing the existing
+ # $pkgdir/usr/share/texmf tree
+ # system zlib is disabled due to issues with zlib 1.2.6 (FS#28221)
+ ../configure --prefix=/usr -C \
+ --sysconfdir=/etc \
+ --datarootdir=/usr/share \
+ --datadir=/usr/share \
+ --mandir=/usr/share/man \
+ --disable-native-texlive-build \
+ --with-banner-add="/Arch Linux" \
+ --disable-multiplatform \
+ --disable-dialog \
+ --disable-psutils \
+ --disable-t1utils \
+ --disable-bibtexu \
+ --disable-xz \
+ --enable-shared \
+ --disable-static \
+ --with-system-zlib \
+ --with-system-zziplib \
+ --with-system-pnglib \
+ --with-system-ncurses \
+ --with-system-t1lib \
+ --with-system-gd \
+ --with-system-poppler \
+ --with-system-xpdf \
+ --with-system-freetype2 \
+ --with-system-pixman \
+ --with-system-cairo \
+ --with-system-harfbuzz \
+ --with-system-graphite \
+ --with-system-icu \
+ --with-system-gmp \
+ --with-system-mpfr \
+ --with-system-potrace \
+ --with-system-libpaper \
+ --with-freetype2-libdir=/usr/lib \
+ --with-freetype2-include=/usr/include/freetype2 \
+ --with-xdvi-x-toolkit=xaw \
+ --disable-dump-share \
+ --disable-aleph \
+ --enable-luatex \
+ --with-clisp-runtime=default \
+ --enable-xindy --disable-xindy-rules --disable-xindy-docs
+ #############################################################
+ ### make
+ echo "-------------------------------------------------------"
+ echo "--> Building the whole beast ..."
+ echo "-------------------------------------------------------"
+ make
+}
+
+package_libsynctex() {
+ pkgdesc='Library for synchronization between TeX files and resulting file'
+ depends=('glibc' 'zlib')
+
+ cd "${srcdir}/source/Work"
+ make -C texk/web2c DESTDIR="${pkgdir}" \
+ install-data-am install-libLTLIBRARIES
+}
+
+package_texlive-bin() {
+ pkgdesc="TeX Live binaries"
+ depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
+ 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
+ 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper'
+ 'libsynctex')
+ provides=('lcdf-typetools' 'kpathsea' 'xindy' 'pdfjam')
+ conflicts=('pdfjam')
+ optdepends=('ed: for texconfig'
+ 'biber: for bibliography processing')
+ install="texlive.install"
+ options=('!strip')
+
+ cd "$srcdir"
+
+ #############################################################
+ ### install
+ cd source
+ # fixes for xindy
+ find utils/xindy -name Makefile -exec sed -i -e "s|^prefix =.\+$|prefix = $pkgdir/usr|" -e "s|^mandir =.\+$|mandir = \${prefix}/share/man|" -e "s|^datadir =.\+$|datadir = \${datarootdir}/texmf|" -e "s|^docdir =.\+$|docdir = \${datadir}/doc/xindy|" '{}' \;
+
+ echo "-------------------------------------------------------"
+ echo "--> Proceeding with make install ..."
+ echo "-------------------------------------------------------"
+ cd Work
+ make DESTDIR="${pkgdir}" texmf="$pkgdir"/usr/share/texmf install
+ rm -rf "${pkgdir}"/usr/{texmf,share/texmf-dist}
+
+ ## symlink engines by hand. texlinks has moved to texlive-core...
+ mkdir -p ${pkgdir}/usr/bin
+ ln -s eptex ${pkgdir}/usr/bin/platex
+ ln -s euptex ${pkgdir}/usr/bin/uplatex
+ ln -s luatex ${pkgdir}/usr/bin/dvilualatex
+ ln -s luatex ${pkgdir}/usr/bin/dviluatex
+ ln -s luatex ${pkgdir}/usr/bin/lualatex
+ ln -s pdftex ${pkgdir}/usr/bin/amstex
+ ln -s pdftex ${pkgdir}/usr/bin/cslatex
+ ln -s pdftex ${pkgdir}/usr/bin/csplain
+ ln -s pdftex ${pkgdir}/usr/bin/eplain
+ ln -s pdftex ${pkgdir}/usr/bin/etex
+ ln -s pdftex ${pkgdir}/usr/bin/jadetex
+ ln -s pdftex ${pkgdir}/usr/bin/latex
+ ln -s tex ${pkgdir}/usr/bin/lollipop
+ ln -s pdftex ${pkgdir}/usr/bin/mex
+ ln -s pdftex ${pkgdir}/usr/bin/mllatex
+ ln -s pdftex ${pkgdir}/usr/bin/mltex
+ ln -s pdftex ${pkgdir}/usr/bin/pdfetex
+ ln -s pdftex ${pkgdir}/usr/bin/pdfcslatex
+ ln -s pdftex ${pkgdir}/usr/bin/pdfcsplain
+ ln -s pdftex ${pkgdir}/usr/bin/pdfjadetex
+ ln -s pdftex ${pkgdir}/usr/bin/pdflatex
+ ln -s pdftex ${pkgdir}/usr/bin/pdfmex
+ ln -s pdftex ${pkgdir}/usr/bin/pdfxmltex
+ ln -s pdftex ${pkgdir}/usr/bin/texsis
+ ln -s pdftex ${pkgdir}/usr/bin/utf8mex
+ ln -s pdftex ${pkgdir}/usr/bin/xmltex
+ ln -s xetex ${pkgdir}/usr/bin/xelatex
+
+ ## install pacman hooks
+ install -D -m644 ${srcdir}/mktexlsr.hook "$pkgdir/usr/share/libalpm/hooks/mktexlsr.hook"
+ install -D -m644 ${srcdir}/texlive-updmap.hook "$pkgdir/usr/share/libalpm/hooks/texlive-updmap.hook"
+ install -D -m755 ${srcdir}/mktexlsr.script "$pkgdir/usr/share/libalpm/scripts/mktexlsr"
+ install -D -m755 ${srcdir}/texlive-updmap.script "$pkgdir/usr/share/libalpm/scripts/texlive-updmap"
+
+ #############################################################
+ # remove dangling symlinks
+ _bibtexextra_scripts="
+bibexport
+bibdoiadd
+bibzbladd
+listbib
+ltx2crossrefxml
+multibibliography
+urlbst
+"
+ _core_scripts="
+a2ping
+a5toa4
+adhocfilelist
+afm2afm
+allcm
+allec
+allneeded
+arara
+arlatex
+autoinst
+bundledoc
+checkcites
+checklistings
+chkweb
+cjk-gs-integrate
+context
+contextjit
+ctanify
+ctanupload
+de-macro
+depythontex
+deweb
+dosepsbin
+dtxgen
+dvi2fax
+dviasm
+dvired
+e2pall
+epstopdf
+findhyph
+fmtutil
+fmtutil-sys
+fontinst
+fragmaster
+installfont-tl
+kpsepath
+kpsetool
+kpsewhere
+kpsexpand
+latex-git-log
+latex2man
+latexdiff
+latexdiff-vc
+latexfileversion
+latexindent
+latexmk
+latexpand
+latexrevise
+listings-ext.sh
+ltxfileinfo
+ltximg
+lua2dox_filter
+luaotfload-tool
+luatools
+make4ht
+match_parens
+mf2pt1
+mkjobtexmf
+mkt1font
+mktexfmt
+mptopdf
+mtxrun
+mtxrunjit
+ot2kpx
+pdf180
+pdf270
+pdf90
+pdfatfi
+pdfbook
+pdfbook2
+pdfcrop
+pdfflip
+pdfjam
+pdfjam-pocketmod
+pdfjam-slides3up
+pdfjam-slides6up
+pdfjoin
+pdfnup
+pdfpun
+pdfxup
+pfarrei
+pkfix
+pkfix-helper
+ps2eps
+ps2frag
+pslatex
+purifyeps
+pythontex
+repstopdf
+rpdfcrop
+rungs
+simpdftex
+srcredact
+sty2dtx
+tex4ebook
+texconfig
+texconfig-dialog
+texconfig-sys
+texcount
+texdef
+texdiff
+texdirflatten
+texdoc
+texdoctk
+texexec
+texfot
+texindy
+texlinks
+texliveonfly
+texloganalyser
+texmfstart
+thumbpdf
+typeoutfileinfo
+updmap
+updmap-sys
+vpl2ovp
+vpl2vpl
+xindy
+"
+ _games_scripts="rubikrotation"
+ _htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht"
+ _humanities_scripts="diadia"
+ _langcyrillic_scripts="rubibtex rumakeindex"
+ _langextra_scripts="ebong"
+ _langgreek_scripts="mkgrkindex"
+ _langjapanese_scripts="convbkmk ptex2pdf
+kanji-fontmap-creator
+kanji-config-updmap
+kanji-config-updmap-sys
+"
+ _langkorean_scripts="jamo-normalize komkindex ttf2kotexfont"
+ _latexextra_scripts="
+authorindex
+exceltex
+makedtx
+makeglossaries
+makeglossaries-lite
+pdfannotextractor
+perltex
+ps4pdf
+splitindex
+svn-multi
+vpe
+yplan"
+ _music_scripts="lily-glyph-commands lily-image-commands lily-rebuild-pdfs
+m-tx musixtex musixflx pmx2pdf pmxchords"
+ _pictures_scripts="
+cachepic
+epspdf
+epspdftk
+fig4latex
+getmapdl
+mathspic
+mkpic
+pn2pdf"
+ _pstricks_scripts="pedigree pst2pdf"
+ _science_scripts="pygmentex ulqda"
+ for s in \
+ ${_bibtexextra_scripts} \
+ ${_core_scripts} \
+ ${_games_scripts} \
+ ${_htmlxml_scripts} \
+ ${_humanities_scripts} \
+ ${_langcyrillic_scripts} \
+ ${_langextra_scripts} \
+ ${_langgreek_scripts} \
+ ${_langjapanese_scripts} \
+ ${_langkorean_scripts} \
+ ${_latexextra_scripts} \
+ ${_music_scripts} \
+ ${_pictures_scripts} \
+ ${_pstricks_scripts} \
+ ${_science_scripts} \
+ tlmgr; do
+ ! readlink -e "$pkgdir"/usr/bin/$s && rm "$pkgdir"/usr/bin/$s
+ done
+ ###################################################################
+
+ # remove libsynctex
+ rm -f "$pkgdir"/usr/include/synctex/*
+ rm -f "$pkgdir"/usr/lib/libsynctex.*
+ rm -f "$pkgdir"/usr/lib/pkgconfig/synctex.pc
+ rm -f "$pkgdir"/usr/share/man/man*/synctex.*
+}
+
Deleted: extra-x86_64/fix-fontforge-encoding.patch
===================================================================
--- extra-x86_64/fix-fontforge-encoding.patch 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-x86_64/fix-fontforge-encoding.patch 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,12 +0,0 @@
---- source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/noprefs.c.orig 2009-09-30 19:27:00.935039526 +0200
-+++ source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/noprefs.c 2009-09-30 19:28:04.908364646 +0200
-@@ -495,6 +495,9 @@
- { "Big5HKSCS", e_big5hkscs },
- { "Big5-HKSCS", e_big5hkscs },
- { "UTF-8", e_utf8 },
-+ { "utf-8", e_utf8 },
-+ { "UTF8", e_utf8 },
-+ { "utf8", e_utf8 },
- { "ISO-10646/UTF-8", e_utf8 },
- { "ISO_10646/UTF-8", e_utf8 },
- { "UCS2", e_unicode },
Copied: texlive-bin/repos/extra-x86_64/fix-fontforge-encoding.patch (from rev 273426, texlive-bin/trunk/fix-fontforge-encoding.patch)
===================================================================
--- extra-x86_64/fix-fontforge-encoding.patch (rev 0)
+++ extra-x86_64/fix-fontforge-encoding.patch 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,12 @@
+--- source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/noprefs.c.orig 2009-09-30 19:27:00.935039526 +0200
++++ source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/noprefs.c 2009-09-30 19:28:04.908364646 +0200
+@@ -495,6 +495,9 @@
+ { "Big5HKSCS", e_big5hkscs },
+ { "Big5-HKSCS", e_big5hkscs },
+ { "UTF-8", e_utf8 },
++ { "utf-8", e_utf8 },
++ { "UTF8", e_utf8 },
++ { "utf8", e_utf8 },
+ { "ISO-10646/UTF-8", e_utf8 },
+ { "ISO_10646/UTF-8", e_utf8 },
+ { "UCS2", e_unicode },
Deleted: extra-x86_64/mktexlsr.hook
===================================================================
--- extra-x86_64/mktexlsr.hook 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-x86_64/mktexlsr.hook 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,15 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = etc/texmf/*
-Target = usr/share/texmf/*
-Target = usr/share/texmf-dist/*
-Target = var/lib/texmf/*
-
-[Action]
-Description = Updating TeXLive filename database...
-When = PostTransaction
-Exec = /usr/share/libalpm/scripts/mktexlsr
-
Copied: texlive-bin/repos/extra-x86_64/mktexlsr.hook (from rev 273426, texlive-bin/trunk/mktexlsr.hook)
===================================================================
--- extra-x86_64/mktexlsr.hook (rev 0)
+++ extra-x86_64/mktexlsr.hook 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,15 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = etc/texmf/*
+Target = usr/share/texmf/*
+Target = usr/share/texmf-dist/*
+Target = var/lib/texmf/*
+
+[Action]
+Description = Updating TeXLive filename database...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/mktexlsr
+
Deleted: extra-x86_64/mktexlsr.script
===================================================================
--- extra-x86_64/mktexlsr.script 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-x86_64/mktexlsr.script 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-/usr/bin/mktexlsr
-echo ">>> Updating LuaTeX filename database..."
-(cd /etc/texmf && /usr/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
- if grep -F '["root"]="."' "$item" >/dev/null; then
- rm -vf "$item" "${item%.lua}.luc"
- fi
-done
-
Copied: texlive-bin/repos/extra-x86_64/mktexlsr.script (from rev 273426, texlive-bin/trunk/mktexlsr.script)
===================================================================
--- extra-x86_64/mktexlsr.script (rev 0)
+++ extra-x86_64/mktexlsr.script 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+/usr/bin/mktexlsr
+(cd /etc/texmf && /usr/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
+ if grep -F '["root"]="."' "$item" >/dev/null; then
+ rm -f "$item" "${item%.lua}.luc"
+ fi
+done
+
Deleted: extra-x86_64/texlive-updmap.hook
===================================================================
--- extra-x86_64/texlive-updmap.hook 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-x86_64/texlive-updmap.hook 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,12 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = var/lib/texmf/arch/installedpkgs/*.maps
-
-[Action]
-Description = Updating TeXLive font maps...
-When = PostTransaction
-Exec = /usr/share/libalpm/scripts/texlive-updmap
-
Copied: texlive-bin/repos/extra-x86_64/texlive-updmap.hook (from rev 273426, texlive-bin/trunk/texlive-updmap.hook)
===================================================================
--- extra-x86_64/texlive-updmap.hook (rev 0)
+++ extra-x86_64/texlive-updmap.hook 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = var/lib/texmf/arch/installedpkgs/*.maps
+
+[Action]
+Description = Updating TeXLive font maps...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/texlive-updmap
+
Deleted: extra-x86_64/texlive-updmap.script
===================================================================
--- extra-x86_64/texlive-updmap.script 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-x86_64/texlive-updmap.script 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-UPDMAP="etc/texmf/web2c/updmap.cfg"
-UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg"
-
-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
-if [[ -f "$UPDMAPLOCAL" ]]; then
- cat "$UPDMAPLOCAL" >> $UPDMAP
-fi
-
-echo ">>> texlive: updating the fontmap files with updmap..."
-/usr/bin/updmap-sys --quiet --nohash
-echo " done."
-
Copied: texlive-bin/repos/extra-x86_64/texlive-updmap.script (from rev 273426, texlive-bin/trunk/texlive-updmap.script)
===================================================================
--- extra-x86_64/texlive-updmap.script (rev 0)
+++ extra-x86_64/texlive-updmap.script 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+UPDMAP="etc/texmf/web2c/updmap.cfg"
+UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg"
+
+cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
+cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
+if [[ -f "$UPDMAPLOCAL" ]]; then
+ cat "$UPDMAPLOCAL" >> $UPDMAP
+fi
+
+/usr/bin/updmap-sys --quiet --nohash
+
Deleted: extra-x86_64/texlive.install
===================================================================
--- extra-x86_64/texlive.install 2016-08-06 18:30:35 UTC (rev 273426)
+++ extra-x86_64/texlive.install 2016-08-06 18:30:38 UTC (rev 273427)
@@ -1,31 +0,0 @@
-post_install() {
- if [[ -f usr/bin/mktexlsr ]]; then
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- fi
- if [[ -f usr/bin/fmtutil-sys ]]; then
- 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)"
- fi
-}
-
-post_upgrade() {
- local corename corever _pacout
- if [[ -f usr/bin/mktexlsr ]]; then
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- fi
- _pacout=$(pacman -Q texlive-core 2>/dev/null)
- read corename corever <<< ${_pacout}
- # only recreate formats if texlive-core has right version
- if [[ ${corever} == 2016* ]]; then
- if [[ -f usr/bin/fmtutil-sys ]]; then
- echo -n "recreating all formats..."
- usr/bin/fmtutil-sys --all 1>/dev/null
- echo " done."
- echo " (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)"
- fi
- fi
-}
Copied: texlive-bin/repos/extra-x86_64/texlive.install (from rev 273426, texlive-bin/trunk/texlive.install)
===================================================================
--- extra-x86_64/texlive.install (rev 0)
+++ extra-x86_64/texlive.install 2016-08-06 18:30:38 UTC (rev 273427)
@@ -0,0 +1,31 @@
+post_install() {
+ if [[ -f usr/bin/mktexlsr ]]; then
+ echo ">>> texlive: updating the filename database..."
+ usr/bin/mktexlsr
+ fi
+ if [[ -f usr/bin/fmtutil-sys ]]; then
+ 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)"
+ fi
+}
+
+post_upgrade() {
+ local corename corever _pacout
+ if [[ -f usr/bin/mktexlsr ]]; then
+ echo ">>> texlive: updating the filename database..."
+ usr/bin/mktexlsr
+ fi
+ _pacout=$(pacman -Q texlive-core 2>/dev/null)
+ read corename corever <<< ${_pacout}
+ # only recreate formats if texlive-core has right version
+ if [[ ${corever} == 2016* ]]; then
+ if [[ -f usr/bin/fmtutil-sys ]]; then
+ echo -n "recreating all formats..."
+ usr/bin/fmtutil-sys --all 1>/dev/null
+ echo " done."
+ echo " (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)"
+ fi
+ fi
+}
More information about the arch-commits
mailing list