@@ -11,13 +11,15 @@ from pisi.actionsapi import shelltools
|
|||||||
|
|
||||||
|
|
||||||
def build():
|
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")
|
autotools.make("prefix=/usr")
|
||||||
|
|
||||||
# remove bundled packages, use our system libraries
|
# 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():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s prefix=/usr" % get.installDIR())
|
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")
|
||||||
|
|||||||
@@ -11,8 +11,12 @@
|
|||||||
<License>AGPL3</License>
|
<License>AGPL3</License>
|
||||||
<IsA>app:gui</IsA>
|
<IsA>app:gui</IsA>
|
||||||
<Summary>Lightweight PDF and XPS viewer</Summary>
|
<Summary>Lightweight PDF and XPS viewer</Summary>
|
||||||
<Description>MuPDF is a lightweight open source software framework for viewing and converting PDF, XPS, and E-book documents.</Description>
|
<Description>
|
||||||
<Archive sha1sum="0daee66600023de2bda2f1928a97a8515c17d2d2" type="targz"> http://www.mupdf.com/downloads/archive/mupdf-1.12.0-source.tar.gz</Archive>
|
MuPDF is a lightweight open source software framework for viewing and converting PDF, XPS, and E-book documents.
|
||||||
|
</Description>
|
||||||
|
<Archive sha1sum="b55179569716b9fd85655f6018ffd999b101f3c5" type="targz">
|
||||||
|
https://mupdf.com/downloads/archive/mupdf-1.14.0-source.tar.gz
|
||||||
|
</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>mesa-devel</Dependency>
|
<Dependency>mesa-devel</Dependency>
|
||||||
<Dependency>curl-devel</Dependency>
|
<Dependency>curl-devel</Dependency>
|
||||||
@@ -31,9 +35,11 @@
|
|||||||
<Dependency>libXinerama-devel</Dependency>
|
<Dependency>libXinerama-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
|
<!--
|
||||||
<Patch>mupdf-1.12.0-security-roundup.patch</Patch>
|
<Patch>mupdf-1.12.0-security-roundup.patch</Patch>
|
||||||
<Patch>mupdf-CVE-2017-17858.patch</Patch>
|
<Patch>mupdf-CVE-2017-17858.patch</Patch>
|
||||||
<!-- <Patch>mupdf-1.12.0-security_fix-1.patch</Patch> -->
|
<Patch>mupdf-1.12.0-security_fix-1.patch</Patch>
|
||||||
|
-->
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -48,9 +54,10 @@
|
|||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Path fileType="library">/usr/lib</Path>
|
<Path fileType="library">/usr/lib/libmupdf-third.a</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="library">/usr/lib/libmupdf.a</Path>
|
||||||
<Path fileType="man">/usr/share/man</Path>
|
<Path fileType="doc">/usr/share/doc/mupdf/*</Path>
|
||||||
|
<Path fileType="man">/usr/share/man/man1</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
@@ -61,12 +68,20 @@
|
|||||||
<Dependency release="current">mupdf</Dependency>
|
<Dependency release="current">mupdf</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="header">/usr/include</Path>
|
<Path fileType="header">/usr/include/mupdf</Path>
|
||||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
<Path fileType="header">/usr/include/mupdf/fitz</Path>
|
||||||
|
<Path fileType="header">/usr/include/mupdf/pdf</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="4">
|
||||||
|
<Date>2019-04-25</Date>
|
||||||
|
<Version>1.14.0</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>wascheme@tuta.io</Email>
|
||||||
|
</Update>
|
||||||
<Update release="3">
|
<Update release="3">
|
||||||
<Date>2018-08-09</Date>
|
<Date>2018-08-09</Date>
|
||||||
<Version>1.12.0</Version>
|
<Version>1.12.0</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user