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

Andreas Radke andyrtr at nymeria.archlinux.org
Tue Jan 21 21:26:10 UTC 2014


    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
===================================================================
--- PKGBUILD	2014-01-21 20:31:44 UTC (rev 204513)
+++ PKGBUILD	2014-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 \




More information about the arch-commits mailing list