- asan_build: build ASAN included
- debug_build: build more suitable for debugging
- added patches
neccessary for running with ASAN
+ netpbm-asan.patch
- 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.
OBS-URL: https://build.opensuse.org/request/show/703437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netpbm?expand=0&rev=67
* 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
- updated to 10.84.02
* libnetpbm: Fix invalid memory reference in color name processing
when trivial memory allocation fails.
pamtojpeg2k: fix incorrect interpretation of -ilyrrates option
when it contains multiple delimiter characters in a row. Always
broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
* pnmtojbig: fix incorrect handling of -x option. Always broken
(pnmtojbig was new in Netpbm 9.2 (May 2000)).
Add pamaltsat. Thanks Anton Shepelev <anton.txt@gmail.com>.
* Add pamtris. Thanks Lucas Brunno Luna
<lucaslunar32@hotmail.com>.
* libpbmfont, pbmtext: fix bugs with BDF file lines with
insufficient number of fields. Unknown effect.
* pbmtext: -wchar works with built-in fonts.
* pbmtext: improved -verbose information about BDF fonts:
include CHARSET_REGISTRY, CHARSET_ENCODING.
* libnetpbm font facilities: built-in fonts work with wide
characters.
* pbmtext; libnetpbm BDF font processing: fix invalid memory
reference when BDF font file has invalid syntax. Broken
in primordial Netpbm, ca 1993.
* pamgetcolor: fix bug: gets color of only the top half of a
region.
* pnmfiasco, fiascotopnm: Fix trivial memory leak. Always broken
(programs were new in Netpbm 9.6, July 2000).
OBS-URL: https://build.opensuse.org/request/show/643924
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=95
- updated to 10.83.00
* Add pamlevels. Thanks Anton Shepelev <anton.txt@gmail.com>.
* Add pamgetcolor. Thanks Anton Shepelev <anton.txt@gmail.com>.
* Add rgb-<maxval>:r/g/b color specification format.
* pngtopam: Fix bogus warning of non-square pixels when image does
not contain pixel resolution information. Introduced in Netpbm
10.48 (September 2009).
* pstopnm: Fix divide-by-zero crash when Postscript input says
the image has zero size.
* pstopnm: Fix divide-by-zero crash when computed resolution
rounds down to zero dots per inch.
* pbmmask: Fix invalid memory reference with zero-dimension
input image. Broken in primordial Netpbm, ca 1989.
[CVE-2018-8975, bsc#1086777]
https://sourceforge.net/p/netpbm/code/3279/
* libnetpbm: Add pnm_colorspec_rgb_integer,
pnm_colorspec_rgb_norm, pnm_colorspec_rgb_x11,
pnm_colorspec_dict, pnm_colorspec_dict_close.
* libnetpbm: Add pnm_parsecolor2.
* libnetpbm: Add pnm_allocpamtuplen, pnm_freepamtuplen.
* libnetpbm: Make the normalized tuple functions respect the
allocation depth specified in struct pam (member
'allocation_depth') instead of using the actual tuple depth
(member 'depth').
* ilbmtoppm: Fix bug: may fail with bogus error message about an
invalid CLUT chunk if image has a CLUT chunk. Introduced after
Netpbm 10.26 (January 2005) and at or before Netpbm 10.35
(August 2006).
- Refreshed patch netpbm-security-code.patch
- Dropped patch fixed upstream netpbm-CVE-2018-8975.patch
OBS-URL: https://build.opensuse.org/request/show/638489
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=93
- security update
* CVE-2018-8975 [bsc#1086777]
+ netpbm-CVE-2018-8975.patch
- updated to 10.82.2
* Pngtopam: Fix bogus warning of non-square pixels when image does
not contain pixel resolution information. Introduced in Netpbm
10.48 (September 2009)
* ilbmtoppm: Fix bug: may fail with bogus error message about an
invalid CLUT chunk if image has a CLUT chunk. Introduced after
Netpbm 10.26 (January 2005) and at or before Netpbm 10.35
(August 2006).
* pbmtext: Add -wchar.
* pbmtext: Add -text-dump option.
* ppmhist: Add color summary to top of output, (except with
-noheader).
* pnmremap: Add -randomseed.
* pnmquant: Add -norandom, -randomseed.
* pamtogif: Add -noclear option.
* giftopnm: Check "data width" value from GIF image properly:
can't be bigger than 11, because the minimum code size is one
more than the data width and the maximum code size is 12. (Note
that GIF spec prohibits anything more than 8).
* pnmpsnr: Add -targetX options.
* ppmrainbow: Add "ppmrainbow: " to error messages, like other
programs.
* ppmrainbow: improve error message.
* g3topbm: Fix bug - produces invalid empty PBM image if input
image is empty.
* ppmpat: Fix bug - crash or junk output with -camo or -anticamo
OBS-URL: https://build.opensuse.org/request/show/619410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netpbm?expand=0&rev=63
* Pngtopam: Fix bogus warning of non-square pixels when image does
not contain pixel resolution information. Introduced in Netpbm
10.48 (September 2009)
* ilbmtoppm: Fix bug: may fail with bogus error message about an
invalid CLUT chunk if image has a CLUT chunk. Introduced after
Netpbm 10.26 (January 2005) and at or before Netpbm 10.35
(August 2006).
* pbmtext: Add -wchar.
* pbmtext: Add -text-dump option.
* ppmhist: Add color summary to top of output, (except with
-noheader).
* pnmremap: Add -randomseed.
* pnmquant: Add -norandom, -randomseed.
* pamtogif: Add -noclear option.
* giftopnm: Check "data width" value from GIF image properly:
can't be bigger than 11, because the minimum code size is one
more than the data width and the maximum code size is 12. (Note
that GIF spec prohibits anything more than 8).
* pnmpsnr: Add -targetX options.
* ppmrainbow: Add "ppmrainbow: " to error messages, like other
programs.
* ppmrainbow: improve error message.
* g3topbm: Fix bug - produces invalid empty PBM image if input
image is empty.
* ppmpat: Fix bug - crash or junk output with -camo or -anticamo
and no -color. Introduced in Netpbm 10.78 (March 2017).
* mrftopbm: Fix bug - wrong error messages or output when input
invalidly short. Always broken (mrftopbm was new in Netpbm
10.18 (September 2003).
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=89
- 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
OBS-URL: https://build.opensuse.org/request/show/558105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netpbm?expand=0&rev=61
* 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
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=85
- 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).
OBS-URL: https://build.opensuse.org/request/show/509659
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=83
- updated to 10.78.5
* pamgauss: Fix skewed output with even dimension.
* bmptopnm: fix crash when input is a Windows BMP with negative
number for width.
- updated to 10.78.4
* pamcrater: fix incorrect output with non-square image.
* libnetpbm: fix bug: pm_system_XXX closes Standard Input if you
supply a Standard Output accepter but not a Standard Input
feeder.
* fix incorrect output with -mixtransparency.
* pamcomp: remove debug trace message with -mixtransparency.
* pnmtojpeg: fix array bounds violation in argument list.
* ppmpat: Add -color.
* ppmpat: Add -argyle1, -argyle2.
* pnmtotiff: Fail with -miniswhite or -minisblack on color image
rather than produce an invalid TIFF.
* tifftopnmcmyk: Default rows per strip to the TIFF library
default instead of whatever yields 8K strips.
* tifftonm: Fix incorrect PBM output with two-color paletted TIFF
image.
* tifftopnm: Fix memory corruption when image is more pixels than
can be represented as a C unsigned integer.
* tifftopnmcmyk: Fix bug: fails with very wide images and no
-rowsperstrip.
* svgtopam: Fix crash when out of memory.
* pnmcrop: Add -closeness
* libnetpbm: ppmd_fill_path: remove debug trace.
* pnmpad: Fix bug: incorrect output width.
- removed netpbm-no-build-date.patch: not needed since:
OBS-URL: https://build.opensuse.org/request/show/502465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netpbm?expand=0&rev=60
* pamcrater: fix incorrect output with non-square image.
* libnetpbm: fix bug: pm_system_XXX closes Standard Input if you
supply a Standard Output accepter but not a Standard Input
feeder.
* fix incorrect output with -mixtransparency.
* pamcomp: remove debug trace message with -mixtransparency.
* pnmtojpeg: fix array bounds violation in argument list.
* ppmpat: Add -color.
* ppmpat: Add -argyle1, -argyle2.
* pnmtotiff: Fail with -miniswhite or -minisblack on color image
rather than produce an invalid TIFF.
* tifftopnmcmyk: Default rows per strip to the TIFF library
default instead of whatever yields 8K strips.
* tifftonm: Fix incorrect PBM output with two-color paletted TIFF
image.
* tifftopnm: Fix memory corruption when image is more pixels than
can be represented as a C unsigned integer.
* tifftopnmcmyk: Fix bug: fails with very wide images and no
-rowsperstrip.
* svgtopam: Fix crash when out of memory.
* pnmcrop: Add -closeness
* libnetpbm: ppmd_fill_path: remove debug trace.
* pnmpad: Fix bug: incorrect output width.
- removed netpbm-no-build-date.patch: not needed since:
* --version global option: with SOURCE_DATE_EPOCH environment
variable, display source code datetime instead of build
datetime.
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=80
- 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
(is@netbsd.org). 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.
OBS-URL: https://build.opensuse.org/request/show/441328
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netpbm?expand=0&rev=59
* 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
(is@netbsd.org). 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.
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=78
* pambackground: fix bug: segfault or incorrect results in most
cases.
* ppmtoarbtxt: Fix some undefined behavior when program limits
are exceeded.
* anytopnm: convert all images in a multi-image GIF instead of
just the first.
* nmnorm: add -bsingle, -wsingle.
* pamtosvg: fix use of unset variable; probably results in a
crash.
* pnmgamma -srgbtobt709, -bt709tosrgb: fix bug; incorrect output
nearly always.
* pamtilt: fix bug: unconditional crash.
* pgmmorphconv: fix bug: always produces PGM Plain format.
* giftopnm: Fix bug: crashes if purported GIF has neither a global
color map nor a local one.
* pgmmorphconv: add -gradient.
* pnmhisteq: add -noblack and -nowhite.
* tifftopnm: allow input file to be nonseekable.
* Add yuy2topam.
* Add pgmtosbig.
* Add st4topgm, pgmtost4.
* ppmtoarbtxt: fix bug: wrong output when high numbers represent
darker.
* ppmtorgb3: Fix buffer overflow with long input file name.
* st4topgm: Fix bug: with no argument, uses file named "'" instead
of Standard Input.
* pnmconvol: Fix bug: wrong output for pixels that convolve to
negative values (should be clipped to zero).
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=66
- updated to 10.67.4
* pcdovtoppm: Fix crash due to invalid operator == on some
systems.
* Fix incorrect option parsing when there are multiple common
options (e.g. -plain -quiet).
* sgitopnm: add ability to convert 2-channel SGI image.
Thanks Prophet of the Way <afu@wta.att.ne.jp>.
* etc. see HISTORY
- modified patches:
* netpbm-make.patch (refreshed)
* netpbm-security-code.patch (refreshed)
- minor: man pages from section 3 are developer docs, move
to -devel package
OBS-URL: https://build.opensuse.org/request/show/247961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/netpbm?expand=0&rev=52
* pcdovtoppm: Fix crash due to invalid operator == on some
systems.
* Fix incorrect option parsing when there are multiple common
options (e.g. -plain -quiet).
* sgitopnm: add ability to convert 2-channel SGI image.
Thanks Prophet of the Way <afu@wta.att.ne.jp>.
* etc. see HISTORY
- modified patches:
* netpbm-make.patch (refreshed)
* netpbm-security-code.patch (refreshed)
OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=62