[arch-commits] Commit in texlive-bin/trunk (PKGBUILD)

Rémy Oudompheng remy at archlinux.org
Sun Jun 24 18:41:48 UTC 2012


    Date: Sunday, June 24, 2012 @ 14:41:47
  Author: remy
Revision: 162280

Update for texlive 2012.

Modified:
  texlive-bin/trunk/PKGBUILD

----------+
 PKGBUILD |  120 +++++++++++++++++++------------------------------------------
 1 file changed, 38 insertions(+), 82 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-06-24 18:36:05 UTC (rev 162279)
+++ PKGBUILD	2012-06-24 18:41:47 UTC (rev 162280)
@@ -3,13 +3,12 @@
 # Contributor: francois <francois.archlinux.org>
 
 pkgname=texlive-bin
-pkgver=2011.3
-_luatex_ver=0.70.1
-pkgrel=8
+pkgver=2012.0
+pkgrel=1
 pkgdesc="TeX Live binaries"
 license=('GPL')
 arch=('i686' 'x86_64')
-depends=('t1lib' 'gd' 'poppler' 'libsigsegv' 'zziplib')
+depends=('t1lib' 'gd' 'poppler' 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2')
 makedepends=('perl' 'clisp' 'ffcall')
 optdepends=('ed: for texconfig')
 provides=('lcdf-typetools' 'kpathsea' 'xindy' 'pdfjam')
@@ -20,11 +19,9 @@
 source=('texmf.cnf'
         'fix-fontforge-encoding.patch'
         '09-texlive-fonts.conf'
-        'luatex-poppler-0.20.patch'
-        'http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-20111210.tar.xz'
-        'http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-texmf-20111210.tar.xz'
-        # "http://foundry.supelec.fr/gf/download/frsrelease/392/1730/luatex-beta-${_luatex_ver}.tar.bz2"
-        'http://ftp.archlinux.org/other/texlive/luatex-svn4356.tar.xz'
+        'poppler-0.20.patch'
+        'http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-20120623.tar.xz'
+        'http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-texmf-20120623.tar.xz'
 )
 backup=(etc/texmf/web2c/texmf.cnf \
   etc/texmf/chktex/chktexrc \
@@ -43,10 +40,9 @@
 md5sums=('220a4f4cc0d915bf8fcbcb553dcee1ae'
          'bfb9716aa00c86c08cd31e5b32edeb98'
          '393a4bf67adc7ca5df2b386759d1a637'
-         '52ce57c02e30a25036b6a3175c566b78'
-         'c7bb38c0ab30c2b64cf4cf83a736b35c'
-         '5d8f06a3683ce88a3c33e15f5ba6a858'
-         'e7f0197559ef865d8c01683dab3b8526')
+         'e3a664d5a7f0923f35060fe9d25d2573'
+         'ac2c3c3aa765581f8504e21a5edbfb9f'
+         'f315a860158cfc952c82a6d759961024')
 
 build() {
    if [ "${CARCH}" = "x86_64" ]; then
@@ -54,50 +50,11 @@
      export CXXFLAGS="${CXXFLAGS} -fPIC"
    fi
 
-   cd "$srcdir"
-   # Building LuaTeX
-   # cd luatex-beta-${_luatex_ver}
-   cd luatex
-   patch -p0 -i ../fix-fontforge-encoding.patch
-   patch -Np0 -i ../luatex-poppler-0.20.patch
-  (cd source && ./texk/web2c/luatexdir/getluatexsvnversion.sh)
-   mkdir build
-   cd build
-   ../source/configure --prefix=/usr -C \
-     --disable-native-texlive-build \
-     --with-banner-add="/Arch Linux" \
-    --enable-cxx-runtime-hack \
-    --disable-all-pkgs \
-    --disable-dump-share \
-    --disable-ptex \
-    --enable-luatex  \
-    --without-system-ptexenc \
-    --without-system-graphite \
-    --without-system-icu \
-    --without-system-kpathsea \
-    --with-system-freetype2 \
-    --with-system-poppler \
-    --with-freetype2-libdir=/usr/lib \
-    --with-freetype2-include=/usr/include/freetype2 \
-    --with-system-gd \
-    --with-system-libpng \
-    --without-system-teckit \
-    --with-system-zlib \
-    --with-system-zziplib \
-    --with-system-t1lib \
-    --disable-shared \
-    --disable-largefile \
-    --disable-ipc \
-    --without-mf-x-toolkit \
-    --without-x
-   make
-   make -C libs/obsdcompat
-   make -C texk/kpathsea
-   make -C texk/web2c luatex
-
-   cd "$srcdir"
+    cd "$srcdir"
    # this patch removes spurious error message with locale "xx_YY.utf8"
-   patch -p0 -i fix-fontforge-encoding.patch
+   patch -Np0 -i fix-fontforge-encoding.patch
+   # fix build with poppler >= 0.20
+   patch -Np0 -i poppler-0.20.patch
    # t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
    sed -i s/SELFAUTOPARENT/TEXMFROOT/ source/texk/tex4htk/t4ht.c
    #############################################################
@@ -124,22 +81,22 @@
      --disable-t1utils \
      --disable-bibtexu \
      --disable-xz \
-     --without-system-zlib \
-     --without-system-zziplib \
-     --without-system-pnglib \
+     --with-system-zlib \
+     --with-system-zziplib \
+     --with-system-pnglib \
      --with-system-ncurses \
      --with-system-t1lib \
-     --without-system-gd \
-     --without-system-poppler \
-     --without-system-xpdf \
-     --without-system-freetype2 \
+     --with-system-gd \
+     --with-system-poppler \
+     --with-system-xpdf \
+     --with-system-freetype2 \
      --without-system-graphite \
      --with-freetype2-libdir=/usr/lib \
      --with-freetype2-include=/usr/include/freetype2 \
      --with-xdvi-x-toolkit=xaw \
      --disable-dump-share \
      --disable-aleph \
-     --disable-luatex \
+     --enable-luatex \
      --with-clisp-runtime=default \
      --enable-xindy --disable-xindy-rules --disable-xindy-docs
    #############################################################
@@ -233,13 +190,6 @@
    ## remove aleph from fmtutil.cnf
    sed -i -e '/aleph/d' "$pkgdir"/usr/share/texmf/web2c/fmtutil.cnf
 
-   ## install luatex binary
-   #install -m755 "$srcdir"/luatex-beta-${_luatex_ver}/build/texk/web2c/luatex "$pkgdir"/usr/bin/
-   install -m755 "$srcdir"/luatex/build/texk/web2c/luatex "$pkgdir"/usr/bin/
-   cd "$pkgdir"/usr/bin
-   /bin/ln -s luatex texlua
-   /bin/ln -s luatex texluac
-
    ## install Perl libraries
    mkdir -p "$pkgdir"/usr/share/tlpkg/TeXLive
    install -m644 "${srcdir}"/source/utils/biber/TeXLive/*.pm "$pkgdir"/usr/share/tlpkg/TeXLive
@@ -251,6 +201,7 @@
    # remove dangling symlinks
    _bibtexextra_scripts="
 bibexport
+listbib
 urlbst
 "
    _core_scripts="
@@ -258,6 +209,7 @@
 arlatex
 autoinst
 bundledoc
+checkcites
 cmap2enc
 ctanify
 ctanupload
@@ -272,6 +224,7 @@
 latex2man
 latexdiff
 latexdiff-vc
+latexfileversion
 latexmk
 latexrevise
 listings-ext.sh
@@ -310,26 +263,29 @@
 texdirflatten
 texliveonfly
 texloganalyser
+typeoutfileinfo
 thumbpdf
 vpl2ovp
 vpl2vpl
 "
    _htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht"
+   _langcjk_scripts="convbkmk updmap-setup-kanji"
    _langextra_scripts="ebong"
    _langgreek_scripts="mkgrkindex"
-   _latexextra_scripts="authorindex \
-makeglossaries \
-pdfannotextractor \
-pdfthumb \
-perltex \
-ppower4 \
-ps4pdf \
-splitindex \
-svn-multi \
+   _latexextra_scripts="
+authorindex
+exceltex
+makeglossaries
+pdfannotextractor
+perltex
+ppower4
+ps4pdf
+splitindex
+svn-multi
 vpe"
-   _music_scripts="musixtex musixflx"
+   _music_scripts="m-tx musixtex musixflx pmx2pdf"
    _pictures_scripts="cachepic epspdf epspdftk fig4latex mathspic"
-   _pstricks_scripts="pst2pdf"
+   _pstricks_scripts="pedigree pst2pdf"
    _science_scripts="ulqda"
    for s in \
         ${_bibtexextra_scripts} \




More information about the arch-commits mailing list