[arch-commits] Commit in ghostscript/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Wed Jul 27 18:05:29 UTC 2016


    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
===================================================================
--- PKGBUILD	2016-07-27 17:52:02 UTC (rev 272515)
+++ PKGBUILD	2016-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}
 }



More information about the arch-commits mailing list