Re: [Plplot-devel] [PATCH] Exposes XML_DECL in cmake to give path to xml.dcl

2010-01-07 Thread David MacMahon

On Jan 7, 2010, at 15:38 , David MacMahon wrote:

 This also allows one to specify the docbook 4.2 catalog by  
 prepending -c /path/to/docbook-42.cat  to XML_DECL.  It's a  
 little bit of a cheat; the catalog should probably get it's own  
 cmake variable (or copy it into doc/docbook/src/catalog).

FWIW, on Mac OS X with opensp, docbook-xml-4.2, and xmlcatmgr  
installed via MacPorts, the following command (all one line despite  
email wrapping/mangling!) will make OpenSP aware of the docbook 4.2  
catalog...

sudo xmlcatmgr -c /opt/local/share/OpenSP/catalog -s add CATALOG /opt/ 
local/share/xml/docbook/4.2/docbook.cat --

After that, the cheat described in the above quote is not needed  
(and I think the cmake catalog variable suggested above is not  
needed either).

Enjoy,
Dave


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] [PATCH] Exposes XML_DECL in cmake to give path to xml.dcl

2010-01-07 Thread Alan W. Irwin
On 2010-01-07 15:38-0800 David MacMahon wrote:

 The attached patch exposes XML_DECL to cmake as a user settable option.  This 
 allows make validate to be used on systems that have xml.dcl in locations 
 other than /usr/share/xml/declaration/xml.dcl.  For example, on Macs that 
 have installed OpenSP via MacPorts, the file will be in 
 /opt/local/share/OpenSP/xml.dcl.  This also allows one to specify the 
 docbook 4.2 catalog by prepending -c /path/to/docbook-42.cat  to XML_DECL. 
 It's a little bit of a cheat; the catalog should probably get it's own cmake 
 variable (or copy it into doc/docbook/src/catalog).

This is obviously useful.  Committed as revision 10747.

Thanks.

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__

Linux-powered Science
__

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel