[arch-commits] Commit in giflib/repos (6 files)

2013-07-30 Thread Bartłomiej Piotrowski
Date: Tuesday, July 30, 2013 @ 10:58:10
  Author: bpiotrowski
Revision: 191755

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  giflib/repos/staging-i686/PKGBUILD
(from rev 191754, giflib/trunk/PKGBUILD)
  giflib/repos/staging-i686/giflib-5.0.4-include-stddef.patch
(from rev 191754, giflib/trunk/giflib-5.0.4-include-stddef.patch)
  giflib/repos/staging-x86_64/PKGBUILD
(from rev 191754, giflib/trunk/PKGBUILD)
  giflib/repos/staging-x86_64/giflib-5.0.4-include-stddef.patch
(from rev 191754, giflib/trunk/giflib-5.0.4-include-stddef.patch)
Deleted:
  giflib/repos/staging-i686/PKGBUILD
  giflib/repos/staging-x86_64/PKGBUILD

--+
 /PKGBUILD|   82 +
 staging-i686/PKGBUILD|   42 --
 staging-i686/giflib-5.0.4-include-stddef.patch   |   11 ++
 staging-x86_64/PKGBUILD  |   42 --
 staging-x86_64/giflib-5.0.4-include-stddef.patch |   11 ++
 5 files changed, 104 insertions(+), 84 deletions(-)

Deleted: staging-i686/PKGBUILD
===
--- staging-i686/PKGBUILD   2013-07-30 08:57:52 UTC (rev 191754)
+++ staging-i686/PKGBUILD   2013-07-30 08:58:10 UTC (rev 191755)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot j...@archlinux.org
-# Contributor: Baptiste Daroussin baptiste.darous...@gmail.com
-# Contributor: Grigorios Bouzakis grbzks[at]gmail[dot]com
-# Contributor: mightyjaym jm.ambros...@free.fr
-
-pkgname=giflib
-pkgver=5.0.4
-pkgrel=1
-pkgdesc=A library for reading and writing gif images
-url=http://sourceforge.net/projects/giflib/;
-arch=('i686' 'x86_64')
-license=('MIT')
-depends=('libx11')
-makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
-provides=(libungif=${pkgver})
-conflicts=('libungif')
-replaces=('libungif')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/giflib/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('da60935d07374de00a78c2f6f720c8f5')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr --disable-static
-  make
-
-  # libungif compatibility - instructions taken from Redhat specfile
-  MAJOR=`echo ${pkgver} | sed 's/\([0-9]\+\)\..*/\1/'`
-  gcc -shared -Wl,-soname,libungif.so.${MAJOR} -Llib/.libs -lgif -o 
libungif.so.${pkgver}
-}
-
-package() {
-  cd ${pkgname}-${pkgver} 
-  make DESTDIR=${pkgdir} install
-
-  install -m755 libungif.so.${pkgver} ${pkgdir}/usr/lib/
-  ln -sf libungif.so.${pkgver} ${pkgdir}/usr/lib/libungif.so.4
-  ln -sf libungif.so.4 ${pkgdir}/usr/lib/libungif.so
-
-  install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
-}

Copied: giflib/repos/staging-i686/PKGBUILD (from rev 191754, 
giflib/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2013-07-30 08:58:10 UTC (rev 191755)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+# Contributor: Baptiste Daroussin baptiste.darous...@gmail.com
+# Contributor: Grigorios Bouzakis grbzks[at]gmail[dot]com
+# Contributor: mightyjaym jm.ambros...@free.fr
+
+pkgname=giflib
+pkgver=5.0.4
+pkgrel=2
+pkgdesc=A library for reading and writing gif images
+url=http://sourceforge.net/projects/giflib/;
+arch=('i686' 'x86_64')
+license=('MIT')
+depends=('libx11')
+makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
+provides=(libungif=${pkgver})
+conflicts=('libungif')
+replaces=('libungif')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/sourceforge/giflib/${pkgname}-${pkgver}.tar.bz2
+giflib-5.0.4-include-stddef.patch)
+md5sums=('da60935d07374de00a78c2f6f720c8f5'
+ 'e39b98822334f2bd2009469e5dea65c5')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../giflib-5.0.4-include-stddef.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver} 
+  make DESTDIR=${pkgdir} install
+
+  install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+}

Copied: giflib/repos/staging-i686/giflib-5.0.4-include-stddef.patch (from rev 
191754, giflib/trunk/giflib-5.0.4-include-stddef.patch)
===
--- staging-i686/giflib-5.0.4-include-stddef.patch  
(rev 0)
+++ staging-i686/giflib-5.0.4-include-stddef.patch  2013-07-30 08:58:10 UTC 
(rev 191755)
@@ -0,0 +1,11 @@
+diff -rupN a/lib/gif_lib.h b/lib/gif_lib.h
+--- a/lib/gif_lib.h2013-01-06 07:29:57.0 +0100
 b/lib/gif_lib.h2013-07-30 10:52:47.611034000 +0200
+@@ -19,6 +19,7 @@ extern C {
+ #define GIF_OK  1
+ 
+ #include stdbool.h
++#include stddef.h
+ 
+ #define GIF_STAMP GIFVER  /* First chars in file - GIF stamp.  */
+ #define GIF_STAMP_LEN sizeof(GIF_STAMP) - 1

Deleted: 

[arch-commits] Commit in giflib/repos (6 files)

2013-07-29 Thread Bartłomiej Piotrowski
Date: Monday, July 29, 2013 @ 18:35:34
  Author: bpiotrowski
Revision: 191721

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  giflib/repos/staging-i686/PKGBUILD
(from rev 191720, giflib/trunk/PKGBUILD)
  giflib/repos/staging-i686/giflib-4.2.1-quantize.patch
(from rev 191720, giflib/trunk/giflib-4.2.1-quantize.patch)
  giflib/repos/staging-x86_64/PKGBUILD
(from rev 191720, giflib/trunk/PKGBUILD)
  giflib/repos/staging-x86_64/giflib-4.2.1-quantize.patch
(from rev 191720, giflib/trunk/giflib-4.2.1-quantize.patch)
Deleted:
  giflib/repos/staging-i686/PKGBUILD
  giflib/repos/staging-x86_64/PKGBUILD

+
 /PKGBUILD  |   84 +++
 staging-i686/PKGBUILD  |   44 -
 staging-i686/giflib-4.2.1-quantize.patch   |  679 +++
 staging-x86_64/PKGBUILD|   44 -
 staging-x86_64/giflib-4.2.1-quantize.patch |  679 +++
 5 files changed, 1442 insertions(+), 88 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 191720:191721 to see the changes.


[arch-commits] Commit in giflib/repos (6 files)

2013-06-03 Thread Bartłomiej Piotrowski
Date: Monday, June 3, 2013 @ 09:04:28
  Author: bpiotrowski
Revision: 187002

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  giflib/repos/extra-i686/PKGBUILD
(from rev 187001, giflib/trunk/PKGBUILD)
  giflib/repos/extra-i686/giflib-4.2.1-quantize.patch
(from rev 187001, giflib/trunk/giflib-4.2.1-quantize.patch)
  giflib/repos/extra-x86_64/PKGBUILD
(from rev 187001, giflib/trunk/PKGBUILD)
  giflib/repos/extra-x86_64/giflib-4.2.1-quantize.patch
(from rev 187001, giflib/trunk/giflib-4.2.1-quantize.patch)
Deleted:
  giflib/repos/extra-i686/PKGBUILD
  giflib/repos/extra-x86_64/PKGBUILD

--+
 /PKGBUILD|  102 +++
 extra-i686/PKGBUILD  |   48 ---
 extra-i686/giflib-4.2.1-quantize.patch   |  404 +
 extra-x86_64/PKGBUILD|   48 ---
 extra-x86_64/giflib-4.2.1-quantize.patch |  404 +
 5 files changed, 910 insertions(+), 96 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 187001:187002 to see the changes.