Hello community, here is the log from the commit of package img2eps for openSUSE:Factory checked in at Tue Apr 13 22:19:45 CEST 2010. -------- --- img2eps/img2eps.changes 2006-01-25 21:36:36.000000000 +0100 +++ /mounts/work_src_done/STABLE/img2eps/img2eps.changes 2010-04-08 11:40:55.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Apr 8 11:42:00 CEST 2010 - pgajdos@suse.cz + +- fixed build with libpng14 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- libpng14.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ img2eps.spec ++++++ --- /var/tmp/diff_new_pack.pUv9BW/_old 2010-04-13 22:19:29.000000000 +0200 +++ /var/tmp/diff_new_pack.pUv9BW/_new 2010-04-13 22:19:29.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package img2eps (Version 0.2) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,14 +22,15 @@ BuildRequires: libpng-devel libtiff-devel Url: http://www.nih.at/img2eps/ Version: 0.2 -Release: 136 -License: BSD 3-Clause +Release: 137 +License: BSD3c Group: Productivity/Publishing/TeX/Utilities Summary: Bitmap Image to Encapsulated PostScript Converter BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: img2eps-%{version}.tar.bz2 Patch0: compress-params.diff Patch1: man.diff +Patch2: libpng14.diff %description Converts bitmap images in the formats PNG, JPEG, and TIFF to @@ -46,6 +47,7 @@ %setup -q %patch0 %patch1 +%patch2 -p1 %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -D_GNU_SOURCE" ++++++ libpng14.diff ++++++ Index: img2eps-0.2/src/im_png.c =================================================================== --- img2eps-0.2.orig/src/im_png.c +++ img2eps-0.2/src/im_png.c @@ -273,7 +273,7 @@ png_read_start(image_png *im) if (im->im.oi.cspace.depth != im->im.i.cspace.depth) { if (im->im.oi.cspace.type == IMAGE_CS_GRAY && im->im.oi.cspace.depth /* XXX ?! */) - png_set_gray_1_2_4_to_8(im->png); + png_set_expand_gray_1_2_4_to_8(im->png); else if (im->im.oi.cspace.depth == 16) png_set_strip_16(im->png); } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org