<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Wed, 2010-06-16 at 15:00 -0700, Jeremy Huddleston wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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).
</PRE>
</BLOCKQUOTE>
I'd like to know if the images get generated correctly.<BR>
<A HREF="http://netpbm.darwinports.com/">http://netpbm.darwinports.com/</A>
<BLOCKQUOTE TYPE=CITE>
<PRE>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>