[arch-commits] Commit in libpng/repos (3 files)

Eric Bélanger eric at archlinux.org
Wed Jan 27 21:23:52 EST 2010


    Date: Wednesday, January 27, 2010 @ 21:23:51
  Author: eric
Revision: 65331

Merged revisions 65330 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/libpng/trunk

........
  r65330 | eric | 2010-01-27 21:23:17 -0500 (Wed, 27 Jan 2010) | 2 lines
  
  upgpkg: libpng 1.4.0-2
      Enabling read dither support - needed for xfig and transfig
........

Added:
  libpng/repos/testing-i686/libpng14-enable-read-dither.patch
    (from rev 65330, libpng/trunk/libpng14-enable-read-dither.patch)
Modified:
  libpng/repos/testing-i686/	(properties)
  libpng/repos/testing-i686/PKGBUILD

-----------------------------------+
 PKGBUILD                          |   13 +++++++++----
 libpng14-enable-read-dither.patch |   15 +++++++++++++++
 2 files changed, 24 insertions(+), 4 deletions(-)


Property changes on: libpng/repos/testing-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /libpng/trunk:1-63233
   + /libpng/trunk:1-65330

Modified: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2010-01-28 02:23:17 UTC (rev 65330)
+++ testing-i686/PKGBUILD	2010-01-28 02:23:51 UTC (rev 65331)
@@ -5,7 +5,7 @@
 
 pkgname=libpng
 pkgver=1.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A collection of routines used to create PNG format graphics files"
 arch=('i686' 'x86_64')
 url="http://www.libpng.org/pub/png/libpng.html"
@@ -13,9 +13,12 @@
 depends=('zlib')
 options=('!libtool')
 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2
-        http://downloads.sourceforge.net/sourceforge/libpng-apng/libpng-${pkgver}-apng.patch.gz)
-md5sums=('fd73b764e92c711c219d766d03889b64'
-         '1a1a1ac18b7c4a23aa9b1441f2c0f2e9')
+        http://downloads.sourceforge.net/sourceforge/libpng-apng/libpng-${pkgver}-apng.patch.gz
+	libpng14-enable-read-dither.patch)
+md5sums=('fd73b764e92c711c219d766d03889b64' '1a1a1ac18b7c4a23aa9b1441f2c0f2e9'\
+         'd4696db4af61b175b705f51aeb9c8d7e')
+sha1sums=('886d651394024b5cab7e9cb5afac41b391f1ccd2' '9c47d62e4ea6e774e008abf4cf8df3461b39fe5d'\
+         'ac26267be933abb0f5fbfe632bac22cc5ed4de49')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -24,6 +27,8 @@
   # see http://hp.vector.co.jp/authors/VA013651/freeSoftware/apng.html
   patch -p1 -i "${srcdir}/libpng-${pkgver}-apng.patch" || return 1
 
+  patch -p1 -i "${srcdir}/libpng14-enable-read-dither.patch" || return 1
+
   libtoolize --force --copy || return 1
   aclocal || return 1
   autoconf || return 1

Copied: libpng/repos/testing-i686/libpng14-enable-read-dither.patch (from rev 65330, libpng/trunk/libpng14-enable-read-dither.patch)
===================================================================
--- testing-i686/libpng14-enable-read-dither.patch	                        (rev 0)
+++ testing-i686/libpng14-enable-read-dither.patch	2010-01-28 02:23:51 UTC (rev 65331)
@@ -0,0 +1,15 @@
+diff -Naur libpng-1.4.0-orig/pngconf.h libpng-1.4.0/pngconf.h
+--- libpng-1.4.0-orig/pngconf.h	2010-01-27 20:38:27.000000000 -0500
++++ libpng-1.4.0/pngconf.h	2010-01-27 20:44:44.000000000 -0500
+@@ -497,11 +497,9 @@
+ #  ifndef PNG_NO_READ_INVERT
+ #    define PNG_READ_INVERT_SUPPORTED
+ #  endif
+-#if 0 /* removed from libpng-1.4.0 */
+ #  ifndef PNG_NO_READ_DITHER
+ #    define PNG_READ_DITHER_SUPPORTED
+ #  endif
+-#endif /* 0 */
+ #  ifndef PNG_NO_READ_BACKGROUND
+ #    define PNG_READ_BACKGROUND_SUPPORTED
+ #  endif



More information about the arch-commits mailing list