ghostscript:ver bump

This commit is contained in:
blue-devil
2020-09-16 00:35:15 +02:00
parent ee4f57a145
commit 016baec692
3 changed files with 60 additions and 43 deletions
+14 -13
View File
@@ -4,10 +4,10 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
# Remove local copies for system libs
@@ -18,20 +18,21 @@ def setup():
autotools.autoreconf("-fi")
options = "--disable-compile-inits \
--disable-gtk \
--enable-dynamic \
--with-system-libtiff \
options = "--with-x \
--with-ijs \
--with-drivers=ALL \
--disable-gtk \
--without-omni \
--with-libpaper \
--with-jbig2dec \
--enable-fontconfig \
--enable-dynamic \
--enable-freetype \
--without-luratech \
--without-omni \
--with-x \
--with-fontpath=/usr/share/fonts:/usr/share/fonts/default/ghostscript:/usr/share/cups/fonts:/usr/share/fonts/TTF:/usr/share/fonts/Type1:/usr/share/poppler/cMap/*"
--with-drivers=ALL \
--enable-fontconfig \
--with-system-libtiff \
--disable-compile-inits \
--with-fontpath=/usr/share/fonts:/usr/share/fonts/default/ghostscript:/usr/share/cups/fonts:/usr/share/fonts/TTF:/usr/share/fonts/Type1:/usr/share/poppler/cMap/*"
options += " --disable-cups --includedir=/usr/include --libdir=/usr/lib32" if get.buildTYPE() == "emul32" else " --enable-cups"
autotools.configure(options)
@@ -40,9 +41,9 @@ def setup():
pisitools.dosed("configure.ac", "AM_PROG_CC_STDC", "AC_PROG_CC")
shelltools.system("./autogen.sh \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-shared \
--disable-static \
--enable-shared")
--mandir=/usr/share/man")
def build():
autotools.make("-C ijs")
@@ -56,4 +57,4 @@ def install():
if not get.buildTYPE() == "emul32": autotools.rawInstall("-C ijs DESTDIR=%s" % get.installDIR())
pisitools.dohtml("doc/*")
pisitools.dodoc("LICENSE", "doc/COPYING")
pisitools.dodoc("LICENSE", "doc/COPYING")
+43 -29
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ghostscript</Name>
@@ -8,63 +8,69 @@
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<PartOf>office.postscript</PartOf>
<License>GPLv3+</License>
<IsA>library</IsA>
<Summary>A PostScript interpreter and renderer</Summary>
<Description>ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures and an interpreter for PDF files. ghostscript is normally used to display PostScript files and to print PostScript files to non-PostScript printers.</Description>
<Archive sha1sum="3be5f36300e3031e68a28cd898b3eebc9151660b" type="tarxz">https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs950/ghostscript-9.50.tar.xz</Archive>
<Archive sha1sum="5939eef5444e057714e1e665db6db0137a88953f" type="tarxz">https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9530/ghostpdl-9.53.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>cups-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libXext-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>libSM-devel</Dependency>
<Dependency>libXt-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>gnutls-devel</Dependency>
<Dependency>libidn-devel</Dependency>
<Dependency>libXext-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>freeglut-devel</Dependency>
<Dependency>libpaper-devel</Dependency>
<Dependency>openjpeg2-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency versionFrom="2.8">lcms2-devel</Dependency>
<Dependency>libXt-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>libpaper-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>openjpeg2-devel</Dependency>
<Dependency>gnutls-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>libidn-devel</Dependency>
<Dependency>freeglut-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">fedora/ghostscript-sys-zlib.patch</Patch>
<!--
<Patch level="1">CVE-2019-14869.patch</Patch>
-->
<Patch level="1">fedora/ghostscript-sys-zlib.patch</Patch>
</Patches>
</Source>
<Package>
<Name>ghostscript</Name>
<Summary>A PostScript interpreter and renderer</Summary>
<RuntimeDependencies>
<Dependency>cups</Dependency>
<Dependency>tiff</Dependency>
<Dependency>zlib</Dependency>
<Dependency>libXt</Dependency>
<Dependency>libidn</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libpng</Dependency>
<Dependency>freetype</Dependency>
<Dependency>openjpeg2</Dependency>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>tiff</Dependency>
<Dependency versionFrom="2.8">lcms2</Dependency>
<Dependency>libXt</Dependency>
<Dependency>libpaper</Dependency>
<Dependency>openjpeg2</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>libjpeg-turbo</Dependency>
<Dependency versionFrom="2.8">lcms2</Dependency>
<!-- For CMap fonts -->
<Dependency>poppler-data</Dependency>
<Dependency>gnu-gs-fonts-std</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<!--
-->
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/cups</Path>
<Path fileType="data">/usr/share/ghostscript</Path>
</Files>
@@ -78,6 +84,7 @@
<Package>
<Name>ghostscript-docs</Name>
<IsA>data:doc</IsA>
<Summary>Documentation for ghostscript</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/ghostscript/9.27</Path>
@@ -93,10 +100,10 @@
<Dependency release="current">ghostscript</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include/ijs</Path>
<Path fileType="executable">/usr/bin/ijs-config</Path>
<Path fileType="header">/usr/include/ghostscript</Path>
<Path fileType="header">/usr/include/ijs</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
@@ -106,32 +113,32 @@
<Summary>32-bit shared libraries for ghostscript</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>libjpeg-turbo-32bit</Dependency>
<Dependency>zlib-32bit</Dependency>
<Dependency>tiff-32bit</Dependency>
<Dependency>lcms2-32bit</Dependency>
<Dependency>libXt-32bit</Dependency>
<Dependency>libXext-32bit</Dependency>
<Dependency>libX11-32bit</Dependency>
<Dependency>libpng-32bit</Dependency>
<Dependency>libidn-32bit</Dependency>
<Dependency>libXext-32bit</Dependency>
<Dependency>freetype-32bit</Dependency>
<Dependency>openjpeg2-32bit</Dependency>
<Dependency>fontconfig-32bit</Dependency>
<Dependency>libjpeg-turbo-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">ghostscript</Dependency>
<Dependency>libjpeg-turbo-32bit</Dependency>
<Dependency>zlib-32bit</Dependency>
<Dependency>libidn-32bit</Dependency>
<Dependency>tiff-32bit</Dependency>
<Dependency>lcms2-32bit</Dependency>
<Dependency>libXt-32bit</Dependency>
<Dependency>libidn-32bit</Dependency>
<Dependency>libX11-32bit</Dependency>
<Dependency>libpng-32bit</Dependency>
<Dependency>freetype-32bit</Dependency>
<Dependency>openjpeg2-32bit</Dependency>
<Dependency>fontconfig-32bit</Dependency>
<Dependency>libjpeg-turbo-32bit</Dependency>
<Dependency release="current">ghostscript</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
@@ -139,6 +146,13 @@
</Package>
<History>
<Update release="10">
<Date>2020-09-14</Date>
<Version>9.53</Version>
<Comment>Minor version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="9">
<Date>2020-01-14</Date>
<Version>9.50</Version>
@@ -203,4 +217,4 @@
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>
</PISI>
@@ -9,10 +9,12 @@
<Package>
<Name>ghostscript-docs</Name>
<Summary xml:lang="tr">ghostscript için çeşitli belgeler</Summary>
<Description xml:lang="tr">ghostscript-docs, ghostscript için belgelendirme dosyalarını içerir.</Description>
</Package>
<Package>
<Name>ghostscript-devel</Name>
<Summary xml:lang="tr">ghostscript için geliştirme dosyaları</Summary>
<Description xml:lang="tr">ghostscript-devel, ghostscript için geliştirme dosyalarını içerir.</Description>
</Package>
</PISI>
</PISI>