diff options
Diffstat (limited to 'libre/texlive-bin/PKGBUILD')
-rw-r--r-- | libre/texlive-bin/PKGBUILD | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/libre/texlive-bin/PKGBUILD b/libre/texlive-bin/PKGBUILD index a71d3568c..ecbcbc6e3 100644 --- a/libre/texlive-bin/PKGBUILD +++ b/libre/texlive-bin/PKGBUILD @@ -1,10 +1,9 @@ -# $Id$ # Maintainer (Arch): Rémy Oudompheng <remy@archlinux.org> # Contributor (Arch): francois <francois.archlinux.org> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> # Contributor: André Silva <emulatorman@hyperbola.info> # Contributor: Michał Masłowski <mtjm@mtjm.eu> # Contributor: Isaac David <isacdaavid(at)isacdaavid!info> -# Contributor: Omar Vega Ramos <ovruni@gnu.org.pe> # parabola changes and rationale: # - rebranded to parabola @@ -13,8 +12,8 @@ pkgname=('texlive-bin') pkgver=2018.47465 -pkgrel=3 -pkgrel+=.parabola1 +pkgrel=4 +pkgrel+=.par1 license=('GPL') arch=('x86_64') arch+=('i686' 'armv7h') @@ -22,14 +21,16 @@ makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler' 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2' 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper' 'perl' 'clisp' 'ffcall') -makedepends+=('poppler=0.67.0' 'icu>=62' 'icu<63') +makedepends+=('poppler=0.70.1' 'icu>=63' 'icu<64') url='http://tug.org/texlive/' source=("https://sources.archlinux.org/other/texlive/texlive-bin-source-${pkgver}.tar.xz" - "texlive-poppler-0.64.patch" + "poppler-compat-fixes-up-to-0.70.patch" + "luatex-poppler-0.70-const-fixes.patch" "freetype-pkgconfig.patch" "synctex-missing-header.patch") sha256sums=('06d7a1c939cf7d6035850cefca1d01898ae51a879e20db684a202fd507a0cae5' - '1c444526e3967f82d68a003526b332e0401db7825e22b5542e6cd04f0e688310' + '1a76b4be5544e431b60dace28169870a8b275e6d80323f9ef7f49b7da8df0b29' + 'f1d8b23f3072001fae5f2147aa4a50520d89fbc5b683c0da10b1417e52173c7a' 'bed44f4ccda369410e90eac527cf44b8c1afda7d987ae521b4fd5edb425eef3e' 'b6c81eb091b5910226e0359768edd178680debee56b63ab0a3753c3429c28ab0') @@ -49,13 +50,14 @@ prepare() { ## prevent compiling Xdvi with libXp sed -i~ 's|-lXp ||' texk/xdvik/configure - # Poppler 0.64 now returns const char* in getCString() - patch -Np1 -i "${srcdir}/texlive-poppler-0.64.patch" + # upstream compat fixes for latest poppler + patch -Np1 -i "${srcdir}/poppler-compat-fixes-up-to-0.70.patch" + cp -pv texk/web2c/pdftexdir/pdftoepdf{-poppler0.70.0,}.cc + cp -pv texk/web2c/pdftexdir/pdftosrc{-newpoppler,}.cc - # Poppler 0.58 introduces API changes by hiding internal object - # management. - cp -pv texk/web2c/pdftexdir/pdftoepdf{-newpoppler.cc,.cc} - cp -pv texk/web2c/pdftexdir/pdftosrc{-newpoppler.cc,.cc} + # luatex switched from poppler to pplib in newer versions so + # upstream fixes aren't available; hopefully this is correct + patch -Np1 -i "${srcdir}/luatex-poppler-0.70-const-fixes.patch" } build() { @@ -131,7 +133,7 @@ package_texlive-bin() { 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2' 'icu' 'harfbuzz' 'harfbuzz-icu' 'gmp' 'mpfr' 'potrace' 'libpaper' 'libsynctex') - depends+=('icu>=62' 'icu<63' 'poppler=0.67.0') + depends+=('icu>=63' 'icu<64' 'poppler=0.70.1') provides=('lcdf-typetools' 'kpathsea' 'xindy') optdepends=('ed: for texconfig' 'biber: for bibliography processing') |