- version update to 10.86.3

* pnmtopng: Fix bug: Defaults to no filters.  Should be all
    filters.  Effect is larger PNG output.  Broken after Netpbm
    10.26 (January 2005) but no later than Netpbm 10.35 (August
    2006).
  * pnmtopng: Fix bug: Doesn't allow multiple filter options.
    Broken after Netpbm 10.26 (January 2005) but no later than
    Netpbm 10.35 (August 2006).
  * pnmcrop: Don't allow -borderfile with -reportXXX.  It doesn't
    work.
  * pnmcrop: fix bug: -bgcolor doesn't work.  Always present
    (-bgcolor was introduced in Netpbm 10.86 (March 2019)).
  * pnmcrop: fix bug: incorrect identification of background with
    -bgcolor and PBM or PGM image.  Always present (-bgcolor was
    introduced in Netpbm 10.86 (March 2019)).
  * Add pamfind.
  * Add pambrighten.
  * Add pamhue.
  * pnmcrop: Add -bg-color, bg-corner, -reportfull, -reportsize,
    -blank-image .
  * pamtopng: Add -interlace .
  * pamenlarge: Add -scale, -xscale, -yscale .
  * pamenlarge: Much faster for PBM with xscale factor above 10;
    slightly faster for xscale factor 2-10.
  * pamfile: Add -machine and -size .
  * pamscale: Add -reportonly
  * pamstretch-gen: Add -quiet, -plain.
  * pamstretch-gen: Use -dropedge on the 'pamstretch' piece for
    better looking output.
  * pamstretch: Accept scale factor of 1 as a parameter (already

OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=100
This commit is contained in:
Petr Gajdos 2019-05-14 09:30:03 +00:00 committed by Git OBS Bridge
parent 03b981cf1a
commit 9ff568f058
5 changed files with 91 additions and 14 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:483240cc5cdeda51393a52ca315f456ade9c1f37a0e8f01fd8b90193f1297f66
size 11752028

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e6469a9737f983dcdecc3d3a88e5bdaf6a17af8eff3b59b5ac79f305f28531e
size 1913031

View File

@ -1,8 +1,8 @@
Index: netpbm-10.85.0/converter/other/pngx.c
Index: netpbm-10.86.3/converter/other/pngx.c
===================================================================
--- netpbm-10.85.0.orig/converter/other/pngx.c 2018-12-31 16:41:07.134118718 +0100
+++ netpbm-10.85.0/converter/other/pngx.c 2018-12-31 17:50:20.646020442 +0100
@@ -366,6 +366,7 @@ pngx_srgbIntentDesc(pngx_srgbIntent cons
--- netpbm-10.86.3.orig/converter/other/pngx.c 2019-05-14 09:27:19.536073096 +0200
+++ netpbm-10.86.3/converter/other/pngx.c 2019-05-14 09:27:21.976084785 +0200
@@ -368,6 +368,7 @@ pngx_srgbIntentDesc(pngx_srgbIntent cons
case PNGX_ABSOLUTE_COLORIMETRIC: return "ABSOLUTE_COLORIMETRIC";
}
assert(false);
@ -10,7 +10,7 @@ Index: netpbm-10.85.0/converter/other/pngx.c
}
@@ -381,6 +382,7 @@ const libpngSrgbIntentCode(pngx_srgbInte
@@ -383,6 +384,7 @@ const libpngSrgbIntentCode(pngx_srgbInte
}
assert(false); /* All cases above return */
@ -18,10 +18,10 @@ Index: netpbm-10.85.0/converter/other/pngx.c
}
Index: netpbm-10.85.0/editor/pbmreduce.c
Index: netpbm-10.86.3/editor/pbmreduce.c
===================================================================
--- netpbm-10.85.0.orig/editor/pbmreduce.c 2018-12-31 17:50:20.618020308 +0100
+++ netpbm-10.85.0/editor/pbmreduce.c 2018-12-31 17:50:20.646020442 +0100
--- netpbm-10.86.3.orig/editor/pbmreduce.c 2019-05-14 09:27:21.952084670 +0200
+++ netpbm-10.86.3/editor/pbmreduce.c 2019-05-14 09:27:21.976084785 +0200
@@ -202,6 +202,9 @@ oppositeDir(enum Direction const arg) {
case RIGHT_TO_LEFT: return LEFT_TO_RIGHT;
}
@ -32,10 +32,10 @@ Index: netpbm-10.85.0/editor/pbmreduce.c
}
Index: netpbm-10.85.0/lib/libpm.c
Index: netpbm-10.86.3/lib/libpm.c
===================================================================
--- netpbm-10.85.0.orig/lib/libpm.c 2018-12-31 17:50:20.622020327 +0100
+++ netpbm-10.85.0/lib/libpm.c 2018-12-31 17:51:40.886403785 +0100
--- netpbm-10.86.3.orig/lib/libpm.c 2019-05-14 09:27:21.956084689 +0200
+++ netpbm-10.86.3/lib/libpm.c 2019-05-14 09:27:21.976084785 +0200
@@ -440,6 +440,7 @@ pm_maxvaltobits(int const maxval) {
pm_error( "maxval of %d is too large!", maxval );
@ -44,3 +44,16 @@ Index: netpbm-10.85.0/lib/libpm.c
}
int
Index: netpbm-10.86.3/lib/libpnm3.c
===================================================================
--- netpbm-10.86.3.orig/lib/libpnm3.c 2019-05-14 09:16:33.096977241 +0200
+++ netpbm-10.86.3/lib/libpnm3.c 2019-05-14 11:07:02.148770284 +0200
@@ -429,6 +429,8 @@ pnm_bittoxel(bit const inputBit,
case PBM_WHITE: return pnm_whitexel(maxval, PBM_TYPE); break;
default:
assert(false);
+ pixel const black = {0, 0, 0};
+ return black;
}
}

View File

@ -1,3 +1,61 @@
-------------------------------------------------------------------
Tue May 14 09:22:13 UTC 2019 - pgajdos@suse.com
- version update to 10.86.3
* pnmtopng: Fix bug: Defaults to no filters. Should be all
filters. Effect is larger PNG output. Broken after Netpbm
10.26 (January 2005) but no later than Netpbm 10.35 (August
2006).
* pnmtopng: Fix bug: Doesn't allow multiple filter options.
Broken after Netpbm 10.26 (January 2005) but no later than
Netpbm 10.35 (August 2006).
* pnmcrop: Don't allow -borderfile with -reportXXX. It doesn't
work.
* pnmcrop: fix bug: -bgcolor doesn't work. Always present
(-bgcolor was introduced in Netpbm 10.86 (March 2019)).
* pnmcrop: fix bug: incorrect identification of background with
-bgcolor and PBM or PGM image. Always present (-bgcolor was
introduced in Netpbm 10.86 (March 2019)).
* Add pamfind.
* Add pambrighten.
* Add pamhue.
* pnmcrop: Add -bg-color, bg-corner, -reportfull, -reportsize,
-blank-image .
* pamtopng: Add -interlace .
* pamenlarge: Add -scale, -xscale, -yscale .
* pamenlarge: Much faster for PBM with xscale factor above 10;
slightly faster for xscale factor 2-10.
* pamfile: Add -machine and -size .
* pamscale: Add -reportonly
* pamstretch-gen: Add -quiet, -plain.
* pamstretch-gen: Use -dropedge on the 'pamstretch' piece for
better looking output.
* pamstretch: Accept scale factor of 1 as a parameter (already
was accepted with -xscale and -yscale options).
* pamstretch: Don't mess with edge when scale factor is 1,
regardless of -dropedge and -blackedge.
* ppmwheel: Add -huevalue, -huesaturation, -maxval .
* various: Fix unnormalizing code so a value exactly between two
sample values rounds consistently up. Affects many programs.
* pstopnm: Fix bug: -textalphabits has no effect. Always broken.
(-textalphabits was new in Netpbm 10.53 (December 2010)).
* pamtopng: Fix sBit chunk, bit shift value for 1-, 2-, and 4-bit-
per-sample images. Always broken (Pamtopng was new in Netpbm
10.71 (June 2015)).
* pamtopng: Fix buffer overrun. Always broken (Pamtopng was new
in Netpbm 10.71 (June 2015)).
* pnmtopng: fix bug: -interlace ignored. Broken in 10.55
(June 2011).
pamstretch: Reject very large scale factors instead of producing
incorrect output.
* ppmbrighten: Fix crash with -normalize when there is only one
intensity in the image. Always broken - Ppmbrighten was new in
the first Netpbm release in 1991.
* ppmdraw: Fix bug: 'setlinetype nodiag' says invalid type.
Always broken. (Ppmdraw was new in Netpbm 10.29 (August 2005)).
- modified patches
% netpbm-gcc-warnings.patch (extended)
-------------------------------------------------------------------
Mon Dec 31 22:08:29 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package netpbm
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,10 +17,10 @@
%define libmaj 11
%define libmin 85
%define libmin 86
%define libver %{libmaj}.%{libmin}
Name: netpbm
Version: 10.85.0
Version: 10.86.3
Release: 0
Summary: A Graphics Conversion Package
License: BSD-3-Clause AND GPL-2.0-or-later AND IJG AND MIT AND SUSE-Public-Domain