Date: Thursday, March 22, 2018 @ 08:00:11 Author: andyrtr Revision: 319800
upgpkg: ghostscript 9.23-1 upstream update 9.23 Modified: ghostscript/trunk/PKGBUILD Deleted: ghostscript/trunk/ghostscript-9.22-restore-flushpage.patch ------------------------------------------+ PKGBUILD | 16 ++++++---------- ghostscript-9.22-restore-flushpage.patch | 28 ---------------------------- 2 files changed, 6 insertions(+), 38 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-03-22 02:42:21 UTC (rev 319799) +++ PKGBUILD 2018-03-22 08:00:11 UTC (rev 319800) @@ -3,8 +3,8 @@ pkgbase=ghostscript pkgname=(ghostscript ghostxps ghostpcl) -pkgver=9.22 -pkgrel=7 +pkgver=9.23 +pkgrel=1 pkgdesc="An interpreter for the PostScript language" url="https://www.ghostscript.com/" arch=('x86_64') @@ -13,20 +13,16 @@ '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 - ghostscript-9.22-restore-flushpage.patch) -sha256sums=('f4e46bc1f8285a61ab036007705fc2b532cc40f4448fe6bc156bd130733f306b' - '22156c892ea27572386f5211f51a10a17079a9974ded9ec9af3f37a93a1bb8ca') +source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver/./}/ghostpdl-${pkgver}.tar.xz) +sha512sums=('4c2f6c0f31138c780943c866067f95f5867c56ca54fc5cc5ae8394e682ae1e97c575529844b04a9664fd72510a86ecd23ba69feee19dadb5852c3c0cf7b7f917') prepare() { cd ghostpdl-${pkgver} - # http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=19ebb5f1f497b6f2d50fe13d17d3e627dfb6c868 - patch -Np1 --no-backup-if-mismatch -i ../ghostscript-9.22-restore-flushpage.patch - # force it to use system-libs - rm -r cups/libs expat ijs jbig2dec jpeg lcms2 libpng openjpeg tiff zlib + rm -r cups/libs expat ijs jbig2dec jpeg lcms2art libpng openjpeg tiff zlib # using tree freetype because of https://bugs.archlinux.org/task/56849 + # lcms2art is the new lcms2 fork aimed to replace lcms2 in a thread safe way autoreconf -fvi } Deleted: ghostscript-9.22-restore-flushpage.patch =================================================================== --- ghostscript-9.22-restore-flushpage.patch 2018-03-22 02:42:21 UTC (rev 319799) +++ ghostscript-9.22-restore-flushpage.patch 2018-03-22 08:00:11 UTC (rev 319800) @@ -1,28 +0,0 @@ -diff -up ghostscript-9.22/Resource/Init/gs_init.ps.restore-flushpage ghostscript-9.22/Resource/Init/gs_init.ps ---- ghostscript-9.22/Resource/Init/gs_init.ps.restore-flushpage 2017-11-29 14:58:35.449534983 -0500 -+++ ghostscript-9.22/Resource/Init/gs_init.ps 2017-11-29 14:59:25.903397616 -0500 -@@ -2163,7 +2163,7 @@ SAFER { .setsafeglobal } if - /.type1execchar /.type2execchar /.type42execchar /.setweightvector /.getuseciecolor /processcolors /.includecolorspace - /.execn /.instopped /.stop /.stopped /.setcolorrendering /.setdevicecolorrendering /.buildcolorrendering1 /.builddevicecolorrendering1 - /.TransformPQR_scale_WB0 /.TransformPQR_scale_WB1 /.TransformPQR_scale_WB2 /.currentoverprintmode /.copydevice2 --/.devicename /.doneshowpage /flushpage /.getbitsrect /.getdevice /.getdefaultdevice /.getdeviceparams /.gethardwareparams -+/.devicename /.doneshowpage /.getbitsrect /.getdevice /.getdefaultdevice /.getdeviceparams /.gethardwareparams - /makewordimagedevice /.outputpage /.putdeviceparams /.setdevice /.currentshowpagecount - /.setpagedevice /.currentpagedevice /.knownundef /.setmaxlength /.rectappend /.initialize_dsc_parser /.parse_dsc_comments - /.fillCIDMap /.fillIdentityCIDMap /.buildcmap /.filenamelistseparator /.libfile /.getfilename -@@ -2181,6 +2181,15 @@ SAFER { .setsafeglobal } if - /.systemvmSFD /.settrapparams /.currentsystemparams /.currentuserparams /.getsystemparam /.getuserparam /.setsystemparams /.setuserparams - /.checkpassword /.locale_to_utf8 /.currentglobal /.gcheck /.imagepath - -+% Used by a free user in the Library of Congress. Apparently this is used to -+% draw a partial page, which is then filled in by the results of a barcode -+% scanner and SQL database lookup. Its not clear to us exactly why this needs to be -+% done as a partial page, but its easiest to restore the operator, and it seems like -+% its a reasonably safe operator to restore, for the *very* few devices on which -+% it will have any effect. Currently this uses the 'sync_outptu' device method -+% to transfer the partial page, in future we may use a spec_op instead. -+%/flushpage -+ - % Used by our own test suite files - %/.fileposition %image-qa.ps - %/.makeoperator /.setCPSImode % gs_cet.ps