Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 17:30:45 +0400
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        Sergei Kolobov <sergei@kolobov.com>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/53173: [NEW PORT] textproc/xmlto: Front-end to an XSL toolchain
Message-ID:  <20030620133044.GX86248@freebsd.org.ru>
In-Reply-To: <200306201300.h5KD0Z4G033020@freefall.freebsd.org>
References:  <200306201300.h5KD0Z4G033020@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 20, 2003 at 06:00:35AM -0700, Sergei Kolobov wrote:
> The following reply was made to PR ports/53173; it has been noted by GNATS.
> 
> From: Sergei Kolobov <sergei@kolobov.com>
> To: FreeBSD-gnats-submit@FreeBSD.org,
> 	"Sergey A. Osokin" <osa@FreeBSD.org>
> Cc:  
> Subject: Re: ports/53173: [NEW PORT] textproc/xmlto: Front-end to an XSL toolchain
> Date: Fri, 20 Jun 2003 16:56:08 +0400
> 
>  The patch below fixes (finally) xmlto port:
>  - avoid fetching DocBook XSL stylesheets via HTTP by redirecting to the
>    installed docbook-xsl port; add dependency
>  
>  --- Makefile.orig	Tue Jun 17 12:50:46 2003
>  +++ Makefile	Fri Jun 20 16:49:55 2003
>  @@ -19,7 +19,8 @@
>   BUILD_DEPENDS=	${BASH_CMD}:${PORTSDIR}/shells/bash2 \
>   		${GETOPT_CMD}:${PORTSDIR}/misc/getopt \
>   		xmllint:${PORTSDIR}/textproc/libxml2 \
>  -		xsltproc:${PORTSDIR}/textproc/libxslt
>  +		xsltproc:${PORTSDIR}/textproc/libxslt \
>  +		${XSL_DIR}:${PORTSDIR}/textproc/docbook-xsl
>   RUN_DEPENDS=	${BUILD_DEPENDS}
>   
>   .if defined(WITH_PASSIVETEX) || exists(${PASSIVETEX})
>  @@ -39,12 +40,16 @@
>   GETOPT_CMD=	${LOCALBASE}/bin/getopt
>   PASSIVETEX=	${LOCALBASE}/share/texmf/tex/passivetex
>   
>  +XSL_URL=	http://docbook.sourceforge.net/release/xsl/current
>  +XSL_DIR=	${LOCALBASE}/share/xsl/docbook
>  +
>   MAN1=		xmlif.1 xmlto.1
>   DOCS=		AUTHORS NEWS
>   
>   do-patch:
>  -	${REINPLACE_CMD} -e 's,/bin/bash,${BASH_CMD},' -e '/--nonet/d' \
>  -		${WRKSRC}/xmlto.in
>  +	${REINPLACE_CMD} -e 's,/bin/bash,${BASH_CMD},' ${WRKSRC}/xmlto.in
>  +	${REINPLACE_CMD} -e 's,${XSL_URL},${XSL_DIR},' \
>  +		${WRKSRC}/format/docbook/*
>   .if !defined(WITH_PASSIVETEX)
>   	${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in
>   .endif

===>  Building for xmlto-0.0.14
make  all-am
source='xmlif/xmlif.c' object='xmlif/xmlif.o' libtool=no  depfile='xmlif/.deps/xmlif.Po' tmpdepfile='xmlif/.deps/xmlif.TPo'  depmode=gcc /bin/sh ./depcomp  cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe -c -o xmlif/xmlif.o `test -f 'xmlif/xmlif.c' || echo './'`xmlif/xmlif.c
cc  -O -pipe   -o xmlif/xmlif  xmlif/xmlif.o
for xml in xmlif.xml xmlto.xml; do  FORMAT_DIR=./format XSL_DIR=./xsl  bash ./xmlto man -o man/man1 ./doc/$xml ;  done
file:///usr/local/share/xml/catalog:1: error: Start tag expected, '<' not found
CATALOG "dtd/catalog"
^
Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
/usr/home/ports/src/xmlto/work/xmlto-0.0.14/./doc/xmlif.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">;
                                                           ^
Writing xmlif.1 for refentry(xmlif)
file:///usr/local/share/xml/catalog:1: error: Start tag expected, '<' not found
CATALOG "dtd/catalog"
^
Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
/usr/home/ports/src/xmlto/work/xmlto-0.0.14/./doc/xmlto.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">;
                                                         ^
Writing xmlto.1 for refentry

It looks like still drink some water from oasis... Isn't it ?

-- 

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
                             / \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030620133044.GX86248>