Date: Tue, 18 Nov 2003 05:37:53 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: blackend@FreeBSD.org Cc: stranger@sberbank.sibnet.ru Subject: Re: make in /usr/doc Message-ID: <20031118.053753.70166109.hrs@eos.ocn.ne.jp> In-Reply-To: <20031117192553.GF385@submonkey.net> <20031117204533.B4311@abigail.blackend.org> References: <20031109151006.G85714@woozle.rinet.ru> <20031118.013353.78764065.hrs@eos.ocn.ne.jp> <20031117192553.GF385@submonkey.net>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Tue_Nov_18_05:37:53_2003_732)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Marc Fonvieille <blackend@freebsd.org> wrote in <20031117204533.B4311@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 ----Security_Multipart(Tue_Nov_18_05:37:53_2003_732)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/uTGhTyzT2CeTzy0RAvDVAKCroiVTNZCAOTdGYrrF00+GetBTVwCgoX8D cyGOTu1JX8jlWqKZwAHEn4k= =cbrL -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Nov_18_05:37:53_2003_732)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031118.053753.70166109.hrs>