Hello community, here is the log from the commit of package netpbm for openSUSE:Factory checked in at 2016-11-25 12:24:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/netpbm (Old) and /work/SRC/openSUSE:Factory/.netpbm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "netpbm" Changes: -------- --- /work/SRC/openSUSE:Factory/netpbm/netpbm.changes 2016-10-28 10:42:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.netpbm.new/netpbm.changes 2016-11-25 12:24:29.000000000 +0100 @@ -1,0 +2,15 @@ +Tue Nov 22 10:30:26 UTC 2016 - [email protected] + +- updated to 10.76.0 + * pnmquantall: Fix failure when temporary file location is + not the same filesystem as the output file. + * pnmquantall: Fix incorrect handling of when the Pnmremap or + the final rename fails. + * giftopnm: Fix bug: crash on little-endian computers that can't + toleration unaligned memory access. Thanks Ignatios Souvatzis + ([email protected]). Broken in Netpbm 10.47 (June 2009). + * cmuwmtopbm: fix trivial memory leak. Always broken (cmuwmtopbm + was in primordial Pbmplus, in 1988). + * Build: tifftopnm.c: fix undefined WIFSIGNALED, etc. + +------------------------------------------------------------------- Old: ---- netpbm-10.75.1-documentation.tar.bz2 netpbm-10.75.1-nohpcdtoppm-noppmtompeg.tar.bz2 New: ---- netpbm-10.76.0-documentation.tar.bz2 netpbm-10.76.0-nohpcdtoppm-noppmtompeg.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ netpbm.spec ++++++ --- /var/tmp/diff_new_pack.jcKFGQ/_old 2016-11-25 12:24:31.000000000 +0100 +++ /var/tmp/diff_new_pack.jcKFGQ/_new 2016-11-25 12:24:31.000000000 +0100 @@ -17,11 +17,11 @@ %define libmaj 11 -%define libmin 75 +%define libmin 76 %define libver %{libmaj}.%{libmin} Name: netpbm -Version: 10.75.1 +Version: 10.76.0 Release: 0 Summary: A Powerful Graphics Conversion Package License: BSD-3-Clause and GPL-2.0+ and IJG and MIT and SUSE-Public-Domain ++++++ netpbm-10.75.1-documentation.tar.bz2 -> netpbm-10.76.0-documentation.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/netpbm/netpbm-10.75.1-documentation.tar.bz2 /work/SRC/openSUSE:Factory/.netpbm.new/netpbm-10.76.0-documentation.tar.bz2 differ: char 11, line 1 ++++++ netpbm-10.75.1-nohpcdtoppm-noppmtompeg.tar.bz2 -> netpbm-10.76.0-nohpcdtoppm-noppmtompeg.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm-10.75.1/converter/other/pngx.h new/netpbm-10.76.0/converter/other/pngx.h --- old/netpbm-10.75.1/converter/other/pngx.h 2016-08-22 11:03:31.000000000 +0200 +++ new/netpbm-10.76.0/converter/other/pngx.h 2016-11-22 11:23:13.000000000 +0100 @@ -2,6 +2,10 @@ #define PNGX_H_INCLUDED #include <png.h> + /* This includes the Zlib interface header file zlib.h because libpng uses + libz and some of the Zlib interface, e.g. the Z_DEFLATED constant, + is part of the libpng interface. + */ #include "pm_c_util.h" /* pngx is designed to be an extension of the PNG library to make using diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm-10.75.1/converter/other/tifftopnm.c new/netpbm-10.76.0/converter/other/tifftopnm.c --- old/netpbm-10.75.1/converter/other/tifftopnm.c 2016-08-22 11:03:32.000000000 +0200 +++ new/netpbm-10.76.0/converter/other/tifftopnm.c 2016-11-22 11:23:14.000000000 +0100 @@ -52,6 +52,7 @@ #include <assert.h> #include <string.h> #include <stdio.h> +#include <sys/wait.h> /* WIFSIGNALED, etc. */ #include "pm_c_util.h" #include "shhopt.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm-10.75.1/converter/pbm/cmuwmtopbm.c new/netpbm-10.76.0/converter/pbm/cmuwmtopbm.c --- old/netpbm-10.75.1/converter/pbm/cmuwmtopbm.c 2016-08-22 11:03:33.000000000 +0200 +++ new/netpbm-10.76.0/converter/pbm/cmuwmtopbm.c 2016-11-22 11:23:15.000000000 +0100 @@ -68,8 +68,8 @@ int -main(int argc, - char * argv[]) { +main(int argc, + const char ** argv) { FILE * ifP; unsigned char * bitrow; @@ -78,7 +78,7 @@ const char * inputFileName; - pbm_init(&argc, argv); + pm_proginit(&argc, argv); if (argc-1 > 1) pm_error("Too many arguments (%u). " @@ -117,6 +117,7 @@ pbm_writepbmrow_packed(stdout, bitrow, cols, 0); } + pbm_freerow_packed(bitrow); pm_close(ifP); pm_close(stdout); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm-10.75.1/doc/HISTORY new/netpbm-10.76.0/doc/HISTORY --- old/netpbm-10.75.1/doc/HISTORY 2016-08-22 11:03:30.000000000 +0200 +++ new/netpbm-10.76.0/doc/HISTORY 2016-11-22 11:23:12.000000000 +0100 @@ -4,12 +4,23 @@ CHANGE HISTORY -------------- -16.08.13 BJH Release 10.75.01 +16.09.27 BJH Release 10.76.00 + + pnmquantall: Fix failure when temporary file location is + not the same filesystem as the output file. + + pnmquantall: Fix incorrect handling of when the Pnmremap or + the final rename fails. giftopnm: Fix bug: crash on little-endian computers that can't toleration unaligned memory access. Thanks Ignatios Souvatzis ([email protected]). Broken in Netpbm 10.47 (June 2009). + cmuwmtopbm: fix trivial memory leak. Always broken (cmuwmtopbm + was in primordial Pbmplus, in 1988). + + Build: tifftopnm.c: fix undefined WIFSIGNALED, etc. in + 16.06.26 BJH Release 10.75.00 pbmtextps: Add -leftmargin, -rightmargin, -topmargin, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm-10.75.1/doc/TESTS new/netpbm-10.76.0/doc/TESTS --- old/netpbm-10.75.1/doc/TESTS 2016-08-22 11:03:30.000000000 +0200 +++ new/netpbm-10.76.0/doc/TESTS 2016-11-22 11:23:12.000000000 +0100 @@ -68,14 +68,16 @@ ================= The tests require the Bash command shell. The script Execute-Tests has -some expressions unique to bash. Quite old versions work, at least back -to bash v. 2.05b. +some expressions unique to Bash. Quite old versions work, at least back +to Bash v. 2.05b. -The tests also use the following utilities: +Awk is also required, but the constructs are all simple. Gawk, Mawk and +BWK Awk (the "One True Awk") are all known to work. + +The tests use the following utilities: - sh - awk - - perl - cat - cksum diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm-10.75.1/editor/pnmquantall new/netpbm-10.76.0/editor/pnmquantall --- old/netpbm-10.75.1/editor/pnmquantall 2016-08-22 11:03:30.000000000 +0200 +++ new/netpbm-10.76.0/editor/pnmquantall 2016-11-22 11:23:12.000000000 +0100 @@ -56,6 +56,7 @@ use warnings; use English; use Fcntl; # gets open flags +use File::Copy; my $TRUE=1; my $FALSE = 0; @@ -169,15 +170,15 @@ my $pnmremapTermStatus = system($pnmremapCmd); if ($pnmremapTermStatus != 0) { - $errorR = + $$errorR = "Shell command to quantize '$inFileName' failed: " . "'$pnmremapCmd'"; } else { my $newFileName = $inFileName . $ext; unlink($newFileName); - rename($outputFileName, $newFileName) - or $errorR = "Rename to '$newFileName' failed."; + File::Copy::move($outputFileName, $newFileName) + or $$errorR = "Rename to '$newFileName' failed."; } } unlink($outputFileName); # In case something failed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm-10.75.1/test/pbmtext.test new/netpbm-10.76.0/test/pbmtext.test --- old/netpbm-10.75.1/test/pbmtext.test 2016-08-22 11:03:29.000000000 +0200 +++ new/netpbm-10.76.0/test/pbmtext.test 2016-11-22 11:23:11.000000000 +0100 @@ -6,9 +6,13 @@ # Test 1: +# Should print 3898818212 967 twice + pbmtext UNIX Philosophy: Do one thing and do it well. | cksum echo -n "UNIX Philosophy: Do one thing and do it well." | pbmtext | cksum +# Should print 2506052117 1354 twice + pbmtext -builtin fixed \ For truth is always strange. Stranger than fiction. Lord Byron | cksum echo -n "For truth is always strange. Stranger than fiction. Lord Byron" | \ @@ -76,13 +80,13 @@ # Test 5: Print all characters defined in the built-in bdf font # One long row -# Should print +# Should print 3233136020 4535 awk 'BEGIN { for (i=32; i<=125;++i) printf("%c",i); for (i=160;i<=255;++i) printf("%c",i); }' | \ pbmtext -builtin bdf | cksum # One tall column -# Should print +# Should print 1216262214 5711 awk 'BEGIN { for (i=32; i<=125;++i) printf("%c\n",i); for (i=160;i<=255;++i) printf("%c\n",i); }' | \ pbmtext -nomargins -builtin bdf | cksum @@ -94,7 +98,7 @@ font_bdf=${tmpdir}/font.bdf font_corrupt_bdf=${tmpdir}/fontcorrupt.bdf -# Though this is BDF font file defines only three letters, it is valid. +# Though this BDF font file defines only three letters, it is valid. cat > ${font_bdf} << EOF STARTFONT 2.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm-10.75.1/test/pnmquantall.test new/netpbm-10.76.0/test/pnmquantall.test --- old/netpbm-10.75.1/test/pnmquantall.test 2016-08-22 11:03:29.000000000 +0200 +++ new/netpbm-10.76.0/test/pnmquantall.test 2016-11-22 11:23:11.000000000 +0100 @@ -14,4 +14,4 @@ # Should print 1 pnmcat testimg.red testimg.grn testimg.blu -tb | \ - pgmhist -m | awk '$2>0 {s++}; END { print s<=20 }' + pgmhist -m | awk '$2>0 {s++}; END { print (s<=20) }' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm-10.75.1/version.mk new/netpbm-10.76.0/version.mk --- old/netpbm-10.75.1/version.mk 2016-08-22 11:03:30.000000000 +0200 +++ new/netpbm-10.76.0/version.mk 2016-11-22 11:23:12.000000000 +0100 @@ -1,3 +1,3 @@ NETPBM_MAJOR_RELEASE = 10 -NETPBM_MINOR_RELEASE = 75 -NETPBM_POINT_RELEASE = 1 +NETPBM_MINOR_RELEASE = 76 +NETPBM_POINT_RELEASE = 0
