Translatable XSL stylesheets for QSF

Neil Williams linux at codehelp.co.uk
Thu Mar 9 05:20:02 EST 2006


On Wednesday 08 March 2006 10:49 pm, Josh Sled wrote:
> On Wed, 2006-03-08 at 11:52 +0000, Neil Williams wrote:
> > The stylesheets are gnucash-specific (only deal with gnucash QFS objects)

typo. Should be (QSF objects) 

> > and hence shouldn't go into lib/libqof/ but into a new directory. A new
> > top-level directory xsl/ ? doc/xsl/ ?
>
> doc/xsl/ isn't right ... contrib/xsl/?  src/xsl/?

I agree, doc/xsl isn't good. I'm not sure about contrib - might give the wrong 
impression (non-free).

Is putting it in src/optional/xsl a little too deep / hidden?

It might work well with the existing setup in src/optional/Makefile.am:
# N.B. Do *not* specify subdirs, since we do *not* want the swig subdirs
# built by default, since many folks may not have swig installed, and this
# is, after all, optional. But do put them in the dist.
# For some reason, we need to set SUBDIRS to a blank to
# get this to work (automake 1.4p5).

That's how I see the XSL too - no need to build at all. That also means that 
any dependencies introduced by the XSL can also be optional, i.e. in a 
package like gnucash-common, they would be labelled as Suggest or Recommend. 
Personally, I'd say "suggest" - i.e. for those who are interested or have 
customised requirements rather than an addition for almost everyone which is 
how I'd interpret "recommend".

The XSL could go here and just be added to DIST_SUBDIRS to be distributed 
"as-is".

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20060309/aa84ba9c/attachment.bin


More information about the gnucash-devel mailing list