diff --git a/office/misc/mupdf/actions.py b/office/misc/mupdf/actions.py index 2944b8ac5d..f51a2022ea 100644 --- a/office/misc/mupdf/actions.py +++ b/office/misc/mupdf/actions.py @@ -11,13 +11,15 @@ from pisi.actionsapi import shelltools def build(): + shelltools.system("sed '/TOFU_CJK /c #define TOFU_CJK 1/' -i include/mupdf/fitz/config.h") + shelltools.system("sed -i '/ttc/s/^/#/' Makefile") autotools.make("prefix=/usr") # remove bundled packages, use our system libraries - shelltools.system("rm -rf thirdparty/{curl,freeglut,freetype,harfbuzz,jpeg,lcms2,libjpeg,openjpeg,zlib}") +# shelltools.system("rm -rf thirdparty/{curl,freeglut,freetype,harfbuzz,jpeg,lcms2,libjpeg,openjpeg,zlib}") def install(): autotools.rawInstall("DESTDIR=%s prefix=/usr" % get.installDIR()) - pisitools.remove("/usr/lib/*.a") +# pisitools.remove("/usr/lib/*.a") - pisitools.dodoc("README", "COPYING") + pisitools.dodoc("CHANGES", "README", "COPYING") diff --git a/office/misc/mupdf/pspec.xml b/office/misc/mupdf/pspec.xml index 7b56595965..32f42a2458 100644 --- a/office/misc/mupdf/pspec.xml +++ b/office/misc/mupdf/pspec.xml @@ -11,8 +11,12 @@ AGPL3 app:gui Lightweight PDF and XPS viewer - MuPDF is a lightweight open source software framework for viewing and converting PDF, XPS, and E-book documents. - http://www.mupdf.com/downloads/archive/mupdf-1.12.0-source.tar.gz + + MuPDF is a lightweight open source software framework for viewing and converting PDF, XPS, and E-book documents. + + + https://mupdf.com/downloads/archive/mupdf-1.14.0-source.tar.gz + mesa-devel curl-devel @@ -31,9 +35,11 @@ libXinerama-devel + + mupdf-1.12.0-security_fix-1.patch + --> @@ -48,9 +54,10 @@ /usr/bin - /usr/lib - /usr/share/doc - /usr/share/man + /usr/lib/libmupdf-third.a + /usr/lib/libmupdf.a + /usr/share/doc/mupdf/* + /usr/share/man/man1 @@ -61,12 +68,20 @@ mupdf - /usr/include - /usr/lib/pkgconfig + /usr/include/mupdf + /usr/include/mupdf/fitz + /usr/include/mupdf/pdf + + 2019-04-25 + 1.14.0 + Version bump. + fury + wascheme@tuta.io + 2018-08-09 1.12.0