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. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup(): def setup():
# Remove local copies for system libs # Remove local copies for system libs
@@ -18,20 +18,21 @@ def setup():
autotools.autoreconf("-fi") autotools.autoreconf("-fi")
options = "--disable-compile-inits \ options = "--with-x \
--disable-gtk \
--enable-dynamic \
--with-system-libtiff \
--with-ijs \ --with-ijs \
--with-drivers=ALL \ --disable-gtk \
--without-omni \
--with-libpaper \ --with-libpaper \
--with-jbig2dec \ --with-jbig2dec \
--enable-fontconfig \ --enable-dynamic \
--enable-freetype \ --enable-freetype \
--without-luratech \ --without-luratech \
--without-omni \ --with-drivers=ALL \
--with-x \ --enable-fontconfig \
--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-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" options += " --disable-cups --includedir=/usr/include --libdir=/usr/lib32" if get.buildTYPE() == "emul32" else " --enable-cups"
autotools.configure(options) autotools.configure(options)
@@ -40,9 +41,9 @@ def setup():
pisitools.dosed("configure.ac", "AM_PROG_CC_STDC", "AC_PROG_CC") pisitools.dosed("configure.ac", "AM_PROG_CC_STDC", "AC_PROG_CC")
shelltools.system("./autogen.sh \ shelltools.system("./autogen.sh \
--prefix=/usr \ --prefix=/usr \
--mandir=/usr/share/man \ --enable-shared \
--disable-static \ --disable-static \
--enable-shared") --mandir=/usr/share/man")
def build(): def build():
autotools.make("-C ijs") autotools.make("-C ijs")
@@ -56,4 +57,4 @@ def install():
if not get.buildTYPE() == "emul32": autotools.rawInstall("-C ijs DESTDIR=%s" % get.installDIR()) if not get.buildTYPE() == "emul32": autotools.rawInstall("-C ijs DESTDIR=%s" % get.installDIR())
pisitools.dohtml("doc/*") 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" ?> <?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> <PISI>
<Source> <Source>
<Name>ghostscript</Name> <Name>ghostscript</Name>
@@ -8,63 +8,69 @@
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
</Packager> </Packager>
<PartOf>office.postscript</PartOf>
<License>GPLv3+</License> <License>GPLv3+</License>
<IsA>library</IsA> <IsA>library</IsA>
<Summary>A PostScript interpreter and renderer</Summary> <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> <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> <BuildDependencies>
<Dependency>cups-devel</Dependency> <Dependency>cups-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>tiff-devel</Dependency> <Dependency>tiff-devel</Dependency>
<Dependency>zlib-devel</Dependency> <Dependency>zlib-devel</Dependency>
<Dependency>libX11-devel</Dependency> <Dependency>gtk3-devel</Dependency>
<Dependency>libXext-devel</Dependency>
<Dependency>libSM-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>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>libjpeg-turbo-devel</Dependency>
<Dependency versionFrom="2.8">lcms2-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> </BuildDependencies>
<Patches> <Patches>
<Patch level="1">fedora/ghostscript-sys-zlib.patch</Patch> <!--
<Patch level="1">CVE-2019-14869.patch</Patch> <Patch level="1">CVE-2019-14869.patch</Patch>
-->
<Patch level="1">fedora/ghostscript-sys-zlib.patch</Patch>
</Patches> </Patches>
</Source> </Source>
<Package> <Package>
<Name>ghostscript</Name> <Name>ghostscript</Name>
<Summary>A PostScript interpreter and renderer</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>cups</Dependency> <Dependency>cups</Dependency>
<Dependency>tiff</Dependency>
<Dependency>zlib</Dependency> <Dependency>zlib</Dependency>
<Dependency>libXt</Dependency>
<Dependency>libidn</Dependency> <Dependency>libidn</Dependency>
<Dependency>libX11</Dependency> <Dependency>libX11</Dependency>
<Dependency>libpng</Dependency> <Dependency>libpng</Dependency>
<Dependency>freetype</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>libpaper</Dependency>
<Dependency>openjpeg2</Dependency>
<Dependency>fontconfig</Dependency> <Dependency>fontconfig</Dependency>
<Dependency>libjpeg-turbo</Dependency>
<Dependency versionFrom="2.8">lcms2</Dependency>
<!-- For CMap fonts --> <!-- For CMap fonts -->
<Dependency>poppler-data</Dependency> <Dependency>poppler-data</Dependency>
<Dependency>gnu-gs-fonts-std</Dependency> <Dependency>gnu-gs-fonts-std</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path> <!--
-->
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path> <Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</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/cups</Path>
<Path fileType="data">/usr/share/ghostscript</Path> <Path fileType="data">/usr/share/ghostscript</Path>
</Files> </Files>
@@ -78,6 +84,7 @@
<Package> <Package>
<Name>ghostscript-docs</Name> <Name>ghostscript-docs</Name>
<IsA>data:doc</IsA>
<Summary>Documentation for ghostscript</Summary> <Summary>Documentation for ghostscript</Summary>
<Files> <Files>
<Path fileType="doc">/usr/share/doc/ghostscript/9.27</Path> <Path fileType="doc">/usr/share/doc/ghostscript/9.27</Path>
@@ -93,10 +100,10 @@
<Dependency release="current">ghostscript</Dependency> <Dependency release="current">ghostscript</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <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="executable">/usr/bin/ijs-config</Path>
<Path fileType="header">/usr/include/ghostscript</Path> <Path fileType="header">/usr/include/ghostscript</Path>
<Path fileType="header">/usr/include/ijs</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files> </Files>
</Package> </Package>
@@ -106,32 +113,32 @@
<Summary>32-bit shared libraries for ghostscript</Summary> <Summary>32-bit shared libraries for ghostscript</Summary>
<BuildType>emul32</BuildType> <BuildType>emul32</BuildType>
<BuildDependencies> <BuildDependencies>
<Dependency>libjpeg-turbo-32bit</Dependency>
<Dependency>zlib-32bit</Dependency> <Dependency>zlib-32bit</Dependency>
<Dependency>tiff-32bit</Dependency> <Dependency>tiff-32bit</Dependency>
<Dependency>lcms2-32bit</Dependency> <Dependency>lcms2-32bit</Dependency>
<Dependency>libXt-32bit</Dependency> <Dependency>libXt-32bit</Dependency>
<Dependency>libXext-32bit</Dependency>
<Dependency>libX11-32bit</Dependency> <Dependency>libX11-32bit</Dependency>
<Dependency>libpng-32bit</Dependency> <Dependency>libpng-32bit</Dependency>
<Dependency>libidn-32bit</Dependency> <Dependency>libidn-32bit</Dependency>
<Dependency>libXext-32bit</Dependency>
<Dependency>freetype-32bit</Dependency> <Dependency>freetype-32bit</Dependency>
<Dependency>openjpeg2-32bit</Dependency> <Dependency>openjpeg2-32bit</Dependency>
<Dependency>fontconfig-32bit</Dependency> <Dependency>fontconfig-32bit</Dependency>
<Dependency>libjpeg-turbo-32bit</Dependency>
</BuildDependencies> </BuildDependencies>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency release="current">ghostscript</Dependency>
<Dependency>libjpeg-turbo-32bit</Dependency>
<Dependency>zlib-32bit</Dependency> <Dependency>zlib-32bit</Dependency>
<Dependency>libidn-32bit</Dependency>
<Dependency>tiff-32bit</Dependency> <Dependency>tiff-32bit</Dependency>
<Dependency>lcms2-32bit</Dependency> <Dependency>lcms2-32bit</Dependency>
<Dependency>libXt-32bit</Dependency> <Dependency>libXt-32bit</Dependency>
<Dependency>libidn-32bit</Dependency>
<Dependency>libX11-32bit</Dependency> <Dependency>libX11-32bit</Dependency>
<Dependency>libpng-32bit</Dependency> <Dependency>libpng-32bit</Dependency>
<Dependency>freetype-32bit</Dependency> <Dependency>freetype-32bit</Dependency>
<Dependency>openjpeg2-32bit</Dependency> <Dependency>openjpeg2-32bit</Dependency>
<Dependency>fontconfig-32bit</Dependency> <Dependency>fontconfig-32bit</Dependency>
<Dependency>libjpeg-turbo-32bit</Dependency>
<Dependency release="current">ghostscript</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib32</Path> <Path fileType="library">/usr/lib32</Path>
@@ -139,6 +146,13 @@
</Package> </Package>
<History> <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"> <Update release="9">
<Date>2020-01-14</Date> <Date>2020-01-14</Date>
<Version>9.50</Version> <Version>9.50</Version>
@@ -203,4 +217,4 @@
<Email>groni@pisilinux.org</Email> <Email>groni@pisilinux.org</Email>
</Update> </Update>
</History> </History>
</PISI> </PISI>
@@ -9,10 +9,12 @@
<Package> <Package>
<Name>ghostscript-docs</Name> <Name>ghostscript-docs</Name>
<Summary xml:lang="tr">ghostscript için çeşitli belgeler</Summary> <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>
<Package> <Package>
<Name>ghostscript-devel</Name> <Name>ghostscript-devel</Name>
<Summary xml:lang="tr">ghostscript için geliştirme dosyaları</Summary> <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> </Package>
</PISI> </PISI>