[arch-commits] Commit in gd/repos (4 files)
Date: Thursday, August 11, 2016 @ 09:14:50 Author: pierre Revision: 273589 archrelease: copy trunk to extra-i686, extra-x86_64 Added: gd/repos/extra-i686/PKGBUILD (from rev 273588, gd/trunk/PKGBUILD) gd/repos/extra-x86_64/PKGBUILD (from rev 273588, gd/trunk/PKGBUILD) Deleted: gd/repos/extra-i686/PKGBUILD gd/repos/extra-x86_64/PKGBUILD ---+ /PKGBUILD | 66 extra-i686/PKGBUILD | 34 extra-x86_64/PKGBUILD | 34 3 files changed, 66 insertions(+), 68 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2016-08-11 09:14:34 UTC (rev 273588) +++ extra-i686/PKGBUILD 2016-08-11 09:14:50 UTC (rev 273589) @@ -1,34 +0,0 @@ -# $Id$ - -pkgname=gd -pkgver=2.2.3 -pkgrel=2 -pkgdesc="Library for the dynamic creation of images by programmers" -arch=('i686' 'x86_64') -url="http://www.libgd.org/"; -license=('custom') -depends=('fontconfig' 'libvpx' 'libxpm' 'libtiff' 'libwebp') -optdepends=('perl: bdftogd script') -source=("https://github.com/libgd/libgd/releases/download/gd-${pkgver}/libgd-${pkgver}.tar.xz";) -md5sums=('14e4134c129b4c166c3a0549a32ef340') - -build() { - cd libgd-${pkgver} - ./configure \ ---prefix=/usr \ ---disable-rpath \ ---with-vpx=/usr \ ---with-tiff=/usr - make -} - -check() { - cd libgd-${pkgver} - [[ ${CARCH} == 'i686' ]] || make check -} - -package() { - cd libgd-${pkgver} - make DESTDIR="${pkgdir}" install - install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: gd/repos/extra-i686/PKGBUILD (from rev 273588, gd/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2016-08-11 09:14:50 UTC (rev 273589) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Pierre Schmitz + +pkgname=gd +pkgver=2.2.3 +pkgrel=3 +pkgdesc="Library for the dynamic creation of images by programmers" +arch=('i686' 'x86_64') +url="http://www.libgd.org/"; +license=('custom') +depends=('fontconfig' 'libxpm' 'libwebp') +optdepends=('perl: bdftogd script') +source=("https://github.com/libgd/libgd/releases/download/gd-${pkgver}/libgd-${pkgver}.tar.xz";) +md5sums=('14e4134c129b4c166c3a0549a32ef340') + +build() { + cd libgd-${pkgver} + ./configure \ +--prefix=/usr \ +--disable-rpath + make +} + +check() { + cd libgd-${pkgver} + [[ ${CARCH} == 'i686' ]] || make check +} + +package() { + cd libgd-${pkgver} + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2016-08-11 09:14:34 UTC (rev 273588) +++ extra-x86_64/PKGBUILD 2016-08-11 09:14:50 UTC (rev 273589) @@ -1,34 +0,0 @@ -# $Id$ - -pkgname=gd -pkgver=2.2.3 -pkgrel=2 -pkgdesc="Library for the dynamic creation of images by programmers" -arch=('i686' 'x86_64') -url="http://www.libgd.org/"; -license=('custom') -depends=('fontconfig' 'libvpx' 'libxpm' 'libtiff' 'libwebp') -optdepends=('perl: bdftogd script') -source=("https://github.com/libgd/libgd/releases/download/gd-${pkgver}/libgd-${pkgver}.tar.xz";) -md5sums=('14e4134c129b4c166c3a0549a32ef340') - -build() { - cd libgd-${pkgver} - ./configure \ ---prefix=/usr \ ---disable-rpath \ ---with-vpx=/usr \ ---with-tiff=/usr - make -} - -check() { - cd libgd-${pkgver} - [[ ${CARCH} == 'i686' ]] || make check -} - -package() { - cd libgd-${pkgver} - make DESTDIR="${pkgdir}" install - install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: gd/repos/extra-x86_64/PKGBUILD (from rev 273588, gd/trunk/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2016-08-11 09:14:50 UTC (rev 273589) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Pierre Schmitz + +pkgname=gd +pkgver=2.2.3 +pkgrel=3 +pkgdesc="Library for the dynamic creation of images by programmers" +arch=('i686' 'x86_64') +url="http://www.libgd.org/"; +license=('custom') +depends=('fontconfig' 'libxpm' 'libwebp') +optdepends=('perl: bdftogd script') +source=("https://github.com/libgd/libgd/releases/download/gd-${pkgver}/libgd-${pkgver}.tar.xz";) +md5sums=('14e4134c129b4c166c3a0549a32ef340') + +build() { + cd libgd-${pkgver} + ./configure \ +--prefix=/usr \ +--disable-rpath + make +} + +check() { + cd libgd-${pkgver} + [[ ${CARCH} == 'i686' ]] || make check +} + +package() { + cd libgd-${pkgver} + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in gd/repos (4 files)
Date: Saturday, July 23, 2016 @ 11:34:15 Author: pierre Revision: 272169 archrelease: copy trunk to staging-i686, staging-x86_64 Added: gd/repos/staging-i686/ gd/repos/staging-i686/PKGBUILD (from rev 272168, gd/trunk/PKGBUILD) gd/repos/staging-x86_64/ gd/repos/staging-x86_64/PKGBUILD (from rev 272168, gd/trunk/PKGBUILD) -+ staging-i686/PKGBUILD | 34 ++ staging-x86_64/PKGBUILD | 34 ++ 2 files changed, 68 insertions(+) Copied: gd/repos/staging-i686/PKGBUILD (from rev 272168, gd/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2016-07-23 11:34:15 UTC (rev 272169) @@ -0,0 +1,34 @@ +# $Id$ + +pkgname=gd +pkgver=2.2.3 +pkgrel=2 +pkgdesc="Library for the dynamic creation of images by programmers" +arch=('i686' 'x86_64') +url="http://www.libgd.org/"; +license=('custom') +depends=('fontconfig' 'libvpx' 'libxpm' 'libtiff' 'libwebp') +optdepends=('perl: bdftogd script') +source=("https://github.com/libgd/libgd/releases/download/gd-${pkgver}/libgd-${pkgver}.tar.xz";) +md5sums=('14e4134c129b4c166c3a0549a32ef340') + +build() { + cd libgd-${pkgver} + ./configure \ +--prefix=/usr \ +--disable-rpath \ +--with-vpx=/usr \ +--with-tiff=/usr + make +} + +check() { + cd libgd-${pkgver} + [[ ${CARCH} == 'i686' ]] || make check +} + +package() { + cd libgd-${pkgver} + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Copied: gd/repos/staging-x86_64/PKGBUILD (from rev 272168, gd/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2016-07-23 11:34:15 UTC (rev 272169) @@ -0,0 +1,34 @@ +# $Id$ + +pkgname=gd +pkgver=2.2.3 +pkgrel=2 +pkgdesc="Library for the dynamic creation of images by programmers" +arch=('i686' 'x86_64') +url="http://www.libgd.org/"; +license=('custom') +depends=('fontconfig' 'libvpx' 'libxpm' 'libtiff' 'libwebp') +optdepends=('perl: bdftogd script') +source=("https://github.com/libgd/libgd/releases/download/gd-${pkgver}/libgd-${pkgver}.tar.xz";) +md5sums=('14e4134c129b4c166c3a0549a32ef340') + +build() { + cd libgd-${pkgver} + ./configure \ +--prefix=/usr \ +--disable-rpath \ +--with-vpx=/usr \ +--with-tiff=/usr + make +} + +check() { + cd libgd-${pkgver} + [[ ${CARCH} == 'i686' ]] || make check +} + +package() { + cd libgd-${pkgver} + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in gd/repos (4 files)
Date: Sunday, February 8, 2015 @ 09:47:36 Author: pierre Revision: 231132 archrelease: copy trunk to testing-i686, testing-x86_64 Added: gd/repos/testing-i686/ gd/repos/testing-i686/PKGBUILD (from rev 231131, gd/trunk/PKGBUILD) gd/repos/testing-x86_64/ gd/repos/testing-x86_64/PKGBUILD (from rev 231131, gd/trunk/PKGBUILD) -+ testing-i686/PKGBUILD | 36 testing-x86_64/PKGBUILD | 36 2 files changed, 72 insertions(+) Copied: gd/repos/testing-i686/PKGBUILD (from rev 231131, gd/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-02-08 08:47:36 UTC (rev 231132) @@ -0,0 +1,36 @@ +# $Id$ + +pkgname=gd +pkgver=2.1.1 +pkgrel=1 +pkgdesc="Library for the dynamic creation of images by programmers" +arch=('i686' 'x86_64') +url="http://www.libgd.org/"; +license=('custom') +depends=('fontconfig' 'libvpx' 'libxpm' 'libtiff') +makedepends=('git') +optdepends=('perl: bdftogd script') +source=("${pkgname}::git+https://github.com/libgd/libgd.git#tag=${pkgname}-${pkgver}";) +md5sums=('SKIP') + +build() { + cd ${pkgname} + ./bootstrap.sh + ./configure \ +--prefix=/usr \ +--disable-rpath \ +--with-vpx=/usr \ +--with-tiff=/usr + make +} + +check() { + cd ${pkgname} + make check +} + +package() { + cd ${pkgname} + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Copied: gd/repos/testing-x86_64/PKGBUILD (from rev 231131, gd/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-02-08 08:47:36 UTC (rev 231132) @@ -0,0 +1,36 @@ +# $Id$ + +pkgname=gd +pkgver=2.1.1 +pkgrel=1 +pkgdesc="Library for the dynamic creation of images by programmers" +arch=('i686' 'x86_64') +url="http://www.libgd.org/"; +license=('custom') +depends=('fontconfig' 'libvpx' 'libxpm' 'libtiff') +makedepends=('git') +optdepends=('perl: bdftogd script') +source=("${pkgname}::git+https://github.com/libgd/libgd.git#tag=${pkgname}-${pkgver}";) +md5sums=('SKIP') + +build() { + cd ${pkgname} + ./bootstrap.sh + ./configure \ +--prefix=/usr \ +--disable-rpath \ +--with-vpx=/usr \ +--with-tiff=/usr + make +} + +check() { + cd ${pkgname} + make check +} + +package() { + cd ${pkgname} + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in gd/repos (4 files)
Date: Friday, October 25, 2013 @ 05:14:56 Author: bisson Revision: 197382 archrelease: copy trunk to extra-i686, extra-x86_64 Added: gd/repos/extra-i686/PKGBUILD (from rev 197381, gd/trunk/PKGBUILD) gd/repos/extra-x86_64/PKGBUILD (from rev 197381, gd/trunk/PKGBUILD) Deleted: gd/repos/extra-i686/PKGBUILD gd/repos/extra-x86_64/PKGBUILD ---+ /PKGBUILD | 64 extra-i686/PKGBUILD | 32 extra-x86_64/PKGBUILD | 32 3 files changed, 64 insertions(+), 64 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2013-10-25 03:14:27 UTC (rev 197381) +++ extra-i686/PKGBUILD 2013-10-25 03:14:56 UTC (rev 197382) @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Eric Belanger - -pkgname=gd -pkgver=2.1.0 -pkgrel=1 -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=(https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${pkgver}.tar.xz) -md5sums=('03588159bf4faab9079849c8d709acc6') - -build() { - cd libgd-${pkgver} - ./configure --prefix=/usr --without-xpm - make -} - -check() { - cd libgd-${pkgver} - make check -} - -package() { - cd libgd-${pkgver} - make DESTDIR="${pkgdir}" install - install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: gd/repos/extra-i686/PKGBUILD (from rev 197381, gd/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2013-10-25 03:14:56 UTC (rev 197382) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Eric Belanger + +pkgname=gd +pkgver=2.1.0 +pkgrel=2 +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=(https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${pkgver}.tar.xz) +md5sums=('03588159bf4faab9079849c8d709acc6') + +build() { + cd libgd-${pkgver} + ./configure --prefix=/usr --without-xpm + make +} + +check() { + cd libgd-${pkgver} + make check +} + +package() { + cd libgd-${pkgver} + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2013-10-25 03:14:27 UTC (rev 197381) +++ extra-x86_64/PKGBUILD 2013-10-25 03:14:56 UTC (rev 197382) @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Eric Belanger - -pkgname=gd -pkgver=2.1.0 -pkgrel=1 -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=(https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${pkgver}.tar.xz) -md5sums=('03588159bf4faab9079849c8d709acc6') - -build() { - cd libgd-${pkgver} - ./configure --prefix=/usr --without-xpm - make -} - -check() { - cd libgd-${pkgver} - make check -} - -package() { - cd libgd-${pkgver} - make DESTDIR="${pkgdir}" install - install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: gd/repos/extra-x86_64/PKGBUILD (from rev 197381, gd/trunk/PKGBUILD) === --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2013-10-25 03:14:56 UTC (rev 197382) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Eric Belanger + +pkgname=gd +pkgver=2.1.0 +pkgrel=2 +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=(https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${pkgver}.tar.xz) +md5sums=('03588159bf4faab9079849c8d709acc6') + +build() { + cd libgd-${pkgver} + ./configure --prefix=/usr --without-xpm + make +} + +check() { + cd libgd-${pkgver} + make check +} + +package() { + cd libgd-${pkgver} + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in gd/repos (4 files)
Date: Thursday, July 4, 2013 @ 06:15:25 Author: eric Revision: 189653 archrelease: copy trunk to staging-i686, staging-x86_64 Added: gd/repos/staging-i686/ gd/repos/staging-i686/PKGBUILD (from rev 189652, gd/trunk/PKGBUILD) gd/repos/staging-x86_64/ gd/repos/staging-x86_64/PKGBUILD (from rev 189652, gd/trunk/PKGBUILD) -+ staging-i686/PKGBUILD | 32 staging-x86_64/PKGBUILD | 32 2 files changed, 64 insertions(+) Copied: gd/repos/staging-i686/PKGBUILD (from rev 189652, gd/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2013-07-04 04:15:25 UTC (rev 189653) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Eric Belanger + +pkgname=gd +pkgver=2.1.0 +pkgrel=1 +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=(https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${pkgver}.tar.xz) +md5sums=('03588159bf4faab9079849c8d709acc6') + +build() { + cd libgd-${pkgver} + ./configure --prefix=/usr --without-xpm + make +} + +check() { + cd libgd-${pkgver} + make check +} + +package() { + cd libgd-${pkgver} + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Copied: gd/repos/staging-x86_64/PKGBUILD (from rev 189652, gd/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2013-07-04 04:15:25 UTC (rev 189653) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Eric Belanger + +pkgname=gd +pkgver=2.1.0 +pkgrel=1 +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=(https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${pkgver}.tar.xz) +md5sums=('03588159bf4faab9079849c8d709acc6') + +build() { + cd libgd-${pkgver} + ./configure --prefix=/usr --without-xpm + make +} + +check() { + cd libgd-${pkgver} + make check +} + +package() { + cd libgd-${pkgver} + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}
[arch-commits] Commit in gd/repos (4 files)
Date: Monday, January 30, 2012 @ 13:46:00 Author: ibiru Revision: 148105 db-move: moved gd from [staging] to [testing] (x86_64) Added: gd/repos/testing-x86_64/ gd/repos/testing-x86_64/PKGBUILD (from rev 148047, gd/repos/staging-x86_64/PKGBUILD) gd/repos/testing-x86_64/libpng14.patch (from rev 148047, gd/repos/staging-x86_64/libpng14.patch) Deleted: gd/repos/staging-x86_64/ + PKGBUILD | 31 +++ libpng14.patch | 12 2 files changed, 43 insertions(+) Copied: gd/repos/testing-x86_64/PKGBUILD (from rev 148047, gd/repos/staging-x86_64/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-01-30 18:46:00 UTC (rev 148105) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Eric Belanger + +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" +} Copied: gd/repos/testing-x86_64/libpng14.patch (from rev 148047, gd/repos/staging-x86_64/libpng14.patch) === --- testing-x86_64/libpng14.patch (rev 0) +++ testing-x86_64/libpng14.patch 2012-01-30 18:46:00 UTC (rev 148105) @@ -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.0 +0200 gd-2.0.36RC1/gd_png.c 2010-01-17 17:14:11.0 +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 */ + } +
[arch-commits] Commit in gd/repos (4 files)
Date: Monday, January 30, 2012 @ 13:45:58 Author: ibiru Revision: 148104 db-move: moved gd from [staging] to [testing] (i686) Added: gd/repos/testing-i686/ gd/repos/testing-i686/PKGBUILD (from rev 148047, gd/repos/staging-i686/PKGBUILD) gd/repos/testing-i686/libpng14.patch (from rev 148047, gd/repos/staging-i686/libpng14.patch) Deleted: gd/repos/staging-i686/ + PKGBUILD | 31 +++ libpng14.patch | 12 2 files changed, 43 insertions(+) Copied: gd/repos/testing-i686/PKGBUILD (from rev 148047, gd/repos/staging-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-01-30 18:45:58 UTC (rev 148104) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Eric Belanger + +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" +} Copied: gd/repos/testing-i686/libpng14.patch (from rev 148047, gd/repos/staging-i686/libpng14.patch) === --- testing-i686/libpng14.patch (rev 0) +++ testing-i686/libpng14.patch 2012-01-30 18:45:58 UTC (rev 148104) @@ -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.0 +0200 gd-2.0.36RC1/gd_png.c 2010-01-17 17:14:11.0 +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 */ + } +