[arch-commits] Commit in gif2png/repos (6 files)
Giovanni Scafora
giovanni at archlinux.org
Thu Mar 8 12:06:57 UTC 2012
Date: Thursday, March 8, 2012 @ 07:06:57
Author: giovanni
Revision: 152669
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
gif2png/repos/extra-i686/PKGBUILD
(from rev 152668, gif2png/trunk/PKGBUILD)
gif2png/repos/extra-x86_64/PKGBUILD
(from rev 152668, gif2png/trunk/PKGBUILD)
Deleted:
gif2png/repos/extra-i686/PKGBUILD
gif2png/repos/extra-i686/gif2png-2.5.5-libpng15.patch
gif2png/repos/extra-x86_64/PKGBUILD
gif2png/repos/extra-x86_64/gif2png-2.5.5-libpng15.patch
-------------------------------------------+
extra-i686/PKGBUILD | 69 +++++++++++++---------------
extra-i686/gif2png-2.5.5-libpng15.patch | 41 ----------------
extra-x86_64/PKGBUILD | 69 +++++++++++++---------------
extra-x86_64/gif2png-2.5.5-libpng15.patch | 41 ----------------
4 files changed, 66 insertions(+), 154 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-03-08 12:06:31 UTC (rev 152668)
+++ extra-i686/PKGBUILD 2012-03-08 12:06:57 UTC (rev 152669)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: eric <eric at archlinux.org>
-# Contributor: Andrew Rose <ody at netrux.com>
-
-pkgname=gif2png
-pkgver=2.5.5
-pkgrel=1
-pkgdesc="A GIF to PNG image format converter"
-arch=('i686' 'x86_64')
-url="http://www.catb.org/~esr/gif2png/"
-license=('ZLIB')
-depends=('libpng')
-optdepends=('python2: for using web2png')
-source=("http://www.catb.org/~esr/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- 'gif2png-2.5.5-libpng15.patch')
-md5sums=('cfb4c003966866b6069d3707bfb12435'
- '5b3467b97157f9a7978a230b934bc488')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- sed -i 's#env python#env python2#' web2png
- patch -Np1 -i ${srcdir}/gif2png-2.5.5-libpng15.patch
-
- ./configure --prefix=/usr \
- --mandir=/usr/share/man
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: gif2png/repos/extra-i686/PKGBUILD (from rev 152668, gif2png/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-03-08 12:06:57 UTC (rev 152669)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: eric <eric at archlinux.org>
+# Contributor: Andrew Rose <ody at netrux.com>
+
+pkgname=gif2png
+pkgver=2.5.6
+pkgrel=1
+pkgdesc="A GIF to PNG image format converter"
+arch=('i686' 'x86_64')
+url="http://www.catb.org/~esr/gif2png/"
+license=('ZLIB')
+depends=('libpng')
+optdepends=('python2: for using web2png')
+source=("http://www.catb.org/~esr/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('47f74725311f9293e8a8d8c44ddc08c9')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ sed -i 's#env python#env python2#' web2png
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+}
Deleted: extra-i686/gif2png-2.5.5-libpng15.patch
===================================================================
--- extra-i686/gif2png-2.5.5-libpng15.patch 2012-03-08 12:06:31 UTC (rev 152668)
+++ extra-i686/gif2png-2.5.5-libpng15.patch 2012-03-08 12:06:57 UTC (rev 152669)
@@ -1,41 +0,0 @@
---- a/gif2png.c 2012-01-29 00:02:06.000000000 +0100
-+++ b/gif2png.c 2012-02-06 00:49:14.000000000 +0100
-@@ -12,6 +12,7 @@
- #include <unistd.h> /* for isatty() */
- #include <sys/stat.h>
- #include <utime.h>
-+#include <zlib.h>
-
- #if !defined(TRUE)
- #define FALSE 0
-@@ -122,8 +123,8 @@
- int colors_used = 0;
- byte remap[MAXCMSIZE];
- int low_prec;
-- png_struct *png_ptr = xalloc(sizeof (png_struct));
-- png_info *info_ptr = xalloc(sizeof (png_info));
-+ png_struct *png_ptr;
-+ png_info *info_ptr;
- int p;
- int gray_bitdepth;
- png_color pal_rgb[MAXCMSIZE], *pltep;
-@@ -138,6 +139,19 @@
- png_text software;
- png_text comment;
-
-+ png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
-+ if (png_ptr == NULL) {
-+ fprintf(stderr, "gif2png: fatal error, out of memory\n");
-+ fprintf(stderr, "gif2png: exiting ungracefully\n");
-+ exit(1);
-+ }
-+ info_ptr = png_create_info_struct(png_ptr);
-+ if (info_ptr == NULL) {
-+ fprintf(stderr, "gif2png: fatal error, out of memory\n");
-+ fprintf(stderr, "gif2png: exiting ungracefully\n");
-+ exit(1);
-+ }
-+
- /* these volatile declarations prevent gcc warnings ("variable might be
- * clobbered by `longjmp' or `vfork'") */
- volatile int gray = TRUE;
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-03-08 12:06:31 UTC (rev 152668)
+++ extra-x86_64/PKGBUILD 2012-03-08 12:06:57 UTC (rev 152669)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: eric <eric at archlinux.org>
-# Contributor: Andrew Rose <ody at netrux.com>
-
-pkgname=gif2png
-pkgver=2.5.5
-pkgrel=1
-pkgdesc="A GIF to PNG image format converter"
-arch=('i686' 'x86_64')
-url="http://www.catb.org/~esr/gif2png/"
-license=('ZLIB')
-depends=('libpng')
-optdepends=('python2: for using web2png')
-source=("http://www.catb.org/~esr/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- 'gif2png-2.5.5-libpng15.patch')
-md5sums=('cfb4c003966866b6069d3707bfb12435'
- '5b3467b97157f9a7978a230b934bc488')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- sed -i 's#env python#env python2#' web2png
- patch -Np1 -i ${srcdir}/gif2png-2.5.5-libpng15.patch
-
- ./configure --prefix=/usr \
- --mandir=/usr/share/man
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: gif2png/repos/extra-x86_64/PKGBUILD (from rev 152668, gif2png/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-03-08 12:06:57 UTC (rev 152669)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: eric <eric at archlinux.org>
+# Contributor: Andrew Rose <ody at netrux.com>
+
+pkgname=gif2png
+pkgver=2.5.6
+pkgrel=1
+pkgdesc="A GIF to PNG image format converter"
+arch=('i686' 'x86_64')
+url="http://www.catb.org/~esr/gif2png/"
+license=('ZLIB')
+depends=('libpng')
+optdepends=('python2: for using web2png')
+source=("http://www.catb.org/~esr/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('47f74725311f9293e8a8d8c44ddc08c9')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ sed -i 's#env python#env python2#' web2png
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+}
Deleted: extra-x86_64/gif2png-2.5.5-libpng15.patch
===================================================================
--- extra-x86_64/gif2png-2.5.5-libpng15.patch 2012-03-08 12:06:31 UTC (rev 152668)
+++ extra-x86_64/gif2png-2.5.5-libpng15.patch 2012-03-08 12:06:57 UTC (rev 152669)
@@ -1,41 +0,0 @@
---- a/gif2png.c 2012-01-29 00:02:06.000000000 +0100
-+++ b/gif2png.c 2012-02-06 00:49:14.000000000 +0100
-@@ -12,6 +12,7 @@
- #include <unistd.h> /* for isatty() */
- #include <sys/stat.h>
- #include <utime.h>
-+#include <zlib.h>
-
- #if !defined(TRUE)
- #define FALSE 0
-@@ -122,8 +123,8 @@
- int colors_used = 0;
- byte remap[MAXCMSIZE];
- int low_prec;
-- png_struct *png_ptr = xalloc(sizeof (png_struct));
-- png_info *info_ptr = xalloc(sizeof (png_info));
-+ png_struct *png_ptr;
-+ png_info *info_ptr;
- int p;
- int gray_bitdepth;
- png_color pal_rgb[MAXCMSIZE], *pltep;
-@@ -138,6 +139,19 @@
- png_text software;
- png_text comment;
-
-+ png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
-+ if (png_ptr == NULL) {
-+ fprintf(stderr, "gif2png: fatal error, out of memory\n");
-+ fprintf(stderr, "gif2png: exiting ungracefully\n");
-+ exit(1);
-+ }
-+ info_ptr = png_create_info_struct(png_ptr);
-+ if (info_ptr == NULL) {
-+ fprintf(stderr, "gif2png: fatal error, out of memory\n");
-+ fprintf(stderr, "gif2png: exiting ungracefully\n");
-+ exit(1);
-+ }
-+
- /* these volatile declarations prevent gcc warnings ("variable might be
- * clobbered by `longjmp' or `vfork'") */
- volatile int gray = TRUE;
More information about the arch-commits
mailing list