[arch-commits] Commit in gd/repos (5 files)

Ionut Biru ibiru at archlinux.org
Sun Feb 5 06:48:14 EST 2012


    Date: Sunday, February 5, 2012 @ 06:48:14
  Author: ibiru
Revision: 148723

db-move: moved gd from [testing] to [extra] (i686)

Added:
  gd/repos/extra-i686/PKGBUILD
    (from rev 148654, gd/repos/testing-i686/PKGBUILD)
  gd/repos/extra-i686/libpng14.patch
    (from rev 148654, gd/repos/testing-i686/libpng14.patch)
Deleted:
  gd/repos/extra-i686/PKGBUILD
  gd/repos/extra-i686/libpng14.patch
  gd/repos/testing-i686/

----------------+
 PKGBUILD       |   61 +++++++++++++++++++++++++++----------------------------
 libpng14.patch |   24 ++++++++++-----------
 2 files changed, 43 insertions(+), 42 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-02-05 11:48:11 UTC (rev 148722)
+++ extra-i686/PKGBUILD	2012-02-05 11:48:14 UTC (rev 148723)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
-
-pkgname=gd
-pkgver=2.0.36RC1
-pkgrel=4
-pkgdesc="Library for the dynamic creation of images by programmers"
-arch=('i686' 'x86_64')
-url="http://www.libgd.org/"
-license=('custom')
-depends=('perl' 'libpng' 'fontconfig' 'libjpeg')
-options=('!libtool')
-source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
-        'libpng14.patch')
-md5sums=('e876979ca3130623a4e7866d9579171a'
-         '7921556f4960e8d66cf4fb67ea7101b5')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  patch -Np1 -i ${srcdir}/libpng14.patch
-  ./configure --prefix=/usr --without-xpm
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-}

Copied: gd/repos/extra-i686/PKGBUILD (from rev 148654, gd/repos/testing-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-02-05 11:48:14 UTC (rev 148723)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+
+pkgname=gd
+pkgver=2.0.36RC1
+pkgrel=5
+pkgdesc="Library for the dynamic creation of images by programmers"
+arch=('i686' 'x86_64')
+url="http://www.libgd.org/"
+license=('custom')
+depends=('libpng' 'fontconfig' 'libjpeg')
+optdepends=('perl: bdftogd script')
+options=('!libtool')
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+        'libpng14.patch')
+md5sums=('e876979ca3130623a4e7866d9579171a'
+         '7921556f4960e8d66cf4fb67ea7101b5')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  patch -Np1 -i ${srcdir}/libpng14.patch
+  ./configure --prefix=/usr --without-xpm
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: extra-i686/libpng14.patch
===================================================================
--- extra-i686/libpng14.patch	2012-02-05 11:48:11 UTC (rev 148722)
+++ extra-i686/libpng14.patch	2012-02-05 11:48:14 UTC (rev 148723)
@@ -1,12 +0,0 @@
-diff -Nur gd-2.0.36RC1.orig/gd_png.c gd-2.0.36RC1/gd_png.c
---- gd-2.0.36RC1.orig/gd_png.c	2007-11-27 10:30:34.000000000 +0200
-+++ gd-2.0.36RC1/gd_png.c	2010-01-17 17:14:11.000000000 +0200
-@@ -151,7 +151,7 @@
- 	return NULL;
-   }
- 
--	if (!png_check_sig (sig, 8)) { /* bad signature */
-+	if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
-     	return NULL;		/* bad signature */
- 	}
- 

Copied: gd/repos/extra-i686/libpng14.patch (from rev 148654, gd/repos/testing-i686/libpng14.patch)
===================================================================
--- extra-i686/libpng14.patch	                        (rev 0)
+++ extra-i686/libpng14.patch	2012-02-05 11:48:14 UTC (rev 148723)
@@ -0,0 +1,12 @@
+diff -Nur gd-2.0.36RC1.orig/gd_png.c gd-2.0.36RC1/gd_png.c
+--- gd-2.0.36RC1.orig/gd_png.c	2007-11-27 10:30:34.000000000 +0200
++++ gd-2.0.36RC1/gd_png.c	2010-01-17 17:14:11.000000000 +0200
+@@ -151,7 +151,7 @@
+ 	return NULL;
+   }
+ 
+-	if (!png_check_sig (sig, 8)) { /* bad signature */
++	if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
+     	return NULL;		/* bad signature */
+ 	}
+ 



More information about the arch-commits mailing list