summaryrefslogtreecommitdiff
path: root/libre/texlive-bin/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-10-30 00:47:05 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-10-30 00:47:05 -0500
commit2f4eb03bc763528047aa6a38dfdc14c4f3841bd8 (patch)
tree3ea258ae2b3a8849a4cc2262197e8a14f907794a /libre/texlive-bin/PKGBUILD
parentcc1e30e612e1488a6a6199042335d6a35c3df86c (diff)
downloadabslibre-2f4eb03bc763528047aa6a38dfdc14c4f3841bd8.tar.gz
abslibre-2f4eb03bc763528047aa6a38dfdc14c4f3841bd8.tar.bz2
abslibre-2f4eb03bc763528047aa6a38dfdc14c4f3841bd8.zip
texlive-bin-2018.47465-4.par1: icu 63.1 / poppler 0.70.0 rebuild
Diffstat (limited to 'libre/texlive-bin/PKGBUILD')
-rw-r--r--libre/texlive-bin/PKGBUILD30
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')