![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package netpbm for openSUSE:Factory checked in at 2017-12-23 12:18:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/netpbm (Old) and /work/SRC/openSUSE:Factory/.netpbm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "netpbm" Sat Dec 23 12:18:15 2017 rev:61 rq:558105 version:10.80.1 Changes: -------- --- /work/SRC/openSUSE:Factory/netpbm/netpbm.changes 2017-06-16 10:53:23.839206126 +0200 +++ /work/SRC/openSUSE:Factory/.netpbm.new/netpbm.changes 2017-12-23 12:18:19.934959800 +0100 @@ -1,0 +2,109 @@ +Mon Dec 18 13:30:51 UTC 2017 - pgajdos@suse.com + +- updated to 10.80.1 + * pnmtopalm: Refuse to create a compressed image with more than 8 + bits per pixel. + * pbmtext, libnetpbm font facilities: allow glyphs in font files + that have no bitmap data; just used for their advance value to + code a space. + * pbmtext: Improve error message when there is a problem reading + the font file. + * libnetpbm font facilities: consider font invalid if a glyph is + more than 65536 pixels high or wide. + * ppmshadow: handle images with a black background and low + contrast images (i.e. little difference between foreground and + background). + * ppmbrighten: fix bug: red pixels change hue. Introduced in + after Netpbm 10.11 (October 2002) and before Netpbm 10.18 + (September 2003). + * palmtopnm: fix crash if invalid input contains color index that + is not in the palette. Always broken (palmtopnm was new in + Netpbm 9.10 (October 2001)). + * pnmtopalm: fix incorrect output with certain input files and + -packbits_compression. Always broken. -packbits_compression + was new in Netpbm 10.27 (March 2005). + * pnmtopalm: Correct error message recommending running + pnmquant when the real solution is to run pnmremap to modify the + image to Palm standard colors. + * pnmtopalm: Fix bug causing "color not in colormap" failure with + -colormap and maxval other than 255. + * libnetpbm: font facilities: fix invalid memory reference with + certain font files. + * libnetpbm: ppm_readcolordict: Improve error message when there is + a problem reading the color dictionary. Affects ppmhist. + * pgmmake: Fix bug: treats non-numeric gray-level argument as zero. + Always broken (Pgmmake was new in Netpbm 10.32, February 2006). + * pdbimgtopam, pamtopdbimg: fix various cases of incorrect output, + some always present (programs were new in Netpbm 10.52.00 + (October 2010)). + * libnetpbm: pnm_parsecolorn(), pnm_parsecolor(): fix parsing of + rgb: color specifications: yields value slightly too dim. + Affects many programs. Broken in Netpbm 10.79 (June 2017). + +------------------------------------------------------------------- +Wed Aug 2 10:28:18 UTC 2017 - tchvatal@suse.com + +- Version update to 10.79.3: + * Fix license clash between GPL-2 and GPL-3 + * Few small fixes + +------------------------------------------------------------------- +Wed Jul 12 07:50:42 UTC 2017 - tchvatal@suse.com + +- Drop patch netpbm-missing-file-close.patch fixed differently by + upstream +- Drop patch netpbm-jasper.patch which is no longer needed +- Remove accidental -O0 added to cflags +- Version update to 10.79.2: + * Fix 'format-security' GNU compiler warning. + * libnetpbm: pnm_parsecolorn(), pnm_parsecolor(): fix parsing of + rgb: color specifications: yields value slightly too dim. + * pamgauss: Add -maximize, -oversample . Thanks Anton Shepelev + <anton.txt@gmail.com> + * pnmconvol: Extend -normalize to be applicable to convolution + kernels specified by PGM file. Thanks Anton Shepelev + <anton.txt@gmail.com> + * g3topbm: tolerate fill bits. + * pbmtog3: Add -align8, -align16. + * ppmshadow: Improve results for very small maxval. + * ppmshadow: eliminate extraneous messages from pnmconvol. + * libnetpbm: Improve error message for purported image that is + exactly 1 byte long (so ends in the middle of what would be the + magic number). + * pbmtox10bm: Get the Perl interpreter for this Perl program from + the PATH instead of hardcoded as /usr/bin/perl (like all other + Netpbm Perl programs). + * ppmcolormask: fix incorrect output when input maxval is not 255. + * bmptopnm: fix crash when input is a Windows BMP with negative + number for width. Always broken. (bmptopnm was new, as + bmptoppm, in original Netpbm, 1992). + * pamcomp: fix incorrect output with -mixtransparency. + Always broken. (-mixtransparency was new in Netpbm 10.56, + September 2011). + * pamcomp: remove debug trace message with -mixtransparency. + Always broken. (-mixtransparency was new in Netpbm 10.56, + September 2011). + * pnmtojpeg: fix array bounds violation in argument list. Always + broken (pnmtojpeg was new to Netpbm in Netpbm 8.2 (March 2000). + * pamcrater: fix incorrect output with non-square image. + Introduced in Netpbm 10.69 (December 2014). + * svgtopam: fix treating negative width or height values in SVG + like twos complement positive numbers; fail instead. Always + broken (svgtopam was new in Netpbm 10.33 (March 2006)). + * svgtopam: fix error messages when input has splines or negative + positions. Always broken (svgtopam was new in Netpbm 10.33 + (March 2006)). + * libnetpbm: fix bug: pm_system_XXX closes Standard Input if you + supply a Standard Output accepter but not a Standard Input + feeder. Broken since Netpbm 10.40 (September 2007). + * Build: don't try to build standardppmdfont.c if it already + exists (so don't require ppmdcfont to exist). Broken around + Netpbm 10.35 (2006). + * Build: Define _XOPEN_SOURCE=500 in source files that use M_PI. + While C libraries in the past have always provided this with + just _XOPEN_SOURCE=null, it appears that M_PI is actually + defined by Single Unix Specification 2, aka UNIX98, for which + you need _XOPEN_SOURCE=500, and Cygwin has changed to enforce + this. + +------------------------------------------------------------------- Old: ---- netpbm-10.78.5-documentation.tar.bz2 netpbm-10.78.5-nohpcdtoppm-noppmtompeg.tar.bz2 netpbm-jasper.patch netpbm-missing-file-close.patch New: ---- netpbm-10.80.1-documentation.tar.bz2 netpbm-10.80.1-nohpcdtoppm-noppmtompeg.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ netpbm.spec ++++++ --- /var/tmp/diff_new_pack.7g2VS9/_old 2017-12-23 12:18:20.930911238 +0100 +++ /var/tmp/diff_new_pack.7g2VS9/_new 2017-12-23 12:18:20.930911238 +0100 @@ -17,14 +17,13 @@ %define libmaj 11 -%define libmin 78 +%define libmin 80 %define libver %{libmaj}.%{libmin} - Name: netpbm -Version: 10.78.5 +Version: 10.80.1 Release: 0 Summary: A Powerful Graphics Conversion Package -License: BSD-3-Clause and GPL-2.0+ and IJG and MIT and SUSE-Public-Domain +License: BSD-3-Clause AND GPL-2.0+ AND IJG AND MIT AND SUSE-Public-Domain Group: Productivity/Graphics/Convertors Url: http://netpbm.sourceforge.net/ Source: netpbm-%{version}-nohpcdtoppm-noppmtompeg.tar.bz2 @@ -33,54 +32,20 @@ Source3: prepare-src-tarball # SUSE specific Patch0: %{name}-make.patch -# upstreamed in development version -Patch2: %{name}-missing-file-close.patch Patch3: %{name}-tmpfile.patch Patch4: %{name}-security-code.patch Patch5: %{name}-security-scripts.patch Patch6: %{name}-gcc-warnings.patch -Patch7: %{name}-jasper.patch BuildRequires: flex BuildRequires: libjasper-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: libxml2-devel +BuildRequires: pkgconfig BuildRequires: python -%if 0%{?suse_version} >= 1140 BuildRequires: pkgconfig(x11) -%else -BuildRequires: xorg-x11-devel -%endif Provides: pbmplus -# bug437293 -%ifarch ppc64 -Obsoletes: netpbm-64bit -%endif -# -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%package -n libnetpbm%{libmaj} -Summary: Libraries for the NetPBM (NetPortableBitmap) Graphic Formats -# bug437293 -Group: System/Libraries -%ifarch ppc64 -Obsoletes: libnetpbm-64bit -%endif -# -Provides: libnetpbm = %{version} -Obsoletes: libnetpbm < %{version} - -%package -n libnetpbm-devel -Summary: Libraries for the NetPBM Graphic Formats - files mandatory for development -# bug437293 -Group: Development/Libraries/C and C++ -%ifarch ppc64 -Obsoletes: libnetpbm-devel-64bit -%endif -# -Requires: libnetpbm%{libmaj} = %{version} -Provides: libnetpbm:/usr/include/pbm.h %description The latest version of the Portable Bitmap Plus Utilities. This large @@ -93,26 +58,35 @@ and uncompressed), Andrew Toolkit raster object, and many more. On top of that, man pages are included for all tools. +%package -n libnetpbm%{libmaj} +Summary: Libraries for the NetPBM (NetPortableBitmap) Graphic Formats +Group: System/Libraries +Provides: libnetpbm = %{version} +Obsoletes: libnetpbm < %{version} + %description -n libnetpbm%{libmaj} These are the libs for the netpbm graphic formats. The tools can be found in the netpbm package. The sources are contained in the netpbm source package. +%package -n libnetpbm-devel +Summary: Libraries for the NetPBM Graphic Formats - files mandatory for development +Group: Development/Libraries/C and C++ +Requires: libnetpbm%{libmaj} = %{version} + %description -n libnetpbm-devel These are the libs for the netpbm graphic formats. The tools can be found in the netpbm package. The sources are contained in the netpbm source package. %prep -%setup -%setup -D -q -a 1 +%setup -q +%setup -q -D -a 1 %patch0 -%patch2 %patch3 %patch4 -p1 %patch5 -p1 %patch6 -p1 -%patch7 -p1 mkdir pnmtopalm # for %%doc pnmtopalm cp -p converter/other/pnmtopalm/{LICENSE,README} pnmtopalm @@ -125,8 +99,8 @@ echo 'install.manweb:' >> converter/ppm/hpcdtoppm/Makefile # dtto for ppmtompeg echo 'install.manweb:' >> converter/ppm/ppmtompeg/Makefile -export CFLAGS="$RPM_OPT_FLAGS -flax-vector-conversions -O0" -make CFLAGS="$CFLAGS" +export CFLAGS="%{optflags} -flax-vector-conversions" +make %{?_smp_mflags} CFLAGS="$CFLAGS" rm doc/INSTALL # # convert html to man pages @@ -142,35 +116,31 @@ make pkgdir=`pwd`/package package STRIPFLAG= rm package/bin/g3topbm #conflict with g3utils # -mkdir -p $RPM_BUILD_ROOT%{_prefix}/{bin,include,%_lib,share/man,share/%{name}} -cp -pd package/bin/* $RPM_BUILD_ROOT%{_bindir} -cp -pd package/lib/*.so* $RPM_BUILD_ROOT%{_libdir} -ln -s libnetpbm.so.%{libver} $RPM_BUILD_ROOT%{_libdir}/libnetpbm.so -cp -prd package/include/netpbm $RPM_BUILD_ROOT%{_includedir} -cp -prd man/* $RPM_BUILD_ROOT%{_mandir} +mkdir -p %{buildroot}%{_prefix}/{bin,include,%{_lib},share/man,share/%{name}} +cp -pd package/bin/* %{buildroot}%{_bindir} +cp -pd package/lib/*.so* %{buildroot}%{_libdir} +ln -s libnetpbm.so.%{libver} %{buildroot}%{_libdir}/libnetpbm.so +cp -prd package/include/netpbm %{buildroot}%{_includedir} +cp -prd man/* %{buildroot}%{_mandir} install -m 644 converter/other/pnmtopalm/*.map \ - $RPM_BUILD_ROOT%{_datadir}/%{name} + %{buildroot}%{_datadir}/%{name} %post -n libnetpbm%{libmaj} -p /sbin/ldconfig - %postun -n libnetpbm%{libmaj} -p /sbin/ldconfig %files -%defattr(-,root,root) %doc README doc/* netpbm.sourceforge.net/doc %doc pnmtopalm/ -%doc %{_mandir}/man1/*%{ext_man} -%doc %{_mandir}/man5/*%{ext_man} +%{_mandir}/man1/*%{ext_man} +%{_mandir}/man5/*%{ext_man} %{_bindir}/* %{_datadir}/%{name} %files -n libnetpbm%{libmaj} -%defattr(-,root,root) %{_libdir}/lib*.so.%{libmaj} %{_libdir}/lib*.so.%{libver} %files -n libnetpbm-devel -%defattr(-,root,root) %{_includedir}/%{name} %{_libdir}/lib*.so %{_mandir}/man3/*%{ext_man} ++++++ netpbm-10.78.5-documentation.tar.bz2 -> netpbm-10.80.1-documentation.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/netpbm/netpbm-10.78.5-documentation.tar.bz2 /work/SRC/openSUSE:Factory/.netpbm.new/netpbm-10.80.1-documentation.tar.bz2 differ: char 11, line 1 ++++++ netpbm-10.78.5-nohpcdtoppm-noppmtompeg.tar.bz2 -> netpbm-10.80.1-nohpcdtoppm-noppmtompeg.tar.bz2 ++++++ ++++ 10530 lines of diff (skipped)