groff results in empty pngs (pnm* tools not on system)

Gaetan Nadon memsize at videotron.ca
Thu Jun 17 17:35:11 PDT 2010


On Wed, 2010-06-16 at 15:00 -0700, Jeremy Huddleston wrote:

> In the process of building libX11, I noticed that a ton of empty  
> images are being created.
> 
> The command that results in the empty images is:
> ~/src/freedesktop/src/libX11/specs/XIM (master) $ /usr/bin/groff -e -t  
> -ms -dxV="libX11 1.3.4" -I. ../../specs/macros.t -Thtml -P-Dimages -P- 
> Ixim-image xim.ms 2> index.xim.html.raw > xim.html
> 
> ~  $ ls -al /usr/X11/share/doc/libX11/specs/XIM/images/
> total 0
> drwxr-xr-x 61 root wheel 2074 Jun 16 12:15 .
> drwxr-xr-x  6 root wheel  204 Jun 16 12:15 ..
> -rw-r--r--  1 root wheel    0 Jun 16 11:48 xim-image1.png
> -rw-r--r--  1 root wheel    0 Jun 16 11:48 xim-image10.png
> ...
> 
> 
> The stderr from the above command shows a bunch of lines like:
> Calling `pnmcut 165 158 583 397 < /var/folders/82/3fx+36+h6bh12wg5m 
> +xpm4ym++++fn/T/groff-page-KcEGLl | pnmcrop -quiet | pnmtopng - 
> background rgb:f/f/f -transparent rgb
> :f/f/f > images/xim-image1.png
> ' returned status 32512
> 
> There is no pnmcut available on the system.  Why are pnm* getting run  
> by groff?  Is that something that "we" (X11) have setup (and should  
> therefore be checking in util-macros), or is that a dependency of  
> groff which Mac OSX is not shipping (and I should therefore bug  
> someone else).
> 

I'd like to know if the images get generated correctly.
http://netpbm.darwinports.com/

> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100617/65a9abe9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100617/65a9abe9/attachment.pgp>


More information about the xorg-devel mailing list