[MacPorts] #26151: installed docbook ports are not always correctly reflected in xml catalog

MacPorts noreply at macports.org
Tue Dec 28 10:52:27 PST 2010


#26151: installed docbook ports are not always correctly reflected in xml catalog
------------------------------------------------------+---------------------
  Reporter:  jabronson@…                              |       Owner:  macports-tickets@…                   
      Type:  defect                                   |      Status:  reopened                             
  Priority:  Normal                                   |   Milestone:                                       
 Component:  ports                                    |     Version:  1.9.1                                
Resolution:                                           |    Keywords:                                       
      Port:  docbook-xml docbook-xsl xmlcatmgr xmlto  |  
------------------------------------------------------+---------------------

Comment(by Peter_Dyballa@…):

 I had a similar defect with gtk-doc-1.15
 (https://trac.macports.org/ticket/27771), which was found to be a
 duplicate of this defect. I finally managed to build a work-around from
 Fink's /sw/etc/xml/catalog file. It does not have entries like

 {{{
 <nextCatalog catalog="/opt/local/share/xml/docbook/4.1.2/catalog.xml" />
 <nextCatalog catalog="/opt/local/share/xml/docbook/4.2/catalog.xml" />
 }}}

 but more "explicite" ones:

 {{{
   <public publicId="-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN"
 uri="file:///sw/share/xml/dtd/docbookx/4.1.2/calstblx.dtd"/>
   <public publicId="-//OASIS//DTD DocBook XML CALS Table Model V4.1//EN"
 uri="file:///sw/share/xml/dtd/docbookx/4.1/calstblx.dtd"/>
   <public publicId="-//OASIS//DTD DocBook XML CALS Table Model V4.2//EN"
 uri="file:///sw/share/xml/dtd/docbookx/4.2.0/calstblx.dtd"/>
 }}}

 With some sed edit commands and egrep I created a new
 /opt/local/etc/xml/catalog file, saving the original one to avoid
 Timemachine. Configure finds:

 {{{
 checking for XML catalog (/opt/local/etc/xml/catalog)... found
 checking for xmlcatalog... /opt/local/bin/xmlcatalog
 checking for DocBook XML DTD V4.3 in XML catalog... found
 checking for DocBook XSL Stylesheets in XML catalog... found
 checking for source-highlight... /opt/local/bin/source-highlight
 checking for TEST_DEPS... yes
 checking whether to enable runtime debugging code... no
 configure: creating ./config.status
 }}}

 and gtk-doc-1.15 is upgraded.

-- 
Ticket URL: <https://trac.macports.org/ticket/26151#comment:21>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list