[PATCH] Fixes meinproc/docbook can't handle paths with spaces (was: Re: meinproc/docbook can't handle paths with spaces ?)

Ingo Klöcker kloecker at kde.org
Wed Dec 19 22:43:06 GMT 2007


On Tuesday 18 December 2007, Alexander Neundorf wrote:
> On Tuesday 18 December 2007, Ingo Klöcker wrote:
> > FWIW, below you'll find the function that parses the result of
> > getenv("SGML_CATALOG_FILES"). The code is pretty straightforward
> > and it's obvious that nobody thought about spaces in a catalog's
> > path.
>
> Can you file a bug report for libxml ?

Instead of doing this I have converted the SGML catalogs in kdoctools to 
XML catalogs and made meinproc write the catalog paths (encoded as file 
URLs) to the environment variable XML_CATALOG_FILES.

Now kdelibs builds even if the source dir contains spaces.

Is it okay to commit this patch and to svn add the new XML catalogs (see 
attached tar ball)?


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: meinproc.diff
Type: text/x-diff
Size: 1443 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071219/fb5787d6/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmlcatalogs.tar.bz2
Type: application/x-tbz
Size: 5363 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071219/fb5787d6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071219/fb5787d6/attachment.sig>


More information about the kde-core-devel mailing list