summaryrefslogtreecommitdiff
path: root/community/gnustep-gui
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/gnustep-gui
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/gnustep-gui')
-rw-r--r--community/gnustep-gui/ChangeLog2
-rw-r--r--community/gnustep-gui/PKGBUILD36
-rw-r--r--community/gnustep-gui/giflib-5.0.patch21
3 files changed, 59 insertions, 0 deletions
diff --git a/community/gnustep-gui/ChangeLog b/community/gnustep-gui/ChangeLog
new file mode 100644
index 000000000..15622ab88
--- /dev/null
+++ b/community/gnustep-gui/ChangeLog
@@ -0,0 +1,2 @@
+2007-06-27 tardo <tardo@nagi-fanboi.net>
+* version upgrade
diff --git a/community/gnustep-gui/PKGBUILD b/community/gnustep-gui/PKGBUILD
new file mode 100644
index 000000000..cc5da7906
--- /dev/null
+++ b/community/gnustep-gui/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 94925 2013-08-01 07:01:18Z bpiotrowski $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
+# Contributor: Sebastian Sareyko <public@nooms.de>
+
+pkgname=gnustep-gui
+pkgver=0.23.1
+pkgrel=2
+pkgdesc="The GNUstep GUI class library"
+arch=('i686' 'x86_64')
+url="http://www.gnustep.org/"
+license=('LGPL')
+depends=('gnustep-back' 'libungif' 'aspell' 'gcc-libs' 'libcups' 'audiofile' 'libsndfile' 'giflib' 'libao')
+makedepends=('gcc-objc' 'gnustep-base' 'gnustep-make')
+conflicts=('gnustep-gui-svn')
+groups=('gnustep-core')
+options=('!makeflags')
+source=(ftp://ftp.gnustep.org/pub/gnustep/core/$pkgname-$pkgver.tar.gz
+ giflib-5.0.patch)
+md5sums=('1771bdb42f27ee946b17bf60fef5eb2e'
+ 'b998c0bc3e2bc260c2779d7a50ce6407')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ . /etc/profile.d/GNUstep.sh
+ ./configure --prefix=/usr --sysconfdir=/etc/GNUstep
+ sed -i 's|#include "GNUstepBase/preface.h"|//#include "GNUstepBase/preface.h" |' Source/GSGuiPrivate.h
+ sed -i 's|png_sizeof|sizeof|g' Source/NSBitmapImageRep+PNG.m
+ patch -Np1 -i ../giflib-5.0.patch
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
diff --git a/community/gnustep-gui/giflib-5.0.patch b/community/gnustep-gui/giflib-5.0.patch
new file mode 100644
index 000000000..3d8a32d27
--- /dev/null
+++ b/community/gnustep-gui/giflib-5.0.patch
@@ -0,0 +1,21 @@
+diff -rupN a/Source/NSBitmapImageRep+GIF.m b/Source/NSBitmapImageRep+GIF.m
+--- a/Source/NSBitmapImageRep+GIF.m 2013-01-13 14:57:37.000000000 +0100
++++ b/Source/NSBitmapImageRep+GIF.m 2013-07-30 11:30:19.630935640 +0200
+@@ -142,7 +142,7 @@ static int gs_gif_output(GifFileType *fi
+ }
+
+ gs_gif_init_input_source(&src, imageData);
+- file = DGifOpen(&src, gs_gif_input);
++ file = DGifOpen(&src, gs_gif_input, NULL);
+ if (file == NULL)
+ {
+ /* we do not use giferror here because it doesn't
+@@ -216,7 +216,7 @@ static int gs_gif_output(GifFileType *fi
+
+ /* open the image */
+ gs_gif_init_input_source(&src, imageData);
+- file = DGifOpen(&src, gs_gif_input);
++ file = DGifOpen(&src, gs_gif_input, NULL);
+ if (file == NULL)
+ {
+ /* we do not use giferror here because it doesn't