summaryrefslogtreecommitdiff
path: root/extra/imlib
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-18 03:52:05 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-18 03:52:05 +0000
commit423ae5a5a1cd103d57b8cb52279533b3011f42d8 (patch)
tree0816754beb383cc3d3b45b501150f48ea42b1377 /extra/imlib
parent313040c7029fd0c36db63d7effbb974fd348389c (diff)
Sun May 18 03:42:25 UTC 2014
Diffstat (limited to 'extra/imlib')
-rw-r--r--extra/imlib/PKGBUILD12
-rw-r--r--extra/imlib/imlib-gtk.patch14
2 files changed, 21 insertions, 5 deletions
diff --git a/extra/imlib/PKGBUILD b/extra/imlib/PKGBUILD
index af3f9f544..feb2a6e91 100644
--- a/extra/imlib/PKGBUILD
+++ b/extra/imlib/PKGBUILD
@@ -1,24 +1,25 @@
-# $Id: PKGBUILD 198111 2013-10-30 12:51:24Z allan $
+# $Id: PKGBUILD 213047 2014-05-17 19:10:09Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=imlib
pkgver=1.9.15
-pkgrel=13
+pkgrel=14
pkgdesc="General image handling library for X11 and Gtk"
arch=('i686' 'x86_64')
url="http://freshmeat.net/projects/imlib/"
license=('GPL')
-depends=('gtk' 'giflib' 'libpng' 'libtiff')
+depends=('giflib' 'libpng' 'libtiff' 'libxext')
makedepends=('libxt')
source=(http://ftp.gnome.org/pub/GNOME/sources/imlib/1.9/${pkgname}-${pkgver}.tar.bz2
debian-bug448360.patch CAN-2004-1026.patch aclocal-fixes.patch
- imlib-1.9.15-libpng15.patch imlib-giflib5.patch)
+ imlib-1.9.15-libpng15.patch imlib-giflib5.patch imlib-gtk.patch)
sha1sums=('c9a732a354fbb3c7e1a426e5d19fc92d73f8f720'
'fe2fd9ce4d7bc62271e724153de39012de8ec5ee'
'ec1b47281c1a7fb21abe841f948ecc56ed13f310'
'af54cb1ee0c8c6122b277284ebdd1022e31df3b5'
'33c3aaa43eb624f2a6ab0406285a8515903333e3'
- '56e9d65e05a347452fd608d2dfc8538f7ce09893')
+ '56e9d65e05a347452fd608d2dfc8538f7ce09893'
+ '7cf962f8d7488200910ba4bdee00473f035b054a')
prepare() {
cd ${pkgname}-${pkgver}
@@ -27,6 +28,7 @@ prepare() {
patch -p0 -i "${srcdir}/aclocal-fixes.patch"
patch -p0 -i "${srcdir}/imlib-1.9.15-libpng15.patch"
patch -p1 -i "${srcdir}/imlib-giflib5.patch"
+ patch -p1 -i "${srcdir}/imlib-gtk.patch"
sed '/AC_PATH_XTRA/d' -i configure.in
libtoolize --force
cp /usr/bin/libtool .
diff --git a/extra/imlib/imlib-gtk.patch b/extra/imlib/imlib-gtk.patch
new file mode 100644
index 000000000..c6e4fb618
--- /dev/null
+++ b/extra/imlib/imlib-gtk.patch
@@ -0,0 +1,14 @@
+--- a/configure.in 2014-04-12 17:46:28.459612102 +0200
++++ b/configure.in 2014-04-12 17:46:33.926347877 +0200
+@@ -17,11 +17,6 @@
+ dnl incase it is broken for example.
+ AC_ARG_ENABLE(shm, [ --enable-shm support shared memory if available [default=yes]], echo $enable_shm, enable_shm="yes")
+
+-AM_PATH_GTK(1.2.1,[
+- GDK_IMLIB="gdk_imlib utils"],[
+- GDK_IMLIB=""
+- AC_MSG_WARN([*** gdk_imlib will not be built ***])])
+-
+ AC_MSG_CHECKING(whether to build gmodulized imlib)
+
+ AC_ARG_ENABLE(modules, [ --disable-modules Disables dynamic module loading],[