Browse Source

poppler: Update from 0.67.0 to 0.72.0

android-5
Tom Yan 6 years ago
committed by Fredrik Fornwall
parent
commit
e1cde91d56
  1. 4
      packages/poppler/build.sh
  2. 12
      packages/poppler/goo-gfile.cc.patch

4
packages/poppler/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://poppler.freedesktop.org/
TERMUX_PKG_DESCRIPTION="PDF rendering library"
TERMUX_PKG_VERSION=0.67.0
TERMUX_PKG_SHA256=a34a4f1a0f5b610c584c65824e92e3ba3e08a89d8ab4622aee11b8ceea5366f9
TERMUX_PKG_VERSION=0.72.0
TERMUX_PKG_SHA256=c1747eb8f26e9e753c4001ed951db2896edc1021b6d0f547a0bd2a27c30ada51
TERMUX_PKG_SRCURL=https://poppler.freedesktop.org/poppler-${TERMUX_PKG_VERSION}.tar.xz
# libcairo and littlecms is used by pdftocairo:
TERMUX_PKG_DEPENDS="fontconfig, libcairo, libpng, libjpeg-turbo, libtiff, littlecms, openjpeg, freetype, libcurl"

12
packages/poppler/goo-gfile.cc.patch

@ -1,12 +0,0 @@
diff -uNr poppler-0.65.0/goo/gfile.cc poppler-0.65.0.mod/goo/gfile.cc
--- poppler-0.65.0/goo/gfile.cc 2018-05-19 18:05:25.000000000 +0300
+++ poppler-0.65.0.mod/goo/gfile.cc 2018-06-19 17:01:32.437678208 +0300
@@ -439,7 +439,7 @@
if ((s = getenv("TMPDIR"))) {
*name = new GooString(s);
} else {
- *name = new GooString("/tmp");
+ *name = new GooString("@TERMUX_PREFIX@/tmp");
}
(*name)->append("/XXXXXX");
fd = mkstemp((*name)->getCString());
Loading…
Cancel
Save