Hello community, here is the log from the commit of package netpbm checked in at Thu Dec 7 21:12:11 CET 2006. -------- --- netpbm/netpbm.changes 2006-11-14 15:05:37.000000000 +0100 +++ /mounts/work_src_done/STABLE/netpbm/netpbm.changes 2006-12-06 16:25:37.000000000 +0100 @@ -1,0 +2,12 @@ +Wed Dec 6 11:21:08 CET 2006 - prusnak@suse.cz + +- fixed pamtouil crash when -name was specified (pamtouil.patch) +- changed transparency handling (pnmtopng-transparent.patch) [#225258] + +------------------------------------------------------------------- +Thu Nov 30 17:34:42 CET 2006 - prusnak@suse.cz + +- fixed missing manpages [#224478] +- fixed segfault in pbmtext [#224420] + +------------------------------------------------------------------- New: ---- netpbm-10.26.22-pamtouil.patch netpbm-10.26.22-pbmtext.patch netpbm-10.26.22-pnmtopng-transparent.patch netpbm-10.26.22-rgb.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ netpbm.spec ++++++ --- /var/tmp/diff_new_pack.uUGLFr/_old 2006-12-07 21:11:49.000000000 +0100 +++ /var/tmp/diff_new_pack.uUGLFr/_new 2006-12-07 21:11:49.000000000 +0100 @@ -17,7 +17,7 @@ Provides: pbmplus Autoreqprov: on Version: 10.26.22 -Release: 29 +Release: 33 Summary: A Powerful Graphics Conversion Package Source: netpbm-%{version}-nohpcdtoppm-nojbig.tar.bz2 Source1: netpbm-%{version}-documentation.tar.bz2 @@ -35,6 +35,10 @@ Patch11: netpbm-%{version}-pnmtopng-CAN-2005-2978.patch Patch12: netpbm-%{version}-pnmtopng-overflow.patch Patch13: netpbm-%{version}-ximtoppm-fixes.patch +Patch14: netpbm-%{version}-pbmtext.patch +Patch15: netpbm-%{version}-rgb.patch +Patch16: netpbm-%{version}-pamtouil.patch +Patch17: netpbm-%{version}-pnmtopng-transparent.patch URL: http://netpbm.sourceforge.net BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -87,7 +91,7 @@ %package -n libnetpbm Version: 1.0.0 -Release: 672 +Release: 676 License: GNU Library General Public License v. 2.0 and 2.1 (LGPL), Other License(s), see package Summary: Libraries for the NetPBM (NetPortableBitmap) Graphic Formats Group: System/Libraries @@ -124,6 +128,10 @@ %patch11 %patch12 %patch13 +%patch14 +%patch15 +%patch16 +%patch17 # for ppmtompeg rm -fr ppmtompeg mkdir -p ppmtompeg @@ -182,6 +190,12 @@ %{_libdir}/lib* %changelog -n netpbm +* Wed Dec 06 2006 - prusnak@suse.cz +- fixed pamtouil crash when -name was specified (pamtouil.patch) +- changed transparency handling (pnmtopng-transparent.patch) [#225258] +* Thu Nov 30 2006 - prusnak@suse.cz +- fixed missing manpages [#224478] +- fixed segfault in pbmtext [#224420] * Tue Nov 14 2006 - prusnak@suse.cz - fixed [#216670] - removed man pages that pointed to online documentation (manpages.patch) ++++++ netpbm-10.26.22-documentation.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/netpbm.sourceforge.net/doc/pammasksharpen.html new/netpbm.sourceforge.net/doc/pammasksharpen.html --- old/netpbm.sourceforge.net/doc/pammasksharpen.html 2004-10-09 23:18:39.000000000 +0200 +++ new/netpbm.sourceforge.net/doc/pammasksharpen.html 2006-11-10 20:17:53.000000000 +0100 @@ -3,18 +3,18 @@ <HEAD><TITLE>Pammasksharpen User Manual</TITLE></HEAD> <BODY> <H1>pammasksharpen</H1> -Updated: 08 May 2004 +Updated: 14 June 2006 <BR> <A HREF="#index">Table Of Contents</A> -<A NAME="name"> </A> <H2>NAME</H2> pammasksharpen - Sharpen an image via an unsharp mask -<A NAME="synopsis"> </A> -<H2>SYNOPSIS</H2> +<H2 id="synopsis">SYNOPSIS</H2> <B>pammasksharpen</B> +[<b>-sharpness=</b><i>realnum</i> +[<b>-threshold=</b><i>realnum</i> <I>maskfile</I> [<I>inputfile</I>] @@ -23,9 +23,7 @@ name and its value with white space instead of an equals sign. - -<A NAME="examples"> </A> -<H2>EXAMPLES</H2> +<H2 id="examples">EXAMPLES</H2> <pre> pamgauss 5 5 -sigma=.7 -tupletype=GRAYSCALE | pamtopnm >gauss.pgm @@ -34,8 +32,7 @@ </pre> -<A NAME="description"> </A> -<H2>DESCRIPTION</H2> +<H2 id="description">DESCRIPTION</H2> <p>This program is part of <a href="index.html">Netpbm</a>. @@ -44,19 +41,81 @@ via an unsharp mask, which you supply as another Netpbm image. <p>An unsharp mask is generally a blurred version of the original -image. The sharpening computation is simply to double the value of a -pixel in the input and subtract the value of the identically located -pixel from the unsharp mask. This causes pixels that are brighter -than their neighbors to get even brighter, while pixels that are -dimmer than their neighbors get even dimmer. This makes edges -- places -where pixel values change quickly in space -- stand out more. +image. The sharpening computation is this: Calculate the +"edgeness" of a sample in the input image as the signed +difference between the sample value and the corresponding sample in +the unsharp mask. This tells how different the pixel is from its +neighbors. Add a multiple of the edgeness to the original sample to +get the corresponding output sample. Clip as necessary. This causes +pixels that are brighter than their neighbors to get even brighter, +while pixels that are dimmer than their neighbors get even dimmer. +This makes edges -- places where pixel values change quickly in space +-- stand out more. <p>The unsharp mask must be the same dimensions and have the same maxval as the input image. +<h3>The Unsharp Mask</h3> + +<p>You usually create the unsharp mask as a gaussian blur of the +original image, which you can do using <b>pamgauss</b> and +<b>pnmconvol</b> as in the example above. The convolution kernel you +use with <b>pnmconvol</b> is normally a square with side length an odd +number of pixels. + +<p>When you create an unsharp mask like this, you will have to choose +the side length of the convolution kernel. That length implements the +parameter of unsharp mask sharpening usually known as +"radius." In particular, a radius of R pixels corresponds to a +convolution kernel 2R+1 pixels on a side. + +<p>Radius is a very important parameter; you can ruin an image with a +radius too large. You can safely use the highest radius with an +inanimate object, while a human face demands the least. Landscapes +fall in between. But it really depends on the size of the details. +Fine detail needs a smaller radius, or else you may obliterate tiny +detail of the same size as the Radius width. A large image often has +larger detail (more pixels involved), so can use a larger radius. +Radius and sharpness (see <b>-sharpness</b> option) interact: reducing +one allows you to increase the other. + +<H2 id="options">OPTIONS</H2> + +<DL COMPACT> + +<DT><B>-sharpness=</B><I>realnum</I> + +<DD>This specifies the magnitude of the sharpening. It is the multiple +of edgeness that gets added to each sample as described above. + +<p><i>realnum</i> is a nonnegative real decimal number. Zero means +no sharpening at all. + +<p>This parameter is known as "amount" in ImageMagick. + +<p>The default is 1.0. + +<p>This option was new in Netpbm 10.30 (October 2005). Before that, +the sharpness was always 1.0. + +<DT><B>-threshold=</B><I>realnum</I> + +<dd>This minimum amount of edgeness that will be considered edgeness +at all. i.e. if the magnitude of the edgeness is less than this, +<b>pammasksharpen</b> will treat the edgeness as zero. + +<p>A nonzero value may be necessary here to avoid speckling in smooth +areas. + +<p>This is a fraction of the maxval (so it is in the range [0, 1.0]). + +<p>The default is 0. + +<p>This option was new in Netpbm 10.34 (June 2006). + +</dl> -<A NAME="seealso"> </A> -<H2>SEE ALSO</H2> +<H2 id="seealso">SEE ALSO</H2> <A HREF="pnmconvol.html">pnmconvol</A>, <A HREF="pamedge.html">pamedge</A>, @@ -67,16 +126,13 @@ <A HREF="pam.html">pam</A> -<A NAME=history></A> -<H2>HISTORY</h2> +<H2 id="history">HISTORY</h2> <p><b>pammasksharpen</b> was new in Netpbm 10.23 (July 2004). <HR> -<A NAME="index"> </A> -<H2>Table Of Contents</H2> +<H2 id="index">Table Of Contents</H2> <UL> -<LI><A HREF="#name">NAME</A> <LI><A HREF="#synopsis">SYNOPSIS</A> <LI><A HREF="#description">DESCRIPTION</A> <LI><A HREF="#history">HISTORY</A> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/netpbm.sourceforge.net/doc/pbmtomatrixorbital.html new/netpbm.sourceforge.net/doc/pbmtomatrixorbital.html --- old/netpbm.sourceforge.net/doc/pbmtomatrixorbital.html 1970-01-01 01:00:00.000000000 +0100 +++ new/netpbm.sourceforge.net/doc/pbmtomatrixorbital.html 2004-10-09 23:18:33.000000000 +0200 @@ -0,0 +1,59 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML><HEAD><TITLE>Pbmtomatrixorbital User Manual</TITLE></HEAD> +<BODY> +<H1>pbmtomatrixorbital</H1> +Updated: 06 September 2003 +<BR> +<A HREF="#index">Table Of Contents</A> + +<A NAME="name"> </A> +<H2>NAME</H2> +pbmtomatrixorbital - convert a PBM image to a Matrix Orbital LCD image + +<A NAME="synopsis"> </A> +<H2>SYNOPSIS</H2> + +<B>pbmtomatrixorbital</B> + +[<I>pbmfile</I>] + +<A NAME="description"> </A> +<H2>DESCRIPTION</H2> + +<p>This program is part of <a href="index.html">Netpbm</a>. + +<b>pbmtomatrixorbital</b> reads a PBM image as input and produces as output +an image that can be uploaded to a Matrix Orbital LCD display. + +<p>You can upload the image to the LCD via the serial port to which it +is connected with the program <b>mo-upload.pl</b>, which you can get from +the package <b>pbmtomatrixorbital</b>. Yes, the package is the same name +as this Netpbm program, and it contains its own <b>pbmtomatrixorbital</b> +program which is slightly different from this one because it is not part +of the Netpbm package. + +<A NAME="history"> </A> +<H2>HISTORY</H2> + +<p><b>pbmtomatrixorbital</b> was added to Netpbm in Release 10.18 +(September 2003). + +<A NAME="seealso"> </A> +<H2>SEE ALSO</H2> + +<A HREF="pbmtox10bm.html">pbmtox10bm</A>, +<A HREF="xbmtopbm.html">xbmtopbm</A>, +<A HREF="pbm.html">pbm</A> + +<HR> +<A NAME="index"> </A> +<H2>Table Of Contents</H2> +<UL> +<LI><A HREF="#name">NAME</A> +<LI><A HREF="#synopsis">SYNOPSIS</A> +<LI><A HREF="#description">DESCRIPTION</A> +<LI><A HREF="#history">HISTORY</A> +<LI><A HREF="#seealso">SEE ALSO</A> +</UL> +</BODY> +</HTML> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/netpbm.sourceforge.net/doc/pnmflip.html new/netpbm.sourceforge.net/doc/pnmflip.html --- old/netpbm.sourceforge.net/doc/pnmflip.html 1970-01-01 01:00:00.000000000 +0100 +++ new/netpbm.sourceforge.net/doc/pnmflip.html 2004-10-09 23:17:53.000000000 +0200 @@ -0,0 +1,25 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML><HEAD> +<TITLE>Pnmflip User Manual</TITLE></HEAD> +<BODY> +<H1>pnmflip</H1> +<BR> +<p><b>pnmflip</b> was replaced in Netpbm 10.13 (December 2002) by +<b><a href=pamflip.html>pamflip</a></b>. + +<P><B>pamflip</b> is mostly backward compatible with <b>pnmflip</b>, +but works on PAM images too. + +<P>One way <b>pamflip</b> is not backward compatible with <b>pnmflip</b> +is that <b>pnmflip</b> lets you specify any number of basic flip options, +whereas <b>pamflip</b> requires exactly one. (<b>pamflip</b> provides +the <b>-xform</b> option for requesting multiple transformations, though). +Because of this incompatibility, <b>pnmflip</b> still exists as a +separate program, and all it does is translate its options to <b>pamflip</b> +style and run <b>pamflip</b>. + +<P>You should not make any new use of <b>pnmflip</b> and if you modify an +existing use, you should upgrade to <b>pamflip</b>. + +</BODY> +</HTML> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/netpbm.sourceforge.net/doc/ppmcolors.html new/netpbm.sourceforge.net/doc/ppmcolors.html --- old/netpbm.sourceforge.net/doc/ppmcolors.html 1970-01-01 01:00:00.000000000 +0100 +++ new/netpbm.sourceforge.net/doc/ppmcolors.html 2004-10-09 23:18:04.000000000 +0200 @@ -0,0 +1,13 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML><HEAD><TITLE>Ppmcolors User Manual</TITLE></HEAD> + +<BODY> + +<p><b>ppmcolors</b> is obsolete. The more general program <b>pamseq</a></b> took its place in June 2002. +<b>ppmcolors</b> remains for backward compatibility, but all it does is +run <b>pamseq</b>. It is slower and less flexible than running +<b>pamseq</b> directly. + +</BODY> +</HTML> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/netpbm.sourceforge.net/doc/ppmtomap.html new/netpbm.sourceforge.net/doc/ppmtomap.html --- old/netpbm.sourceforge.net/doc/ppmtomap.html 1970-01-01 01:00:00.000000000 +0100 +++ new/netpbm.sourceforge.net/doc/ppmtomap.html 2004-10-09 23:18:10.000000000 +0200 @@ -0,0 +1,45 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML><HEAD><TITLE>Ppmtomap User Manual</TITLE></HEAD> +<BODY> +<H1>ppmtomap</H1> +Updated: 06 January 2002 +<BR> +<A HREF="#index">Table Of Contents</A> + +<A NAME="lbAB"> </A> +<H2>NAME</H2> + +ppmtomap - create a map of all colors in a PPM image + +<A NAME="lbAC"> </A> +<H2>DESCRIPTION</H2> + +<p>This program is part of <a href="index.html">Netpbm</a>. + +<P>This program exists only for backward compatibility. + +<P>Use <B>pnmcolormap</B>, which replaced it in January 2002. + +<P>One trivial difference between <B>ppmtomap</B> and <B>pnmcolormap +all</B> is that if the input is PBM or PGM, <B>ppmtomap</B> would +produce PPM output, whereas <B>pnmcolormap all</B> produces the same +kind of output as the input. This should not be very noticeable, +though, as PBM and PGM images are usually usable anywhere a PPM image +is. + +<A NAME="lbAD"> </A> +<H2>SEE ALSO</H2> + +<B><A HREF="pnmcolormap.html">pnmcolormap</A></B> + + +<HR> +<A NAME="index"> </A> +<H2>Table Of Contents</H2> +<UL> +<LI><A HREF="#lbAB">NAME</A> +<LI><A HREF="#lbAC">DESCRIPTION</A> +<LI><A HREF="#lbAD">SEE ALSO</A> +</UL> +</BODY> +</HTML> ++++++ netpbm-10.26.22-manpages.tar.bz2 ++++++ Binary files old/man/man1/g3topbm.1.gz and new/man/man1/g3topbm.1.gz differ Binary files old/man/man1/pamenlarge.1.gz and new/man/man1/pamenlarge.1.gz differ Binary files old/man/man1/pammasksharpen.1.gz and new/man/man1/pammasksharpen.1.gz differ Binary files old/man/man1/pbmtoibm23xx.1.gz and new/man/man1/pbmtoibm23xx.1.gz differ Binary files old/man/man1/pbmtomatrixorbital.1.gz and new/man/man1/pbmtomatrixorbital.1.gz differ Binary files old/man/man1/pbmtox10bm.1.gz and new/man/man1/pbmtox10bm.1.gz differ Binary files old/man/man1/pnmflip.1.gz and new/man/man1/pnmflip.1.gz differ Binary files old/man/man1/pnmtopng.1.gz and new/man/man1/pnmtopng.1.gz differ Binary files old/man/man1/ppmcolors.1.gz and new/man/man1/ppmcolors.1.gz differ Binary files old/man/man1/ppmtomap.1.gz and new/man/man1/ppmtomap.1.gz differ ++++++ netpbm-10.26.22-pamtouil.patch ++++++ --- converter/other/pamtouil.c +++ converter/other/pamtouil.c @@ -94,7 +94,7 @@ /* Remove trailing "_icon" */ barPos = strrchr(cmdlineP->outname, '_'); - if (strcmp(barPos, "_icon") == 0) + if (barPos && strcmp(barPos, "_icon") == 0) *barPos = '\0'; } else { if (strcmp(cmdlineP->inputFilespec, "-") == 0) ++++++ netpbm-10.26.22-pbmtext.patch ++++++ --- generator/pbmtext.c +++ generator/pbmtext.c @@ -217,7 +217,7 @@ /* logical: we haven't seen any renderable characters yet in the line. */ - struct glyph * lastGlyphP; + struct glyph * lastGlyphP = NULL; /* Glyph of last character processed so far. Undefined if 'no_chars_yet'. */ @@ -248,8 +248,8 @@ *bwid_p += full_pixels; accumulated_ics -= full_pixels; } - lastGlyphP = glyphP; } + lastGlyphP = glyphP; *bwid_p += glyphP->xadd; } } ++++++ netpbm-10.26.22-pnmtopng-transparent.patch ++++++ --- converter/other/pnmtopng.c +++ converter/other/pnmtopng.c @@ -1322,7 +1322,7 @@ computePixelWidth(PNM_FORMAT_TYPE(format), pnm_meaningful_bits, alpha, NULL, &bitsPerPixel); - if (!pfP && bitsPerPixel == 1) + if (0/*!pfP && bitsPerPixel == 1*/) /* No palette can beat 1 bit per pixel -- no need to waste time counting the colors. */ @@ -1345,7 +1345,7 @@ "colormapped PNG", MAXCOLORS); } else { /* There are few enough colors that a palette is possible */ - if (bitsPerPixel <= paletteIndexBits(colors) && !pfP) + if (0/*bitsPerPixel <= paletteIndexBits(colors) && !pfP*/) asprintfN(noColormapReasonP, "palette index for %u colors would be " "no smaller than the indexed value (%u bits)", ++++++ netpbm-10.26.22-rgb.patch ++++++ --- pm_config.in.h +++ pm_config.in.h @@ -99,7 +99,7 @@ #define RGB_DB2 "PBMplus_Dir:RGB.TXT" #define RGB_DB3 "PBMplus_Dir:RGB.TXT" #else -#define RGB_DB1 "/usr/lib/X11/rgb.txt" +#define RGB_DB1 "/usr/share/X11/rgb.txt" #define RGB_DB2 "/usr/openwin/lib/rgb.txt" #define RGB_DB3 "/usr/X11R6/lib/X11/rgb.txt" #endif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org