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

Rémy Oudompheng remy at archlinux.org
Sun Dec 2 20:05:23 UTC 2018


    Date: Sunday, December 2, 2018 @ 20:05:23
  Author: remy
Revision: 340959

upgpkg: texlive-bin 2018.48691-1

Switch to github source.

Upstream patches:
- xdvipdfmx: First search for an input file with a suffix .xdv or .dvi
- dvips, pdftex, luatex: protect against buffer overflow

Modified:
  texlive-bin/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-02 16:32:21 UTC (rev 340958)
+++ PKGBUILD	2018-12-02 20:05:23 UTC (rev 340959)
@@ -2,22 +2,23 @@
 # Contributor: francois <francois.archlinux.org>
 
 pkgname=('texlive-bin' 'libsynctex')
-pkgver=2018.47465
-pkgrel=5
+pkgver=2018.48691
+pkgrel=1
 license=('GPL')
 arch=('x86_64')
-makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
+makedepends=('git' '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=("https://sources.archlinux.org/other/texlive/texlive-bin-source-${pkgver}.tar.xz"
+_commit=f68b0992e13a2e155d71beb3e016ea4139023224  # texlive-2018.2
+source=("git+https://github.com/Tex-Live/texlive-source.git#commit=${_commit}"
         "poppler-compat-fixes-up-to-0.70.patch"
         "luatex-poppler-0.70-const-fixes.patch"
         "texlive-poppler-0.71.patch"
         "freetype-pkgconfig.patch"
         "synctex-missing-header.patch")
-sha256sums=('06d7a1c939cf7d6035850cefca1d01898ae51a879e20db684a202fd507a0cae5'
+sha256sums=('SKIP'
             '1a76b4be5544e431b60dace28169870a8b275e6d80323f9ef7f49b7da8df0b29'
             'f1d8b23f3072001fae5f2147aa4a50520d89fbc5b683c0da10b1417e52173c7a'
             'd8d2fde2f0978238a923b95d063adb7c84e8abde9ac808166bcfa0e3fc8a9c98'
@@ -25,7 +26,7 @@
             'b6c81eb091b5910226e0359768edd178680debee56b63ab0a3753c3429c28ab0')
 
 prepare() {
-    cd "$srcdir/source"
+    cd "$srcdir/texlive-source"
 
     # Synctex "make install" misses synctex_version.h
     patch -Np1 -i "${srcdir}/synctex-missing-header.patch"
@@ -32,14 +33,12 @@
 
     # Freetype2 2.9.1 package no longer has freetype-config
     patch -Np1 -i "${srcdir}/freetype-pkgconfig.patch"
+
     ./reautoconf
 
     # t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
     sed -i s/SELFAUTOPARENT/TEXMFROOT/ texk/tex4htk/t4ht.c
 
-    ## prevent compiling Xdvi with libXp
-    sed -i~ 's|-lXp ||' texk/xdvik/configure
-
     # upstream compat fixes for latest poppler
     patch -Np1 -i "${srcdir}/poppler-compat-fixes-up-to-0.70.patch"
     # fix build with poppler 0.71
@@ -54,11 +53,10 @@
 }
 
 build() {
-   cd "$srcdir"
+   cd "$srcdir/texlive-source"
 
    #############################################################
    ### configure
-   cd source
    mkdir -p Work
    cd Work
    echo "--> Initial configuration..."
@@ -117,7 +115,7 @@
     pkgdesc='Library for synchronization between TeX files and resulting file'
     depends=('glibc' 'zlib')
 
-    cd "${srcdir}/source/Work"
+    cd "${srcdir}/texlive-source/Work"
     make -C texk/web2c DESTDIR="${pkgdir}" \
         install-data-am install-libLTLIBRARIES
 }
@@ -133,11 +131,10 @@
                'biber: for bibliography processing')
    options=('!strip')
 
-   cd "$srcdir"
+   cd "$srcdir/texlive-source"
 
    #############################################################
    ### 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|" '{}' \;
 


More information about the arch-commits mailing list