[arch-commits] Commit in ghostscript/repos (8 files)
Date: Monday, September 10, 2018 @ 22:40:59 Author: foutrelis Revision: 334339 archrelease: copy trunk to staging-x86_64 Added: ghostscript/repos/staging-x86_64/ ghostscript/repos/staging-x86_64/0001_ICC_profile_validation.patch (from rev 334337, ghostscript/trunk/0001_ICC_profile_validation.patch) ghostscript/repos/staging-x86_64/0002_retain_LockSafetyParams_through_failed_installpagedevice.patch (from rev 334337, ghostscript/trunk/0002_retain_LockSafetyParams_through_failed_installpagedevice.patch) ghostscript/repos/staging-x86_64/0003_Fix_SEGV_seen_in_all-devices_test.patch (from rev 334337, ghostscript/trunk/0003_Fix_SEGV_seen_in_all-devices_test.patch) ghostscript/repos/staging-x86_64/0004_Add_the_ICCProfilesDir_to_the_PermitReading_list.patch (from rev 334337, ghostscript/trunk/0004_Add_the_ICCProfilesDir_to_the_PermitReading_list.patch) ghostscript/repos/staging-x86_64/0005_add_wildcards_to_the_permissions_paths.patch (from rev 334337, ghostscript/trunk/0005_add_wildcards_to_the_permissions_paths.patch) ghostscript/repos/staging-x86_64/0006_stack_size_space_fix.patch (from rev 334337, ghostscript/trunk/0006_stack_size_space_fix.patch) ghostscript/repos/staging-x86_64/PKGBUILD (from rev 334337, ghostscript/trunk/PKGBUILD) -+ 0001_ICC_profile_validation.patch | 80 +++ 0002_retain_LockSafetyParams_through_failed_installpagedevice.patch | 69 ++ 0003_Fix_SEGV_seen_in_all-devices_test.patch| 40 + 0004_Add_the_ICCProfilesDir_to_the_PermitReading_list.patch | 43 + 0005_add_wildcards_to_the_permissions_paths.patch | 55 ++ 0006_stack_size_space_fix.patch | 254 ++ PKGBUILD| 123 7 files changed, 664 insertions(+) Copied: ghostscript/repos/staging-x86_64/0001_ICC_profile_validation.patch (from rev 334337, ghostscript/trunk/0001_ICC_profile_validation.patch) === --- staging-x86_64/0001_ICC_profile_validation.patch (rev 0) +++ staging-x86_64/0001_ICC_profile_validation.patch2018-09-10 22:40:59 UTC (rev 334339) @@ -0,0 +1,80 @@ +From bc3df0773fccf4b4906a3e59652ad646ea0fee91 Mon Sep 17 00:00:00 2001 +From: Chris Liddell +Date: Tue, 4 Sep 2018 17:01:08 +0100 +Subject: [PATCH] For ICC profile validation, have cups id iteself as DeviceN + +Give the range of color spaces and models that cups supports, we can't +reasonably provide (or expect others to provide) output ICC profiles for all +cases. + +For the purpose of profile validation, have it claim to be DeviceN and benefit +from the extra tolerance in profiles allowed for that class of device. +--- + cups/gdevcups.c | 15 ++- + devices/devs.mak | 2 +- + 2 files changed, 15 insertions(+), 2 deletions(-) + +diff --git a/cups/gdevcups.c b/cups/gdevcups.c +index c1574f8..decd8eb 100644 +--- a/cups/gdevcups.c b/cups/gdevcups.c +@@ -70,6 +70,7 @@ + #include "std.h"/* to stop stdlib.h redefining types */ + #include "gdevprn.h" + #include "gsparam.h" ++#include "gxdevsop.h" + #include "arch.h" + #include "gsicc_manage.h" + +@@ -252,6 +253,7 @@ private int cups_put_params(gx_device *, gs_param_list *); + private int cups_set_color_info(gx_device *); + private dev_proc_sync_output(cups_sync_output); + private prn_dev_proc_get_space_params(cups_get_space_params); ++private int cups_spec_op(gx_device *dev_, int op, void *data, int datasize); + + #ifdef dev_t_proc_encode_color + private cm_map_proc_gray(cups_map_gray); +@@ -392,7 +394,7 @@ private gx_device_procscups_procs = +NULL, /* push_transparency_state */ +NULL, /* pop_transparency_state */ +NULL,/* put_image */ +- ++ cups_spec_op + }; + + #define prn_device_body_copies(dtype, procs, dname, w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, ncomp, depth, mg, mc, dg, dc, print_pages)\ +@@ -5927,6 +5929,17 @@ cups_print_planar(gx_device_printer *pdev, + return (0); + } + ++private int ++cups_spec_op(gx_device *dev_, int op, void *data, int datasize) ++{ ++/* Although not strictly DeviceN, the range of color models ++ this device supports presets similar issues. ++ */ ++if (op == gxdso_supports_devn) { ++return true; ++} ++return gx_default_dev_spec_op(dev_, op, data, datasize); ++} + + /* + */ +diff --git a/devices/devs.mak b/devices/devs.mak +index c85604c..e8654e5 100644 +--- a/devices/devs.mak b/devices/devs.mak +@@ -1860,7 +1860,7 @@ $(DD)pwgraster.dev : $(lcups_dev) $(lcupsi_dev) $(cups_) $(GDEV) \ + $(ADDMOD) $(DD)pwgraster -include $(lcups_dev) + $(ADDMOD) $(DD)pwgraster -include
[arch-commits] Commit in ghostscript/repos (8 files)
Date: Sunday, September 9, 2018 @ 08:39:38 Author: andyrtr Revision: 334269 archrelease: copy trunk to testing-x86_64 Added: ghostscript/repos/testing-x86_64/ ghostscript/repos/testing-x86_64/0001_ICC_profile_validation.patch (from rev 334268, ghostscript/trunk/0001_ICC_profile_validation.patch) ghostscript/repos/testing-x86_64/0002_retain_LockSafetyParams_through_failed_installpagedevice.patch (from rev 334268, ghostscript/trunk/0002_retain_LockSafetyParams_through_failed_installpagedevice.patch) ghostscript/repos/testing-x86_64/0003_Fix_SEGV_seen_in_all-devices_test.patch (from rev 334268, ghostscript/trunk/0003_Fix_SEGV_seen_in_all-devices_test.patch) ghostscript/repos/testing-x86_64/0004_Add_the_ICCProfilesDir_to_the_PermitReading_list.patch (from rev 334268, ghostscript/trunk/0004_Add_the_ICCProfilesDir_to_the_PermitReading_list.patch) ghostscript/repos/testing-x86_64/0005_add_wildcards_to_the_permissions_paths.patch (from rev 334268, ghostscript/trunk/0005_add_wildcards_to_the_permissions_paths.patch) ghostscript/repos/testing-x86_64/0006_stack_size_space_fix.patch (from rev 334268, ghostscript/trunk/0006_stack_size_space_fix.patch) ghostscript/repos/testing-x86_64/PKGBUILD (from rev 334268, ghostscript/trunk/PKGBUILD) -+ 0001_ICC_profile_validation.patch | 80 +++ 0002_retain_LockSafetyParams_through_failed_installpagedevice.patch | 69 ++ 0003_Fix_SEGV_seen_in_all-devices_test.patch| 40 + 0004_Add_the_ICCProfilesDir_to_the_PermitReading_list.patch | 43 + 0005_add_wildcards_to_the_permissions_paths.patch | 55 ++ 0006_stack_size_space_fix.patch | 254 ++ PKGBUILD| 123 7 files changed, 664 insertions(+) Copied: ghostscript/repos/testing-x86_64/0001_ICC_profile_validation.patch (from rev 334268, ghostscript/trunk/0001_ICC_profile_validation.patch) === --- testing-x86_64/0001_ICC_profile_validation.patch (rev 0) +++ testing-x86_64/0001_ICC_profile_validation.patch2018-09-09 08:39:38 UTC (rev 334269) @@ -0,0 +1,80 @@ +From bc3df0773fccf4b4906a3e59652ad646ea0fee91 Mon Sep 17 00:00:00 2001 +From: Chris Liddell +Date: Tue, 4 Sep 2018 17:01:08 +0100 +Subject: [PATCH] For ICC profile validation, have cups id iteself as DeviceN + +Give the range of color spaces and models that cups supports, we can't +reasonably provide (or expect others to provide) output ICC profiles for all +cases. + +For the purpose of profile validation, have it claim to be DeviceN and benefit +from the extra tolerance in profiles allowed for that class of device. +--- + cups/gdevcups.c | 15 ++- + devices/devs.mak | 2 +- + 2 files changed, 15 insertions(+), 2 deletions(-) + +diff --git a/cups/gdevcups.c b/cups/gdevcups.c +index c1574f8..decd8eb 100644 +--- a/cups/gdevcups.c b/cups/gdevcups.c +@@ -70,6 +70,7 @@ + #include "std.h"/* to stop stdlib.h redefining types */ + #include "gdevprn.h" + #include "gsparam.h" ++#include "gxdevsop.h" + #include "arch.h" + #include "gsicc_manage.h" + +@@ -252,6 +253,7 @@ private int cups_put_params(gx_device *, gs_param_list *); + private int cups_set_color_info(gx_device *); + private dev_proc_sync_output(cups_sync_output); + private prn_dev_proc_get_space_params(cups_get_space_params); ++private int cups_spec_op(gx_device *dev_, int op, void *data, int datasize); + + #ifdef dev_t_proc_encode_color + private cm_map_proc_gray(cups_map_gray); +@@ -392,7 +394,7 @@ private gx_device_procscups_procs = +NULL, /* push_transparency_state */ +NULL, /* pop_transparency_state */ +NULL,/* put_image */ +- ++ cups_spec_op + }; + + #define prn_device_body_copies(dtype, procs, dname, w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, ncomp, depth, mg, mc, dg, dc, print_pages)\ +@@ -5927,6 +5929,17 @@ cups_print_planar(gx_device_printer *pdev, + return (0); + } + ++private int ++cups_spec_op(gx_device *dev_, int op, void *data, int datasize) ++{ ++/* Although not strictly DeviceN, the range of color models ++ this device supports presets similar issues. ++ */ ++if (op == gxdso_supports_devn) { ++return true; ++} ++return gx_default_dev_spec_op(dev_, op, data, datasize); ++} + + /* + */ +diff --git a/devices/devs.mak b/devices/devs.mak +index c85604c..e8654e5 100644 +--- a/devices/devs.mak b/devices/devs.mak +@@ -1860,7 +1860,7 @@ $(DD)pwgraster.dev : $(lcups_dev) $(lcupsi_dev) $(cups_) $(GDEV) \ + $(ADDMOD) $(DD)pwgraster -include $(lcups_dev) + $(ADDMOD) $(DD)pwgraster -include $(lcupsi_dev)
[arch-commits] Commit in ghostscript/repos (8 files)
Date: Tuesday, October 18, 2016 @ 18:54:26 Author: andyrtr Revision: 278965 archrelease: copy trunk to testing-i686, testing-x86_64 Added: ghostscript/repos/testing-i686/PKGBUILD (from rev 278964, ghostscript/trunk/PKGBUILD) ghostscript/repos/testing-i686/ghostscript-sys-zlib.patch (from rev 278964, ghostscript/trunk/ghostscript-sys-zlib.patch) ghostscript/repos/testing-x86_64/PKGBUILD (from rev 278964, ghostscript/trunk/PKGBUILD) ghostscript/repos/testing-x86_64/ghostscript-sys-zlib.patch (from rev 278964, ghostscript/trunk/ghostscript-sys-zlib.patch) Deleted: ghostscript/repos/testing-i686/PKGBUILD ghostscript/repos/testing-i686/ghostscript-sys-zlib.patch ghostscript/repos/testing-x86_64/PKGBUILD ghostscript/repos/testing-x86_64/ghostscript-sys-zlib.patch ---+ /PKGBUILD | 152 /ghostscript-sys-zlib.patch | 50 + testing-i686/PKGBUILD | 76 -- testing-i686/ghostscript-sys-zlib.patch | 25 testing-x86_64/PKGBUILD | 76 -- testing-x86_64/ghostscript-sys-zlib.patch | 25 6 files changed, 202 insertions(+), 202 deletions(-) Deleted: testing-i686/PKGBUILD === --- testing-i686/PKGBUILD 2016-10-18 18:54:12 UTC (rev 278964) +++ testing-i686/PKGBUILD 2016-10-18 18:54:26 UTC (rev 278965) @@ -1,76 +0,0 @@ -# $Id$ -# Maintainer: AndyRTR- -pkgname=ghostscript -pkgver=9.20 -pkgrel=3 -pkgdesc="An interpreter for the PostScript language" -arch=('i686' 'x86_64') -license=('AGPL' 'custom') -depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' - '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/; -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=('ed63f43482f5af60dff52e81b2d9478da3ad1e3e' - '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 -rfv cups/libs freetype ijs jasper jbig2dec jpeg lcms2 libpng tiff zlib - - autoconf --force - - ./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 -} - -package() { - cd ghostscript-${pkgver} - make DESTDIR="${pkgdir}" \ - 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/ - - install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE - - # remove unwanted localized man-pages - rm -rf "$pkgdir"/usr/share/man/[^man1]* - - # remove filters that are now maintained in cups-filters as upstream home - rm -rf "$pkgdir"/usr/lib/cups/filter/{gstopxl,gstoraster} -} Copied: ghostscript/repos/testing-i686/PKGBUILD (from rev 278964, ghostscript/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-10-18 18:54:26 UTC (rev 278965) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: AndyRTR + +pkgname=ghostscript +pkgver=9.20 +pkgrel=4 +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') +optdepends=('texlive-core:
[arch-commits] Commit in ghostscript/repos (8 files)
Date: Thursday, September 29, 2016 @ 17:30:34 Author: andyrtr Revision: 277284 archrelease: copy trunk to testing-i686, testing-x86_64 Added: ghostscript/repos/testing-i686/PKGBUILD (from rev 277283, ghostscript/trunk/PKGBUILD) ghostscript/repos/testing-i686/ghostscript-sys-zlib.patch (from rev 277283, ghostscript/trunk/ghostscript-sys-zlib.patch) ghostscript/repos/testing-x86_64/PKGBUILD (from rev 277283, ghostscript/trunk/PKGBUILD) ghostscript/repos/testing-x86_64/ghostscript-sys-zlib.patch (from rev 277283, ghostscript/trunk/ghostscript-sys-zlib.patch) Deleted: ghostscript/repos/testing-i686/PKGBUILD ghostscript/repos/testing-i686/ghostscript-sys-zlib.patch ghostscript/repos/testing-x86_64/PKGBUILD ghostscript/repos/testing-x86_64/ghostscript-sys-zlib.patch ---+ /PKGBUILD | 152 /ghostscript-sys-zlib.patch | 50 + testing-i686/PKGBUILD | 79 -- testing-i686/ghostscript-sys-zlib.patch | 25 testing-x86_64/PKGBUILD | 79 -- testing-x86_64/ghostscript-sys-zlib.patch | 25 6 files changed, 202 insertions(+), 208 deletions(-) Deleted: testing-i686/PKGBUILD === --- testing-i686/PKGBUILD 2016-09-29 17:30:20 UTC (rev 277283) +++ testing-i686/PKGBUILD 2016-09-29 17:30:34 UTC (rev 277284) @@ -1,79 +0,0 @@ -# $Id$ -# Maintainer: AndyRTR- -pkgname=ghostscript -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' 'libjpeg' - '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.xz -ghostscript-sys-zlib.patch) -options=('!makeflags') -# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases -sha1sums=('3731002d323051f4578499b8a107cd74289d713c' - '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 zlib jasper tiff lcms lcms2 freetype cups/libs jbig2dec - # http://ghostscript.com/pipermail/gs-devel/2016-September/009918.html - # libpng expat - - autoconf --force - - ./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 \ - --enable-fontconfig \ - --enable-freetype \ - --enable-openjpeg \ - --without-luratech \ - --without-omni \ - --with-system-libtiff \ - --with-libpaper \ - --disable-compile-inits #--help # needed for linking with system-zlib - make so - make -} - -package() { - cd ghostscript-${pkgver} - make DESTDIR="${pkgdir}" \ - 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/ - - install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE - - # remove unwanted localized man-pages - rm -rf "$pkgdir"/usr/share/man/[^man1]* - - # remove filters that are now maintained in cups-filters as upstream home - rm -rf "$pkgdir"/usr/lib/cups/filter/{gstopxl,gstoraster} -} Copied: ghostscript/repos/testing-i686/PKGBUILD (from rev 277283, ghostscript/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-09-29 17:30:34 UTC (rev 277284) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: AndyRTR + +pkgname=ghostscript +pkgver=9.20 +pkgrel=2 +pkgdesc="An interpreter for the PostScript language" +arch=('i686' 'x86_64') +license=('AGPL' 'custom') +depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng' 'libjpeg' + 'jbig2dec' 'libtiff'
[arch-commits] Commit in ghostscript/repos (8 files)
Date: Wednesday, August 24, 2016 @ 16:07:14 Author: andyrtr Revision: 274624 archrelease: copy trunk to extra-i686, extra-x86_64 Added: ghostscript/repos/extra-i686/PKGBUILD (from rev 274623, ghostscript/trunk/PKGBUILD) ghostscript/repos/extra-i686/ghostscript-sys-zlib.patch (from rev 274623, ghostscript/trunk/ghostscript-sys-zlib.patch) ghostscript/repos/extra-x86_64/PKGBUILD (from rev 274623, ghostscript/trunk/PKGBUILD) ghostscript/repos/extra-x86_64/ghostscript-sys-zlib.patch (from rev 274623, ghostscript/trunk/ghostscript-sys-zlib.patch) Deleted: ghostscript/repos/extra-i686/PKGBUILD ghostscript/repos/extra-i686/ghostscript-sys-zlib.patch ghostscript/repos/extra-x86_64/PKGBUILD ghostscript/repos/extra-x86_64/ghostscript-sys-zlib.patch -+ /PKGBUILD | 156 ++ /ghostscript-sys-zlib.patch | 50 + extra-i686/PKGBUILD | 75 -- extra-i686/ghostscript-sys-zlib.patch | 25 extra-x86_64/PKGBUILD | 75 -- extra-x86_64/ghostscript-sys-zlib.patch | 25 6 files changed, 206 insertions(+), 200 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2016-08-24 16:07:01 UTC (rev 274623) +++ extra-i686/PKGBUILD 2016-08-24 16:07:14 UTC (rev 274624) @@ -1,75 +0,0 @@ -# $Id$ -# Maintainer: AndyRTR- -pkgname=ghostscript -pkgver=9.19 -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' '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 -ghostscript-sys-zlib.patch) -#options=('!makeflags') -# https://github.com/ArtifexSoftware/ghostpdl-downloads/releases -sha1sums=('6ac5c1fb665b3201622e1149f04c641c506bf6c4' - '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 \ - --with-jbig2dec \ - --with-omni \ - --with-x \ - --with-drivers=ALL\ - --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \ - --enable-fontconfig \ - --enable-freetype \ - --enable-openjpeg \ - --without-luratech \ - --without-omni \ - --with-system-libtiff \ - --with-libpaper \ - --disable-compile-inits #--help # needed for linking with system-zlib - make - -} - -package() { - cd ghostscript-${pkgver} - make DESTDIR="${pkgdir}" \ - cups_serverroot="${pkgdir}"/etc/cups \ - 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/{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 - - # remove unwanted localized man-pages - rm -rf "$pkgdir"/usr/share/man/[^man1]* - - # remove filters that are now maintained in cups-filters as upstream home - rm -rf "$pkgdir"/usr/lib/cups/filter/{gstopxl,gstoraster} -} Copied: ghostscript/repos/extra-i686/PKGBUILD (from rev 274623, ghostscript/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2016-08-24 16:07:14 UTC (rev 274624) @@ -0,0 +1,78 @@ +# $Id$ +# Maintainer: AndyRTR + +pkgname=ghostscript +pkgver=9.19 +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' 'libpaper') +makedepends=('gtk3' 'gnutls' 'hardening-wrapper' 'ijs') +optdepends=('texlive-core: needed for dvipdf' +'gtk3: needed for gsx')
[arch-commits] Commit in ghostscript/repos (8 files)
Date: Thursday, October 15, 2015 @ 17:37:19 Author: andyrtr Revision: 249385 archrelease: copy trunk to testing-i686, testing-x86_64 Added: ghostscript/repos/testing-i686/ ghostscript/repos/testing-i686/PKGBUILD (from rev 249384, ghostscript/trunk/PKGBUILD) ghostscript/repos/testing-i686/bug_696246.diff (from rev 249384, ghostscript/trunk/bug_696246.diff) ghostscript/repos/testing-i686/ghostscript-sys-zlib.patch (from rev 249384, ghostscript/trunk/ghostscript-sys-zlib.patch) ghostscript/repos/testing-x86_64/ ghostscript/repos/testing-x86_64/PKGBUILD (from rev 249384, ghostscript/trunk/PKGBUILD) ghostscript/repos/testing-x86_64/bug_696246.diff (from rev 249384, ghostscript/trunk/bug_696246.diff) ghostscript/repos/testing-x86_64/ghostscript-sys-zlib.patch (from rev 249384, ghostscript/trunk/ghostscript-sys-zlib.patch) ---+ testing-i686/PKGBUILD | 91 testing-i686/bug_696246.diff | 203 testing-i686/ghostscript-sys-zlib.patch | 25 +++ testing-x86_64/PKGBUILD | 91 testing-x86_64/bug_696246.diff| 203 testing-x86_64/ghostscript-sys-zlib.patch | 25 +++ 6 files changed, 638 insertions(+) Copied: ghostscript/repos/testing-i686/PKGBUILD (from rev 249384, ghostscript/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-10-15 15:37:19 UTC (rev 249385) @@ -0,0 +1,91 @@ +# $Id$ +# Maintainer: AndyRTR+ +### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ### + +pkgname=ghostscript +pkgver=9.18 +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' 'libpaper') +makedepends=('gtk3' 'gnutls' 'hardening-wrapper') +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 +ghostscript-sys-zlib.patch +bug_696246.diff) +#options=('!makeflags') +# http://downloads.ghostscript.com/public/SHA1SUMS +sha1sums=('388fea50a38e422a4c6ff27c184491bf5ecb96e1' + 'e054caf753df4d67221b29a2eac66130653f7556' + '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 - FS#46637, FS#46734? + patch -Np1 -i ${srcdir}/bug_696246.diff +} + +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 \ + --with-jbig2dec \ + --with-omni \ + --with-x \ + --with-drivers=ALL\ + --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \ + --enable-fontconfig \ + --enable-freetype \ + --enable-openjpeg \ + --without-luratech \ + --without-omni \ + --with-system-libtiff \ + --with-libpaper \ + --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() { + cd ghostscript-${pkgver} + make DESTDIR="${pkgdir}" \ + cups_serverroot="${pkgdir}"/etc/cups \ + 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/ + + install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE + + # 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} +} Copied: ghostscript/repos/testing-i686/bug_696246.diff (from rev 249384, ghostscript/trunk/bug_696246.diff) === --- testing-i686/bug_696246.diff(rev
[arch-commits] Commit in ghostscript/repos (8 files)
Date: Monday, February 16, 2015 @ 20:55:20 Author: andyrtr Revision: 231619 archrelease: copy trunk to extra-i686, extra-x86_64 Added: ghostscript/repos/extra-i686/PKGBUILD (from rev 231618, ghostscript/trunk/PKGBUILD) ghostscript/repos/extra-i686/ghostscript-sys-zlib.patch (from rev 231618, ghostscript/trunk/ghostscript-sys-zlib.patch) ghostscript/repos/extra-x86_64/PKGBUILD (from rev 231618, ghostscript/trunk/PKGBUILD) ghostscript/repos/extra-x86_64/ghostscript-sys-zlib.patch (from rev 231618, ghostscript/trunk/ghostscript-sys-zlib.patch) Deleted: ghostscript/repos/extra-i686/PKGBUILD ghostscript/repos/extra-i686/ghostscript-sys-zlib.patch ghostscript/repos/extra-x86_64/PKGBUILD ghostscript/repos/extra-x86_64/ghostscript-sys-zlib.patch -+ /PKGBUILD | 174 ++ /ghostscript-sys-zlib.patch | 50 extra-i686/PKGBUILD | 87 --- extra-i686/ghostscript-sys-zlib.patch | 25 extra-x86_64/PKGBUILD | 87 --- extra-x86_64/ghostscript-sys-zlib.patch | 25 6 files changed, 224 insertions(+), 224 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2015-02-16 19:55:06 UTC (rev 231618) +++ extra-i686/PKGBUILD 2015-02-16 19:55:20 UTC (rev 231619) @@ -1,87 +0,0 @@ -# $Id$ -# Maintainer: AndyRTR andy...@archlinux.org - -### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ### - -pkgname=ghostscript -pkgver=9.15 -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') -makedepends=('gtk3' 'gnutls') -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 -ghostscript-sys-zlib.patch) -#options=('!makeflags') -# http://downloads.ghostscript.com/public/SHA1SUMS -sha1sums=('19f01538d33b9623bc6653d96ea4ec891f14a9d3' - '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 \ - --with-jbig2dec \ - --with-omni \ - --with-x \ - --with-drivers=ALL\ - --with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \ - --enable-fontconfig \ - --enable-freetype \ - --enable-openjpeg \ - --without-luratech \ - --without-omni \ - --with-system-libtiff \ - --with-libpaper \ - --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() { - cd ghostscript-${pkgver} - make DESTDIR=${pkgdir} \ - cups_serverroot=${pkgdir}/etc/cups \ - 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/ - - install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - - # 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} -} Copied: ghostscript/repos/extra-i686/PKGBUILD (from rev 231618, ghostscript/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2015-02-16 19:55:20 UTC (rev 231619) @@ -0,0 +1,87 @@ +# $Id$ +# Maintainer: AndyRTR andy...@archlinux.org + +### !!! rebuild groff from core that picks up hardcoding the GS versioned font path !!! ### + +pkgname=ghostscript +pkgver=9.15 +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'
[arch-commits] Commit in ghostscript/repos (8 files)
Date: Wednesday, August 8, 2012 @ 15:40:49 Author: andyrtr Revision: 165016 archrelease: copy trunk to extra-i686, extra-x86_64 Added: ghostscript/repos/extra-i686/PKGBUILD (from rev 165015, ghostscript/trunk/PKGBUILD) ghostscript/repos/extra-i686/svn_rev11948.diff (from rev 165015, ghostscript/trunk/svn_rev11948.diff) ghostscript/repos/extra-x86_64/PKGBUILD (from rev 165015, ghostscript/trunk/PKGBUILD) ghostscript/repos/extra-x86_64/svn_rev11948.diff (from rev 165015, ghostscript/trunk/svn_rev11948.diff) Deleted: ghostscript/repos/extra-i686/PKGBUILD ghostscript/repos/extra-i686/svn_rev11948.diff ghostscript/repos/extra-x86_64/PKGBUILD ghostscript/repos/extra-x86_64/svn_rev11948.diff + extra-i686/PKGBUILD| 132 +++ extra-i686/svn_rev11948.diff | 32 - extra-x86_64/PKGBUILD | 132 +++ extra-x86_64/svn_rev11948.diff | 32 - 4 files changed, 164 insertions(+), 164 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2012-08-08 19:40:10 UTC (rev 165015) +++ extra-i686/PKGBUILD 2012-08-08 19:40:49 UTC (rev 165016) @@ -1,66 +0,0 @@ -# $Id$ -# Maintainer: AndyRTR andy...@archlinux.org - -pkgname=ghostscript -pkgver=9.05 -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? -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=('8bcef1f33ddf8a4d12b2cf8da385c191') - -build() { - cd ${srcdir}/ghostscript-${pkgver} - - # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff lcms freetype - - ./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 \ - --with-install-cups \ - --enable-fontconfig \ - --enable-freetype \ - --without-luratech \ - --with-system-libtiff \ - --disable-compile-inits #--help # needed for linking with system-zlib - make - - # Build IJS - cd ${srcdir}/ghostscript-${pkgver}/ijs - ./autogen.sh - ./configure --prefix=/usr --enable-shared --disable-static - make -} - -package() { - cd ${srcdir}/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/ - - mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} - install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/ - - # remove unwanted localized man-pages - rm -rf $pkgdir/usr/share/man/[^man1]* - - # install IJS - cd ${srcdir}/ghostscript-${pkgver}/ijs - make DESTDIR=${pkgdir} install -} Copied: ghostscript/repos/extra-i686/PKGBUILD (from rev 165015, ghostscript/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2012-08-08 19:40:49 UTC (rev 165016) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer: AndyRTR andy...@archlinux.org + +pkgname=ghostscript +pkgver=9.06 +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? +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') + +build() { + cd ${srcdir}/ghostscript-${pkgver} + + # force it to use system-libs + rm -rf jpeg libpng zlib jasper expat tiff lcms freetype + + ./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 \ + --with-install-cups \ + --enable-fontconfig \ + --enable-freetype \ +
[arch-commits] Commit in ghostscript/repos (8 files)
Date: Sunday, February 12, 2012 @ 04:03:59 Author: andyrtr Revision: 149987 db-move: moved ghostscript from [testing] to [extra] (i686) Added: ghostscript/repos/extra-i686/PKGBUILD (from rev 149986, ghostscript/repos/testing-i686/PKGBUILD) ghostscript/repos/extra-i686/svn_rev11948.diff (from rev 149986, ghostscript/repos/testing-i686/svn_rev11948.diff) Deleted: ghostscript/repos/extra-i686/PKGBUILD ghostscript/repos/extra-i686/ghostscript-cups-rgbw.patch ghostscript/repos/extra-i686/ghostscript-gpl-9.04-freetype-underlinking.patch ghostscript/repos/extra-i686/gs_bug691759and691760.diff ghostscript/repos/extra-i686/svn_rev11948.diff ghostscript/repos/testing-i686/ --+ PKGBUILD | 140 +-- ghostscript-cups-rgbw.patch | 263 - ghostscript-gpl-9.04-freetype-underlinking.patch | 12 gs_bug691759and691760.diff | 215 - svn_rev11948.diff| 32 +- 5 files changed, 82 insertions(+), 580 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2012-02-12 02:54:27 UTC (rev 149986) +++ extra-i686/PKGBUILD 2012-02-12 09:03:59 UTC (rev 149987) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: AndyRTR andy...@archlinux.org - -pkgname=ghostscript -pkgver=9.04 -pkgrel=6 -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? -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 - ghostscript-cups-rgbw.patch - ghostscript-gpl-9.04-freetype-underlinking.patch) -options=('!libtool' '!makeflags') -md5sums=('9f6899e821ab6d78ab2c856f10fa3023' - 'bc56eb8c5fef0ecf964f6b3e9b7e65ae' - 'a1928c3e4459dcfee0aaa4b38fadba57') - -build() { - cd ${srcdir}/ghostscript-${pkgver} - - # fix broken color printing https://bugs.archlinux.org/task/25519 - patch -Np1 -i ${srcdir}/ghostscript-cups-rgbw.patch - # fix a linking issue - patch -Np1 -i ${srcdir}/ghostscript-gpl-9.04-freetype-underlinking.patch - - # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff lcms freetype - - ./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 \ - --with-install-cups \ - --enable-fontconfig \ - --enable-freetype \ - --without-luratech \ - --disable-compile-inits #--help # needed for linking with system-zlib - make - - # Build IJS - cd ${srcdir}/ghostscript-${pkgver}/ijs - ./autogen.sh - ./configure --prefix=/usr --enable-shared --disable-static - make -} - -package() { - cd ${srcdir}/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/ - - mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} - install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/ - - # remove unwanted localized man-pages - rm -rf $pkgdir/usr/share/man/[^man1]* - - # install IJS - cd ${srcdir}/ghostscript-${pkgver}/ijs - make DESTDIR=${pkgdir} install -} Copied: ghostscript/repos/extra-i686/PKGBUILD (from rev 149986, ghostscript/repos/testing-i686/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2012-02-12 09:03:59 UTC (rev 149987) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer: AndyRTR andy...@archlinux.org + +pkgname=ghostscript +pkgver=9.05 +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? +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=('8bcef1f33ddf8a4d12b2cf8da385c191') + +build() { + cd
[arch-commits] Commit in ghostscript/repos (8 files)
Date: Sunday, February 12, 2012 @ 04:04:00 Author: andyrtr Revision: 149988 db-move: moved ghostscript from [testing] to [extra] (x86_64) Added: ghostscript/repos/extra-x86_64/PKGBUILD (from rev 149986, ghostscript/repos/testing-x86_64/PKGBUILD) ghostscript/repos/extra-x86_64/svn_rev11948.diff (from rev 149986, ghostscript/repos/testing-x86_64/svn_rev11948.diff) Deleted: ghostscript/repos/extra-x86_64/PKGBUILD ghostscript/repos/extra-x86_64/ghostscript-cups-rgbw.patch ghostscript/repos/extra-x86_64/ghostscript-gpl-9.04-freetype-underlinking.patch ghostscript/repos/extra-x86_64/gs_bug691759and691760.diff ghostscript/repos/extra-x86_64/svn_rev11948.diff ghostscript/repos/testing-x86_64/ --+ PKGBUILD | 140 +-- ghostscript-cups-rgbw.patch | 263 - ghostscript-gpl-9.04-freetype-underlinking.patch | 12 gs_bug691759and691760.diff | 215 - svn_rev11948.diff| 32 +- 5 files changed, 82 insertions(+), 580 deletions(-) Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2012-02-12 09:03:59 UTC (rev 149987) +++ extra-x86_64/PKGBUILD 2012-02-12 09:04:00 UTC (rev 149988) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: AndyRTR andy...@archlinux.org - -pkgname=ghostscript -pkgver=9.04 -pkgrel=6 -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? -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 - ghostscript-cups-rgbw.patch - ghostscript-gpl-9.04-freetype-underlinking.patch) -options=('!libtool' '!makeflags') -md5sums=('9f6899e821ab6d78ab2c856f10fa3023' - 'bc56eb8c5fef0ecf964f6b3e9b7e65ae' - 'a1928c3e4459dcfee0aaa4b38fadba57') - -build() { - cd ${srcdir}/ghostscript-${pkgver} - - # fix broken color printing https://bugs.archlinux.org/task/25519 - patch -Np1 -i ${srcdir}/ghostscript-cups-rgbw.patch - # fix a linking issue - patch -Np1 -i ${srcdir}/ghostscript-gpl-9.04-freetype-underlinking.patch - - # force it to use system-libs - rm -rf jpeg libpng zlib jasper expat tiff lcms freetype - - ./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 \ - --with-install-cups \ - --enable-fontconfig \ - --enable-freetype \ - --without-luratech \ - --disable-compile-inits #--help # needed for linking with system-zlib - make - - # Build IJS - cd ${srcdir}/ghostscript-${pkgver}/ijs - ./autogen.sh - ./configure --prefix=/usr --enable-shared --disable-static - make -} - -package() { - cd ${srcdir}/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/ - - mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} - install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/ - - # remove unwanted localized man-pages - rm -rf $pkgdir/usr/share/man/[^man1]* - - # install IJS - cd ${srcdir}/ghostscript-${pkgver}/ijs - make DESTDIR=${pkgdir} install -} Copied: ghostscript/repos/extra-x86_64/PKGBUILD (from rev 149986, ghostscript/repos/testing-x86_64/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2012-02-12 09:04:00 UTC (rev 149988) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer: AndyRTR andy...@archlinux.org + +pkgname=ghostscript +pkgver=9.05 +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? +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')
[arch-commits] Commit in ghostscript/repos (8 files)
Date: Tuesday, August 23, 2011 @ 12:20:48 Author: andyrtr Revision: 136166 archrelease: copy trunk to extra-x86_64 Added: ghostscript/repos/--help/ ghostscript/repos/extra-x86_64/PKGBUILD (from rev 136164, ghostscript/trunk/PKGBUILD) ghostscript/repos/extra-x86_64/ghostscript-cups-rgbw.patch (from rev 136164, ghostscript/trunk/ghostscript-cups-rgbw.patch) ghostscript/repos/extra-x86_64/gs_bug691759and691760.diff (from rev 136165, ghostscript/trunk/gs_bug691759and691760.diff) ghostscript/repos/extra-x86_64/svn_rev11948.diff (from rev 136165, ghostscript/trunk/svn_rev11948.diff) Deleted: ghostscript/repos/extra-x86_64/PKGBUILD ghostscript/repos/extra-x86_64/gs_bug691759and691760.diff ghostscript/repos/extra-x86_64/svn_rev11948.diff -+ PKGBUILD| 140 ++--- ghostscript-cups-rgbw.patch | 263 + gs_bug691759and691760.diff | 430 +- svn_rev11948.diff | 32 +-- 4 files changed, 564 insertions(+), 301 deletions(-) Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2011-08-23 16:20:17 UTC (rev 136165) +++ extra-x86_64/PKGBUILD 2011-08-23 16:20:48 UTC (rev 136166) @@ -1,70 +0,0 @@ -# $Id$ -# Maintainer: AndyRTR andy...@archlinux.org - -pkgname=ghostscript -pkgver=9.04 -pkgrel=5 -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' 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 - ghostscript-cups-rgbw.patch) -options=('!libtool' '!makeflags') -md5sums=('9f6899e821ab6d78ab2c856f10fa3023' - 'bc56eb8c5fef0ecf964f6b3e9b7e65ae') - -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 - - ./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 \ - --with-install-cups \ - --enable-fontconfig \ - --enable-freetype \ - --without-luratech \ - --disable-compile-inits #--help # needed for linking with system-zlib - make - - # Build IJS - cd ${srcdir}/ghostscript-${pkgver}/ijs - ./autogen.sh - ./configure --prefix=/usr --enable-shared --disable-static - make -} - -package() { - cd ${srcdir}/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/ - - mkdir -p ${pkgdir}/usr/share/licenses/${pkgname} - install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/ - - # remove unwanted localized man-pages - rm -rf $pkgdir/usr/share/man/[^man1]* - - # install IJS - cd ${srcdir}/ghostscript-${pkgver}/ijs - make DESTDIR=${pkgdir} install -} Copied: ghostscript/repos/extra-x86_64/PKGBUILD (from rev 136164, ghostscript/trunk/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2011-08-23 16:20:48 UTC (rev 136166) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: AndyRTR andy...@archlinux.org + +pkgname=ghostscript +pkgver=9.04 +pkgrel=5 +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' 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 + ghostscript-cups-rgbw.patch) +options=('!libtool' '!makeflags') +md5sums=('9f6899e821ab6d78ab2c856f10fa3023' + 'bc56eb8c5fef0ecf964f6b3e9b7e65ae') + +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