[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, October 7, 2020 @ 16:37:12 Author: andyrtr Revision: 397483 upgpkg: ghostscript 9.53.3-2: bring back opvp/oprp support - FS#68137 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-10-07 16:33:16 UTC (rev 397482) +++ PKGBUILD2020-10-07 16:37:12 UTC (rev 397483) @@ -3,7 +3,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.53.3 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') @@ -39,6 +39,7 @@ --with-jbig2dec \ --with-x \ --with-drivers=ALL \ + --with-openprinting \ --with-fontpath=/usr/share/fonts/gsfonts \ --enable-fontconfig \ --enable-freetype \
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, October 1, 2020 @ 17:21:04 Author: andyrtr Revision: 397028 upgpkg: ghostscript 9.53.3-1: upstream update 9.53.3 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-01 14:18:03 UTC (rev 397027) +++ PKGBUILD2020-10-01 17:21:04 UTC (rev 397028) @@ -2,8 +2,8 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) -pkgver=9.53.2 -pkgrel=2 +pkgver=9.53.3 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') @@ -13,7 +13,7 @@ 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') +sha512sums=('1ed66f177377f099a012ee0bfdca10be8b6846e8de8e538119eb7de5c9da2edc341f8d45d8c819206908c1f98de3625acd0f647f13d82c5ec56865085cde280b') ### update jbig2dec first! ###
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Sunday, September 27, 2020 @ 23:01:31 Author: heftig Revision: 396868 9.53.2-2: FS#68017 fix solinks Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-09-27 22:45:18 UTC (rev 396867) +++ PKGBUILD2020-09-27 23:01:31 UTC (rev 396868) @@ -3,7 +3,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.53.2 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') @@ -82,7 +82,7 @@ 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*} + ln -s libgxps.so.${pkgver%.*} "${pkgdir}"/usr/lib/libgxps.so.${pkgver%%.*} install -Dt "${pkgdir}"/usr/share/licenses/${pkgname} -m644 LICENSE } @@ -97,7 +97,7 @@ 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*} + 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/trunk (PKGBUILD)
Date: Friday, September 25, 2020 @ 19:24:32 Author: andyrtr Revision: 396563 upgpkg: ghostscript 9.53.2-1: upstream update 9.53.2 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-09-25 19:03:15 UTC (rev 396562) +++ PKGBUILD2020-09-25 19:24:32 UTC (rev 396563) @@ -2,7 +2,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) -pkgver=9.53.1 +pkgver=9.53.2 pkgrel=1 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; @@ -13,7 +13,7 @@ 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=('4aaeba969239690966bde288c8dc4663e0956361f9c667ca5aae117e950621291aed40d5828f7ac99bc0a812595430fe0e8311a75c4f482c1320c9c294028008') +sha512sums=('292d585938a9b15498941ea663630b3e9dccb4e31e9750e007d69500bdaa74e00ca48c2e48c8b429a68f293a2f84f9ef802406b0928b8d16361ad986a9378eb8') ### update jbig2dec first! ###
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Monday, September 14, 2020 @ 18:01:50 Author: andyrtr Revision: 396137 upgpkg: ghostscript 9.53.1-1: upstream update 9.53.1 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-09-14 15:27:04 UTC (rev 396136) +++ PKGBUILD2020-09-14 18:01:50 UTC (rev 396137) @@ -2,7 +2,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) -pkgver=9.53.0 +pkgver=9.53.1 pkgrel=1 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; @@ -13,7 +13,7 @@ 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') +sha512sums=('4aaeba969239690966bde288c8dc4663e0956361f9c667ca5aae117e950621291aed40d5828f7ac99bc0a812595430fe0e8311a75c4f482c1320c9c294028008') ### update jbig2dec first! ###
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, September 10, 2020 @ 17:34:39 Author: andyrtr Revision: 395746 upgpkg: ghostscript 9.53.0-1: upstream update 9.53.0 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-09-10 17:24:12 UTC (rev 395745) +++ PKGBUILD2020-09-10 17:34:39 UTC (rev 395746) @@ -2,7 +2,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) -pkgver=9.52 +pkgver=9.53.0 pkgrel=1 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; @@ -12,8 +12,8 @@ '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=('d630155f444589b209d780fdec248275e9ab33a533e44306dc292e276e554a2804450539eed4188434beddfa810c7a03ac9a34dfdbe1784b67806f0226d6794e') +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver//./}/ghostpdl-${pkgver}.tar.gz) +sha512sums=('f1ed6ec04d5eef6761e68c950dc29f5f6d80ac7f2cd478e56e95c5cb4b0099f3216c402ad9ac387caa280b54531dcb6aa6c47c2ae33edd6e232a18fc03e63ea3') ### update jbig2dec first! ###
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, March 19, 2020 @ 16:12:15 Author: andyrtr Revision: 377926 upgpkg: ghostscript 9.52-1: upstream update 9.52 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-19 14:57:57 UTC (rev 377925) +++ PKGBUILD2020-03-19 16:12:15 UTC (rev 377926) @@ -2,8 +2,8 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) -pkgver=9.51 -pkgrel=2 +pkgver=9.52 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') @@ -13,7 +13,7 @@ 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') +sha512sums=('d630155f444589b209d780fdec248275e9ab33a533e44306dc292e276e554a2804450539eed4188434beddfa810c7a03ac9a34dfdbe1784b67806f0226d6794e') ### update jbig2dec first! ###
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, March 19, 2020 @ 13:35:11 Author: andyrtr Revision: 377916 upgpkg: ghostscript 9.51-2: rebuild against recent jbig2dec - FS#65896 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |5 - 1 file changed, 4 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-03-19 12:38:06 UTC (rev 377915) +++ PKGBUILD2020-03-19 13:35:11 UTC (rev 377916) @@ -3,7 +3,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.51 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') @@ -15,6 +15,9 @@ source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz) sha512sums=('f6151ad43ebe0564ddd9e0217d9216410e3fd352b8ecbdf692b16a41c4ec6271cd39400d90c0b88c69a9e0573daa8368caa46230e246b1973808e024b17dba2f') + +### update jbig2dec first! ### + prepare() { cd ghostpdl-${pkgver}
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, March 12, 2020 @ 18:41:12 Author: andyrtr Revision: 377416 upgpkg: ghostscript 9.51-1: upstream update 9.51 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-12 18:30:34 UTC (rev 377415) +++ PKGBUILD2020-03-12 18:41:12 UTC (rev 377416) @@ -2,8 +2,8 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) -pkgver=9.50 -pkgrel=2 +pkgver=9.51 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') @@ -12,17 +12,12 @@ '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 -CVE-2019-14869.patch) -sha512sums=('d6add852f2cb3b2fc7b5d40c42c5d5450f16a057a585f2011b675906b6e3cbf519278e80075459a51c1b78f737146b8a8fe78791a09ca521559f80b41d9ad3eb' - '5fdeed2eac83e98c6451070c9142d8e1c836476653b7cf1a6335fca0c2edd1188a967d96499e4278f93385c91c60b4e088540a10d2f83667d585b2651a9bafc8') +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz) +sha512sums=('f6151ad43ebe0564ddd9e0217d9216410e3fd352b8ecbdf692b16a41c4ec6271cd39400d90c0b88c69a9e0573daa8368caa46230e246b1973808e024b17dba2f') prepare() { cd ghostpdl-${pkgver} - # CVE-2019-14869.patch - patch -Np1 -i ../CVE-2019-14869.patch - # 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
[arch-commits] Commit in ghostscript/trunk (PKGBUILD segfault.patch)
Date: Thursday, April 4, 2019 @ 19:33:40 Author: andyrtr Revision: 349836 upgpkg: ghostscript 9.27-1 upstream update 9.27 - FS#62102 Modified: ghostscript/trunk/PKGBUILD Deleted: ghostscript/trunk/segfault.patch + PKGBUILD | 24 segfault.patch | 35 --- 2 files changed, 8 insertions(+), 51 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-04-04 18:54:23 UTC (rev 349835) +++ PKGBUILD2019-04-04 19:33:40 UTC (rev 349836) @@ -2,8 +2,8 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) -pkgver=9.26 -pkgrel=2 +pkgver=9.27 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') @@ -12,12 +12,8 @@ '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 -segfault.patch - https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs926/0001-Bug700317-Address-.force-operators-exposure.tgz) -sha512sums=('8862a4e7328a217b383a4c38caaabcc31930d38a80c3456668bb9de3aae943dec52dfbcc5eb5c18a9987a5f9b447bd4afe0e0c2e995a7de4eafa306fe246d229' - '4c36dacedc38a981140d910316b1e6358882c02f86b7e8cff2addaf5c056ef7c6c6aaa1071e73cb56d781e891482da13706ca1a72b31cd7db9104dff5aad8b19' - '289d916a0b0da410e6f721e42bc44659c91c66ca0f7b96b1a6b010ae1c25e47788e282edc3578b4e4b120a2c684c7b1fd4cc574084bdc9cbbf6e431a01fbae0e') +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz) +sha512sums=('bbdecbde3bebb0e22eb8976fe1e91d94b8d585aa72f9a2475ee58598de223ae31bc467eb518690dd05a4a4e1382cde7a682b854c324e985852250fde29c6') prepare() { cd ghostpdl-${pkgver} @@ -26,18 +22,14 @@ 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 - - - # apply upstream fix for some segfaults FS#61513 - patch -Np1 -i ../segfault.patch - - # CVE-2019-6116 - patch -Np1 -i ../0001-Bug700317-Address-.force-operators-exposure.patch + + # 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 \ Deleted: segfault.patch === --- segfault.patch 2019-04-04 18:54:23 UTC (rev 349835) +++ segfault.patch 2019-04-04 19:33:40 UTC (rev 349836) @@ -1,35 +0,0 @@ -From fae21f1668d2b44b18b84cf0923a1d5f3008a696 Mon Sep 17 00:00:00 2001 -From: Ken Sharp -Date: Tue, 4 Dec 2018 21:31:31 + -Subject: [PATCH] subclassing devices - fix put_image method - -The subclassing devices need to change the 'memory device' parameter to -be the child device, when its the same as the subclassing device. - -Otherwise we end up trying to access the child device's memory pointers -in the subclassing device, which may not contain valid copies of -those pointers. - base/gdevsclass.c | 5 - - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/base/gdevsclass.c b/base/gdevsclass.c -index d9c85d2..5109258 100644 a/base/gdevsclass.c -+++ b/base/gdevsclass.c -@@ -797,7 +797,10 @@ int default_subclass_put_image(gx_device *dev, gx_device *mdev, const byte **buf - int alpha_plane_index, int tag_plane_index) - { - if (dev->child) --return dev_proc(dev->child, put_image)(dev->child, mdev, buffers, num_chan, x, y, width, height, row_stride, alpha_plane_index, tag_plane_index); -+if (dev == mdev) -+return dev_proc(dev->child, put_image)(dev->child, dev->child, buffers, num_chan, x, y, width, height, row_stride, alpha_plane_index, tag_plane_index); -+else -+return dev_proc(dev->child, put_image)(dev->child, mdev, buffers, num_chan, x, y, width, height, row_stride, alpha_plane_index, tag_plane_index); - - return 0; - } --- -2.9.1 - -
[arch-commits] Commit in ghostscript/trunk (PKGBUILD segfault.patch)
Date: Thursday, January 24, 2019 @ 17:22:55 Author: andyrtr Revision: 344657 upgpkg: ghostscript 9.26-2 apply upstream fix for FS#61513 fixing some segfault + apply upstream fixes for CVE-2019-6116 Added: ghostscript/trunk/segfault.patch Modified: ghostscript/trunk/PKGBUILD + PKGBUILD | 17 ++--- segfault.patch | 35 +++ 2 files changed, 49 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-01-24 16:55:54 UTC (rev 344656) +++ PKGBUILD2019-01-24 17:22:55 UTC (rev 344657) @@ -3,7 +3,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.26 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') @@ -12,8 +12,12 @@ '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') +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.gz +segfault.patch + https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs926/0001-Bug700317-Address-.force-operators-exposure.tgz) +sha512sums=('8862a4e7328a217b383a4c38caaabcc31930d38a80c3456668bb9de3aae943dec52dfbcc5eb5c18a9987a5f9b447bd4afe0e0c2e995a7de4eafa306fe246d229' + '4c36dacedc38a981140d910316b1e6358882c02f86b7e8cff2addaf5c056ef7c6c6aaa1071e73cb56d781e891482da13706ca1a72b31cd7db9104dff5aad8b19' + '289d916a0b0da410e6f721e42bc44659c91c66ca0f7b96b1a6b010ae1c25e47788e282edc3578b4e4b120a2c684c7b1fd4cc574084bdc9cbbf6e431a01fbae0e') prepare() { cd ghostpdl-${pkgver} @@ -22,6 +26,13 @@ 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 + + + # apply upstream fix for some segfaults FS#61513 + patch -Np1 -i ../segfault.patch + + # CVE-2019-6116 + patch -Np1 -i ../0001-Bug700317-Address-.force-operators-exposure.patch } build() { Added: segfault.patch === --- segfault.patch (rev 0) +++ segfault.patch 2019-01-24 17:22:55 UTC (rev 344657) @@ -0,0 +1,35 @@ +From fae21f1668d2b44b18b84cf0923a1d5f3008a696 Mon Sep 17 00:00:00 2001 +From: Ken Sharp +Date: Tue, 4 Dec 2018 21:31:31 + +Subject: [PATCH] subclassing devices - fix put_image method + +The subclassing devices need to change the 'memory device' parameter to +be the child device, when its the same as the subclassing device. + +Otherwise we end up trying to access the child device's memory pointers +in the subclassing device, which may not contain valid copies of +those pointers. +--- + base/gdevsclass.c | 5 - + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/base/gdevsclass.c b/base/gdevsclass.c +index d9c85d2..5109258 100644 +--- a/base/gdevsclass.c b/base/gdevsclass.c +@@ -797,7 +797,10 @@ int default_subclass_put_image(gx_device *dev, gx_device *mdev, const byte **buf + int alpha_plane_index, int tag_plane_index) + { + if (dev->child) +-return dev_proc(dev->child, put_image)(dev->child, mdev, buffers, num_chan, x, y, width, height, row_stride, alpha_plane_index, tag_plane_index); ++if (dev == mdev) ++return dev_proc(dev->child, put_image)(dev->child, dev->child, buffers, num_chan, x, y, width, height, row_stride, alpha_plane_index, tag_plane_index); ++else ++return dev_proc(dev->child, put_image)(dev->child, mdev, buffers, num_chan, x, y, width, height, row_stride, alpha_plane_index, tag_plane_index); + + return 0; + } +-- +2.9.1 + +
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, September 19, 2018 @ 19:26:32 Author: andyrtr Revision: 335020 upgpkg: ghostscript 9.25-3 list libidn dependency that was removed from systemd deps recently Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-19 19:11:19 UTC (rev 335019) +++ PKGBUILD2018-09-19 19:26:32 UTC (rev 335020) @@ -3,13 +3,13 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.25 -pkgrel=2 +pkgrel=3 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') + '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)
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Friday, September 14, 2018 @ 06:33:56 Author: foutrelis Revision: 334528 libidn 1.35 rebuild Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-09-14 06:30:19 UTC (rev 334527) +++ PKGBUILD2018-09-14 06:33:56 UTC (rev 334528) @@ -3,7 +3,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.25 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64')
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Monday, September 10, 2018 @ 22:40:48 Author: foutrelis Revision: 334337 libidn 1.35 rebuild Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-09-10 22:40:06 UTC (rev 334336) +++ PKGBUILD2018-09-10 22:40:48 UTC (rev 334337) @@ -4,7 +4,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.24 -pkgrel=6 +pkgrel=7 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64')
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, September 6, 2018 @ 15:23:26 Author: andyrtr Revision: 333810 upgpkg: ghostscript 9.24-4 build again with recent upstream tarball, they seem to have reuploaded a late new version - FS#59936 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-06 15:12:11 UTC (rev 333809) +++ PKGBUILD2018-09-06 15:23:26 UTC (rev 333810) @@ -4,7 +4,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.24 -pkgrel=3 +pkgrel=4 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') @@ -17,7 +17,7 @@ 0001_ICC_profile_validation.patch 0002_retain_LockSafetyParams_through_failed_installpagedevice.patch 0003_Fix_SEGV_seen_in_all-devices_test.patch) -sha512sums=('d3aae0d6f9d4f56392078d5034e278afa4f436f4b0977aeab0b9fbba8282e6598bf4532494f7df28f752d4cd1ea4c985e8f3e47db9be40cdf885b17f16731d75' +sha512sums=('a0ed7235808ed79ad88ddf0808ef3eb667ffd1b0300ceda78eac3d0ad69d4a963821fa05319ed822db51911210c4fd7d8dbd4d73951e330fbc7b99e4f00a45fa' '6cfdd351e8e84968c20cf8f15e01a09a215b6132af89ca0e392716638d925a0f750dab3dbcbdf44f200fb9cc419be5dadccffc226c9a405e888f3580f98cf4ea' '670ccf36927904fc2e918847baf082753d3b4b81fd0ee2347feb6de5a0ab77eb9c00cb640fcb3c7a0f395694112f3921775a6f614bec08e3d4452155b030951e' '45be77dc890d9d251541d44fe0ad860a7d83d969ce697bbb32cb469d8837417020f1a017ae7aecbb8fbb45647ad9c3e6f92d321c2adfe6c8b3412c580f4058c5')
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Monday, September 3, 2018 @ 15:29:47 Author: andyrtr Revision: 333224 upgpkg: ghostscript 9.24-1 upstream update 9.24 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-03 14:31:02 UTC (rev 333223) +++ PKGBUILD2018-09-03 15:29:47 UTC (rev 333224) @@ -3,7 +3,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) -pkgver=9.24rc2 +pkgver=9.24 pkgrel=1 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; @@ -14,7 +14,7 @@ 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') +sha512sums=('d3aae0d6f9d4f56392078d5034e278afa4f436f4b0977aeab0b9fbba8282e6598bf4532494f7df28f752d4cd1ea4c985e8f3e47db9be40cdf885b17f16731d75') prepare() { cd ghostpdl-${pkgver}
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, August 8, 2018 @ 19:38:40 Author: andyrtr Revision: 331260 upgpkg: ghostscript 9.23-2 remove broken doc symlink - FS#59507 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-08-08 19:25:34 UTC (rev 331259) +++ PKGBUILD2018-08-08 19:38:40 UTC (rev 331260) @@ -4,7 +4,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.23 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') @@ -60,9 +60,8 @@ 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 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
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Tuesday, January 9, 2018 @ 18:29:37 Author: heftig Revision: 314300 9.22-7 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD | 20 1 file changed, 4 insertions(+), 16 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-01-09 18:15:51 UTC (rev 314299) +++ PKGBUILD2018-01-09 18:29:37 UTC (rev 314300) @@ -4,13 +4,13 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.22 -pkgrel=6 +pkgrel=7 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') -license=('AGPL' 'custom') +license=('AGPL3' 'custom') depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' - 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs' 'poppler-data' 'openjpeg2') + '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 @@ -34,11 +34,6 @@ build() { cd ghostpdl-${pkgver} - local fontpath p - for p in /usr/share/poppler/cMap/*; do -fontpath="${fontpath}${fontpath:+:}${p}" - done - ./configure --prefix=/usr \ --enable-dynamic \ --with-ijs \ @@ -45,7 +40,7 @@ --with-jbig2dec \ --with-x \ --with-drivers=ALL \ - --with-fontpath="$fontpath" \ + --with-fontpath=/usr/share/fonts/gsfonts \ --enable-fontconfig \ --enable-freetype \ --enable-openjpeg \ @@ -76,13 +71,6 @@ # remove unwanted localized manpages rm -r "${pkgdir}"/usr/share/man/de - # 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 }
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, December 27, 2017 @ 06:06:02 Author: heftig Revision: 313671 9.22-6: FS#56849 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-12-27 05:59:29 UTC (rev 313670) +++ PKGBUILD2017-12-27 06:06:02 UTC (rev 313671) @@ -4,7 +4,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.22 -pkgrel=5 +pkgrel=6 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') @@ -25,7 +25,8 @@ patch -Np1 --no-backup-if-mismatch -i ../ghostscript-9.22-restore-flushpage.patch # force it to use system-libs - rm -r cups/libs expat freetype ijs jbig2dec jpeg lcms2 libpng openjpeg tiff zlib + rm -r cups/libs expat ijs jbig2dec jpeg lcms2 libpng openjpeg tiff zlib + # using tree freetype because of https://bugs.archlinux.org/task/56849 autoreconf -fvi }
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, December 6, 2017 @ 14:12:06 Author: heftig Revision: 311677 9.22-3: Drop unversioned solinks (libgxps conflicts and the API is not public anyway) Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-12-06 13:09:14 UTC (rev 311676) +++ PKGBUILD2017-12-06 14:12:06 UTC (rev 311677) @@ -4,7 +4,7 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.22 -pkgrel=2 +pkgrel=3 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/"; arch=('x86_64') @@ -99,7 +99,6 @@ 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 } @@ -115,7 +114,6 @@ 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/trunk (PKGBUILD ghostscript-sys-zlib.patch)
Date: Tuesday, December 5, 2017 @ 12:45:58 Author: heftig Revision: 311630 9.22-2: Overhaul Modified: ghostscript/trunk/PKGBUILD Deleted: ghostscript/trunk/ghostscript-sys-zlib.patch + PKGBUILD | 150 +++ ghostscript-sys-zlib.patch | 25 --- 2 files changed, 97 insertions(+), 78 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-12-05 11:21:38 UTC (rev 311629) +++ PKGBUILD2017-12-05 12:45:58 UTC (rev 311630) @@ -1,77 +1,121 @@ # $Id$ # Maintainer: AndyRTR -pkgname=ghostscript +pkgbase=ghostscript +pkgname=(ghostscript ghostxps ghostpcl) pkgver=9.22 -pkgrel=1 +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') -makedepends=('gtk3' 'gnutls') -optdepends=('texlive-core: needed for dvipdf' -'gtk3: needed for gsx') -url="http://www.ghostscript.com/"; -source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostscript-${pkgver}.tar.xz -ghostscript-sys-zlib.patch) -options=('!makeflags') +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 -sha256sums=('c1f862e6f40f997dbe3feba89355e8cb05d55818994e10f4932b0dd9b627d1bb' -'c08c7e1354aaa243e753517c61ff86a799a49e0177c7bf6fe0029abc693386f6') +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz) +sha256sums=('f4e46bc1f8285a61ab036007705fc2b532cc40f4448fe6bc156bd130733f306b') prepare() { - cd ghostscript-${pkgver} - # fix build with system zlib - patch -Np1 -i ${srcdir}/ghostscript-sys-zlib.patch + 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 ghostscript-${pkgver} - - # force it to use system-libs - # keep heavily patched included openjpeg, leads to segfault with system openjpeg - # https://bugs.archlinux.org/task/38226 - rm -rfv cups/libs freetype ijs jbig2dec jpeg lcms2 libpng tiff zlib + cd ghostpdl-${pkgver} - autoconf --force + 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 \ - --without-omni \ - --with-x \ - --with-drivers=ALL\ - --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \ - --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 - make + --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() { - cd ghostscript-${pkgver} +package_ghostscript() { + optdepends=('texlive-core: needed for dvipdf' + 'gtk3: needed for gsx') + + cd ghostpdl-${pkgver} + make DESTDIR="${pkgdir}" \ - cups_serverroot="${pkgdir}"/etc/cups \ - cups_serverbin="${pkgdir}"/usr/lib/cups install install-so + CUPSSERVERROOT="${pkgdir}$(cups-config --serverroot)" \ + CUPSSERVERBIN="${pkgdir}$(cups-config --serverbin)" \ + soinstall + ln -s gsc "${pkgdir}"/usr/bin/gs - # drop full libs linked gs, prefer gsc dynamically linked against libgs; FS#50422 - ln -sf /usr/bin/gsc "${pkgdir}"/usr/bin/gs - # install missing doc files # http://bugs.archlinux.org/task/18023 - install -m 644 "${srcdir}"/ghostscript-${pkgver}/doc/{VectorDevices.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} "${pkgdir}"/usr/share/ghostscript/$pkgver/doc/ - - install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE + install -Dt "${pkgdir}"/usr/share/ghostscript/${pkgver}/doc \ +-m644 doc/{VectorDevices.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt}
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Tuesday, August 1, 2017 @ 13:27:50 Author: andyrtr Revision: 301459 upgpkg: ghostscript 9.21-3 remove hardening-wrapper Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-08-01 12:55:50 UTC (rev 301458) +++ PKGBUILD2017-08-01 13:27:50 UTC (rev 301459) @@ -3,13 +3,13 @@ pkgname=ghostscript pkgver=9.21 -pkgrel=2 +pkgrel=3 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs') -makedepends=('gtk3' 'gnutls' 'hardening-wrapper') +makedepends=('gtk3' 'gnutls') optdepends=('texlive-core: needed for dvipdf' 'gtk3: needed for gsx') url="http://www.ghostscript.com/";
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, March 16, 2017 @ 21:22:56 Author: andyrtr Revision: 290960 upgpkg: ghostscript 9.21-1 upstream update 9.21 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |9 + 1 file changed, 5 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-03-16 21:04:18 UTC (rev 290959) +++ PKGBUILD2017-03-16 21:22:56 UTC (rev 290960) @@ -2,8 +2,8 @@ # Maintainer: AndyRTR pkgname=ghostscript -pkgver=9.20 -pkgrel=4 +pkgver=9.21 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -17,8 +17,9 @@ ghostscript-sys-zlib.patch) options=('!makeflags') # https://github.com/ArtifexSoftware/ghostpdl-downloads/releases -sha1sums=('ed63f43482f5af60dff52e81b2d9478da3ad1e3e' - 'e054caf753df4d67221b29a2eac66130653f7556') +sha256sums=('2be1d014888a34187ad4bbec19ab5692cc943bd1cb14886065aeb43a3393d053' +'c08c7e1354aaa243e753517c61ff86a799a49e0177c7bf6fe0029abc693386f6') + prepare() { cd ghostscript-${pkgver} # fix build with system zlib
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Tuesday, October 18, 2016 @ 18:54:12 Author: andyrtr Revision: 278964 upgpkg: ghostscript 9.20-4 drop unrequired dependency on jasper, FS#51414 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-10-18 17:59:30 UTC (rev 278963) +++ PKGBUILD2016-10-18 18:54:12 UTC (rev 278964) @@ -3,11 +3,11 @@ pkgname=ghostscript pkgver=9.20 -pkgrel=3 +pkgrel=4 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') -depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' +depends=('libxt' 'libcups' 'fontconfig' 'zlib' 'libpng' 'libjpeg' 'jbig2dec' 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs') makedepends=('gtk3' 'gnutls' 'hardening-wrapper') optdepends=('texlive-core: needed for dvipdf' @@ -31,7 +31,7 @@ # force it to use system-libs # keep heavily patched included openjpeg, leads to segfault with system openjpeg # https://bugs.archlinux.org/task/38226 - rm -rfv cups/libs freetype ijs jasper jbig2dec jpeg lcms2 libpng tiff zlib + rm -rfv cups/libs freetype ijs jbig2dec jpeg lcms2 libpng tiff zlib autoconf --force
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Monday, October 17, 2016 @ 14:27:19 Author: andyrtr Revision: 278890 upgpkg: ghostscript 9.20-3 use system jasper again; FS#51414 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-10-17 14:12:18 UTC (rev 278889) +++ PKGBUILD2016-10-17 14:27:19 UTC (rev 278890) @@ -3,7 +3,7 @@ pkgname=ghostscript pkgver=9.20 -pkgrel=2 +pkgrel=3 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -31,7 +31,7 @@ # force it to use system-libs # keep heavily patched included openjpeg, leads to segfault with system openjpeg # https://bugs.archlinux.org/task/38226 - rm -rfv cups/libs freetype ijs jbig2dec jpeg lcms2 libpng tiff zlib + rm -rfv cups/libs freetype ijs jasper jbig2dec jpeg lcms2 libpng tiff zlib autoconf --force
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, September 29, 2016 @ 17:30:20 Author: andyrtr Revision: 277283 upgpkg: ghostscript 9.20-2 properly use system libs Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-09-29 16:21:56 UTC (rev 277282) +++ PKGBUILD2016-09-29 17:30:20 UTC (rev 277283) @@ -8,8 +8,8 @@ arch=('i686' 'x86_64') license=('AGPL' 'custom') depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' - 'jbig2dec' 'libtiff' 'lcms2' 'dbus' 'libpaper') -makedepends=('gtk3' 'gnutls' 'hardening-wrapper' 'ijs') + 'jbig2dec' 'libtiff' 'lcms2' 'dbus' 'libpaper' 'ijs') +makedepends=('gtk3' 'gnutls' 'hardening-wrapper') optdepends=('texlive-core: needed for dvipdf' 'gtk3: needed for gsx') url="http://www.ghostscript.com/"; @@ -31,9 +31,7 @@ # force it to use system-libs # keep heavily patched included openjpeg, leads to segfault with system openjpeg # https://bugs.archlinux.org/task/38226 - rm -rf jpeg zbpng lib jasper expat tiff lcms lcms2 freetype cups/libs jbig2dec - # http://ghostscript.com/pipermail/gs-devel/2016-September/009918.html - # libpng expat + rm -rfv cups/libs freetype ijs jbig2dec jpeg lcms2 libpng tiff zlib autoconf --force
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, September 28, 2016 @ 20:35:59 Author: andyrtr Revision: 277272 prepare to build again with system libs, upstream released a new tarball replacing the broken one, now fails in make install Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |9 - 1 file changed, 4 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-09-28 19:57:44 UTC (rev 277271) +++ PKGBUILD2016-09-28 20:35:59 UTC (rev 277272) @@ -3,7 +3,7 @@ pkgname=ghostscript pkgver=9.20 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -17,7 +17,7 @@ ghostscript-sys-zlib.patch) options=('!makeflags') # https://github.com/ArtifexSoftware/ghostpdl-downloads/releases -sha1sums=('3731002d323051f4578499b8a107cd74289d713c' +sha1sums=('ed63f43482f5af60dff52e81b2d9478da3ad1e3e' 'e054caf753df4d67221b29a2eac66130653f7556') prepare() { cd ghostscript-${pkgver} @@ -31,7 +31,7 @@ # force it to use system-libs # keep heavily patched included openjpeg, leads to segfault with system openjpeg # https://bugs.archlinux.org/task/38226 - rm -rf jpeg zlib jasper tiff lcms lcms2 freetype cups/libs jbig2dec + rm -rf jpeg zbpng lib jasper expat tiff lcms lcms2 freetype cups/libs jbig2dec # http://ghostscript.com/pipermail/gs-devel/2016-September/009918.html # libpng expat @@ -41,7 +41,7 @@ --enable-dynamic \ --with-ijs \ --with-jbig2dec \ - --with-omni \ + --without-omni \ --with-x \ --with-drivers=ALL\ --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \ @@ -49,7 +49,6 @@ --enable-freetype \ --enable-openjpeg \ --without-luratech \ - --without-omni \ --with-system-libtiff \ --with-libpaper \ --disable-compile-inits #--help # needed for linking with system-zlib
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Tuesday, September 27, 2016 @ 20:06:39 Author: andyrtr Revision: 277150 upgpkg: ghostscript 9.20-1 upstream update 9.20; use internal libpng and expat until build issues have been fixed, use system jbig2dec Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-09-27 20:04:28 UTC (rev 277149) +++ PKGBUILD2016-09-27 20:06:39 UTC (rev 277150) @@ -8,16 +8,16 @@ arch=('i686' 'x86_64') license=('AGPL' 'custom') depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' - 'libtiff' 'lcms2' 'dbus' 'libpaper') + 'jbig2dec' 'libtiff' 'lcms2' 'dbus' 'libpaper') makedepends=('gtk3' 'gnutls' 'hardening-wrapper' 'ijs') optdepends=('texlive-core: needed for dvipdf' 'gtk3: needed for gsx') url="http://www.ghostscript.com/"; -source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostscript-${pkgver}.tar.gz +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostscript-${pkgver}.tar.xz ghostscript-sys-zlib.patch) options=('!makeflags') # https://github.com/ArtifexSoftware/ghostpdl-downloads/releases -sha1sums=('c6ffd608a9f33da353ad93e70a614eb5027f3a78' +sha1sums=('3731002d323051f4578499b8a107cd74289d713c' 'e054caf753df4d67221b29a2eac66130653f7556') prepare() { cd ghostscript-${pkgver} @@ -31,7 +31,9 @@ # force it to use system-libs # keep heavily patched included openjpeg, leads to segfault with system openjpeg # https://bugs.archlinux.org/task/38226 - rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype cups/libs # jbig2dec is in community + rm -rf jpeg zlib jasper tiff lcms lcms2 freetype cups/libs jbig2dec + # http://ghostscript.com/pipermail/gs-devel/2016-September/009918.html + # libpng expat autoconf --force
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Monday, September 26, 2016 @ 19:56:07 Author: andyrtr Revision: 276992 prepare next build, still ftbs with system libs Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-09-26 19:04:00 UTC (rev 276991) +++ PKGBUILD2016-09-26 19:56:07 UTC (rev 276992) @@ -2,23 +2,22 @@ # Maintainer: AndyRTR pkgname=ghostscript -pkgver=9.19 -pkgrel=3 +pkgver=9.20 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') -depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' - 'libtiff>=4.0.0' 'lcms2' 'dbus' 'libpaper') +depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' + 'libtiff' 'lcms2' 'dbus' 'libpaper') makedepends=('gtk3' 'gnutls' 'hardening-wrapper' 'ijs') optdepends=('texlive-core: needed for dvipdf' 'gtk3: needed for gsx') url="http://www.ghostscript.com/"; -source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostscript-${pkgver}.tar.bz2 -#http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2 +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostscript-${pkgver}.tar.gz ghostscript-sys-zlib.patch) -#options=('!makeflags') +options=('!makeflags') # https://github.com/ArtifexSoftware/ghostpdl-downloads/releases -sha1sums=('6ac5c1fb665b3201622e1149f04c641c506bf6c4' +sha1sums=('c6ffd608a9f33da353ad93e70a614eb5027f3a78' 'e054caf753df4d67221b29a2eac66130653f7556') prepare() { cd ghostscript-${pkgver}
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, August 24, 2016 @ 16:07:01 Author: andyrtr Revision: 274623 upgpkg: ghostscript 9.19-3 replace statically linked binary with dynamic one; FS#50422 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-08-24 06:42:43 UTC (rev 274622) +++ PKGBUILD2016-08-24 16:07:01 UTC (rev 274623) @@ -3,7 +3,7 @@ pkgname=ghostscript pkgver=9.19 -pkgrel=2 +pkgrel=3 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -52,8 +52,8 @@ --with-system-libtiff \ --with-libpaper \ --disable-compile-inits #--help # needed for linking with system-zlib + make so make - } package() { @@ -62,6 +62,9 @@ cups_serverroot="${pkgdir}"/etc/cups \ cups_serverbin="${pkgdir}"/usr/lib/cups install install-so + # drop full libs linked gs, prefer gsc dynamically linked against libgs; FS#50422 + ln -sf /usr/bin/gsc "${pkgdir}"/usr/bin/gs + # install missing doc files # http://bugs.archlinux.org/task/18023 install -m 644 "${srcdir}"/ghostscript-${pkgver}/doc/{VectorDevices.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} "${pkgdir}"/usr/share/ghostscript/$pkgver/doc/
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, July 27, 2016 @ 18:05:29 Author: andyrtr Revision: 272516 upgpkg: ghostscript 9.19-2 don't build internal ijs anymore - upstream dropped ijs-config and broke gutenprint and other ijs drivers... - let's use ancient separate ijs in its way it was before it went into ghostscript sources Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-27 17:52:02 UTC (rev 272515) +++ PKGBUILD2016-07-27 18:05:29 UTC (rev 272516) @@ -3,13 +3,13 @@ pkgname=ghostscript pkgver=9.19 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms2' 'dbus' 'libpaper') -makedepends=('gtk3' 'gnutls' 'hardening-wrapper') +makedepends=('gtk3' 'gnutls' 'hardening-wrapper' 'ijs') optdepends=('texlive-core: needed for dvipdf' 'gtk3: needed for gsx') url="http://www.ghostscript.com/"; @@ -18,9 +18,8 @@ ghostscript-sys-zlib.patch) #options=('!makeflags') # https://github.com/ArtifexSoftware/ghostpdl-downloads/releases -sha1sums=('202e234d54a4ccd667b57c9ae8b48bd65fafd503' +sha1sums=('6ac5c1fb665b3201622e1149f04c641c506bf6c4' 'e054caf753df4d67221b29a2eac66130653f7556') - prepare() { cd ghostscript-${pkgver} # fix build with system zlib @@ -55,12 +54,6 @@ --disable-compile-inits #--help # needed for linking with system-zlib make - # Build IJS - cd ijs - sed -i "s:AM_PROG_CC_STDC:AC_PROG_CC:g" configure.ac - ./autogen.sh - ./configure --prefix=/usr --enable-shared --disable-static - make } package() { @@ -77,10 +70,6 @@ # remove unwanted localized man-pages rm -rf "$pkgdir"/usr/share/man/[^man1]* - # install IJS - cd ijs - make DESTDIR="${pkgdir}" install - # remove filters that are now maintained in cups-filters as upstream home rm -rf "$pkgdir"/usr/lib/cups/filter/{gstopxl,gstoraster} }
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, March 24, 2016 @ 20:12:33 Author: andyrtr Revision: 262479 no more groff rebuilds Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |2 -- 1 file changed, 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-03-24 19:11:36 UTC (rev 262478) +++ PKGBUILD2016-03-24 19:12:33 UTC (rev 262479) @@ -1,8 +1,6 @@ # $Id$ # Maintainer: AndyRTR -### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ### - pkgname=ghostscript pkgver=9.19 pkgrel=1
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, January 6, 2016 @ 10:27:50 Author: andyrtr Revision: 257535 upgpkg: ghostscript 9.18-5 use internal freetype to solve wrong glyphs; FS#46744 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-01-06 07:53:07 UTC (rev 257534) +++ PKGBUILD2016-01-06 09:27:50 UTC (rev 257535) @@ -5,7 +5,7 @@ pkgname=ghostscript pkgver=9.18 -pkgrel=4 +pkgrel=5 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -42,7 +42,8 @@ # force it to use system-libs # keep heavily patched included openjpeg, leads to segfault with system openjpeg # https://bugs.archlinux.org/task/38226 - rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype cups/libs # jbig2dec is in community + #freetype # use internal one - FS#46744 + rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 cups/libs # jbig2dec is in community autoconf --force
[arch-commits] Commit in ghostscript/trunk (PKGBUILD add_gserrors_h.diff)
Date: Sunday, November 1, 2015 @ 11:30:58 Author: andyrtr Revision: 249913 upgpkg: ghostscript 9.18-4 add a missing header, FS#46928 Added: ghostscript/trunk/add_gserrors_h.diff Modified: ghostscript/trunk/PKGBUILD -+ PKGBUILD| 10 +++--- add_gserrors_h.diff | 43 +++ 2 files changed, 50 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-11-01 10:23:41 UTC (rev 249912) +++ PKGBUILD2015-11-01 10:30:58 UTC (rev 249913) @@ -5,7 +5,7 @@ pkgname=ghostscript pkgver=9.18 -pkgrel=3 +pkgrel=4 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -17,12 +17,14 @@ url="http://www.ghostscript.com/"; source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2 ghostscript-sys-zlib.patch -bug_696246.diff) +bug_696246.diff +add_gserrors_h.diff) #options=('!makeflags') # http://downloads.ghostscript.com/public/SHA1SUMS sha1sums=('388fea50a38e422a4c6ff27c184491bf5ecb96e1' 'e054caf753df4d67221b29a2eac66130653f7556' - 'f259eaac3beb0ec346bb2d4d2455e4e3baddecd4') + 'f259eaac3beb0ec346bb2d4d2455e4e3baddecd4' + 'ca686fed1af36d1f9fa866b47ff129c71d6a19ff') prepare() { cd ghostscript-${pkgver} @@ -30,6 +32,8 @@ patch -Np1 -i ${srcdir}/ghostscript-sys-zlib.patch # fix http://bugs.ghostscript.com/show_bug.cgi?id=696246 - FS#46637, FS#46734? patch -Np1 -i ${srcdir}/bug_696246.diff + # add a missing header; FS#46928 + patch -Np1 -i ${srcdir}/add_gserrors_h.diff } build() { Added: add_gserrors_h.diff === --- add_gserrors_h.diff (rev 0) +++ add_gserrors_h.diff 2015-11-01 10:30:58 UTC (rev 249913) @@ -0,0 +1,43 @@ +From feafe5e540a0545ec5d28f3f66bb542056bba495 Mon Sep 17 00:00:00 2001 +From: Chris Liddell +Date: Fri, 23 Oct 2015 10:16:11 +0100 +Subject: [PATCH] Bug 696301: add gserrors.h to the installed files + +for the so-install target. + +Also remove a spurious (copy'n'paste error) comment. + +No cluster differences +--- + base/gserrors.h | 2 +- + base/unix-dll.mak | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/base/gserrors.h b/base/gserrors.h +index 5f18081..cdebb38 100644 +--- a/base/gserrors.h b/base/gserrors.h +@@ -25,7 +25,7 @@ + /* We don't use a typedef internally to avoid a lot of casting. */ + + enum gs_error_type { +-gs_error_ok = 0, /* unknown error */ ++gs_error_ok = 0, + gs_error_unknownerror = -1, /* unknown error */ + gs_error_dictfull = -2, + gs_error_dictstackoverflow = -3, +diff --git a/base/unix-dll.mak b/base/unix-dll.mak +index 7b67aa1..73b4fa9 100644 +--- a/base/unix-dll.mak b/base/unix-dll.mak +@@ -186,6 +186,7 @@ install-so-subtarget: so-subtarget + ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) + $(INSTALL_DATA) $(PSSRC)iapi.h $(DESTDIR)$(gsincludedir)iapi.h + $(INSTALL_DATA) $(PSSRC)ierrors.h $(DESTDIR)$(gsincludedir)ierrors.h ++ $(INSTALL_DATA) $(GLSRC)gserrors.h $(DESTDIR)$(gsincludedir)gserrors.h + $(INSTALL_DATA) $(DEVSRC)gdevdsp.h $(DESTDIR)$(gsincludedir)gdevdsp.h + + soinstall: +-- +2.5.1 +
[arch-commits] Commit in ghostscript/trunk (PKGBUILD bug_696246.diff)
Date: Thursday, October 15, 2015 @ 17:37:05 Author: andyrtr Revision: 249384 upgpkg: ghostscript 9.18-3 add more upstream commits to fix http://bugs.ghostscript.com/show_bug.cgi?id=696246 - should also fix FS#46734 Modified: ghostscript/trunk/PKGBUILD ghostscript/trunk/bug_696246.diff -+ PKGBUILD|6 +- bug_696246.diff | 114 ++ 2 files changed, 117 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-10-15 15:11:12 UTC (rev 249383) +++ PKGBUILD2015-10-15 15:37:05 UTC (rev 249384) @@ -5,7 +5,7 @@ pkgname=ghostscript pkgver=9.18 -pkgrel=2 +pkgrel=3 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -22,13 +22,13 @@ # http://downloads.ghostscript.com/public/SHA1SUMS sha1sums=('388fea50a38e422a4c6ff27c184491bf5ecb96e1' 'e054caf753df4d67221b29a2eac66130653f7556' - '8bdcb72250f81d8d1f3b3cff4becb673113ed302') + 'f259eaac3beb0ec346bb2d4d2455e4e3baddecd4') prepare() { cd ghostscript-${pkgver} # fix build with system zlib patch -Np1 -i ${srcdir}/ghostscript-sys-zlib.patch - # fix http://bugs.ghostscript.com/show_bug.cgi?id=696246 - should also be FS#46637 + # fix http://bugs.ghostscript.com/show_bug.cgi?id=696246 - FS#46637, FS#46734? patch -Np1 -i ${srcdir}/bug_696246.diff } Modified: bug_696246.diff === --- bug_696246.diff 2015-10-15 15:11:12 UTC (rev 249383) +++ bug_696246.diff 2015-10-15 15:37:05 UTC (rev 249384) @@ -87,3 +87,117 @@ $(GLCC) $(GLO_)gdevdflt.$(OBJ) $(C_) $(GLSRC)gdevdflt.c $(GLOBJ)gdevdgbr.$(OBJ) : $(GLSRC)gdevdgbr.c $(AK) $(gx_h)\ +From 007bd77d08d800e6b07274d62e3c91be7c4a3f47 Mon Sep 17 00:00:00 2001 +From: Ken Sharp +Date: Mon, 12 Oct 2015 16:36:11 +0100 +Subject: [PATCH] Guard against NULL 'base' for non-clist devices + +Bug #696246 "Ghostscript 9.18 with -dFirstPage/-dLastPage fails for ijs and some x11 devices" + +This is actually for the plib device. This device is currently (this will +change in the next commit) set to BandingAuto, despite the fact that the +device only works in banding mode. + +This can lead to use arriving in gdev_mem_open_scan_lines with all of +mdev->bitmap_memory, mdev->line_pointers_memory and mdev->base being set to +NULL. The code didn't check and assumed that mdev->base was valid, which +led to a later seg fault. + +Here we just check to make sure it isn't NULL and return an error if it is. +This doesn't prevent the possibility of garbage uninitialised values, but +there's not much we can do to check that at this stage, devices are supposed +to be initialised to 0 so this 'shouldn't' happen. + +No differences expected. +--- + base/gdevmem.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/base/gdevmem.c b/base/gdevmem.c +index 3019451f..507fa19 100644 +--- a/base/gdevmem.c b/base/gdevmem.c +@@ -471,6 +471,9 @@ gdev_mem_open_scan_lines(gx_device_memory *mdev, int setup_height) + line_pointers_adjacent = false; + } + if (line_pointers_adjacent) { ++if (mdev->base == 0) ++return_error(gs_error_rangecheck); ++ + gdev_mem_bits_size(mdev, mdev->width, mdev->height, &size); + mdev->line_ptrs = (byte **)(mdev->base + size); + } +-- +2.5.1 + +From 1bdbe4f87dc57648821e613ebcc591b84e8b35b3 Mon Sep 17 00:00:00 2001 +From: Ken Sharp +Date: Mon, 12 Oct 2015 16:38:09 +0100 +Subject: [PATCH] Ensure plib devices always use the clist + +Bug #696246 "Ghostscript 9.18 with -dFirstPage/-dLastPage fails for ijs and some x11 devices" + +the plib* class of devices only work if clist is present, but previously +they left the banding_type set to 'auto', which meant that under some +conditions we did not use the clist, leading to a seg fault. + +This commit simply forces banding_type to be 'BandingAlways'. + +No differences expected. +--- + devices/gdevplib.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/devices/gdevplib.c b/devices/gdevplib.c +index 51bd7ea..87c6f46 100644 +--- a/devices/gdevplib.c b/devices/gdevplib.c +@@ -691,6 +691,8 @@ plib_open(gx_device * pdev) + bdev->printer_procs.buf_procs.size_buf_device = plib_size_buf_device; + pdev->is_planar = 1; + ++bdev->space_params.banding_type = BandingAlways; ++ + /* You might expect us to call gdev_prn_open_planar rather than + * gdev_prn_open, but if we do that, it overwrites the 2 function + * pointers we've just overwritten! */ +-- +2.5.1 + +From 5571ddfa377c5d7d98f55af40e693814ac287ae4 Mon Sep 17 00:00:00 2001 +From: Ken Sharp +Date: Mon, 12 Oct 2015 16:40:10 +0100 +Subject: [PATCH] prevent rinkj device crash when misconfigured (no SetupFile) + +Bug #696246 "Ghostscript 9.18 with -dFirstPage/-dLastPage fails for ijs and some x11 dev
[arch-commits] Commit in ghostscript/trunk (PKGBUILD bug_696246.diff)
Date: Saturday, October 10, 2015 @ 15:01:47 Author: andyrtr Revision: 248863 upgpkg: ghostscript 9.18-2 fix upstream bug http://bugs.ghostscript.com/show_bug.cgi?id=696246 - should also fix FS#46637 Added: ghostscript/trunk/bug_696246.diff Modified: ghostscript/trunk/PKGBUILD -+ PKGBUILD| 10 -- bug_696246.diff | 89 ++ 2 files changed, 96 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-10-10 12:51:23 UTC (rev 248862) +++ PKGBUILD2015-10-10 13:01:47 UTC (rev 248863) @@ -5,7 +5,7 @@ pkgname=ghostscript pkgver=9.18 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -16,16 +16,20 @@ 'gtk3: needed for gsx') url="http://www.ghostscript.com/"; source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2 -ghostscript-sys-zlib.patch) +ghostscript-sys-zlib.patch +bug_696246.diff) #options=('!makeflags') # http://downloads.ghostscript.com/public/SHA1SUMS sha1sums=('388fea50a38e422a4c6ff27c184491bf5ecb96e1' - 'e054caf753df4d67221b29a2eac66130653f7556') + 'e054caf753df4d67221b29a2eac66130653f7556' + '8bdcb72250f81d8d1f3b3cff4becb673113ed302') prepare() { cd ghostscript-${pkgver} # fix build with system zlib patch -Np1 -i ${srcdir}/ghostscript-sys-zlib.patch + # fix http://bugs.ghostscript.com/show_bug.cgi?id=696246 - should also be FS#46637 + patch -Np1 -i ${srcdir}/bug_696246.diff } build() { Added: bug_696246.diff === --- bug_696246.diff (rev 0) +++ bug_696246.diff 2015-10-10 13:01:47 UTC (rev 248863) @@ -0,0 +1,89 @@ +From: Chris Liddell +Date: Fri, 9 Oct 2015 09:54:10 + (+0100) +Subject: Bug 696246: devijs account for device sublassing. +X-Git-Url: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff_plain;h=b68e05c3 + +Bug 696246: devijs account for device sublassing. + +The IJS device wasn't coping with the possibility it had been subclassed. + +No cluster differences +--- + +diff --git a/devices/gdevijs.c b/devices/gdevijs.c +index 5520716..a2e21ea 100644 +--- a/devices/gdevijs.c b/devices/gdevijs.c +@@ -827,6 +827,10 @@ gsijs_open(gx_device *dev) + if (code < 0) + return code; + ++while (dev->child) ++dev = dev->child; ++ijsdev = (gx_device_ijs *)dev; ++ + if (use_outputfd) { + /* Note: dup() may not be portable to all interesting IJS +platforms. In that case, this branch should be #ifdef'ed out. +From: Chris Liddell +Date: Fri, 9 Oct 2015 11:54:44 + (+0100) +Subject: Bug 696246: patch the memory manager fields for sublassed devices. +X-Git-Url: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff_plain;h=95553954 + +Bug 696246: patch the memory manager fields for sublassed devices. + +When we subclass a device, we were patching the "visible" type field - that is, +the one referenced directly in the device structure. We were not patching +the type information in the memory object header so, in particular, the +garbage collector could end up calling the wrong methods for the subclassed +device. + +No cluster differences. +--- + +diff --git a/base/gdevdflt.c b/base/gdevdflt.c +index 5768937..305f89d 100644 +--- a/base/gdevdflt.c b/base/gdevdflt.c +@@ -17,6 +17,8 @@ + #include "math_.h" + #include "memory_.h" + #include "gx.h" ++#include "gsstruct.h" ++#include "gxobj.h" + #include "gserrors.h" + #include "gsropt.h" + #include "gxcomp.h" +@@ -26,6 +28,7 @@ + #include "gstrans.h"/* For gs_pdf14trans_t */ + #include "gxistate.h" /* for gs_image_state_s */ + ++ + /* defined in gsdpram.c */ + int gx_default_get_param(gx_device *dev, char *Param, void *list); + +@@ -1294,6 +1297,11 @@ int gx_device_subclass(gx_device *dev_to_subclass, gx_device *new_prototype, uns + ptr1 = ((char *)new_prototype) + sizeof(gx_device); + memcpy(ptr, ptr1, new_prototype->params_size - sizeof(gx_device)); + ++/* We have to patch up the "type" parameters that the memory manage/garbage ++ * collector will use, as well. ++ */ ++(((obj_header_t *)dev_to_subclass) - 1)->o_type = new_prototype->stype; ++ + /* If the original device's stype structure was dynamically allocated, we need + * to 'fixup' the contents, it's procs need to point to the new device's procs + * for instance. +diff --git a/base/lib.mak b/base/lib.mak +index de78333..09b70e5 100644 +--- a/base/lib.mak b/base/lib.mak +@@ -1210,7 +1210,7 @@ $(GLOBJ)gdevdsha.$(OBJ) : $(GLSRC)gdevdsha.c $(AK) $(gx_h)\ + + $(GLOBJ)gdevdflt.$(OBJ) : $(GLSRC)gdevdflt.c $(AK) $(gx_h)\ + $(gserrors_h) $(gsropt_h) $(gxcomp_h) $(gxdevice_h) $(gxdevsop_h) $(math__h)\ +- $(MAKE
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, October 7, 2015 @ 20:11:22 Author: andyrtr Revision: 248453 upgpkg: ghostscript 9.18-1 upstream update 9.18 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-10-07 17:36:43 UTC (rev 248452) +++ PKGBUILD2015-10-07 18:11:22 UTC (rev 248453) @@ -4,7 +4,7 @@ ### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ### pkgname=ghostscript -pkgver=9.16 +pkgver=9.18 pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') @@ -19,7 +19,7 @@ ghostscript-sys-zlib.patch) #options=('!makeflags') # http://downloads.ghostscript.com/public/SHA1SUMS -sha1sums=('529e2b0be754cb353880a4ac97e3efa47ef82f5c' +sha1sums=('388fea50a38e422a4c6ff27c184491bf5ecb96e1' 'e054caf753df4d67221b29a2eac66130653f7556') prepare() {
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Tuesday, March 31, 2015 @ 19:24:09 Author: andyrtr Revision: 235306 upgpkg: ghostscript 9.16-1 upstream update 9.16 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-03-31 17:12:55 UTC (rev 235305) +++ PKGBUILD2015-03-31 17:24:09 UTC (rev 235306) @@ -4,8 +4,8 @@ ### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ### pkgname=ghostscript -pkgver=9.15 -pkgrel=2 +pkgver=9.16 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -19,7 +19,7 @@ ghostscript-sys-zlib.patch) #options=('!makeflags') # http://downloads.ghostscript.com/public/SHA1SUMS -sha1sums=('19f01538d33b9623bc6653d96ea4ec891f14a9d3' +sha1sums=('529e2b0be754cb353880a4ac97e3efa47ef82f5c' 'e054caf753df4d67221b29a2eac66130653f7556') prepare() {
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Monday, February 16, 2015 @ 20:55:06 Author: andyrtr Revision: 231618 upgpkg: ghostscript 9.15-2 fix RELRO; FS#43234 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-02-16 18:53:52 UTC (rev 231617) +++ PKGBUILD2015-02-16 19:55:06 UTC (rev 231618) @@ -5,13 +5,13 @@ pkgname=ghostscript pkgver=9.15 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms2' 'dbus' 'libpaper') -makedepends=('gtk3' 'gnutls') +makedepends=('gtk3' 'gnutls' 'hardening-wrapper') optdepends=('texlive-core: needed for dvipdf' 'gtk3: needed for gsx') url="http://www.ghostscript.com/";
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Tuesday, September 23, 2014 @ 19:46:02 Author: andyrtr Revision: 222874 upgpkg: ghostscript 9.15-1 upstream update 9.15 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-09-23 17:43:51 UTC (rev 222873) +++ PKGBUILD2014-09-23 17:46:02 UTC (rev 222874) @@ -4,7 +4,7 @@ ### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ### pkgname=ghostscript -pkgver=9.14 +pkgver=9.15 pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') @@ -18,7 +18,8 @@ source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2 ghostscript-sys-zlib.patch) #options=('!makeflags') -sha1sums=('eab1c9e9850d8aedf02d16f3f7f8198ad9384068' +# http://downloads.ghostscript.com/public/SHA1SUMS +sha1sums=('19f01538d33b9623bc6653d96ea4ec891f14a9d3' 'e054caf753df4d67221b29a2eac66130653f7556') prepare() {
[arch-commits] Commit in ghostscript/trunk (PKGBUILD ghostscript-sys-zlib.patch)
Date: Thursday, March 27, 2014 @ 21:54:33 Author: andyrtr Revision: 208881 upgpkg: ghostscript 9.14-1 upstream update 9.14 Added: ghostscript/trunk/ghostscript-sys-zlib.patch Modified: ghostscript/trunk/PKGBUILD + PKGBUILD | 24 +--- ghostscript-sys-zlib.patch | 25 + 2 files changed, 42 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-03-27 20:25:38 UTC (rev 208880) +++ PKGBUILD2014-03-27 20:54:33 UTC (rev 208881) @@ -4,8 +4,8 @@ ### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ### pkgname=ghostscript -pkgver=9.10 -pkgrel=3 +pkgver=9.14 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -15,18 +15,28 @@ optdepends=('texlive-core: needed for dvipdf' 'gtk3: needed for gsx') url="http://www.ghostscript.com/"; -source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) -options=('!makeflags') -md5sums=('7179bb1ed4f6f453147e6f7e1f210ce8') +source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2 +ghostscript-sys-zlib.patch) +#options=('!makeflags') +sha1sums=('eab1c9e9850d8aedf02d16f3f7f8198ad9384068' + 'e054caf753df4d67221b29a2eac66130653f7556') +prepare() { + cd ghostscript-${pkgver} + # fix build with system zlib + patch -Np1 -i ${srcdir}/ghostscript-sys-zlib.patch +} + build() { cd ghostscript-${pkgver} - + # force it to use system-libs # keep heavily patched included openjpeg, leads to segfault with system openjpeg # https://bugs.archlinux.org/task/38226 rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype cups/libs # jbig2dec is in community + autoconf --force + ./configure --prefix=/usr \ --enable-dynamic \ --with-ijs \ @@ -57,7 +67,7 @@ cd ghostscript-${pkgver} make DESTDIR="${pkgdir}" \ cups_serverroot="${pkgdir}"/etc/cups \ - cups_serverbin="${pkgdir}"/usr/lib/cups install soinstall + cups_serverbin="${pkgdir}"/usr/lib/cups install install-so # install missing doc files # http://bugs.archlinux.org/task/18023 install -m 644 "${srcdir}"/ghostscript-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} "${pkgdir}"/usr/share/ghostscript/$pkgver/doc/ Added: ghostscript-sys-zlib.patch === --- ghostscript-sys-zlib.patch (rev 0) +++ ghostscript-sys-zlib.patch 2014-03-27 20:54:33 UTC (rev 208881) @@ -0,0 +1,25 @@ +diff -up ghostscript-9.12/configure.ac.sys-zlib ghostscript-9.12/configure.ac +--- ghostscript-9.12/configure.ac.sys-zlib 2014-03-26 11:48:54.98397 + ghostscript-9.12/configure.ac 2014-03-26 11:49:36.807230531 + +@@ -854,7 +854,7 @@ AC_MSG_CHECKING([for local zlib source]) + dnl zlib is needed for language level 3, and libpng + # we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR) + # this seems a harmless default +-ZLIBDIR=src ++ZLIBDIR=$includedir + AUX_SHARED_ZLIB= + + if test -d $srcdir/zlib; then +diff -up ghostscript-9.12/configure.sys-zlib ghostscript-9.12/configure +--- ghostscript-9.12/configure.sys-zlib2014-03-26 11:49:45.547284521 + ghostscript-9.12/configure 2014-03-26 11:49:56.171350127 + +@@ -6254,7 +6254,7 @@ fi + $as_echo_n "checking for local zlib source... " >&6; } + # we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR) + # this seems a harmless default +-ZLIBDIR=src ++ZLIBDIR=$includedir + AUX_SHARED_ZLIB= + + if test -d $srcdir/zlib; then +
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, January 22, 2014 @ 14:37:42 Author: andyrtr Revision: 204553 upgpkg: ghostscript 9.10-3 add libpaper support; use gtk3 for gsx Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |9 + 1 file changed, 5 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-01-22 13:21:08 UTC (rev 204552) +++ PKGBUILD2014-01-22 13:37:42 UTC (rev 204553) @@ -5,15 +5,15 @@ pkgname=ghostscript pkgver=9.10 -pkgrel=2 +pkgrel=3 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' - 'libtiff>=4.0.0' 'lcms2' 'dbus') -makedepends=('gtk2' 'gnutls') + 'libtiff>=4.0.0' 'lcms2' 'dbus' 'libpaper') +makedepends=('gtk3' 'gnutls') optdepends=('texlive-core: needed for dvipdf' -'gtk2: needed for gsx') +'gtk3: needed for gsx') url="http://www.ghostscript.com/"; source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) options=('!makeflags') @@ -41,6 +41,7 @@ --without-luratech \ --without-omni \ --with-system-libtiff \ + --with-libpaper \ --disable-compile-inits #--help # needed for linking with system-zlib make
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Tuesday, January 21, 2014 @ 22:26:10 Author: andyrtr Revision: 204514 upgpkg: ghostscript 9.10-2 go back to bundled heavily patched openjpeg source to solve some segfaults, FS#38226 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-01-21 20:31:44 UTC (rev 204513) +++ PKGBUILD2014-01-21 21:26:10 UTC (rev 204514) @@ -5,13 +5,13 @@ pkgname=ghostscript pkgver=9.10 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms2' 'dbus') -makedepends=('gtk2' 'gnutls' 'openjpeg') +makedepends=('gtk2' 'gnutls') optdepends=('texlive-core: needed for dvipdf' 'gtk2: needed for gsx') url="http://www.ghostscript.com/"; @@ -21,9 +21,11 @@ build() { cd ghostscript-${pkgver} - + # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype openjpeg cups/libs # jbig2dec is in community + # keep heavily patched included openjpeg, leads to segfault with system openjpeg + # https://bugs.archlinux.org/task/38226 + rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype cups/libs # jbig2dec is in community ./configure --prefix=/usr \ --enable-dynamic \ @@ -33,9 +35,9 @@ --with-x \ --with-drivers=ALL\ --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \ - --with-install-cups \ --enable-fontconfig \ --enable-freetype \ + --enable-openjpeg \ --without-luratech \ --without-omni \ --with-system-libtiff \
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Monday, September 2, 2013 @ 11:41:54 Author: andyrtr Revision: 193812 upgpkg: ghostscript 9.10-1 upstream update 9.10 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-09-02 08:57:55 UTC (rev 193811) +++ PKGBUILD2013-09-02 09:41:54 UTC (rev 193812) @@ -4,7 +4,7 @@ ### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ### pkgname=ghostscript -pkgver=9.09 +pkgver=9.10 pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') @@ -17,7 +17,7 @@ url="http://www.ghostscript.com/"; source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) options=('!libtool' '!makeflags') -md5sums=('4f47c29daae8e567ebdef842b7e0f8ea') +md5sums=('7179bb1ed4f6f453147e6f7e1f210ce8') build() { cd ghostscript-${pkgver}
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, August 22, 2013 @ 19:59:22 Author: andyrtr Revision: 193535 upgpkg: ghostscript 9.09-1 upstream update 9.09; use lcms2 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-08-22 15:56:50 UTC (rev 193534) +++ PKGBUILD2013-08-22 17:59:22 UTC (rev 193535) @@ -1,27 +1,29 @@ # $Id$ # Maintainer: AndyRTR +### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ### + pkgname=ghostscript -pkgver=9.08 +pkgver=9.09 pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' - 'libtiff>=4.0.0' 'lcms' 'dbus') -makedepends=('gtk2' 'gnutls') + 'libtiff>=4.0.0' 'lcms2' 'dbus') +makedepends=('gtk2' 'gnutls' 'openjpeg') optdepends=('texlive-core: needed for dvipdf' 'gtk2: needed for gsx') url="http://www.ghostscript.com/"; source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) options=('!libtool' '!makeflags') -md5sums=('22d5c66e32ea2a4a62ce43fbf01281f2') +md5sums=('4f47c29daae8e567ebdef842b7e0f8ea') build() { cd ghostscript-${pkgver} # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff lcms freetype + rm -rf jpeg libpng zlib jasper expat tiff lcms lcms2 freetype openjpeg cups/libs # jbig2dec is in community ./configure --prefix=/usr \ --enable-dynamic \
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, August 15, 2013 @ 17:01:10 Author: andyrtr Revision: 193071 upgpkg: ghostscript 9.08-1 upstream update 9.08 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-08-15 13:17:43 UTC (rev 193070) +++ PKGBUILD2013-08-15 15:01:10 UTC (rev 193071) @@ -2,8 +2,8 @@ # Maintainer: AndyRTR pkgname=ghostscript -pkgver=9.07 -pkgrel=3 +pkgver=9.08 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -15,7 +15,7 @@ url="http://www.ghostscript.com/"; source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) options=('!libtool' '!makeflags') -md5sums=('eea27befc1e85bef6d4768202f6b03a5') +md5sums=('22d5c66e32ea2a4a62ce43fbf01281f2') build() { cd ghostscript-${pkgver}
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Tuesday, August 13, 2013 @ 19:54:45 Author: andyrtr Revision: 192537 upgpkg: ghostscript 9.07-3 remove two filters that are now maintained upstream in cups-filters Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |5 - 1 file changed, 4 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-08-13 16:44:33 UTC (rev 192536) +++ PKGBUILD2013-08-13 17:54:45 UTC (rev 192537) @@ -3,7 +3,7 @@ pkgname=ghostscript pkgver=9.07 -pkgrel=2 +pkgrel=3 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -65,4 +65,7 @@ # install IJS cd ijs make DESTDIR="${pkgdir}" install + + # remove filters that are now maintained in cups-filters as upstream home + rm -rf "$pkgdir"/usr/lib/cups/filter/{gstopxl,gstoraster} }
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Sunday, April 28, 2013 @ 02:51:13 Author: eric Revision: 183802 upgpkg: ghostscript 9.07-2 Rebuild against libpng 1.6 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-04-28 00:43:11 UTC (rev 183801) +++ PKGBUILD2013-04-28 00:51:13 UTC (rev 183802) @@ -3,7 +3,7 @@ pkgname=ghostscript pkgver=9.07 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('AGPL' 'custom') @@ -18,7 +18,7 @@ md5sums=('eea27befc1e85bef6d4768202f6b03a5') build() { - cd ${srcdir}/ghostscript-${pkgver} + cd ghostscript-${pkgver} # force it to use system-libs rm -rf jpeg libpng zlib jasper expat tiff lcms freetype @@ -41,7 +41,7 @@ make # Build IJS - cd ${srcdir}/ghostscript-${pkgver}/ijs + cd ijs sed -i "s:AM_PROG_CC_STDC:AC_PROG_CC:g" configure.ac ./autogen.sh ./configure --prefix=/usr --enable-shared --disable-static @@ -49,21 +49,20 @@ } package() { - cd ${srcdir}/ghostscript-${pkgver} - make DESTDIR=${pkgdir} \ - cups_serverroot=${pkgdir}/etc/cups \ - cups_serverbin=${pkgdir}/usr/lib/cups install soinstall + cd ghostscript-${pkgver} + make DESTDIR="${pkgdir}" \ + cups_serverroot="${pkgdir}"/etc/cups \ + cups_serverbin="${pkgdir}"/usr/lib/cups install soinstall # install missing doc files # http://bugs.archlinux.org/task/18023 - install -m 644 ${srcdir}/ghostscript-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} ${pkgdir}/usr/share/ghostscript/$pkgver/doc/ + install -m 644 "${srcdir}"/ghostscript-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} "${pkgdir}"/usr/share/ghostscript/$pkgver/doc/ - mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} - install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/ + install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE # remove unwanted localized man-pages - rm -rf $pkgdir/usr/share/man/[^man1]* + rm -rf "$pkgdir"/usr/share/man/[^man1]* # install IJS - cd ${srcdir}/ghostscript-${pkgver}/ijs - make DESTDIR=${pkgdir} install + cd ijs + make DESTDIR="${pkgdir}" install }
[arch-commits] Commit in ghostscript/trunk (PKGBUILD svn_rev11948.diff)
Date: Sunday, February 17, 2013 @ 11:57:03 Author: andyrtr Revision: 178158 upgpkg: ghostscript 9.07-1 upstream update 9.07 Modified: ghostscript/trunk/PKGBUILD Deleted: ghostscript/trunk/svn_rev11948.diff ---+ PKGBUILD | 11 +++ svn_rev11948.diff | 16 2 files changed, 7 insertions(+), 20 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-02-17 10:37:53 UTC (rev 178157) +++ PKGBUILD2013-02-17 10:57:03 UTC (rev 178158) @@ -2,19 +2,20 @@ # Maintainer: AndyRTR pkgname=ghostscript -pkgver=9.06 +pkgver=9.07 pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') -license=('GPL3' 'custom') -depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms') # 'lcms2' won't get used) # move in libpaper from community? +license=('AGPL' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' + 'libtiff>=4.0.0' 'lcms' 'dbus') makedepends=('gtk2' 'gnutls') optdepends=('texlive-core: needed for dvipdf' 'gtk2: needed for gsx') url="http://www.ghostscript.com/"; source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) options=('!libtool' '!makeflags') -md5sums=('46f9ebe40dc52755287b30704270db11') +md5sums=('eea27befc1e85bef6d4768202f6b03a5') build() { cd ${srcdir}/ghostscript-${pkgver} @@ -34,12 +35,14 @@ --enable-fontconfig \ --enable-freetype \ --without-luratech \ + --without-omni \ --with-system-libtiff \ --disable-compile-inits #--help # needed for linking with system-zlib make # Build IJS cd ${srcdir}/ghostscript-${pkgver}/ijs + sed -i "s:AM_PROG_CC_STDC:AC_PROG_CC:g" configure.ac ./autogen.sh ./configure --prefix=/usr --enable-shared --disable-static make Deleted: svn_rev11948.diff === --- svn_rev11948.diff 2013-02-17 10:37:53 UTC (rev 178157) +++ svn_rev11948.diff 2013-02-17 10:57:03 UTC (rev 178158) @@ -1,16 +0,0 @@ -Modified: trunk/gs/base/gximag3x.c -=== trunk/gs/base/gximag3x.c 2010-12-10 19:50:53 UTC (rev 11947) -+++ trunk/gs/base/gximag3x.c 2010-12-11 23:02:25 UTC (rev 11948) -@@ -241,7 +241,9 @@ - const gs_image3x_mask_t *pixm = - (i == 0 ? &pim->Opacity : &pim->Shape); - -- *(gs_data_image_t *)&mask[i].image = pixm->MaskDict; -+/* Use memcpy because direct assignment breaks ANSI aliasing */ -+/* rules and causes SEGV with gcc 4.5.1 */ -+memcpy(&mask[i].image, &pixm->MaskDict, sizeof(pixm->MaskDict)); - mask[i].image.type = type1; - mask[i].image.BitsPerComponent = pixm->MaskDict.BitsPerComponent; - } -
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, August 8, 2012 @ 15:40:10 Author: andyrtr Revision: 165015 upgpkg: ghostscript 9.06-1 upstream update 9.06 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-08-08 19:37:59 UTC (rev 165014) +++ PKGBUILD2012-08-08 19:40:10 UTC (rev 165015) @@ -2,7 +2,7 @@ # Maintainer: AndyRTR pkgname=ghostscript -pkgver=9.05 +pkgver=9.06 pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ url="http://www.ghostscript.com/"; source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) options=('!libtool' '!makeflags') -md5sums=('8bcef1f33ddf8a4d12b2cf8da385c191') +md5sums=('46f9ebe40dc52755287b30704270db11') build() { cd ${srcdir}/ghostscript-${pkgver}
[arch-commits] Commit in ghostscript/trunk (PKGBUILD ghostscript-cups-rgbw.patch)
Date: Monday, August 22, 2011 @ 12:46:29 Author: andyrtr Revision: 136085 upgpkg: ghostscript 9.04-5 update the upstream patch to fix broken color printing as per upstream recommendation. Took the updated Fedora patch Modified: ghostscript/trunk/PKGBUILD ghostscript/trunk/ghostscript-cups-rgbw.patch -+ PKGBUILD|4 - ghostscript-cups-rgbw.patch | 120 +++--- 2 files changed, 80 insertions(+), 44 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-08-22 14:13:59 UTC (rev 136084) +++ PKGBUILD2011-08-22 16:46:29 UTC (rev 136085) @@ -3,7 +3,7 @@ pkgname=ghostscript pkgver=9.04 -pkgrel=4 +pkgrel=5 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') @@ -16,7 +16,7 @@ ghostscript-cups-rgbw.patch) options=('!libtool' '!makeflags') md5sums=('9f6899e821ab6d78ab2c856f10fa3023' - '7c1477e1cadd9c451ea8d6ec3fbbc670') + 'bc56eb8c5fef0ecf964f6b3e9b7e65ae') build() { cd ${srcdir}/ghostscript-${pkgver} Modified: ghostscript-cups-rgbw.patch === --- ghostscript-cups-rgbw.patch 2011-08-22 14:13:59 UTC (rev 136084) +++ ghostscript-cups-rgbw.patch 2011-08-22 16:46:29 UTC (rev 136085) @@ -1,6 +1,6 @@ diff -up ghostscript-9.04/cups/gdevcups.c.cups-rgbw ghostscript-9.04/cups/gdevcups.c ghostscript-9.04/cups/gdevcups.c.cups-rgbw 2011-08-16 14:47:10.311813968 +0100 -+++ ghostscript-9.04/cups/gdevcups.c 2011-08-16 14:48:02.291224871 +0100 +--- ghostscript-9.04/cups/gdevcups.c.cups-rgbw 2011-08-05 12:12:21.0 +0100 ghostscript-9.04/cups/gdevcups.c 2011-08-22 10:54:24.614010581 +0100 @@ -225,6 +225,7 @@ typedef struct gx_device_cups_s unsigned short EncodeLUT[gx_max_color_value + 1];/* RGB value to output color LUT */ int Density[CUPS_MAX_VALUE + 1];/* Density LUT */ @@ -17,7 +17,7 @@ 3 /* cupsRasterVersion */ }; -@@ -1183,15 +1185,18 @@ cups_map_cmyk(gx_device *pdev, /* I - D +@@ -1182,15 +1184,18 @@ cups_map_cmyk(gx_device *pdev, /* I - D case CUPS_CSPACE_RGB : case CUPS_CSPACE_RGBW : @@ -44,7 +44,7 @@ } if (c0 < 0) -@@ -1213,11 +1218,12 @@ cups_map_cmyk(gx_device *pdev, /* I - D +@@ -1212,11 +1217,12 @@ cups_map_cmyk(gx_device *pdev, /* I - D out[2] = frac_1 - (frac)cups->Density[c2]; if (cups->header.cupsColorSpace == CUPS_CSPACE_RGBW) { @@ -62,7 +62,7 @@ } break; -@@ -2035,10 +2041,15 @@ cups_map_color_rgb(gx_device *pdev, +@@ -2034,10 +2040,15 @@ cups_map_color_rgb(gx_device *pdev, * cups->DecodeLUT actually maps to RGBW, not CMYK... */ @@ -82,7 +82,7 @@ if (c > gx_max_color_value) prgb[0] = gx_max_color_value; -@@ -2283,20 +2294,20 @@ cups_map_rgb_color(gx_device *pdev, +@@ -2282,20 +2293,20 @@ cups_map_rgb_color(gx_device *pdev, switch (cups->header.cupsBitsPerColor) { default : @@ -108,15 +108,19 @@ break; #endif /* GX_COLOR_INDEX_TYPE */ } -@@ -2930,6 +2941,7 @@ cups_put_params(gx_device *pdev, /* +@@ -2929,7 +2940,10 @@ cups_put_params(gx_device *pdev,/* int xflip = 0, yflip = 0; int found = 0; +- + gs_param_string icc_pro_dummy; - ++ int old_cmps = cups->color_info.num_components; ++ int old_depth = cups->color_info.depth; ++ #ifdef DEBUG dprintf2("DEBUG2: cups_put_params(%p, %p)\n", pdev, plist); -@@ -3025,6 +3037,11 @@ cups_put_params(gx_device *pdev,/* + #endif /* DEBUG */ +@@ -3024,6 +3038,11 @@ cups_put_params(gx_device *pdev,/* margins_set = param_read_float_array(plist, "Margins", &arrayval) == 0; color_set = param_read_int(plist, "cupsColorSpace", &intval) == 0 || param_read_int(plist, "cupsBitsPerColor", &intval) == 0; @@ -128,7 +132,31 @@ /* We set the old dimensions to 1 if we have a color depth change, so that memory reallocation gets forced. This is perhaps not the correct approach to prevent crashes like in bug 690435. We keep it for the -@@ -4045,22 +4062,80 @@ cups_set_color_info(gx_device *pdev) /* +@@ -3134,12 +3153,20 @@ cups_put_params(gx_device *pdev, /* + if ((code = gdev_prn_put_params(pdev, plist)) < 0) + return (code); + ++ /* If cups_set_color_info() changed the color model of the device we want to ++ * force the raster memory to be recreated/reinitialized ++ */ ++ if (cups->color_info.num_components != old_cmps || cups->color_info.depth != old_depth) { ++ width_old = 0; ++ height_old = 0; ++ } ++ else { + /* pdev->width/height ma
[arch-commits] Commit in ghostscript/trunk (PKGBUILD ghostscript-cups-rgbw.patch)
Date: Monday, August 22, 2011 @ 00:54:23 Author: andyrtr Revision: 136048 upgpkg: ghostscript 9.04-4 add an upstream patch to fix broken color printing FS#25519; use system lcms Added: ghostscript/trunk/ghostscript-cups-rgbw.patch Modified: ghostscript/trunk/PKGBUILD -+ PKGBUILD| 15 +- ghostscript-cups-rgbw.patch | 227 ++ 2 files changed, 237 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-08-22 03:29:54 UTC (rev 136047) +++ PKGBUILD2011-08-22 04:54:23 UTC (rev 136048) @@ -3,24 +3,29 @@ pkgname=ghostscript pkgver=9.04 -pkgrel=3 +pkgrel=4 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') -depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' 'libtiff') # 'lcms' 'lcms2') # move in libpaper from community? +depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' 'libtiff' 'lcms') # 'lcms2' won't get used) # move in libpaper from community? makedepends=('gtk2' 'gnutls') optdepends=('texlive-core: needed for dvipdf' 'gtk2: needed for gsx') url="http://www.ghostscript.com/"; -source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) +source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2 + ghostscript-cups-rgbw.patch) options=('!libtool' '!makeflags') -md5sums=('9f6899e821ab6d78ab2c856f10fa3023') +md5sums=('9f6899e821ab6d78ab2c856f10fa3023' + '7c1477e1cadd9c451ea8d6ec3fbbc670') build() { cd ${srcdir}/ghostscript-${pkgver} + + # fix broken color printing https://bugs.archlinux.org/task/25519 + patch -Np1 -i ${srcdir}/ghostscript-cups-rgbw.patch # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff freetype #lcms lcms2 # system lcms2 would not be used. lcms breaks color printing https://bugs.archlinux.org/task/25519 + rm -rf jpeg libpng zlib jasper expat tiff freetype lcms ./configure --prefix=/usr \ --enable-dynamic \ Added: ghostscript-cups-rgbw.patch === --- ghostscript-cups-rgbw.patch (rev 0) +++ ghostscript-cups-rgbw.patch 2011-08-22 04:54:23 UTC (rev 136048) @@ -0,0 +1,227 @@ +diff -up ghostscript-9.04/cups/gdevcups.c.cups-rgbw ghostscript-9.04/cups/gdevcups.c +--- ghostscript-9.04/cups/gdevcups.c.cups-rgbw 2011-08-16 14:47:10.311813968 +0100 ghostscript-9.04/cups/gdevcups.c 2011-08-16 14:48:02.291224871 +0100 +@@ -225,6 +225,7 @@ typedef struct gx_device_cups_s + unsigned short EncodeLUT[gx_max_color_value + 1];/* RGB value to output color LUT */ + int Density[CUPS_MAX_VALUE + 1];/* Density LUT */ + int Matrix[3][3][CUPS_MAX_VALUE + 1];/* Color transform matrix LUT */ ++ int user_icc; + int cupsRasterVersion; + + /* Used by cups_put_params(): */ +@@ -426,6 +427,7 @@ gx_device_cups gs_cups_device = + {0x00}, /* EncodeLUT */ + {0x00}, /* Density */ + {0x00}, /* Matrix */ ++ 0, + 3 /* cupsRasterVersion */ + }; + +@@ -1183,15 +1185,18 @@ cups_map_cmyk(gx_device *pdev, /* I - D + + case CUPS_CSPACE_RGB : + case CUPS_CSPACE_RGBW : ++c0 = c + k; ++c1 = m + k; ++c2 = y + k; + if (cups->header.cupsColorSpace == CUPS_CSPACE_RGBW) { +-c0 = c; +-c1 = m; +-c2 = y; +-c3 = k; +- } else { +-c0 = c + k; +-c1 = m + k; +-c2 = y + k; ++if ((k >= frac_1 - 1) || ++((c0 >= frac_1) && (c1 >= frac_1) && (c2 >= frac_1))) { ++ c0 = frac_1; ++ c1 = frac_1; ++ c2 = frac_1; ++ c3 = frac_1; ++} else ++ c3 = 0; + } + + if (c0 < 0) +@@ -1213,11 +1218,12 @@ cups_map_cmyk(gx_device *pdev, /* I - D + out[2] = frac_1 - (frac)cups->Density[c2]; + + if (cups->header.cupsColorSpace == CUPS_CSPACE_RGBW) { +-if (c3 < 0) +- c3 = 0; +-else if (c3 > frac_1) +- c3 = frac_1; +-out[3] = frac_1 - (frac)cups->Density[c3]; ++if (c3 == 0) ++ out[3] = frac_1; ++else if (c3 == frac_1) ++ out[3] = 0; ++else ++ out[3] = frac_1; + } + break; + +@@ -2035,10 +2041,15 @@ cups_map_color_rgb(gx_device *pdev, + * cups->DecodeLUT actually maps to RGBW, not CMYK... + */ + +-k = cups->DecodeLUT[c3]; +-c = cups->DecodeLUT[c0] + k - gx_max_color_value; +-m = cups->DecodeLUT[c1] + k - gx_max_color_value; +-y = cups->DecodeLU
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Friday, August 12, 2011 @ 02:32:15 Author: andyrtr Revision: 135275 upgpkg: ghostscript 9.04-3 fix broken color printing FS#25519; revert to internal lcms library Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-08-11 20:01:59 UTC (rev 135274) +++ PKGBUILD2011-08-12 06:32:15 UTC (rev 135275) @@ -3,11 +3,11 @@ pkgname=ghostscript pkgver=9.04 -pkgrel=2 +pkgrel=3 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') -depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' 'libtiff' 'lcms') +depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' 'libtiff') # 'lcms' 'lcms2') # move in libpaper from community? makedepends=('gtk2' 'gnutls') optdepends=('texlive-core: needed for dvipdf' 'gtk2: needed for gsx') @@ -20,7 +20,7 @@ cd ${srcdir}/ghostscript-${pkgver} # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff lcms + rm -rf jpeg libpng zlib jasper expat tiff freetype #lcms lcms2 # system lcms2 would not be used. lcms breaks color printing https://bugs.archlinux.org/task/25519 ./configure --prefix=/usr \ --enable-dynamic \ @@ -31,8 +31,11 @@ --with-drivers=ALL\ --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \ --with-install-cups \ - --disable-compile-inits # needed for linking with system-zlib - make || return 1 + --enable-fontconfig \ + --enable-freetype \ + --without-luratech \ + --disable-compile-inits #--help # needed for linking with system-zlib + make # Build IJS cd ${srcdir}/ghostscript-${pkgver}/ijs
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, August 11, 2011 @ 01:16:14 Author: andyrtr Revision: 135202 upgpkg: ghostscript 9.04-2 fix missing cups files FS#25504; use system lcms library Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-08-11 02:57:12 UTC (rev 135201) +++ PKGBUILD2011-08-11 05:16:14 UTC (rev 135202) @@ -3,11 +3,11 @@ pkgname=ghostscript pkgver=9.04 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') -depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' 'libtiff') +depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' 'libtiff' 'lcms') makedepends=('gtk2' 'gnutls') optdepends=('texlive-core: needed for dvipdf' 'gtk2: needed for gsx') @@ -20,7 +20,7 @@ cd ${srcdir}/ghostscript-${pkgver} # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff + rm -rf jpeg libpng zlib jasper expat tiff lcms ./configure --prefix=/usr \ --enable-dynamic \ @@ -30,6 +30,7 @@ --with-x \ --with-drivers=ALL\ --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \ + --with-install-cups \ --disable-compile-inits # needed for linking with system-zlib make || return 1
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Wednesday, August 10, 2011 @ 01:47:14 Author: andyrtr Revision: 135071 upgpkg: ghostscript 9.04-1 upstream update 9.04 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-08-10 01:38:26 UTC (rev 135070) +++ PKGBUILD2011-08-10 05:47:14 UTC (rev 135071) @@ -2,8 +2,8 @@ # Maintainer: AndyRTR pkgname=ghostscript -pkgver=9.02 -pkgrel=2 +pkgver=9.04 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') @@ -14,7 +14,7 @@ url="http://www.ghostscript.com/"; source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) options=('!libtool' '!makeflags') -md5sums=('f67151444bd56a7904579fc75a083dd6') +md5sums=('9f6899e821ab6d78ab2c856f10fa3023') build() { cd ${srcdir}/ghostscript-${pkgver}
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Saturday, May 7, 2011 @ 19:01:49 Author: stephane Revision: 123066 upgpkg: ghostscript 9.02-2 krb5 rebuild Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2011-05-07 21:23:22 UTC (rev 123065) +++ PKGBUILD2011-05-07 23:01:49 UTC (rev 123066) @@ -3,7 +3,7 @@ pkgname=ghostscript pkgver=9.02 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom')
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Thursday, February 10, 2011 @ 12:13:13 Author: andyrtr Revision: 109536 upgpkg: ghostscript 9.01-1 upstream update 9.01 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD | 24 1 file changed, 12 insertions(+), 12 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-02-10 15:53:09 UTC (rev 109535) +++ PKGBUILD2011-02-10 17:13:13 UTC (rev 109536) @@ -2,8 +2,8 @@ # Maintainer: AndyRTR pkgname=ghostscript -pkgver=9.00 -pkgrel=4 +pkgver=9.01 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') @@ -12,14 +12,14 @@ optdepends=('texlive-core: needed for dvipdf' 'gtk2: needed for gsx') url="http://www.ghostscript.com/"; -source=(http://ghostscript.com/releases/ghostscript-${pkgver}.tar.xz +source=(http://ghostscript.com/releases/ghostscript-${pkgver}.tar.bz2 ghostscript-fPIC.patch ghostscript-system-jasper.patch svn_rev11948.diff ghostscript-gdevcups-691733.patch gs_bug691759and691760.diff) options=('!libtool' '!makeflags') -md5sums=('1ca5f245677f78f573e6490bdb40702f' +md5sums=('9824d6a21ad8b4a831f67601959f1181' '766d44c47c693f96941b658e360c1277' '03e27cd02471ab3b642c344fa06b623e' '78f2b9c2d6a5a60891b2d8b593a15b00' @@ -32,21 +32,21 @@ rm -rf jpeg libpng zlib jasper expat tiff # fix build with systems jasper - patch -Np1 -i ${srcdir}/ghostscript-system-jasper.patch +# patch -Np1 -i ${srcdir}/ghostscript-system-jasper.patch - if [ "$CARCH" = "x86_64" ]; then -patch -Np1 -i ${srcdir}/ghostscript-fPIC.patch - fi +# if [ "$CARCH" = "x86_64" ]; then +#patch -Np1 -i ${srcdir}/ghostscript-fPIC.patch +# fi # part of https://bugs.archlinux.org/task/22006 - http://bugs.ghostscript.com/show_bug.cgi?id=691831 - patch -Np2 -i ${srcdir}/svn_rev11948.diff +# patch -Np2 -i ${srcdir}/svn_rev11948.diff # upstream fix for http://bugs.ghostscript.com/show_bug.cgi?id=691733 / part of https://bugs.archlinux.org/task/21388 # patch taken from Fedora RawHide master - patch -Np1 -i ${srcdir}/ghostscript-gdevcups-691733.patch +# patch -Np1 -i ${srcdir}/ghostscript-gdevcups-691733.patch # patch for http://bugs.ghostscript.com/show_bug.cgi?id=691760 and http://bugs.ghostscript.com/show_bug.cgi?id=691759 / part of https://bugs.archlinux.org/task/21388 - patch -Np2 -i ${srcdir}/gs_bug691759and691760.diff +# patch -Np2 -i ${srcdir}/gs_bug691759and691760.diff - ./autogen.sh +# ./autogen.sh ./configure --prefix=/usr \ --enable-dynamic \ --with-ijs \
[arch-commits] Commit in ghostscript/trunk (PKGBUILD gs_bug691759and691760.diff)
Date: Sunday, January 23, 2011 @ 04:32:39 Author: andyrtr Revision: 107291 upgpkg: ghostscript 9.00-4 add another patch from upstream to solve part of FS#21388 Added: ghostscript/trunk/gs_bug691759and691760.diff Modified: ghostscript/trunk/PKGBUILD + PKGBUILD | 10 +- gs_bug691759and691760.diff | 215 +++ 2 files changed, 222 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-01-23 08:56:17 UTC (rev 107290) +++ PKGBUILD2011-01-23 09:32:39 UTC (rev 107291) @@ -3,7 +3,7 @@ pkgname=ghostscript pkgver=9.00 -pkgrel=3 +pkgrel=4 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') @@ -16,13 +16,15 @@ ghostscript-fPIC.patch ghostscript-system-jasper.patch svn_rev11948.diff - ghostscript-gdevcups-691733.patch) + ghostscript-gdevcups-691733.patch + gs_bug691759and691760.diff) options=('!libtool' '!makeflags') md5sums=('1ca5f245677f78f573e6490bdb40702f' '766d44c47c693f96941b658e360c1277' '03e27cd02471ab3b642c344fa06b623e' '78f2b9c2d6a5a60891b2d8b593a15b00' - 'e459d4cf897bdb54fefbba9d57bd2fa2') + 'e459d4cf897bdb54fefbba9d57bd2fa2' + '21841b0ea5bd67cf4b68ba64c5d5755b') build() { cd ${srcdir}/ghostscript-${pkgver} @@ -41,6 +43,8 @@ # upstream fix for http://bugs.ghostscript.com/show_bug.cgi?id=691733 / part of https://bugs.archlinux.org/task/21388 # patch taken from Fedora RawHide master patch -Np1 -i ${srcdir}/ghostscript-gdevcups-691733.patch + # patch for http://bugs.ghostscript.com/show_bug.cgi?id=691760 and http://bugs.ghostscript.com/show_bug.cgi?id=691759 / part of https://bugs.archlinux.org/task/21388 + patch -Np2 -i ${srcdir}/gs_bug691759and691760.diff ./autogen.sh ./configure --prefix=/usr \ Added: gs_bug691759and691760.diff === --- gs_bug691759and691760.diff (rev 0) +++ gs_bug691759and691760.diff 2011-01-23 09:32:39 UTC (rev 107291) @@ -0,0 +1,215 @@ +Modified: trunk/gs/base/gdevnfwd.c +=== +--- trunk/gs/base/gdevnfwd.c 2011-01-06 23:48:14 UTC (rev 12004) trunk/gs/base/gdevnfwd.c 2011-01-07 04:49:42 UTC (rev 12005) +@@ -1117,3 +1117,29 @@ + { + return 0; + } ++ ++bool ++fwd_uses_fwd_cmap_procs(gx_device * dev) ++{ ++const gx_cm_color_map_procs *pprocs; ++ ++pprocs = dev_proc(dev, get_color_mapping_procs)(dev); ++if (pprocs == &FwdDevice_cm_map_procs) { ++return true; ++} ++return false; ++} ++ ++const gx_cm_color_map_procs* ++fwd_get_target_cmap_procs(gx_device * dev) ++{ ++const gx_cm_color_map_procs *pprocs; ++gx_device_forward * const fdev = (gx_device_forward *)dev; ++gx_device * const tdev = fdev->target; ++ ++pprocs = dev_proc(tdev, get_color_mapping_procs(tdev)); ++while (pprocs == &FwdDevice_cm_map_procs) { ++pprocs = fwd_get_target_cmap_procs(tdev); ++} ++return pprocs; ++} +\ No newline at end of file + +Modified: trunk/gs/base/gdevp14.c +=== +--- trunk/gs/base/gdevp14.c2011-01-06 23:48:14 UTC (rev 12004) trunk/gs/base/gdevp14.c2011-01-07 04:49:42 UTC (rev 12005) +@@ -900,7 +900,11 @@ + nos->parent_color_info_procs->num_components, 1, + false, false, true, tos->planestride, + tos->rowstride, num_rows, num_cols); +-/* Transform the data */ ++/* Transform the data. Since the pdf14 device should be ++ using RGB, CMYK or Gray buffers, this transform ++ does not need to worry about the cmap procs of ++ the target device. Those are handled when we do ++ the pdf14 put image operation */ + gscms_transform_color_buffer(icc_link, &input_buff_desc, + &output_buff_desc, tos->data, + new_data_buf); + +Modified: trunk/gs/base/gxcmap.c +=== +--- trunk/gs/base/gxcmap.c 2011-01-06 23:48:14 UTC (rev 12004) trunk/gs/base/gxcmap.c 2011-01-07 04:49:42 UTC (rev 12005) +@@ -31,6 +31,7 @@ + #include "gsicc_manage.h" + #include "gdevdevn.h" + #include "gsicc_cache.h" ++#include "gscms.h" + + /* Structure descriptor */ + public_st_device_color(); +@@ -1744,3 +1745,37 @@ + + } + } ++ ++bool ++gx_device_uses_std_cmap_procs(gx_device * dev) ++{ ++const gx_cm_color_map_procs *pprocs; ++ ++if (dev->device_icc_profile != NULL) { ++pprocs
[arch-commits] Commit in ghostscript/trunk (PKGBUILD svn_rev11948.diff)
Date: Saturday, December 18, 2010 @ 05:42:15 Author: andyrtr Revision: 103336 upgpkg: ghostscript 9.00-2 add fix for #22006; fix deps; ; use system libtiff; some minor PKGBUILD cleanups Added: ghostscript/trunk/svn_rev11948.diff Modified: ghostscript/trunk/PKGBUILD ---+ PKGBUILD | 61 +++- svn_rev11948.diff | 16 + 2 files changed, 53 insertions(+), 24 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-12-18 02:05:45 UTC (rev 103335) +++ PKGBUILD2010-12-18 10:42:15 UTC (rev 103336) @@ -3,57 +3,66 @@ pkgname=ghostscript pkgver=9.00 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') -depends=('libxext' 'libxt' 'libcups>=1.4.2-3' 'fontconfig>=2.8.0' 'gnutls>=2.8.5' 'cairo>=1.8.8-2' - 'jasper>=1.900.1-4' 'zlib' 'libpng>=1.4.0' 'libjpeg>=8') -makedepends=('automake' 'autoconf' 'gtk2>=2.18.6') -optdepends=('texlive-core: dvipdf' -'gtk2: gsx') -replaces=('ghostscript-lrpng') -provides=('ghostscript-lprng') +depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' 'libtiff') +makedepends=('gtk2' 'gnutls') +optdepends=('texlive-core: needed for dvipdf' +'gtk2: needed for gsx') url="http://www.ghostscript.com/"; source=(http://ghostscript.com/releases/ghostscript-${pkgver}.tar.xz ghostscript-fPIC.patch - ghostscript-system-jasper.patch) + ghostscript-system-jasper.patch + svn_rev11948.diff) options=('!libtool' '!makeflags') md5sums=('1ca5f245677f78f573e6490bdb40702f' '766d44c47c693f96941b658e360c1277' - '03e27cd02471ab3b642c344fa06b623e') + '03e27cd02471ab3b642c344fa06b623e' + '78f2b9c2d6a5a60891b2d8b593a15b00') build() { cd ${srcdir}/ghostscript-${pkgver} # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat + rm -rf jpeg libpng zlib jasper expat tiff # fix build with systems jasper - patch -Np1 -i ${srcdir}/ghostscript-system-jasper.patch || return 1 + patch -Np1 -i ${srcdir}/ghostscript-system-jasper.patch if [ "$CARCH" = "x86_64" ]; then -patch -Np1 -i ${srcdir}/ghostscript-fPIC.patch || return 1 +patch -Np1 -i ${srcdir}/ghostscript-fPIC.patch fi + # part of https://bugs.archlinux.org/task/22006 - http://bugs.ghostscript.com/show_bug.cgi?id=691831 + patch -Np2 -i ${srcdir}/svn_rev11948.diff + + ./autogen.sh + ./configure --prefix=/usr \ + --enable-dynamic \ + --with-ijs \ + --with-jbig2dec \ + --with-omni \ + --with-x \ + --with-drivers=ALL\ + --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \ + --disable-compile-inits # needed for linking with system-zlib + make || return 1 + # Build IJS cd ${srcdir}/ghostscript-${pkgver}/ijs ./autogen.sh ./configure --prefix=/usr --enable-shared --disable-static - make || return 1 - make -j1 DESTDIR=${pkgdir} install || return 1 + make +} - cd .. - ./autogen.sh - ./configure --prefix=/usr --enable-dynamic --with-ijs \ - --with-jbig2dec --with-omni --with-x --with-drivers=ALL\ - --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \ - --disable-compile-inits # needed for linking with system-zlib - make || return 1 - make -j1 DESTDIR=${pkgdir} \ +package() { + cd ${srcdir}/ghostscript-${pkgver} + make DESTDIR=${pkgdir} \ cups_serverroot=${pkgdir}/etc/cups \ cups_serverbin=${pkgdir}/usr/lib/cups install soinstall - # install a missing doc files # http://bugs.archlinux.org/task/18023 + # install missing doc files # http://bugs.archlinux.org/task/18023 install -m 644 ${srcdir}/ghostscript-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} ${pkgdir}/usr/share/ghostscript/$pkgver/doc/ mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} @@ -61,4 +70,8 @@ # remove unwanted localized man-pages rm -rf $pkgdir/usr/share/man/[^man1]* + + # install IJS + cd ${srcdir}/ghostscript-${pkgver}/ijs + make DESTDIR=${pkgdir} install } Added: svn_rev11948.diff === --- svn_rev11948.diff (rev 0) +++ svn_rev11948.diff 2010-12-18 10:42:15 UTC (rev 103336) @@ -0,0 +1,16 @@ +Modified: trunk/gs/base/gximag3x.c +=== +--- trunk/gs/base/gximag3x.c 2010-12-10 19:50:53 UTC (rev 11947) trunk/gs/base/gximag3x.c 2010-12-11 23:02:25 UTC (rev 11948) +@@ -241,7 +241,9 @@ + const gs_image3x_mask_t *pixm = + (i == 0 ? &pim->Opacity : &pim->Shape); + +- *(gs_data_image_t *)&mask[i].image = pixm->MaskDict; ++/* Use memcpy because direct assignment breaks ANSI aliasing */ ++
[arch-commits] Commit in ghostscript/trunk (PKGBUILD svn_r10890.patch)
Date: Sunday, March 21, 2010 @ 17:20:23 Author: andyrtr Revision: 73021 upgpkg: ghostscript 8.71-3 fix a segfault, closes #18339 Added: ghostscript/trunk/svn_r10890.patch Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD | 14 +-- svn_r10890.patch | 99 + 2 files changed, 109 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-03-21 20:29:12 UTC (rev 73020) +++ PKGBUILD2010-03-21 21:20:23 UTC (rev 73021) @@ -3,7 +3,7 @@ pkgname=ghostscript pkgver=8.71 -pkgrel=2 +pkgrel=3 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') @@ -19,13 +19,15 @@ ghostscript-fPIC.patch ghostscript-system-jasper.patch libpng14.patch - ghostscript-pdf2dsc.patch) -options=('!libtool') # '!makeflags') + ghostscript-pdf2dsc.patch + svn_r10890.patch) +options=('!libtool' '!makeflags') md5sums=('5005d68f7395c2bfc4b05c1a60d9b6ba' '1a8fcacf0005214db823225c870f093d' '03e27cd02471ab3b642c344fa06b623e' 'be94ee357986f7f63d1b470da5bdc99e' - 'f88f3764fc11e3ae2a86b17d2502da2f') + 'f88f3764fc11e3ae2a86b17d2502da2f' + 'fe0888a74d7870af234ad53a2f74380a') build() { cd ${srcdir}/ghostscript-${pkgver} @@ -39,7 +41,11 @@ # fix PDF viewing with gv - from Fedora patch -Np1 -i ${srcdir}/ghostscript-pdf2dsc.patch || return 1 + + # fix segfaults - http://bugs.archlinux.org/task/18339 + patch -Np1 -i ${srcdir}/svn_r10890.patch || return 1 + if [ "$CARCH" = "x86_64" ]; then patch -Np1 -i ${srcdir}/ghostscript-fPIC.patch || return 1 fi Added: svn_r10890.patch === --- svn_r10890.patch(rev 0) +++ svn_r10890.patch2010-03-21 21:20:23 UTC (rev 73021) @@ -0,0 +1,99 @@ +From 6d26e9b1c38d8c0f0ab4af42c513cb23f3ae1656 Mon Sep 17 00:00:00 2001 +From: till +Date: Tue, 9 Mar 2010 16:35:06 + +Subject: [PATCH] Fixes on CUPS Raster output device: + - Fixed memory reallocation on bitmap size change. Reallocation is not only + needed when dimendions and margins change, but also when the color depth + changes. Fixes bugs #691029 and #691108. + - Fixed arrayoption() macro in cups_put_params() function. Array values did + not get actually set in cups.header data structure. Bug only showed via + a compiler warning. + - Silenced compiler warning by presetting c0..c3 in cups_map_cmyk() to zero. + +git-svn-id: http://svn.ghostscript.com/ghostscript/trunk/g...@10890 a1074d23-0009-0410-80fe-cf8c14f379e6 +--- + cups/gdevcups.c | 32 +++- + 1 files changed, 23 insertions(+), 9 deletions(-) + +diff --git a/cups/gdevcups.c b/cups/gdevcups.c +index 551b806..4000abf 100644 +--- a/cups/gdevcups.c b/cups/gdevcups.c +@@ -975,7 +975,8 @@ cups_map_cmyk(gx_device *pdev, /* I - Device info */ + frac k, /* I - Black value */ + frac *out) /* O - Device colors */ + { +- int c0, c1, c2, c3; /* Temporary color values */ ++ int c0 = 0, c1 = 0, ++c2 = 0, c3 = 0; /* Temporary color values */ + float rr, rg, rb, /* Real RGB colors */ + ciex, ciey, ciez, /* CIE XYZ colors */ + ciey_yn,/* Normalized luminance */ +@@ -2703,9 +2704,13 @@ cups_put_params(gx_device *pdev,/* I - Device info */ + int color_set; /* Were the color attrs set? */ + gdev_prn_space_params sp; /* Space parameter data */ + int width, /* New width of page */ +-height; /* New height of page */ ++height, /* New height of page */ ++colorspace, /* New color space */ ++bitspercolor; /* New bits per color */ + static intwidth_old = 0, /* Previous width */ +-height_old = 0; /* Previous height */ ++height_old = 0, /* Previous height */ ++colorspace_old = 0,/* Previous color space */ ++bitspercolor_old = 0;/* Previous bits per color */ + ppd_attr_t*backside = NULL, + *backsiderequiresflippedmargins = NULL; + float swap; +@@ -2800,9 +2805,10 @@ cups_put_params(gx_device *pdev,/* I - Device info */ + else if (code == 0) \ + { \ + dprintf1("DEBUG: Setting %s to", sname); \ +-for (i = 0; i < count; i ++) \ +- dprintf1(" %d", (unsigned)(arrayval.data[i])); \ +- cups->header.name[i] = (unsigned)arrayval.data[i]; \ ++for (i = 0; i < count; i ++) {
[arch-commits] Commit in ghostscript/trunk (PKGBUILD ghostscript-pdf2dsc.patch)
Date: Monday, March 8, 2010 @ 17:17:00 Author: andyrtr Revision: 71738 upgpkg: ghostscript 8.71-2 fix #18491 Added: ghostscript/trunk/ghostscript-pdf2dsc.patch Modified: ghostscript/trunk/PKGBUILD ---+ PKGBUILD | 11 --- ghostscript-pdf2dsc.patch | 12 2 files changed, 20 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-03-08 22:15:20 UTC (rev 71737) +++ PKGBUILD2010-03-08 22:17:00 UTC (rev 71738) @@ -3,7 +3,7 @@ pkgname=ghostscript pkgver=8.71 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') @@ -18,12 +18,14 @@ source=(http://ghostscript.com/releases/ghostscript-${pkgver}.tar.xz ghostscript-fPIC.patch ghostscript-system-jasper.patch - libpng14.patch) + libpng14.patch + ghostscript-pdf2dsc.patch) options=('!libtool') # '!makeflags') md5sums=('5005d68f7395c2bfc4b05c1a60d9b6ba' '1a8fcacf0005214db823225c870f093d' '03e27cd02471ab3b642c344fa06b623e' - 'be94ee357986f7f63d1b470da5bdc99e') + 'be94ee357986f7f63d1b470da5bdc99e' + 'f88f3764fc11e3ae2a86b17d2502da2f') build() { cd ${srcdir}/ghostscript-${pkgver} @@ -34,6 +36,9 @@ # fix build with systems jasper patch -Np1 -i ${srcdir}/ghostscript-system-jasper.patch || return 1 + + # fix PDF viewing with gv - from Fedora + patch -Np1 -i ${srcdir}/ghostscript-pdf2dsc.patch || return 1 if [ "$CARCH" = "x86_64" ]; then patch -Np1 -i ${srcdir}/ghostscript-fPIC.patch || return 1 Added: ghostscript-pdf2dsc.patch === --- ghostscript-pdf2dsc.patch (rev 0) +++ ghostscript-pdf2dsc.patch 2010-03-08 22:17:00 UTC (rev 71738) @@ -0,0 +1,12 @@ +diff -up ghostscript-8.71/lib/pdf2dsc.ps.pdf2dsc ghostscript-8.71/lib/pdf2dsc.ps +--- ghostscript-8.71/lib/pdf2dsc.ps.pdf2dsc2010-02-20 15:50:51.287734970 + ghostscript-8.71/lib/pdf2dsc.ps2010-02-20 15:51:02.902609964 + +@@ -116,7 +116,7 @@ systemdict /.setsafe known { .setsafe } +DSCfile PDFname write==only +( \(r\) file { DELAYSAFER { .setsafe } if } stopped pop\n) puts +( pdfopen begin\n) puts +- ( copy_trailer_attrs\n) puts ++ ( process_trailer_attrs\n) puts +(%%EndSetup\n) puts + +/.hasPageLabels false def % see "Page Labels" in the PDF Reference
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Saturday, February 13, 2010 @ 12:19:12 Author: andyrtr Revision: 68599 upgpkg: ghostscript 8.71-1 new version 8.71; fix #18023 Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-02-13 17:08:01 UTC (rev 68598) +++ PKGBUILD2010-02-13 17:19:12 UTC (rev 68599) @@ -2,25 +2,25 @@ # Maintainer: AndyRTR pkgname=ghostscript -pkgver=8.70 -pkgrel=4 +pkgver=8.71 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') -depends=('libxext' 'libxt' 'libcups>=1.4.2-3' 'fontconfig>=2.6.0' 'gnutls>=2.8.3' 'cairo>=1.8.8-2' +depends=('libxext' 'libxt' 'libcups>=1.4.2-3' 'fontconfig>=2.8.0' 'gnutls>=2.8.5' 'cairo>=1.8.8-2' 'jasper>=1.900.1-4' 'zlib' 'libpng>=1.4.0' 'libjpeg>=8') makedepends=('automake' 'autoconf' 'gtk2>=2.18.6') optdepends=('texlive-core: dvipdf' 'gtk2: gsx') replaces=('ghostscript-lrpng') provides=('ghostscript-lprng') -url="http://www.cs.wisc.edu/~ghost/"; -source=(http://ghostscript.com/releases/ghostscript-${pkgver}.tar.bz2 +url="http://www.ghostscript.com/"; +source=(http://ghostscript.com/releases/ghostscript-${pkgver}.tar.xz ghostscript-fPIC.patch ghostscript-system-jasper.patch libpng14.patch) options=('!libtool') # '!makeflags') -md5sums=('526366f8cb4fda0d3d293597cc5b984b' +md5sums=('5005d68f7395c2bfc4b05c1a60d9b6ba' '1a8fcacf0005214db823225c870f093d' '03e27cd02471ab3b642c344fa06b623e' 'be94ee357986f7f63d1b470da5bdc99e') @@ -57,6 +57,9 @@ cups_serverroot=${pkgdir}/etc/cups \ cups_serverbin=${pkgdir}/usr/lib/cups install soinstall + # install a missing doc files # http://bugs.archlinux.org/task/18023 + install -m 644 ${srcdir}/ghostscript-${pkgver}/doc/{Ps2ps2.htm,gs-vms.hlp,gsdoc.el,pscet_status.txt} ${pkgdir}/usr/share/ghostscript/$pkgver/doc/ + mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/
[arch-commits] Commit in ghostscript/trunk (PKGBUILD libpng14.patch)
Date: Saturday, January 16, 2010 @ 19:47:11 Author: ibiru Revision: 6 upgpkg: ghostscript 8.70-4 libpng1.4.0/libjpeg8 rebuild Added: ghostscript/trunk/libpng14.patch Modified: ghostscript/trunk/PKGBUILD + PKGBUILD | 17 +++-- libpng14.patch | 24 2 files changed, 35 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-01-16 23:52:30 UTC (rev 63332) +++ PKGBUILD2010-01-17 00:47:11 UTC (rev 6) @@ -3,13 +3,13 @@ pkgname=ghostscript pkgver=8.70 -pkgrel=3 +pkgrel=4 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') -depends=('libxext' 'libxt' 'libcups>=1.4.2' 'fontconfig>=2.6.0' 'gnutls>=2.8.3' 'cairo>=1.8.8' - 'jasper>=1.900.1-3' 'zlib' 'libpng>=1.2.39' 'libjpeg>=7') -makedepends=('automake' 'autoconf' 'gtk2>=2.18') +depends=('libxext' 'libxt' 'libcups>=1.4.2-3' 'fontconfig>=2.6.0' 'gnutls>=2.8.3' 'cairo>=1.8.8-2' + 'jasper>=1.900.1-4' 'zlib' 'libpng>=1.4.0' 'libjpeg>=8') +makedepends=('automake' 'autoconf' 'gtk2>=2.18.6') optdepends=('texlive-core: dvipdf' 'gtk2: gsx') replaces=('ghostscript-lrpng') @@ -17,17 +17,21 @@ url="http://www.cs.wisc.edu/~ghost/"; source=(http://ghostscript.com/releases/ghostscript-${pkgver}.tar.bz2 ghostscript-fPIC.patch - ghostscript-system-jasper.patch) + ghostscript-system-jasper.patch + libpng14.patch) options=('!libtool') # '!makeflags') md5sums=('526366f8cb4fda0d3d293597cc5b984b' '1a8fcacf0005214db823225c870f093d' - '03e27cd02471ab3b642c344fa06b623e') + '03e27cd02471ab3b642c344fa06b623e' + 'be94ee357986f7f63d1b470da5bdc99e') build() { cd ${srcdir}/ghostscript-${pkgver} # force it to use system-libs rm -rf jpeg libpng zlib jasper expat + patch -Np1 -i ${srcdir}/libpng14.patch || return 1 + # fix build with systems jasper patch -Np1 -i ${srcdir}/ghostscript-system-jasper.patch || return 1 @@ -43,6 +47,7 @@ make -j1 DESTDIR=${pkgdir} install || return 1 cd .. + ./autogen.sh ./configure --prefix=/usr --enable-dynamic --with-ijs \ --with-jbig2dec --with-omni --with-x --with-drivers=ALL\ --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \ Added: libpng14.patch === --- libpng14.patch (rev 0) +++ libpng14.patch 2010-01-17 00:47:11 UTC (rev 6) @@ -0,0 +1,24 @@ +diff -Nur ghostscript-8.70.orig/base/configure.ac ghostscript-8.70/base/configure.ac +--- ghostscript-8.70.orig/base/configure.ac2009-07-27 19:59:50.0 +0300 ghostscript-8.70/base/configure.ac 2010-01-17 02:20:52.0 +0200 +@@ -402,7 +402,7 @@ + PNGDEVS="$PNGDEVS_ALL" + else + AC_MSG_RESULT([no]) +- AC_CHECK_LIB(png, png_check_sig, [ ++ AC_CHECK_LIB(png, png_sig_cmp, [ + AC_CHECK_HEADERS(png.h, [ + SHARE_LIBPNG=1 + PNGDEVS="$PNGDEVS_ALL" +diff -Nur ghostscript-8.70.orig/jbig2dec/configure.ac ghostscript-8.70/jbig2dec/configure.ac +--- ghostscript-8.70.orig/jbig2dec/configure.ac2009-05-29 09:48:44.0 +0300 ghostscript-8.70/jbig2dec/configure.ac 2010-01-17 02:21:25.0 +0200 +@@ -34,7 +34,7 @@ + fi + dnl libpng requires pow() which may be in libm + AC_SEARCH_LIBS([pow], [m]) +- AC_CHECK_LIB([png], [png_check_sig], [ ++ AC_CHECK_LIB([png], [png_sig_cmp], [ + AC_CHECK_LIB([z], [deflate], [ + AC_DEFINE(HAVE_LIBPNG, 1, [Define if libpng is available (-lpng)]) + LIBS="-lpng -lz $LIBS"
[arch-commits] Commit in ghostscript/trunk (PKGBUILD)
Date: Tuesday, November 24, 2009 @ 05:55:32 Author: ibiru Revision: 59517 upgpkg: ghostscript 8.70-3 heimdal-1.3 rebuild Modified: ghostscript/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2009-11-24 10:51:42 UTC (rev 59516) +++ PKGBUILD2009-11-24 10:55:32 UTC (rev 59517) @@ -3,13 +3,13 @@ pkgname=ghostscript pkgver=8.70 -pkgrel=2 +pkgrel=3 pkgdesc="An interpreter for the PostScript language" arch=('i686' 'x86_64') license=('GPL3' 'custom') -depends=('libxext' 'libxt' 'libcups>=1.4.0' 'fontconfig>=2.6.0' 'gnutls>=2.8.3' 'cairo>=1.8.8' +depends=('libxext' 'libxt' 'libcups>=1.4.2' 'fontconfig>=2.6.0' 'gnutls>=2.8.3' 'cairo>=1.8.8' 'jasper>=1.900.1-3' 'zlib' 'libpng>=1.2.39' 'libjpeg>=7') -makedepends=('automake' 'autoconf' 'gtk2>=2.16.5') +makedepends=('automake' 'autoconf' 'gtk2>=2.18') optdepends=('texlive-core: dvipdf' 'gtk2: gsx') replaces=('ghostscript-lrpng')