summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-02 17:08:30 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-02 17:08:30 -0200
commit99015cdc5145fd8c7e14ea76bcbd1d0ecb210ddd (patch)
treea27d3fa4cbf14b18d3caf352534037b3d07a6684
parent18c27dc5c8367400c3d6b9ef6a9417805c2ce62d (diff)
downloadabslibre-99015cdc5145fd8c7e14ea76bcbd1d0ecb210ddd.tar.gz
abslibre-99015cdc5145fd8c7e14ea76bcbd1d0ecb210ddd.tar.bz2
abslibre-99015cdc5145fd8c7e14ea76bcbd1d0ecb210ddd.zip
gnu-ghostscript-9.05.0-1: fixing issues
-rwxr-xr-xlibre/gnu-ghostscript/PKGBUILD11
-rw-r--r--libre/gnu-ghostscript/libtool.patch14
2 files changed, 22 insertions, 3 deletions
diff --git a/libre/gnu-ghostscript/PKGBUILD b/libre/gnu-ghostscript/PKGBUILD
index 4fb123c2c..9ff2da255 100755
--- a/libre/gnu-ghostscript/PKGBUILD
+++ b/libre/gnu-ghostscript/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="An interpreter for the PostScript language created by the FSF"
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')
@@ -16,13 +16,18 @@ conflicts=${_pkgname}
replaces=${_pkgname}
provides=${_pkgname}
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