Subject: Re: jadetex running out of memory
To: None <hubert@feyrer.de>
From: Hiroki Sato <hrs@NetBSD.org>
List: netbsd-docs
Date: 04/05/2005 00:57:55
----Security_Multipart0(Tue_Apr__5_00_57_55_2005_929)--
Content-Type: Multipart/Mixed;
 boundary="--Next_Part(Tue_Apr__5_00_57_55_2005_337)--"
Content-Transfer-Encoding: 7bit

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

Hubert Feyrer <hubert@feyrer.de> wrote
  in <Pine.GSO.4.61.0504041733230.23673@rfhpc8317>:

hu> On Tue, 5 Apr 2005, Hiroki Sato wrote:
hu> > Hmm, the file /usr/pkg/share/sgml/catalog seems broken.
hu> > Is this problem fixed if you install textproc/jade?
hu> 
hu> Yes! After installing jade, everything works like a charm.
hu> I think jade should be added to the list of required pkgs 
hu> (htdocs/share/mk/...)?

 The problem is that textproc/openjade does not register the necessary
 SGML catalog files, so there is no need to add textproc/jade itself.
 Probably the attached patch should fix this.  Could you please
 try "make pdf" again after deinstalling textproc/jade and upgrading
 textproc/openjade?  Thanks.

-- 
| Hiroki SATO

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

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/openjade/Makefile,v
retrieving revision 1.9
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$DragonFly:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.9 Makefile
--- Makefile	3 Oct 2004 00:18:20 -0000	1.9
+++ Makefile	4 Apr 2005 15:38:20 -0000
@@ -2,7 +2,7 @@
 #
 
 DISTNAME=	openjade-1.3.2
-PKGREVISION=	2
+PKGREVISION=	3
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=openjade/}
 
@@ -21,6 +21,8 @@
 CONFIGURE_ARGS+=	--enable-default-catalog=${OPENJADE_DATA_DIR}/catalog \
 		--datadir=${OPENJADE_DATA_DIR}
 
+SGML_CATALOGS=		${PREFIX}/share/sgml/openjade/catalog
+
 OPENJADE_DATA_DIR=	${PREFIX}/share/sgml/openjade
 OPENJADE_DOC_DIR=	${PREFIX}/share/doc/openjade
 
@@ -37,4 +39,5 @@
 	${INSTALL_DATA} ${WRKSRC}/jadedoc/images/* ${OPENJADE_DOC_DIR}/jadedoc/images
 
 .include "../../textproc/opensp/buildlink3.mk"
+.include "../../textproc/xmlcatmgr/catalogs.mk"
 .include "../../mk/bsd.pkg.mk"

----Next_Part(Tue_Apr__5_00_57_55_2005_337)----

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

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

iD8DBQBCUWQDTyzT2CeTzy0RAuL7AJ0fSqoWy9QoRVkUeAHMwBtlXIsTWACdFP9I
/hagoYFndgFzu3J2H2wj7OE=
=C1V1
-----END PGP SIGNATURE-----

----Security_Multipart0(Tue_Apr__5_00_57_55_2005_929)----