summaryrefslogtreecommitdiff
path: root/libre/texlive-bin-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-06 07:35:38 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-06 07:35:38 -0300
commit502690a5c1c79b1fb9df696ca511f0b5934b9275 (patch)
treec5b6df06083e7e6a36af406a14bbfc21cc894308 /libre/texlive-bin-libre/PKGBUILD
parent7232ebf03772d0a7f1602a6032636c8df7f796c4 (diff)
downloadabslibre-502690a5c1c79b1fb9df696ca511f0b5934b9275.tar.gz
abslibre-502690a5c1c79b1fb9df696ca511f0b5934b9275.tar.bz2
abslibre-502690a5c1c79b1fb9df696ca511f0b5934b9275.zip
texlive-bin-2013.30973-3: rebuild against poppler, and change name on package due which it will be repackaged as rebranding only
Diffstat (limited to 'libre/texlive-bin-libre/PKGBUILD')
-rw-r--r--libre/texlive-bin-libre/PKGBUILD301
1 files changed, 0 insertions, 301 deletions
diff --git a/libre/texlive-bin-libre/PKGBUILD b/libre/texlive-bin-libre/PKGBUILD
deleted file mode 100644
index 897db2854..000000000
--- a/libre/texlive-bin-libre/PKGBUILD
+++ /dev/null
@@ -1,301 +0,0 @@
-# $Id: PKGBUILD 192005 2013-08-03 20:33:12Z remy $
-# Maintainer: Rémy Oudompheng <remy@archlinux.org>
-# Contributor: francois <francois.archlinux.org>
-# Maintainer (Parabola): Michał Masłowski <mtjm@mtjm.eu>
-# Contributor (Parabola): André Silva <emulatorman@lavabit.com>
-
-pkgname=texlive-bin-libre
-pkgver=2013.30973
-pkgrel=2
-pkgdesc="TeX Live binaries (Parabola rebranded)"
-license=('GPL')
-arch=('i686' 'x86_64' 'mips64el')
-depends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler>=0.22.0'
- 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2'
- 'icu' 'harfbuzz' 'harfbuzz-icu')
-makedepends=('perl' 'clisp' 'ffcall')
-optdepends=('ed: for texconfig')
-provides=('lcdf-typetools' 'kpathsea' 'xindy' 'pdfjam' 'texlive-bin')
-conflicts=('pdfjam' 'texlive-bin')
-replaces=('texlive-bin')
-options=('!libtool' '!strip')
-url='http://tug.org/texlive/'
-install="texlive.install"
-source=('fix-fontforge-encoding.patch'
- "http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-${pkgver}.tar.xz"
-)
-md5sums=('bfb9716aa00c86c08cd31e5b32edeb98'
- '0a8ffd5c0002a080a4202057b1f106c6')
-
-build() {
- cd "$srcdir"
-
- if [ "${CARCH}" != "i686" ]; then
- export CFLAGS="${CFLAGS} -fPIC"
- export CXXFLAGS="${CXXFLAGS} -fPIC"
- fi
-
- # 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="/Parabola GNU/Linux-libre" \
- --disable-multiplatform \
- --disable-dialog \
- --disable-psutils \
- --disable-t1utils \
- --disable-bibtexu \
- --disable-xz \
- --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-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() {
- 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}
-
- ## install Perl libraries
- mkdir -p "$pkgdir"/usr/share/tlpkg/TeXLive
- install -m644 "${srcdir}"/source/utils/biber/TeXLive/*.pm "${pkgdir}/usr/share/tlpkg/TeXLive"
-
- ## 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 luatex ${pkgdir}/usr/bin/pdfcsplain
- 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 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/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
-
- #############################################################
- # remove dangling symlinks
- _bibtexextra_scripts="
-bibexport
-listbib
-multibibliography
-urlbst
-"
- _core_scripts="
-a2ping
-a5toa4
-adhocfilelist
-afm2afm
-allcm
-allec
-allneeded
-arara
-arlatex
-autoinst
-bundledoc
-checkcites
-chkweb
-context
-ctanify
-ctanupload
-ctxtools
-de-macro
-deweb
-dosepsbin
-dtxgen
-dvi2fax
-dviasm
-dvired
-e2pall
-epstopdf
-findhyph
-fmtutil
-fmtutil-sys
-fontinst
-fragmaster
-installfont-tl
-kpsepath
-kpsetool
-kpsewhere
-kpsexpand
-latex2man
-latexdiff
-latexdiff-vc
-latexfileversion
-latexmk
-latexpand
-latexrevise
-listings-ext.sh
-ltxfileinfo
-lua2dox_filter
-luaotfload-tool
-luatools
-match_parens
-mf2pt1
-mkjobtexmf
-mkluatexfontdb
-mkt1font
-mktexfmt
-mptopdf
-mtxrun
-ot2kpx
-pdf180
-pdf270
-pdf90
-pdfatfi
-pdfbook
-pdfcrop
-pdfflip
-pdfjam
-pdfjam-pocketmod
-pdfjam-slides3up
-pdfjam-slides6up
-pdfjoin
-pdfnup
-pdfpun
-pfarrei
-pkfix
-pkfix-helper
-ps2eps
-ps2frag
-pslatex
-pstopdf
-purifyeps
-repstopdf
-rpdfcrop
-rungs
-simpdftex
-sty2dtx
-texconfig
-texconfig-dialog
-texconfig-sys
-texcount
-texdef
-texdiff
-texdirflatten
-texdoc
-texdoctk
-texexec
-texindy
-texlinks
-texliveonfly
-texloganalyser
-texmfstart
-thumbpdf
-typeoutfileinfo
-updmap
-updmap-sys
-vpl2ovp
-vpl2vpl
-xindy
-"
- _htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht"
- _langcyrillic_scripts="rubibtex rumakeindex"
- _langcjk_scripts="convbkmk ptex2pdf
-kanji-fontmap-creator
-kanji-config-updmap
-kanji-config-updmap-sys
-"
- _langextra_scripts="ebong"
- _langgreek_scripts="mkgrkindex"
- _latexextra_scripts="
-authorindex
-exceltex
-makeglossaries
-pdfannotextractor
-perltex
-ps4pdf
-splitindex
-svn-multi
-vpe"
- _music_scripts="m-tx musixtex musixflx pmx2pdf"
- _pictures_scripts="cachepic epspdf epspdftk fig4latex mathspic"
- _pstricks_scripts="pedigree pst2pdf"
- _science_scripts="ulqda"
- for s in \
- ${_bibtexextra_scripts} \
- ${_core_scripts} \
- ${_htmlxml_scripts} \
- ${_langcjk_scripts} \
- ${_langcyrillic_scripts} \
- ${_langextra_scripts} \
- ${_langgreek_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
- ###################################################################
-}
-