summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibre/gnu-ghostscript/PKGBUILD15
-rw-r--r--libre/gnu-ghostscript/libtool.patch14
2 files changed, 24 insertions, 5 deletions
diff --git a/libre/gnu-ghostscript/PKGBUILD b/libre/gnu-ghostscript/PKGBUILD
index 4fb123c2c..3270a3d4d 100755
--- a/libre/gnu-ghostscript/PKGBUILD
+++ b/libre/gnu-ghostscript/PKGBUILD
@@ -5,24 +5,29 @@ pkgname=gnu-ghostscript
_pkgver=9.05
pkgver=9.05.0
pkgrel=1
-pkgdesc="An interpreter for the PostScript language created by the FSF"
+pkgdesc="An interpreter for the PostScript language maintained by a team of GNU programmers"
arch=('i686' 'x86_64')
license=('GPL3')
-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?
+depends=('libxt' 'libcups' 'fontconfig' 'jasper' 'zlib' 'libpng>=1.5.7' 'libjpeg' 'libtiff>=4.0.0' 'lcms2')
makedepends=('gtk2' 'gnutls')
optdepends=('texlive-core: needed for dvipdf'
'gtk2: needed for gsx')
conflicts=${_pkgname}
replaces=${_pkgname}
-provides=${_pkgname}
+provides="${_pkgname}=9.06"
url="https://www.gnu.org/software/${_pkgname}/"
-source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${pkgname}-${pkgver}.tar.xz)
+source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${pkgname}-${pkgver}.tar.xz
+ libtool.patch)
options=('!libtool' '!makeflags')
-md5sums=('e80423be9abb32fc99cc897ed379a7df')
+md5sums=('e80423be9abb32fc99cc897ed379a7df'
+ '5bd5d4966007b460deed866a30a0b3c8')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ # fix libtool version
+ patch -Np1 -i ${srcdir}/libtool.patch
+
# force it to use system-libs
rm -rf jpeg libpng zlib jasper expat tiff lcms freetype
diff --git a/libre/gnu-ghostscript/libtool.patch b/libre/gnu-ghostscript/libtool.patch
new file mode 100644
index 000000000..4271ce69b
--- /dev/null
+++ b/libre/gnu-ghostscript/libtool.patch
@@ -0,0 +1,14 @@
+--- gnu-ghostscript-9.04.1/ltmain.sh 2011-12-31 08:26:26.000000000 -0200
++++ gnu-ghostscript-9.04.1/ltmain.sh 2012-04-10 05:08:19.253341477 -0300
+@@ -79,9 +79,9 @@
+
+ PROGRAM=libtool
+ PACKAGE=libtool
+-VERSION=2.4
++VERSION=2.4.2
+ TIMESTAMP=""
+-package_revision=1.3293
++package_revision=1.3337
+
+ # Be Bourne compatible
+ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then