[MacPorts] #31656: docbook-dsssl @1.79 main catalog not installed
MacPorts
noreply at macports.org
Wed Oct 19 03:53:50 PDT 2011
#31656: docbook-dsssl @1.79 main catalog not installed
--------------------------+-------------------------------------------------
Reporter: fgp@… | Owner: decibel@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: docbook-dsssl
--------------------------+-------------------------------------------------
Comment(by fgp@…):
I've now updated the Portfile to install the main catalog. While doing so,
I also added a post-activation hook which adds the catalog to
/etc/sgml/catalog using xmlcatmgr. (funnily enough, xmlcatmgr also
supports SGML catalogs. See the "-s" switch). The hooks were shamelessly
stolen from docbook-xml-4.2's Portfile, and adapted to use xmlcatmgr in
SGML mode. To keep the post-activation hooks as similar as possible, I've
also renamed instdir to install_dir and made it *include* the prefix.
Seems more sensible that way anyway.
My grand plan is of course to get docbook SGML processing to work out-of-
the-box with macports. Towards that end, I've also created a port for
docbook-sgml-4.2 (macports currently only includes the xml version). I'll
add that to trac soon.
With these modifications to the docbook-dssl port and the new docbook-
sgml-4.2 port, two issues remain before docbook SGML processing has a
chance to work. First, the iso8879 port needs to be modified to also add
its catalog to /etc/sgml/catalog. And second, openjade needs to be taught
to actually use the information in /etc/sgml/catalog. Currently, it only
looks for a master catalog in /share/sgml/catalog, I think. My plan is
first to submit a patch for iso8879's Portfiles, and then to see what can
be done about openjade.
--
Ticket URL: <https://trac.macports.org/ticket/31656#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list