make in /usr/doc
Hiroki Sato
hrs at FreeBSD.org
Mon Nov 17 21:11:34 UTC 2003
Marc Fonvieille <blackend at freebsd.org> wrote
in <20031117204533.B4311 at abigail.blackend.org>:
blackend> On Mon, Nov 17, 2003 at 07:25:54PM +0000, Ceri Davies wrote:
blackend> >
blackend> > Isn't that just a sneaky way of not exercising the A4 code, though? ;-)
blackend> > (i.e., we still don't get A4 output, or am I misunderstanding what
blackend> > -sPAPERSIZE=letter does?).
blackend> >
blackend>
blackend> ps2epsi is only used for images, however we should report the bug to
blackend> GS (I know could do it since I found that issue, but I was lazy :))).
I think that is not a bug in a sense. We use groff (grops) to convert
.pic to .ps, but its default paper size is US letter, I guess.
So ps2epsi needs to accept US letter size by default; otherwise, an error
can occur.
Another workaround is adding "-P -p -P a4" to groff's flag as the
following patch does. With the flags the build should work fine
without regardless to A4=yes. I am not sure if this always works, but
could you try this? If it works properly, I will commit it.
--
| Hiroki SATO
Index: doc.images.mk
===================================================================
RCS file: /home/ncvs/doc/share/mk/doc.images.mk,v
retrieving revision 1.23
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.23 doc.images.mk
--- doc.images.mk 1 Aug 2003 20:28:55 -0000 1.23
+++ doc.images.mk 17 Nov 2003 20:27:46 -0000
@@ -143,7 +143,7 @@
EPSTOPDF?= ${PREFIX}/bin/epstopdf
EPSTOPDFOPTS?= ${EPSTOPDFFLAGS}
PS2EPS?= ${PREFIX}/bin/ps2epsi
-PIC2PS?= ${GROFF} -p -S -Wall -mtty-char -man
+PIC2PS?= ${GROFF} -P -p -P a4 -p -S -Wall -mtty-char -man
REALPATH?= /bin/realpath
# Use suffix rules to convert .scr files to other formats
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20031118/e731db75/attachment.sig>
More information about the freebsd-doc
mailing list