Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2006 00:56:02 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        des@FreeBSD.org, emin@mccme.ru
Cc:        ports@FreeBSD.org, hrs@FreeBSD.org
Subject:   Re: bug in textproc/docbook-xsl ???
Message-ID:  <20060223.005602.127643564.hrs@allbsd.org>
In-Reply-To: <20060221083423.GA7982@mccme.ru>
References:  <20060221083423.GA7982@mccme.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart0(Thu_Feb_23_00_56_02_2006_948)--
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Thu_Feb_23_00_56_02_2006_832)--"
Content-Transfer-Encoding: 7bit

----Next_Part(Thu_Feb_23_00_56_02_2006_832)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

"Eugene M. Minkovskii" <emin@mccme.ru> wrote
  in <20060221083423.GA7982@mccme.ru>:

em> I'm tring to use xsl with profiling, but got an error:
em>
em> /usr/local/bin/xsltproc --profile --nonet my.xsl my.xml warning: failed to load external entity "/usr/local/share/xsl/docbook/profiling/profile-mode.xsl"
em> compilation error: file /usr/local/share/xsl/docbook/html/profile-chunk-code.xsl line 219 element include
em> xsl:include : unable to load /usr/local/share/xsl/docbook/profiling/profile-mode.xsl
em>
em> to avoid this I do following:
em> $ tar -xjf /usr/ports/distfiles/docbook-xsl-1.69.1.tar.bz2
em> $ sudo cp -rv docbook-xsl-1.69.1/profiling /usr/local/share/xsl/docbook/
em> $ rm -rf docbook-xsl-1.69.1/
em>
em> Why profiling does not install automatically?

 I think this is a bug in textproc/docbook-xsl.

 DES, could you please review the attached patch?  Thanks.

--
| Hiroki SATO

----Next_Part(Thu_Feb_23_00_56_02_2006_832)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="docbook-xsl.diff"

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/docbook-xsl/Makefile,v
retrieving revision 1.35
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$DragonFly:.*\$ -I\$Id:.*\$ -I\$Translation:.*\$ -I\$hrs:.*\$ -r1.35 Makefile
--- Makefile	26 Sep 2005 07:23:05 -0000	1.35
+++ Makefile	22 Feb 2006 15:52:44 -0000
@@ -7,6 +7,7 @@

 PORTNAME=	docbook-xsl
 PORTVERSION=	1.69.1
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	docbook
@@ -29,7 +30,7 @@
 INSTDIR=	share/xsl/docbook
 PINSTDIR=	${PREFIX}/${INSTDIR}
 COPYDIRS=	common fo extensions html htmlhelp images \
-		javahelp lib manpages params template xhtml
+		javahelp lib manpages params profiling template xhtml
 PKGINSTALL=	${WRKDIR}/pkg-install
 PKGDEINSTALL=	${WRKDIR}/pkg-deinstall

Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/textproc/docbook-xsl/pkg-plist,v
retrieving revision 1.29
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$DragonFly:.*\$ -I\$Id:.*\$ -I\$Translation:.*\$ -I\$hrs:.*\$ -r1.29 pkg-plist
--- pkg-plist	22 Jan 2006 06:28:52 -0000	1.29
+++ pkg-plist	22 Feb 2006 15:52:03 -0000
@@ -1671,6 +1671,11 @@
 share/xsl/docbook/params/xref.properties.xml
 share/xsl/docbook/params/xref.title-page.separator.xml
 share/xsl/docbook/params/xref.with.number.and.title.xml
+share/xsl/docbook/profiling/ChangeLog
+share/xsl/docbook/profiling/profile-mode.xsl
+share/xsl/docbook/profiling/profile.xsl
+share/xsl/docbook/profiling/strip-attributes.xsl
+share/xsl/docbook/profiling/xsl2profile.xsl
 share/xsl/docbook/template/ChangeLog
 share/xsl/docbook/template/README
 share/xsl/docbook/template/biblioentry.xsl
@@ -1736,6 +1741,7 @@
 @dirrm share/xsl/docbook/xhtml
 @dirrm share/xsl/docbook/template
 @dirrm share/xsl/docbook/params
+@dirrm share/xsl/docbook/profiling
 @dirrm share/xsl/docbook/manpages
 @dirrm share/xsl/docbook/lib
 @dirrm share/xsl/docbook/javahelp

----Next_Part(Thu_Feb_23_00_56_02_2006_832)----

----Security_Multipart0(Thu_Feb_23_00_56_02_2006_948)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBD/ImSTyzT2CeTzy0RAvU7AJoDvsZkANp8Owe8aWS+ZKHqjYwj0QCgoapr
5Ixhta+2EUZRGhFYrUeAQm4=
=pGGY
-----END PGP SIGNATURE-----

----Security_Multipart0(Thu_Feb_23_00_56_02_2006_948)----



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