Making KDocTools independent of KArchive

T. C. Hollingsworth tchollingsworth at gmail.com
Mon Sep 30 15:19:57 UTC 2013


Nicolás Alvarez wrote:
> Maybe we can use a third-party docbook-to-manpage conversion tool. On
> Linux it would be easy to install, and on Windows it wouldn't be needed
> ("what's a manpage?"). And still leave it optional everywhere...

Well if this is okay, you could just remove the KDE-specific DTDs and 
entities from the relevant docbook files and just call xsltproc manually.

IIRC xml2pot and friends are not too picky about what sort of XML gets fed 
into them, so scripty should just continue to make POTs out of these plain
docbooks just as well as it handles normal KDE ones.  But, the script that
generates kde-l10n-foo tarballs probably just calls meinproc so some work 
may be needed on that side to get translation working properly.  (Whether 
that be fixing meinproc to handle non-KDE customized docbooks if it doesn't 
already or just fixing that script to use xsltproc where needed.)

-T.C.


More information about the Kde-frameworks-devel mailing list