packages: pslib/pslib.spec, pslib/libpng14.patch (NEW) - libpng14 fix - upd...
glen
glen at pld-linux.org
Fri Jun 4 00:12:40 CEST 2010
Author: glen Date: Thu Jun 3 22:12:40 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- libpng14 fix
- update debian source url
---- Files affected:
packages/pslib:
pslib.spec (1.14 -> 1.15) , libpng14.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/pslib/pslib.spec
diff -u packages/pslib/pslib.spec:1.14 packages/pslib/pslib.spec:1.15
--- packages/pslib/pslib.spec:1.14 Fri Jun 4 00:00:53 2010
+++ packages/pslib/pslib.spec Fri Jun 4 00:12:35 2010
@@ -3,11 +3,12 @@
Summary(pl.UTF-8): Biblioteka do generowania w locie plików PostScript
Name: pslib
Version: 0.4.3
-Release: 1
+Release: 2
License: LGPL
Group: Libraries
-Source0: ftp://ftp.debian.org/pub/debian/pool/main/p/pslib/%{name}_%{version}.orig.tar.gz
+Source0: ftp://ftp.debian.org/debian/pool/main/p/pslib/%{name}_%{version}.orig.tar.gz
# Source0-md5: 595fbb551544522eba2d1a279922d870
+Patch0: libpng14.patch
URL: http://pslib.sourceforge.net/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -67,6 +68,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
@@ -116,6 +118,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2010/06/03 22:12:35 glen
+- libpng14 fix
+- update debian source url
+
Revision 1.14 2010/06/03 22:00:53 glen
- up to 0.4.3 using pslib sources
================================================================
Index: packages/pslib/libpng14.patch
diff -u /dev/null packages/pslib/libpng14.patch:1.1
--- /dev/null Fri Jun 4 00:12:40 2010
+++ packages/pslib/libpng14.patch Fri Jun 4 00:12:35 2010
@@ -0,0 +1,14 @@
+--- pslib-0.4.3/src/pslib.c~ 2009-03-05 21:47:18.000000000 +0200
++++ pslib-0.4.3/src/pslib.c 2010-06-04 01:04:20.437044498 +0300
+@@ -4603,7 +4603,11 @@
+
+ /* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */
+ if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
++#if PNG_LIBPNG_VER < 10400
+ png_set_gray_1_2_4_to_8(png_ptr);
++#else
++ png_set_expand_gray_1_2_4_to_8(png_ptr);
++#endif
+
+ png_read_update_info(png_ptr, info_ptr);
+ #else
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pslib/pslib.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list