packages: libpng/libpng.spec, libpng/libpng-read-dither.patch (NEW) - rel 2...

arekm arekm at pld-linux.org
Fri Jan 29 23:43:13 CET 2010


Author: arekm                        Date: Fri Jan 29 22:43:13 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2; enable read dither

---- Files affected:
packages/libpng:
   libpng.spec (1.178 -> 1.179) , libpng-read-dither.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libpng/libpng.spec
diff -u packages/libpng/libpng.spec:1.178 packages/libpng/libpng.spec:1.179
--- packages/libpng/libpng.spec:1.178	Thu Jan 28 11:22:59 2010
+++ packages/libpng/libpng.spec	Fri Jan 29 23:43:07 2010
@@ -8,7 +8,7 @@
 Summary(tr.UTF-8):	PNG kitaplığı
 Name:		libpng
 Version:	1.4.0
-Release:	1
+Release:	2
 Epoch:		2
 License:	distributable
 Group:		Libraries
@@ -17,6 +17,7 @@
 Patch0:		%{name}-pngminus.patch
 # http://littlesvr.ca/apng/diff/%{name}-%{version}-apng.patch | dos2unix
 Patch1:		%{name}-apng.patch
+Patch2:		%{name}-read-dither.patch
 URL:		http://www.libpng.org/pub/png/libpng.html
 BuildRequires:	rpmbuild(macros) >= 1.213
 BuildRequires:	xz >= 1:4.999.7
@@ -141,6 +142,7 @@
 xzcat -dc %{SOURCE0} | tar xf - -C ..
 %patch0 -p1
 %patch1 -p0
+%patch2 -p1
 
 %build
 %configure
@@ -207,6 +209,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.179  2010/01/29 22:43:07  arekm
+- rel 2; enable read dither
+
 Revision 1.178  2010/01/28 10:22:59  arekm
 - rel 1
 

================================================================
Index: packages/libpng/libpng-read-dither.patch
diff -u /dev/null packages/libpng/libpng-read-dither.patch:1.1
--- /dev/null	Fri Jan 29 23:43:13 2010
+++ packages/libpng/libpng-read-dither.patch	Fri Jan 29 23:43:07 2010
@@ -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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libpng/libpng.spec?r1=1.178&r2=1.179&f=u



More information about the pld-cvs-commit mailing list