[arch-commits] Commit in ghostscript/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Date: Thursday, October 1, 2020 @ 17:21:18 Author: andyrtr Revision: 397029 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 397028, ghostscript/trunk/PKGBUILD) Deleted: ghostscript/repos/testing-x86_64/PKGBUILD --+ PKGBUILD | 206 ++--- 1 file changed, 103 insertions(+), 103 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-10-01 17:21:04 UTC (rev 397028) +++ PKGBUILD2020-10-01 17:21:18 UTC (rev 397029) @@ -1,103 +0,0 @@ -# Maintainer: AndyRTR - -pkgbase=ghostscript -pkgname=(ghostscript ghostxps ghostpcl) -pkgver=9.53.2 -pkgrel=2 -pkgdesc="An interpreter for the PostScript language" -url="https://www.ghostscript.com/"; -arch=('x86_64') -license=('AGPL3' 'custom') -depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' - 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2' 'libidn') -makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') -# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases -source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver//./}/ghostpdl-${pkgver}.tar.gz) -sha512sums=('292d585938a9b15498941ea663630b3e9dccb4e31e9750e007d69500bdaa74e00ca48c2e48c8b429a68f293a2f84f9ef802406b0928b8d16361ad986a9378eb8') - - -### update jbig2dec first! ### - -prepare() { - cd ghostpdl-${pkgver} - - # force it to use system-libs - rm -r cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib - # using tree freetype because of https://bugs.archlinux.org/task/56849 - # lcms2mt is the new lcms2 fork aimed to replace lcms2 in a thread safe way - - # http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=40dc5b409c6262b18b4bf5386b5482ead4c511e3 - # libs link unwanted to libgpdl that isn't installed - rm -rf gpdl -} - -build() { - cd ghostpdl-${pkgver} - ./configure --prefix=/usr \ - --enable-dynamic \ - --with-ijs \ - --with-jbig2dec \ - --with-x \ - --with-drivers=ALL \ - --with-fontpath=/usr/share/fonts/gsfonts \ - --enable-fontconfig \ - --enable-freetype \ - --enable-openjpeg \ - --without-luratech \ - --with-system-libtiff \ - --with-libpaper \ - --disable-compile-inits #--help # needed for linking with system-zlib - - make so-only -} - -package_ghostscript() { - optdepends=('texlive-core: needed for dvipdf' - 'gtk3: needed for gsx') - - cd ghostpdl-${pkgver} - - make DESTDIR="${pkgdir}" \ - CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ - CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ - soinstall - ln -s gsc "${pkgdir}"/usr/bin/gs - - # remove useless broken doc/ symlink - FS#59507 - rm -f "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc - - # remove unwanted localized manpages - rm -r "${pkgdir}"/usr/share/man/de - - install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE -} - -package_ghostxps() { - pkgdesc="${pkgdesc/PostScript/XPS document}" - depends=("ghostscript=${pkgver}-${pkgrel}") - - cd ghostpdl-${pkgver} - - install -Dt "${pkgdir}"/usr/bin sobin/gxpsc - ln -s gxpsc "${pkgdir}"/usr/bin/gxps - - install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver%.*} - ln -s libgxps.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%%.*} - - install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE -} - -package_ghostpcl() { - pkgdesc="${pkgdesc/PostScript/PCL 6}" - depends=("ghostscript=${pkgver}-${pkgrel}") - - cd ghostpdl-${pkgver} - - install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c - ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 - - install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver%.*} - ln -s libgpcl6.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%%.*} - - install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE -} Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 397028, ghostscript/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-10-01 17:21:18 UTC (rev 397029) @@ -0,0 +1,103 @@ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.53.3 +pkgrel=1 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL3' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' + 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2' 'libidn') +makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') +# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver//./}/ghostp
[arch-commits] Commit in ghostscript/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Sunday, September 27, 2020 @ 23:03:08 Author: heftig Revision: 396869 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/ ghostscript/repos/testing-x86_64/PKGBUILD (from rev 396868, ghostscript/trunk/PKGBUILD) --+ PKGBUILD | 103 + 1 file changed, 103 insertions(+) Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 396868, ghostscript/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-09-27 23:03:08 UTC (rev 396869) @@ -0,0 +1,103 @@ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.53.2 +pkgrel=2 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL3' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' + 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2' 'libidn') +makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') +# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver//./}/ghostpdl-${pkgver}.tar.gz) +sha512sums=('292d585938a9b15498941ea663630b3e9dccb4e31e9750e007d69500bdaa74e00ca48c2e48c8b429a68f293a2f84f9ef802406b0928b8d16361ad986a9378eb8') + + +### update jbig2dec first! ### + +prepare() { + cd ghostpdl-${pkgver} + + # force it to use system-libs + rm -r cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib + # using tree freetype because of https://bugs.archlinux.org/task/56849 + # lcms2mt is the new lcms2 fork aimed to replace lcms2 in a thread safe way + + # http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=40dc5b409c6262b18b4bf5386b5482ead4c511e3 + # libs link unwanted to libgpdl that isn't installed + rm -rf gpdl +} + +build() { + cd ghostpdl-${pkgver} + ./configure --prefix=/usr \ + --enable-dynamic \ + --with-ijs \ + --with-jbig2dec \ + --with-x \ + --with-drivers=ALL \ + --with-fontpath=/usr/share/fonts/gsfonts \ + --enable-fontconfig \ + --enable-freetype \ + --enable-openjpeg \ + --without-luratech \ + --with-system-libtiff \ + --with-libpaper \ + --disable-compile-inits #--help # needed for linking with system-zlib + + make so-only +} + +package_ghostscript() { + optdepends=('texlive-core: needed for dvipdf' + 'gtk3: needed for gsx') + + cd ghostpdl-${pkgver} + + make DESTDIR="${pkgdir}" \ + CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ + CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ + soinstall + ln -s gsc "${pkgdir}"/usr/bin/gs + + # remove useless broken doc/ symlink - FS#59507 + rm -f "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc + + # remove unwanted localized manpages + rm -r "${pkgdir}"/usr/share/man/de + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostxps() { + pkgdesc="${pkgdesc/PostScript/XPS document}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gxpsc + ln -s gxpsc "${pkgdir}"/usr/bin/gxps + + install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver%.*} + ln -s libgxps.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%%.*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostpcl() { + pkgdesc="${pkgdesc/PostScript/PCL 6}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c + ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 + + install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver%.*} + ln -s libgpcl6.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%%.*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +}
[arch-commits] Commit in ghostscript/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Thursday, September 10, 2020 @ 17:34:49 Author: andyrtr Revision: 395747 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/ ghostscript/repos/testing-x86_64/PKGBUILD (from rev 395746, ghostscript/trunk/PKGBUILD) --+ PKGBUILD | 103 + 1 file changed, 103 insertions(+) Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 395746, ghostscript/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-09-10 17:34:49 UTC (rev 395747) @@ -0,0 +1,103 @@ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.53.0 +pkgrel=1 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL3' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' + 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2' 'libidn') +makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') +# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver//./}/ghostpdl-${pkgver}.tar.gz) +sha512sums=('f1ed6ec04d5eef6761e68c950dc29f5f6d80ac7f2cd478e56e95c5cb4b0099f3216c402ad9ac387caa280b54531dcb6aa6c47c2ae33edd6e232a18fc03e63ea3') + + +### update jbig2dec first! ### + +prepare() { + cd ghostpdl-${pkgver} + + # force it to use system-libs + rm -r cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib + # using tree freetype because of https://bugs.archlinux.org/task/56849 + # lcms2mt is the new lcms2 fork aimed to replace lcms2 in a thread safe way + + # http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=40dc5b409c6262b18b4bf5386b5482ead4c511e3 + # libs link unwanted to libgpdl that isn't installed + rm -rf gpdl +} + +build() { + cd ghostpdl-${pkgver} + ./configure --prefix=/usr \ + --enable-dynamic \ + --with-ijs \ + --with-jbig2dec \ + --with-x \ + --with-drivers=ALL \ + --with-fontpath=/usr/share/fonts/gsfonts \ + --enable-fontconfig \ + --enable-freetype \ + --enable-openjpeg \ + --without-luratech \ + --with-system-libtiff \ + --with-libpaper \ + --disable-compile-inits #--help # needed for linking with system-zlib + + make so-only +} + +package_ghostscript() { + optdepends=('texlive-core: needed for dvipdf' + 'gtk3: needed for gsx') + + cd ghostpdl-${pkgver} + + make DESTDIR="${pkgdir}" \ + CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ + CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ + soinstall + ln -s gsc "${pkgdir}"/usr/bin/gs + + # remove useless broken doc/ symlink - FS#59507 + rm -f "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc + + # remove unwanted localized manpages + rm -r "${pkgdir}"/usr/share/man/de + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostxps() { + pkgdesc="${pkgdesc/PostScript/XPS document}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gxpsc + ln -s gxpsc "${pkgdir}"/usr/bin/gxps + + install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver%.*} + ln -s libgxps.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostpcl() { + pkgdesc="${pkgdesc/PostScript/PCL 6}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c + ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 + + install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver%.*} + ln -s libgpcl6.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +}
[arch-commits] Commit in ghostscript/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Thursday, March 12, 2020 @ 19:20:00 Author: andyrtr Revision: 377428 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/ ghostscript/repos/testing-x86_64/PKGBUILD (from rev 377427, ghostscript/trunk/PKGBUILD) --+ PKGBUILD | 100 + 1 file changed, 100 insertions(+) Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 377427, ghostscript/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-03-12 19:20:00 UTC (rev 377428) @@ -0,0 +1,100 @@ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.51 +pkgrel=1 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL3' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' + 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2' 'libidn') +makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') +# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz) +sha512sums=('f6151ad43ebe0564ddd9e0217d9216410e3fd352b8ecbdf692b16a41c4ec6271cd39400d90c0b88c69a9e0573daa8368caa46230e246b1973808e024b17dba2f') + +prepare() { + cd ghostpdl-${pkgver} + + # force it to use system-libs + rm -r cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib + # using tree freetype because of https://bugs.archlinux.org/task/56849 + # lcms2mt is the new lcms2 fork aimed to replace lcms2 in a thread safe way + + # http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=40dc5b409c6262b18b4bf5386b5482ead4c511e3 + # libs link unwanted to libgpdl that isn't installed + rm -rf gpdl +} + +build() { + cd ghostpdl-${pkgver} + ./configure --prefix=/usr \ + --enable-dynamic \ + --with-ijs \ + --with-jbig2dec \ + --with-x \ + --with-drivers=ALL \ + --with-fontpath=/usr/share/fonts/gsfonts \ + --enable-fontconfig \ + --enable-freetype \ + --enable-openjpeg \ + --without-luratech \ + --with-system-libtiff \ + --with-libpaper \ + --disable-compile-inits #--help # needed for linking with system-zlib + + make so-only +} + +package_ghostscript() { + optdepends=('texlive-core: needed for dvipdf' + 'gtk3: needed for gsx') + + cd ghostpdl-${pkgver} + + make DESTDIR="${pkgdir}" \ + CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ + CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ + soinstall + ln -s gsc "${pkgdir}"/usr/bin/gs + + # remove useless broken doc/ symlink - FS#59507 + rm -f "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc + + # remove unwanted localized manpages + rm -r "${pkgdir}"/usr/share/man/de + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostxps() { + pkgdesc="${pkgdesc/PostScript/XPS document}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gxpsc + ln -s gxpsc "${pkgdir}"/usr/bin/gxps + + install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver%.*} + ln -s libgxps.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostpcl() { + pkgdesc="${pkgdesc/PostScript/PCL 6}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c + ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 + + install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver%.*} + ln -s libgpcl6.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +}
[arch-commits] Commit in ghostscript/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Tuesday, October 15, 2019 @ 17:29:19 Author: andyrtr Revision: 365056 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/ ghostscript/repos/testing-x86_64/PKGBUILD (from rev 365055, ghostscript/trunk/PKGBUILD) --+ PKGBUILD | 100 + 1 file changed, 100 insertions(+) Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 365055, ghostscript/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-10-15 17:29:19 UTC (rev 365056) @@ -0,0 +1,100 @@ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.50 +pkgrel=1 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL3' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' + 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2' 'libidn') +makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') +# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz) +sha512sums=('d6add852f2cb3b2fc7b5d40c42c5d5450f16a057a585f2011b675906b6e3cbf519278e80075459a51c1b78f737146b8a8fe78791a09ca521559f80b41d9ad3eb') + +prepare() { + cd ghostpdl-${pkgver} + + # force it to use system-libs + rm -r cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib + # using tree freetype because of https://bugs.archlinux.org/task/56849 + # lcms2mt is the new lcms2 fork aimed to replace lcms2 in a thread safe way + + # http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=40dc5b409c6262b18b4bf5386b5482ead4c511e3 + # libs link unwanted to libgpdl that isn't installed + rm -rf gpdl +} + +build() { + cd ghostpdl-${pkgver} + ./configure --prefix=/usr \ + --enable-dynamic \ + --with-ijs \ + --with-jbig2dec \ + --with-x \ + --with-drivers=ALL \ + --with-fontpath=/usr/share/fonts/gsfonts \ + --enable-fontconfig \ + --enable-freetype \ + --enable-openjpeg \ + --without-luratech \ + --with-system-libtiff \ + --with-libpaper \ + --disable-compile-inits #--help # needed for linking with system-zlib + + make so-only +} + +package_ghostscript() { + optdepends=('texlive-core: needed for dvipdf' + 'gtk3: needed for gsx') + + cd ghostpdl-${pkgver} + + make DESTDIR="${pkgdir}" \ + CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ + CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ + soinstall + ln -s gsc "${pkgdir}"/usr/bin/gs + + # remove useless broken doc/ symlink - FS#59507 + rm -f "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc + + # remove unwanted localized manpages + rm -r "${pkgdir}"/usr/share/man/de + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostxps() { + pkgdesc="${pkgdesc/PostScript/XPS document}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gxpsc + ln -s gxpsc "${pkgdir}"/usr/bin/gxps + + install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver%.*} + ln -s libgxps.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostpcl() { + pkgdesc="${pkgdesc/PostScript/PCL 6}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c + ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 + + install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver%.*} + ln -s libgpcl6.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +}
[arch-commits] Commit in ghostscript/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Thursday, April 4, 2019 @ 19:33:51 Author: andyrtr Revision: 349837 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/ ghostscript/repos/testing-x86_64/PKGBUILD (from rev 349836, ghostscript/trunk/PKGBUILD) --+ PKGBUILD | 100 + 1 file changed, 100 insertions(+) Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 349836, ghostscript/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-04-04 19:33:51 UTC (rev 349837) @@ -0,0 +1,100 @@ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.27 +pkgrel=1 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL3' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' + 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2' 'libidn') +makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') +# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz) +sha512sums=('bbdecbde3bebb0e22eb8976fe1e91d94b8d585aa72f9a2475ee58598de223ae31bc467eb518690dd05a4a4e1382cde7a682b854c324e985852250fde29c6') + +prepare() { + cd ghostpdl-${pkgver} + + # force it to use system-libs + rm -r cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib + # using tree freetype because of https://bugs.archlinux.org/task/56849 + # lcms2mt is the new lcms2 fork aimed to replace lcms2 in a thread safe way + + # http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=40dc5b409c6262b18b4bf5386b5482ead4c511e3 + # libs link unwanted to libgpdl that isn't installed + rm -rf gpdl +} + +build() { + cd ghostpdl-${pkgver} + ./configure --prefix=/usr \ + --enable-dynamic \ + --with-ijs \ + --with-jbig2dec \ + --with-x \ + --with-drivers=ALL \ + --with-fontpath=/usr/share/fonts/gsfonts \ + --enable-fontconfig \ + --enable-freetype \ + --enable-openjpeg \ + --without-luratech \ + --with-system-libtiff \ + --with-libpaper \ + --disable-compile-inits #--help # needed for linking with system-zlib + + make so-only +} + +package_ghostscript() { + optdepends=('texlive-core: needed for dvipdf' + 'gtk3: needed for gsx') + + cd ghostpdl-${pkgver} + + make DESTDIR="${pkgdir}" \ + CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ + CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ + soinstall + ln -s gsc "${pkgdir}"/usr/bin/gs + + # remove useless broken doc/ symlink - FS#59507 + rm -f "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc + + # remove unwanted localized manpages + rm -r "${pkgdir}"/usr/share/man/de + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostxps() { + pkgdesc="${pkgdesc/PostScript/XPS document}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gxpsc + ln -s gxpsc "${pkgdir}"/usr/bin/gxps + + install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver%.*} + ln -s libgxps.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostpcl() { + pkgdesc="${pkgdesc/PostScript/PCL 6}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c + ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 + + install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver%.*} + ln -s libgpcl6.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +}
[arch-commits] Commit in ghostscript/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Tuesday, November 20, 2018 @ 20:09:22 Author: andyrtr Revision: 340162 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/ ghostscript/repos/testing-x86_64/PKGBUILD (from rev 340161, ghostscript/trunk/PKGBUILD) --+ PKGBUILD | 97 + 1 file changed, 97 insertions(+) Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 340161, ghostscript/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-11-20 20:09:22 UTC (rev 340162) @@ -0,0 +1,97 @@ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.26 +pkgrel=1 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL3' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' + 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2' 'libidn') +makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') +# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.gz) +sha512sums=('8862a4e7328a217b383a4c38caaabcc31930d38a80c3456668bb9de3aae943dec52dfbcc5eb5c18a9987a5f9b447bd4afe0e0c2e995a7de4eafa306fe246d229') + +prepare() { + cd ghostpdl-${pkgver} + + # force it to use system-libs + rm -r cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib + # using tree freetype because of https://bugs.archlinux.org/task/56849 + # lcms2mt is the new lcms2 fork aimed to replace lcms2 in a thread safe way +} + +build() { + cd ghostpdl-${pkgver} + + ./configure --prefix=/usr \ + --enable-dynamic \ + --with-ijs \ + --with-jbig2dec \ + --with-x \ + --with-drivers=ALL \ + --with-fontpath=/usr/share/fonts/gsfonts \ + --enable-fontconfig \ + --enable-freetype \ + --enable-openjpeg \ + --without-luratech \ + --with-system-libtiff \ + --with-libpaper \ + --disable-compile-inits #--help # needed for linking with system-zlib + + make so-only +} + +package_ghostscript() { + optdepends=('texlive-core: needed for dvipdf' + 'gtk3: needed for gsx') + + cd ghostpdl-${pkgver} + + make DESTDIR="${pkgdir}" \ + CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ + CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ + soinstall + ln -s gsc "${pkgdir}"/usr/bin/gs + + # remove useless broken doc/ symlink - FS#59507 + rm -f "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc + + # remove unwanted localized manpages + rm -r "${pkgdir}"/usr/share/man/de + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostxps() { + pkgdesc="${pkgdesc/PostScript/XPS document}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gxpsc + ln -s gxpsc "${pkgdir}"/usr/bin/gxps + + install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver%.*} + ln -s libgxps.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostpcl() { + pkgdesc="${pkgdesc/PostScript/PCL 6}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c + ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 + + install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver%.*} + ln -s libgpcl6.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +}
[arch-commits] Commit in ghostscript/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Thursday, September 13, 2018 @ 16:50:01 Author: andyrtr Revision: 334469 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/ ghostscript/repos/testing-x86_64/PKGBUILD (from rev 334468, ghostscript/trunk/PKGBUILD) --+ PKGBUILD | 97 + 1 file changed, 97 insertions(+) Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 334468, ghostscript/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-09-13 16:50:01 UTC (rev 334469) @@ -0,0 +1,97 @@ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.25 +pkgrel=1 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL3' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' + 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2') +makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') +# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.gz) +sha512sums=('8b5efdbddfaa0395b4ee13b2d109cf610bc85dbba024a8bd9e01af37353649e6405868e2569d098e7c8ab8cb7b76162ab393dd4fad2f52f3bc3ba3047fdbc006') + +prepare() { + cd ghostpdl-${pkgver} + + # force it to use system-libs + rm -r cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib + # using tree freetype because of https://bugs.archlinux.org/task/56849 + # lcms2mt is the new lcms2 fork aimed to replace lcms2 in a thread safe way +} + +build() { + cd ghostpdl-${pkgver} + + ./configure --prefix=/usr \ + --enable-dynamic \ + --with-ijs \ + --with-jbig2dec \ + --with-x \ + --with-drivers=ALL \ + --with-fontpath=/usr/share/fonts/gsfonts \ + --enable-fontconfig \ + --enable-freetype \ + --enable-openjpeg \ + --without-luratech \ + --with-system-libtiff \ + --with-libpaper \ + --disable-compile-inits #--help # needed for linking with system-zlib + + make so-only +} + +package_ghostscript() { + optdepends=('texlive-core: needed for dvipdf' + 'gtk3: needed for gsx') + + cd ghostpdl-${pkgver} + + make DESTDIR="${pkgdir}" \ + CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ + CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ + soinstall + ln -s gsc "${pkgdir}"/usr/bin/gs + + # remove useless broken doc/ symlink - FS#59507 + rm -f "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc + + # remove unwanted localized manpages + rm -r "${pkgdir}"/usr/share/man/de + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostxps() { + pkgdesc="${pkgdesc/PostScript/XPS document}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gxpsc + ln -s gxpsc "${pkgdir}"/usr/bin/gxps + + install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver%.*} + ln -s libgxps.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostpcl() { + pkgdesc="${pkgdesc/PostScript/PCL 6}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c + ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 + + install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver%.*} + ln -s libgpcl6.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +}
[arch-commits] Commit in ghostscript/repos/testing-x86_64 (10 files)
Date: Friday, September 7, 2018 @ 15:46:40 Author: andyrtr Revision: 333829 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/0001_ICC_profile_validation.patch (from rev 333828, ghostscript/trunk/0001_ICC_profile_validation.patch) ghostscript/repos/testing-x86_64/0002_retain_LockSafetyParams_through_failed_installpagedevice.patch (from rev 333828, ghostscript/trunk/0002_retain_LockSafetyParams_through_failed_installpagedevice.patch) ghostscript/repos/testing-x86_64/0003_Fix_SEGV_seen_in_all-devices_test.patch (from rev 333828, ghostscript/trunk/0003_Fix_SEGV_seen_in_all-devices_test.patch) ghostscript/repos/testing-x86_64/0004_Add_the_ICCProfilesDir_to_the_PermitReading_list.patch (from rev 333828, ghostscript/trunk/0004_Add_the_ICCProfilesDir_to_the_PermitReading_list.patch) ghostscript/repos/testing-x86_64/0005_add_wildcards_to_the_permissions_paths.patch (from rev 333828, ghostscript/trunk/0005_add_wildcards_to_the_permissions_paths.patch) ghostscript/repos/testing-x86_64/PKGBUILD (from rev 333828, ghostscript/trunk/PKGBUILD) Deleted: ghostscript/repos/testing-x86_64/0001_ICC_profile_validation.patch ghostscript/repos/testing-x86_64/0002_retain_LockSafetyParams_through_failed_installpagedevice.patch ghostscript/repos/testing-x86_64/0003_Fix_SEGV_seen_in_all-devices_test.patch ghostscript/repos/testing-x86_64/PKGBUILD -+ 0001_ICC_profile_validation.patch | 160 +++--- 0002_retain_LockSafetyParams_through_failed_installpagedevice.patch | 138 +++--- 0003_Fix_SEGV_seen_in_all-devices_test.patch| 80 +-- 0004_Add_the_ICCProfilesDir_to_the_PermitReading_list.patch | 43 + 0005_add_wildcards_to_the_permissions_paths.patch | 55 ++ PKGBUILD| 229 +- 6 files changed, 406 insertions(+), 299 deletions(-) Deleted: 0001_ICC_profile_validation.patch === --- 0001_ICC_profile_validation.patch 2018-09-07 15:46:27 UTC (rev 333828) +++ 0001_ICC_profile_validation.patch 2018-09-07 15:46:40 UTC (rev 333829) @@ -1,80 +0,0 @@ -From bc3df0773fccf4b4906a3e59652ad646ea0fee91 Mon Sep 17 00:00:00 2001 -From: Chris Liddell -Date: Tue, 4 Sep 2018 17:01:08 +0100 -Subject: [PATCH] For ICC profile validation, have cups id iteself as DeviceN - -Give the range of color spaces and models that cups supports, we can't -reasonably provide (or expect others to provide) output ICC profiles for all -cases. - -For the purpose of profile validation, have it claim to be DeviceN and benefit -from the extra tolerance in profiles allowed for that class of device. - cups/gdevcups.c | 15 ++- - devices/devs.mak | 2 +- - 2 files changed, 15 insertions(+), 2 deletions(-) - -diff --git a/cups/gdevcups.c b/cups/gdevcups.c -index c1574f8..decd8eb 100644 a/cups/gdevcups.c -+++ b/cups/gdevcups.c -@@ -70,6 +70,7 @@ - #include "std.h"/* to stop stdlib.h redefining types */ - #include "gdevprn.h" - #include "gsparam.h" -+#include "gxdevsop.h" - #include "arch.h" - #include "gsicc_manage.h" - -@@ -252,6 +253,7 @@ private int cups_put_params(gx_device *, gs_param_list *); - private int cups_set_color_info(gx_device *); - private dev_proc_sync_output(cups_sync_output); - private prn_dev_proc_get_space_params(cups_get_space_params); -+private int cups_spec_op(gx_device *dev_, int op, void *data, int datasize); - - #ifdef dev_t_proc_encode_color - private cm_map_proc_gray(cups_map_gray); -@@ -392,7 +394,7 @@ private gx_device_procscups_procs = -NULL, /* push_transparency_state */ -NULL, /* pop_transparency_state */ -NULL,/* put_image */ -- -+ cups_spec_op - }; - - #define prn_device_body_copies(dtype, procs, dname, w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, ncomp, depth, mg, mc, dg, dc, print_pages)\ -@@ -5927,6 +5929,17 @@ cups_print_planar(gx_device_printer *pdev, - return (0); - } - -+private int -+cups_spec_op(gx_device *dev_, int op, void *data, int datasize) -+{ -+/* Although not strictly DeviceN, the range of color models -+ this device supports presets similar issues. -+ */ -+if (op == gxdso_supports_devn) { -+return true; -+} -+return gx_default_dev_spec_op(dev_, op, data, datasize); -+} - - /* - */ -diff --git a/devices/devs.mak b/devices/devs.mak -index c85604c..e8654e5 100644 a/devices/devs.mak -+++ b/devices/devs.mak -@@ -1860,7 +1860,7 @@ $(DD)pwgraster.dev : $(lcups_dev) $(lcupsi_dev) $(cups_) $(GDEV) \ - $(ADDMOD) $(DD)pwgraster -include $(lcups_dev) - $(ADDMOD) $(DD)pwgraster -include $(lcupsi_dev) - --$(DEVOBJ)gdevcups.$(OBJ) : $(LCUPSSRCDIR)$(D)gdevcu
[arch-commits] Commit in ghostscript/repos/testing-x86_64 (8 files)
Date: Thursday, September 6, 2018 @ 15:23:38 Author: andyrtr Revision: 333811 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/0001_ICC_profile_validation.patch (from rev 333810, ghostscript/trunk/0001_ICC_profile_validation.patch) ghostscript/repos/testing-x86_64/0002_retain_LockSafetyParams_through_failed_installpagedevice.patch (from rev 333810, ghostscript/trunk/0002_retain_LockSafetyParams_through_failed_installpagedevice.patch) ghostscript/repos/testing-x86_64/0003_Fix_SEGV_seen_in_all-devices_test.patch (from rev 333810, ghostscript/trunk/0003_Fix_SEGV_seen_in_all-devices_test.patch) ghostscript/repos/testing-x86_64/PKGBUILD (from rev 333810, ghostscript/trunk/PKGBUILD) Deleted: ghostscript/repos/testing-x86_64/0001_ICC_profile_validation.patch ghostscript/repos/testing-x86_64/0002_retain_LockSafetyParams_through_failed_installpagedevice.patch ghostscript/repos/testing-x86_64/0003_Fix_SEGV_seen_in_all-devices_test.patch ghostscript/repos/testing-x86_64/PKGBUILD -+ 0001_ICC_profile_validation.patch | 160 +++ 0002_retain_LockSafetyParams_through_failed_installpagedevice.patch | 138 +++--- 0003_Fix_SEGV_seen_in_all-devices_test.patch| 80 +-- PKGBUILD| 220 +- 4 files changed, 299 insertions(+), 299 deletions(-) Deleted: 0001_ICC_profile_validation.patch === --- 0001_ICC_profile_validation.patch 2018-09-06 15:23:26 UTC (rev 333810) +++ 0001_ICC_profile_validation.patch 2018-09-06 15:23:38 UTC (rev 333811) @@ -1,80 +0,0 @@ -From bc3df0773fccf4b4906a3e59652ad646ea0fee91 Mon Sep 17 00:00:00 2001 -From: Chris Liddell -Date: Tue, 4 Sep 2018 17:01:08 +0100 -Subject: [PATCH] For ICC profile validation, have cups id iteself as DeviceN - -Give the range of color spaces and models that cups supports, we can't -reasonably provide (or expect others to provide) output ICC profiles for all -cases. - -For the purpose of profile validation, have it claim to be DeviceN and benefit -from the extra tolerance in profiles allowed for that class of device. - cups/gdevcups.c | 15 ++- - devices/devs.mak | 2 +- - 2 files changed, 15 insertions(+), 2 deletions(-) - -diff --git a/cups/gdevcups.c b/cups/gdevcups.c -index c1574f8..decd8eb 100644 a/cups/gdevcups.c -+++ b/cups/gdevcups.c -@@ -70,6 +70,7 @@ - #include "std.h"/* to stop stdlib.h redefining types */ - #include "gdevprn.h" - #include "gsparam.h" -+#include "gxdevsop.h" - #include "arch.h" - #include "gsicc_manage.h" - -@@ -252,6 +253,7 @@ private int cups_put_params(gx_device *, gs_param_list *); - private int cups_set_color_info(gx_device *); - private dev_proc_sync_output(cups_sync_output); - private prn_dev_proc_get_space_params(cups_get_space_params); -+private int cups_spec_op(gx_device *dev_, int op, void *data, int datasize); - - #ifdef dev_t_proc_encode_color - private cm_map_proc_gray(cups_map_gray); -@@ -392,7 +394,7 @@ private gx_device_procscups_procs = -NULL, /* push_transparency_state */ -NULL, /* pop_transparency_state */ -NULL,/* put_image */ -- -+ cups_spec_op - }; - - #define prn_device_body_copies(dtype, procs, dname, w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, ncomp, depth, mg, mc, dg, dc, print_pages)\ -@@ -5927,6 +5929,17 @@ cups_print_planar(gx_device_printer *pdev, - return (0); - } - -+private int -+cups_spec_op(gx_device *dev_, int op, void *data, int datasize) -+{ -+/* Although not strictly DeviceN, the range of color models -+ this device supports presets similar issues. -+ */ -+if (op == gxdso_supports_devn) { -+return true; -+} -+return gx_default_dev_spec_op(dev_, op, data, datasize); -+} - - /* - */ -diff --git a/devices/devs.mak b/devices/devs.mak -index c85604c..e8654e5 100644 a/devices/devs.mak -+++ b/devices/devs.mak -@@ -1860,7 +1860,7 @@ $(DD)pwgraster.dev : $(lcups_dev) $(lcupsi_dev) $(cups_) $(GDEV) \ - $(ADDMOD) $(DD)pwgraster -include $(lcups_dev) - $(ADDMOD) $(DD)pwgraster -include $(lcupsi_dev) - --$(DEVOBJ)gdevcups.$(OBJ) : $(LCUPSSRCDIR)$(D)gdevcups.c $(std_h) $(DEVS_MAK) $(MAKEDIRS) -+$(DEVOBJ)gdevcups.$(OBJ) : $(LCUPSSRCDIR)$(D)gdevcups.c $(std_h) $(gxdevsop_h) $(DEVS_MAK) $(MAKEDIRS) - $(CUPS_CC) $(DEVO_)gdevcups.$(OBJ) $(C_) $(CFLAGS) $(CUPSCFLAGS) \ - $(I_)$(GLSRC) \ - $(I_)$(DEVSRC) \ --- -2.9.1 - - Copied: ghostscript/repos/testing-x86_64/0001_ICC_profile_validation.patch (from rev 333810, ghostscript/trunk/0001_ICC_profile_validation.patch) === --- 0001_ICC_profile_
[arch-commits] Commit in ghostscript/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Date: Monday, September 3, 2018 @ 15:30:02 Author: andyrtr Revision: 333225 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 333224, ghostscript/trunk/PKGBUILD) Deleted: ghostscript/repos/testing-x86_64/PKGBUILD --+ PKGBUILD | 196 ++--- 1 file changed, 98 insertions(+), 98 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-09-03 15:29:47 UTC (rev 333224) +++ PKGBUILD2018-09-03 15:30:02 UTC (rev 333225) @@ -1,98 +0,0 @@ -# $Id$ -# Maintainer: AndyRTR - -pkgbase=ghostscript -pkgname=(ghostscript ghostxps ghostpcl) -pkgver=9.24rc2 -pkgrel=1 -pkgdesc="An interpreter for the PostScript language" -url="https://www.ghostscript.com/"; -arch=('x86_64') -license=('AGPL3' 'custom') -depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' - 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2') -makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') -# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases -source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.gz) -sha512sums=('7f30b5ab29d07389111d82d7cbc5339b7573478b4faaabb5e16c277110c5759106606bb4ba233d29da782fb52416c7dea763b5b18223795902d04832a0638733') - -prepare() { - cd ghostpdl-${pkgver} - - # force it to use system-libs - rm -r cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib - # using tree freetype because of https://bugs.archlinux.org/task/56849 - # lcms2mt is the new lcms2 fork aimed to replace lcms2 in a thread safe way -} - -build() { - cd ghostpdl-${pkgver} - - ./configure --prefix=/usr \ - --enable-dynamic \ - --with-ijs \ - --with-jbig2dec \ - --with-x \ - --with-drivers=ALL \ - --with-fontpath=/usr/share/fonts/gsfonts \ - --enable-fontconfig \ - --enable-freetype \ - --enable-openjpeg \ - --without-luratech \ - --with-system-libtiff \ - --with-libpaper \ - --disable-compile-inits #--help # needed for linking with system-zlib - - make so-only -} - -package_ghostscript() { - optdepends=('texlive-core: needed for dvipdf' - 'gtk3: needed for gsx') - - cd ghostpdl-${pkgver} - - make DESTDIR="${pkgdir}" \ - CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ - CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ - soinstall - ln -s gsc "${pkgdir}"/usr/bin/gs - - # remove useless broken doc/ symlink - FS#59507 - rm -f "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc - - # remove unwanted localized manpages - rm -r "${pkgdir}"/usr/share/man/de - - install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE -} - -package_ghostxps() { - pkgdesc="${pkgdesc/PostScript/XPS document}" - depends=("ghostscript=${pkgver}-${pkgrel}") - - cd ghostpdl-${pkgver} - - install -Dt "${pkgdir}"/usr/bin sobin/gxpsc - ln -s gxpsc "${pkgdir}"/usr/bin/gxps - - install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver%.*} - ln -s libgxps.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%rc*} - - install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE -} - -package_ghostpcl() { - pkgdesc="${pkgdesc/PostScript/PCL 6}" - depends=("ghostscript=${pkgver}-${pkgrel}") - - cd ghostpdl-${pkgver} - - install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c - ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 - - install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver%.*} - ln -s libgpcl6.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%rc*} - - install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE -} Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 333224, ghostscript/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-09-03 15:30:02 UTC (rev 333225) @@ -0,0 +1,98 @@ +# $Id$ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.24 +pkgrel=1 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL3' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' + 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2') +makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') +# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.gz) +sha512sums=('d3aae0d6f9d4f56392078d5034e278afa4f436f4b0977aeab0b9fbba8282e6598bf4532494f7df28f752d4cd1ea4c985e8f3e47db9be40cdf885b17f16731d75') + +prepare() { + cd ghostpdl-${pkgver} + + # force
[arch-commits] Commit in ghostscript/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Friday, August 31, 2018 @ 10:36:41 Author: andyrtr Revision: 333164 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/ ghostscript/repos/testing-x86_64/PKGBUILD (from rev 333163, ghostscript/trunk/PKGBUILD) --+ PKGBUILD | 98 + 1 file changed, 98 insertions(+) Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 333163, ghostscript/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-08-31 10:36:41 UTC (rev 333164) @@ -0,0 +1,98 @@ +# $Id$ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.24rc2 +pkgrel=1 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL3' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' + 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2') +makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') +# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.gz) +sha512sums=('7f30b5ab29d07389111d82d7cbc5339b7573478b4faaabb5e16c277110c5759106606bb4ba233d29da782fb52416c7dea763b5b18223795902d04832a0638733') + +prepare() { + cd ghostpdl-${pkgver} + + # force it to use system-libs + rm -r cups/libs expat ijs jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib + # using tree freetype because of https://bugs.archlinux.org/task/56849 + # lcms2mt is the new lcms2 fork aimed to replace lcms2 in a thread safe way +} + +build() { + cd ghostpdl-${pkgver} + + ./configure --prefix=/usr \ + --enable-dynamic \ + --with-ijs \ + --with-jbig2dec \ + --with-x \ + --with-drivers=ALL \ + --with-fontpath=/usr/share/fonts/gsfonts \ + --enable-fontconfig \ + --enable-freetype \ + --enable-openjpeg \ + --without-luratech \ + --with-system-libtiff \ + --with-libpaper \ + --disable-compile-inits #--help # needed for linking with system-zlib + + make so-only +} + +package_ghostscript() { + optdepends=('texlive-core: needed for dvipdf' + 'gtk3: needed for gsx') + + cd ghostpdl-${pkgver} + + make DESTDIR="${pkgdir}" \ + CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ + CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ + soinstall + ln -s gsc "${pkgdir}"/usr/bin/gs + + # remove useless broken doc/ symlink - FS#59507 + rm -f "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc + + # remove unwanted localized manpages + rm -r "${pkgdir}"/usr/share/man/de + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostxps() { + pkgdesc="${pkgdesc/PostScript/XPS document}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gxpsc + ln -s gxpsc "${pkgdir}"/usr/bin/gxps + + install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver%.*} + ln -s libgxps.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostpcl() { + pkgdesc="${pkgdesc/PostScript/PCL 6}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c + ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 + + install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver%.*} + ln -s libgpcl6.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%rc*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +}
[arch-commits] Commit in ghostscript/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Thursday, March 22, 2018 @ 08:00:22 Author: andyrtr Revision: 319801 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/ ghostscript/repos/testing-x86_64/PKGBUILD (from rev 319800, ghostscript/trunk/PKGBUILD) --+ PKGBUILD | 101 + 1 file changed, 101 insertions(+) Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 319800, ghostscript/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-03-22 08:00:22 UTC (rev 319801) @@ -0,0 +1,101 @@ +# $Id$ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.23 +pkgrel=1 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL3' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' + 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'openjpeg2') +makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') +# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz) +sha512sums=('4c2f6c0f31138c780943c866067f95f5867c56ca54fc5cc5ae8394e682ae1e97c575529844b04a9664fd72510a86ecd23ba69feee19dadb5852c3c0cf7b7f917') + +prepare() { + cd ghostpdl-${pkgver} + + # force it to use system-libs + rm -r cups/libs expat ijs jbig2dec jpeg lcms2art libpng openjpeg tiff zlib + # using tree freetype because of https://bugs.archlinux.org/task/56849 + # lcms2art is the new lcms2 fork aimed to replace lcms2 in a thread safe way + + autoreconf -fvi +} + +build() { + cd ghostpdl-${pkgver} + + ./configure --prefix=/usr \ + --enable-dynamic \ + --with-ijs \ + --with-jbig2dec \ + --with-x \ + --with-drivers=ALL \ + --with-fontpath=/usr/share/fonts/gsfonts \ + --enable-fontconfig \ + --enable-freetype \ + --enable-openjpeg \ + --without-luratech \ + --with-system-libtiff \ + --with-libpaper \ + --disable-compile-inits #--help # needed for linking with system-zlib + + make so-only +} + +package_ghostscript() { + optdepends=('texlive-core: needed for dvipdf' + 'gtk3: needed for gsx') + + cd ghostpdl-${pkgver} + + make DESTDIR="${pkgdir}" \ + CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ + CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ + soinstall + ln -s gsc "${pkgdir}"/usr/bin/gs + + # install missing doc files # http://bugs.archlinux.org/task/18023 + install -Dt "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc \ +-m644 doc/{VectorDevices.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} + + # remove unwanted localized manpages + rm -r "${pkgdir}"/usr/share/man/de + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostxps() { + pkgdesc="${pkgdesc/PostScript/XPS document}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gxpsc + ln -s gxpsc "${pkgdir}"/usr/bin/gxps + + install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver} + ln -s libgxps.so.${pkgver} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%.*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostpcl() { + pkgdesc="${pkgdesc/PostScript/PCL 6}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c + ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 + + install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver} + ln -s libgpcl6.so.${pkgver} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%.*} + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +}
[arch-commits] Commit in ghostscript/repos/testing-x86_64 (PKGBUILD PKGBUILD)
Date: Wednesday, December 6, 2017 @ 14:17:41 Author: heftig Revision: 311680 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 311679, ghostscript/trunk/PKGBUILD) Deleted: ghostscript/repos/testing-x86_64/PKGBUILD --+ PKGBUILD | 240 ++--- 1 file changed, 119 insertions(+), 121 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-12-06 14:14:45 UTC (rev 311679) +++ PKGBUILD2017-12-06 14:17:41 UTC (rev 311680) @@ -1,121 +0,0 @@ -# $Id$ -# Maintainer: AndyRTR - -pkgbase=ghostscript -pkgname=(ghostscript ghostxps ghostpcl) -pkgver=9.22 -pkgrel=2 -pkgdesc="An interpreter for the PostScript language" -url="https://www.ghostscript.com/"; -arch=('x86_64') -license=('AGPL' 'custom') -depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' - 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'gsfonts' 'poppler-data' - 'openjpeg2') -makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') -# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases -source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz) -sha256sums=('f4e46bc1f8285a61ab036007705fc2b532cc40f4448fe6bc156bd130733f306b') - -prepare() { - cd ghostpdl-${pkgver} - - # force it to use system-libs - rm -r cups/libs expat freetype ijs jbig2dec jpeg lcms2 libpng openjpeg tiff zlib - - autoreconf -fvi -} - -build() { - cd ghostpdl-${pkgver} - - local fontpath p - for p in \ -/usr/share/fonts/gsfonts \ -/usr/share/fonts \ -/usr/share/poppler/cMap/* - do -fontpath="${fontpath}${fontpath:+:}${p}" - done - - ./configure --prefix=/usr \ - --enable-dynamic \ - --with-ijs \ - --with-jbig2dec \ - --with-x \ - --with-drivers=ALL \ - --with-fontpath="$fontpath" \ - --enable-fontconfig \ - --enable-freetype \ - --enable-openjpeg \ - --without-luratech \ - --with-system-libtiff \ - --with-libpaper \ - --disable-compile-inits #--help # needed for linking with system-zlib - - make so-only -} - -package_ghostscript() { - optdepends=('texlive-core: needed for dvipdf' - 'gtk3: needed for gsx') - - cd ghostpdl-${pkgver} - - make DESTDIR="${pkgdir}" \ - CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ - CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ - soinstall - ln -s gsc "${pkgdir}"/usr/bin/gs - - # install missing doc files # http://bugs.archlinux.org/task/18023 - install -Dt "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc \ --m644 doc/{VectorDevices.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} - - # remove unwanted localized manpages - rm -r "${pkgdir}"/usr/share/man/de - - # remove fonts we already ship in gsfonts - rm -r "${pkgdir}"/usr/share/ghostscript/${pkgver}/Resource/Font - - # remove cmaps we already ship in poppler-data - local f - for f in "${pkgdir}"/usr/share/ghostscript/${pkgver}/Resource/CMap/*; do -[[ $f == */Identity* ]] && continue -rm $f - done - - install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE -} - -package_ghostxps() { - pkgdesc="${pkgdesc/PostScript/XPS document}" - depends=("ghostscript=${pkgver}-${pkgrel}") - - cd ghostpdl-${pkgver} - - install -Dt "${pkgdir}"/usr/bin sobin/gxpsc - ln -s gxpsc "${pkgdir}"/usr/bin/gxps - - install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver} - ln -s libgxps.so.${pkgver} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%.*} - ln -s libgxps.so.${pkgver} "${pkgdir}"/usr/lib/libgxps.so - - install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE -} - -package_ghostpcl() { - pkgdesc="${pkgdesc/PostScript/PCL 6}" - depends=("ghostscript=${pkgver}-${pkgrel}") - - cd ghostpdl-${pkgver} - - install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c - ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 - - install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver} - ln -s libgpcl6.so.${pkgver} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%.*} - ln -s libgpcl6.so.${pkgver} "${pkgdir}"/usr/lib/libgpcl6.so - - install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE -} Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 311679, ghostscript/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-12-06 14:17:41 UTC (rev 311680) @@ -0,0 +1,119 @@ +# $Id$ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.22 +pkgrel=3 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL' 'custom') +depends=('libxt' 'libcups' 'fontconfig
[arch-commits] Commit in ghostscript/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Tuesday, December 5, 2017 @ 12:47:53 Author: heftig Revision: 311631 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/ ghostscript/repos/testing-x86_64/PKGBUILD (from rev 311630, ghostscript/trunk/PKGBUILD) --+ PKGBUILD | 121 + 1 file changed, 121 insertions(+) Copied: ghostscript/repos/testing-x86_64/PKGBUILD (from rev 311630, ghostscript/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-12-05 12:47:53 UTC (rev 311631) @@ -0,0 +1,121 @@ +# $Id$ +# Maintainer: AndyRTR + +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) +pkgver=9.22 +pkgrel=2 +pkgdesc="An interpreter for the PostScript language" +url="https://www.ghostscript.com/"; +arch=('x86_64') +license=('AGPL' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' + 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'gsfonts' 'poppler-data' + 'openjpeg2') +makedepends=('gtk3' 'gnutls' 'glu' 'freeglut') +# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz) +sha256sums=('f4e46bc1f8285a61ab036007705fc2b532cc40f4448fe6bc156bd130733f306b') + +prepare() { + cd ghostpdl-${pkgver} + + # force it to use system-libs + rm -r cups/libs expat freetype ijs jbig2dec jpeg lcms2 libpng openjpeg tiff zlib + + autoreconf -fvi +} + +build() { + cd ghostpdl-${pkgver} + + local fontpath p + for p in \ +/usr/share/fonts/gsfonts \ +/usr/share/fonts \ +/usr/share/poppler/cMap/* + do +fontpath="${fontpath}${fontpath:+:}${p}" + done + + ./configure --prefix=/usr \ + --enable-dynamic \ + --with-ijs \ + --with-jbig2dec \ + --with-x \ + --with-drivers=ALL \ + --with-fontpath="$fontpath" \ + --enable-fontconfig \ + --enable-freetype \ + --enable-openjpeg \ + --without-luratech \ + --with-system-libtiff \ + --with-libpaper \ + --disable-compile-inits #--help # needed for linking with system-zlib + + make so-only +} + +package_ghostscript() { + optdepends=('texlive-core: needed for dvipdf' + 'gtk3: needed for gsx') + + cd ghostpdl-${pkgver} + + make DESTDIR="${pkgdir}" \ + CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ + CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ + soinstall + ln -s gsc "${pkgdir}"/usr/bin/gs + + # install missing doc files # http://bugs.archlinux.org/task/18023 + install -Dt "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc \ +-m644 doc/{VectorDevices.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} + + # remove unwanted localized manpages + rm -r "${pkgdir}"/usr/share/man/de + + # remove fonts we already ship in gsfonts + rm -r "${pkgdir}"/usr/share/ghostscript/${pkgver}/Resource/Font + + # remove cmaps we already ship in poppler-data + local f + for f in "${pkgdir}"/usr/share/ghostscript/${pkgver}/Resource/CMap/*; do +[[ $f == */Identity* ]] && continue +rm $f + done + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostxps() { + pkgdesc="${pkgdesc/PostScript/XPS document}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gxpsc + ln -s gxpsc "${pkgdir}"/usr/bin/gxps + + install -Dt "${pkgdir}"/usr/lib sobin/libgxps.so.${pkgver} + ln -s libgxps.so.${pkgver} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%.*} + ln -s libgxps.so.${pkgver} "${pkgdir}"/usr/lib/libgxps.so + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +} + +package_ghostpcl() { + pkgdesc="${pkgdesc/PostScript/PCL 6}" + depends=("ghostscript=${pkgver}-${pkgrel}") + + cd ghostpdl-${pkgver} + + install -Dt "${pkgdir}"/usr/bin sobin/gpcl6c + ln -sf gpcl6c "${pkgdir}"/usr/bin/gpcl6 + + install -Dt "${pkgdir}"/usr/lib sobin/libgpcl6.so.${pkgver} + ln -s libgpcl6.so.${pkgver} "${pkgdir}"/usr/lib/libgpcl6.so.${pkgver%.*} + ln -s libgpcl6.so.${pkgver} "${pkgdir}"/usr/lib/libgpcl6.so + + install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE +}
[arch-commits] Commit in ghostscript/repos (testing-x86_64)
Date: Saturday, May 7, 2011 @ 19:02:00 Author: stephane Revision: 123068 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/
[arch-commits] Commit in ghostscript/repos (testing-x86_64)
Date: Thursday, February 10, 2011 @ 12:17:40 Author: andyrtr Revision: 109538 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/
[arch-commits] Commit in ghostscript/repos (testing-x86_64)
Date: Saturday, December 18, 2010 @ 05:46:39 Author: andyrtr Revision: 103338 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/
[arch-commits] Commit in ghostscript/repos (testing-x86_64)
Date: Friday, October 8, 2010 @ 16:46:55 Author: andyrtr Revision: 94638 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/
[arch-commits] Commit in ghostscript/repos (testing-x86_64)
Date: Monday, March 8, 2010 @ 17:23:36 Author: andyrtr Revision: 71742 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/
[arch-commits] Commit in ghostscript/repos (testing-x86_64)
Date: Tuesday, November 24, 2009 @ 05:57:42 Author: ibiru Revision: 59521 Initialized merge tracking via "svnmerge" with revisions "1-59519" from svn+ssh://gerolde.archlinux.org/srv/svn-packages/ghostscript/trunk Modified: ghostscript/repos/testing-x86_64/ (properties) Property changes on: ghostscript/repos/testing-x86_64 ___ Added: svnmerge-integrated + /ghostscript/trunk:1-59519
[arch-commits] Commit in ghostscript/repos (testing-x86_64)
Date: Tuesday, November 24, 2009 @ 05:57:29 Author: ibiru Revision: 59520 archrelease: new repo testing-x86_64 Added: ghostscript/repos/testing-x86_64/