- updated to 10.85.00

* pnmpaste: Add -nand, -nor, and -nxor.
  * pamcut: add -cropleft, -cropright, -croptop, -cropbottom.
  * ppmtobmp: respect -bpp with PBM input.
  * bmptopnm: allow single color colormap with bpp 1.
  * bmptopnm: validate plane count = 1.
  * bmptopnm: Add RLE4 compression decoding.  This was ostensibly
    added in Netpbm 10.32 (February 2006), but never worked.
  * Add pammixmulti.  Thanks Scott Pakin (scott+pbm@pakin.org).
  * pamtotga: Add -cmap16 .
  * pamtris: Add -rgb, -grayscale.  Add w parameter to vertex
    instructions.  Fix perspective correctness.  Thanks Lucas Brunno
    Luna <lucaslunar32@hotmail.com>.
  * picttoppm: accept rectangle specifications in input that have
    the corners in any order, not just upper left, then lower right.
  * pamtotga: identify compressed colormapped format in error
    message saying the program doesn't know how to interpret it.
  * pamtotga: Ignore extra planes in black and white or grayscale
    input instead of generating junk output.
  * bmptopnm: Fix wrong output for non-colormapped OS2 BMP.  Broken
    in Netpbm 10.18 (September 2003).
  * bmptopnm: Fix array bounds violation when index value in raster
    is too big.  Broken after Netpbm 10.11 (October 2002) but before
    10.19 (November 2003).
- modified patches
  * netpbm-gcc-warnings.patch
  * netpbm-security-code.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=97
This commit is contained in:
Petr Gajdos 2018-12-31 17:20:28 +00:00 committed by Git OBS Bridge
parent a2348e392f
commit 01861b371c
8 changed files with 333 additions and 294 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83e11ee582a14029487244f5f3bc537692a1794285526fdc7df8f25664ca9468
size 11743750

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:53cacdf7df6cedc04952290ac5230c53420a3d06ec97dfe06a84c9c60211739c
size 1895854

View File

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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8711025c7b861931b4889a6ade8403718f23214f6a049cd2a154e011b00bc1e2
size 1901918

View File

@ -1,8 +1,8 @@
Index: netpbm-10.75.1/converter/other/pngx.c
Index: netpbm-10.85.0/converter/other/pngx.c
===================================================================
--- netpbm-10.75.1.orig/converter/other/pngx.c 2016-08-22 11:03:31.641785020 +0200
+++ netpbm-10.75.1/converter/other/pngx.c 2016-08-22 17:36:34.165268951 +0200
@@ -342,6 +342,7 @@ pngx_srgbIntentDesc(pngx_srgbIntent cons
--- 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
case PNGX_ABSOLUTE_COLORIMETRIC: return "ABSOLUTE_COLORIMETRIC";
}
assert(false);
@ -10,7 +10,7 @@ Index: netpbm-10.75.1/converter/other/pngx.c
}
@@ -357,6 +358,7 @@ const libpngSrgbIntentCode(pngx_srgbInte
@@ -381,6 +382,7 @@ const libpngSrgbIntentCode(pngx_srgbInte
}
assert(false); /* All cases above return */
@ -18,10 +18,10 @@ Index: netpbm-10.75.1/converter/other/pngx.c
}
Index: netpbm-10.75.1/editor/pbmreduce.c
Index: netpbm-10.85.0/editor/pbmreduce.c
===================================================================
--- netpbm-10.75.1.orig/editor/pbmreduce.c 2016-08-22 17:36:34.141268538 +0200
+++ netpbm-10.75.1/editor/pbmreduce.c 2016-08-22 17:37:35.838325686 +0200
--- 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
@@ -202,6 +202,9 @@ oppositeDir(enum Direction const arg) {
case RIGHT_TO_LEFT: return LEFT_TO_RIGHT;
}
@ -32,3 +32,15 @@ Index: netpbm-10.75.1/editor/pbmreduce.c
}
Index: netpbm-10.85.0/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
@@ -440,6 +440,7 @@ pm_maxvaltobits(int const maxval) {
pm_error( "maxval of %d is too large!", maxval );
assert(false);
+ return 0;
}
int

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Mon Dec 31 17:12:02 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
- updated to 10.85.00
* pnmpaste: Add -nand, -nor, and -nxor.
* pamcut: add -cropleft, -cropright, -croptop, -cropbottom.
* ppmtobmp: respect -bpp with PBM input.
* bmptopnm: allow single color colormap with bpp 1.
* bmptopnm: validate plane count = 1.
* bmptopnm: Add RLE4 compression decoding. This was ostensibly
added in Netpbm 10.32 (February 2006), but never worked.
* Add pammixmulti. Thanks Scott Pakin (scott+pbm@pakin.org).
* pamtotga: Add -cmap16 .
* pamtris: Add -rgb, -grayscale. Add w parameter to vertex
instructions. Fix perspective correctness. Thanks Lucas Brunno
Luna <lucaslunar32@hotmail.com>.
* picttoppm: accept rectangle specifications in input that have
the corners in any order, not just upper left, then lower right.
* pamtotga: identify compressed colormapped format in error
message saying the program doesn't know how to interpret it.
* pamtotga: Ignore extra planes in black and white or grayscale
input instead of generating junk output.
* bmptopnm: Fix wrong output for non-colormapped OS2 BMP. Broken
in Netpbm 10.18 (September 2003).
* bmptopnm: Fix array bounds violation when index value in raster
is too big. Broken after Netpbm 10.11 (October 2002) but before
10.19 (November 2003).
- modified patches
* netpbm-gcc-warnings.patch
* netpbm-security-code.patch
-------------------------------------------------------------------
Tue Oct 23 10:39:59 UTC 2018 - Petr Gajdos <pgajdos@suse.com>

View File

@ -12,15 +12,15 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define libmaj 11
%define libmin 84
%define libmin 85
%define libver %{libmaj}.%{libmin}
Name: netpbm
Version: 10.84.2
Version: 10.85.0
Release: 0
Summary: A Powerful Graphics Conversion Package
License: BSD-3-Clause AND GPL-2.0-or-later AND IJG AND MIT AND SUSE-Public-Domain