From owner-freebsd-doc@FreeBSD.ORG Tue Jul 13 18:06:06 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D15916A4CE; Tue, 13 Jul 2004 18:06:06 +0000 (GMT) Received: from www.reppep.com (www.reppep.com [66.92.104.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EB9F43D2F; Tue, 13 Jul 2004 18:06:06 +0000 (GMT) (envelope-from pepper@reppep.com) Received: from [129.85.219.160] (salt.rockefeller.edu [129.85.219.160]) by www.reppep.com (Postfix) with ESMTP id 56787FE87; Tue, 13 Jul 2004 14:06:03 -0400 (EDT) Mime-Version: 1.0 Message-Id: In-Reply-To: <20040711.225534.98614992.hrs@eos.ocn.ne.jp> References: <20040711.225534.98614992.hrs@eos.ocn.ne.jp> Date: Tue, 13 Jul 2004 14:05:52 -0400 To: Hiroki Sato From: Chris Pepper Content-Type: text/plain; charset="us-ascii" ; format="flowed" cc: doc@FreeBSD.org Subject: Re: doc build with AFPL Ghostscript 8.14 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 18:06:06 -0000 At 10:55 PM +0900 2004/07/11, Hiroki Sato wrote: >Hi, > > I made a patch to solve a doc build problem when AFPL Ghostscript 8.14 > is used. This patch should be compatible with both of GNU Ghostscript > 7.07, which the docproj port depends on via graphics/peps, and gs 8.14. > The problem was that graphics/peps cannot be used with gs 8.14. After > applying this patch, peps is no longer used. Don't forget to strike the peps comment >@@ -184,8 +197,10 @@ > # relative path when the arguments are passed by peps; realpath will > # correct the problem. > .pic.png: ${.TARGET:S/.png$/.eps/} >- ${EPS2PNG} ${EPS2PNGOPTS} -o ${.TARGET} \ >- `${REALPATH} ${.TARGET:S/.png$/.eps/}` >+ ${EPSGEOM} -offset ${EPSGEOMOPTS} ${.TARGET:S/.png$/.eps/} \ >+ | ${EPS2PNM} ${EPS2PNMOPTS} \ >+ -g`${EPSGEOM} -geom ${EPSGEOMOPTS} >${.TARGET:S/.png$/.eps/}` - \ >+ | ${PNMTOPNG} > ${.TARGET} Chris -- Chris Pepper: Rockefeller University: