Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : ghostscript | name : ghostscript | ||||
| version : '9.50' | version : 9.53.3 | ||||
| release : 20 | release : 21 | ||||
| source : | source : | ||||
| - https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs950/ghostpdl-9.50.tar.xz : eeaa4ef815f3871ff831ecf4b7e09ad472b47e8ea8e0fe8d59cac9aeda8355ff | - https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9533/ghostpdl-9.53.3.tar.xz: ebf48e7b4a2d9e5c160f777f6ad48895517d59f75e307633bb1b87992ea35efd | ||||
| license : AGPL-3.0-or-later | license : AGPL-3.0-or-later | ||||
| component : office | component : office | ||||
| summary : PostScript language and PDF interpreter | summary : PostScript language and PDF interpreter | ||||
| description: | | description: | | ||||
| Ghostscript is an interpreter for the PostScript language and for PDF. Many other software programs use it in order to convert documentation into various formats. | Ghostscript is an interpreter for the PostScript language and for PDF. Many other software programs use it in order to convert documentation into various formats. | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(fontconfig) | - pkgconfig(fontconfig) | ||||
| - pkgconfig(glu) | - pkgconfig(glu) | ||||
| - pkgconfig(jbig2dec) | |||||
| - pkgconfig(lcms2) | - pkgconfig(lcms2) | ||||
| - pkgconfig(libopenjp2) | |||||
| - pkgconfig(libpng) | - pkgconfig(libpng) | ||||
| - pkgconfig(libtiff-4) | - pkgconfig(libtiff-4) | ||||
| - pkgconfig(libturbojpeg) | - pkgconfig(libturbojpeg) | ||||
| - pkgconfig(x11) | - pkgconfig(x11) | ||||
| - cups-devel | - cups-devel | ||||
| - libpaper-devel | - libpaper-devel | ||||
| setup : | | setup : | | ||||
| %patch -p1 < $pkgfiles/security/CVE-2019-14869.patch | %patch -p1 < $pkgfiles/unwrap-FT_CALLBACK_DEF.patch | ||||
| for i in freetype lcms2 jpeg libpng ; do | for i in freetype lcms2mt jpeg libpng expat cups/libs jpeg jbig2dec openjpeg tiff zlib expat ; do | ||||
| rm -rf $i | rm -rf $i | ||||
| done | done | ||||
| # http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=40dc5b409c6262b18b4bf5386b5482ead4c511e3 | # http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=40dc5b409c6262b18b4bf5386b5482ead4c511e3 | ||||
| # libs link unwanted to libgpdl that isn't installed | # libs link unwanted to libgpdl that isn't installed | ||||
| rm -rf gpdl | rm -rf gpdl | ||||
| sed -i 's/ZLIBDIR=src/ZLIBDIR=$includedir/' configure.ac | sed -i 's/ZLIBDIR=src/ZLIBDIR=$includedir/' configure.ac | ||||
| %reconfigure --with-drivers=ALL \ | %reconfigure --with-drivers=ALL \ | ||||
| --disable-compile-inits \ | --disable-compile-inits \ | ||||
| --enable-dynamic \ | --enable-dynamic \ | ||||
| --enable-freetype \ | |||||
| --with-system-libtiff | --with-system-libtiff | ||||
| build : | | build : | | ||||
| %make | %make | ||||
| %make so | %make so | ||||
| install : | | install : | | ||||
| %make_install | %make_install | ||||
| %make soinstall DESTDIR=$installdir | %make soinstall DESTDIR=$installdir | ||||
| install -d -m00755 $installdir/usr/include/ghostscript | install -d -m00755 $installdir/usr/include/ghostscript | ||||
| install -m00655 base/*.h $installdir/usr/include/ghostscript | install -m00655 base/*.h $installdir/usr/include/ghostscript | ||||
| ln -sv ghostscript $installdir/usr/include/ps | ln -sv ghostscript $installdir/usr/include/ps | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.