Fix docs generation with docbook-xslt >= 1.76
Review Request #101791 - Created June 27, 2011 and submitted
|aacid, lueck, rdieter|
Previously, local.l10n.xml was defined to use a build-time generated file containing the a list of languages for which we provides customizations (see kdoctools/customization/xsl). It seems that this is not the intended way for customization to work; it used to work by accident for docbook-xsl<=1.75 but the new optimaized l10n structure introduced with docbook-xsl>=1.76 broke it (see: http://lists.oasis-open.org/archives/docbook-apps/201009/msg00143.html ) The idea now is to directly load the correct customization file for the required language. In order to fix the generated documentation, this must be regenerated again using the newly built meinproc.
Testing performed on Debian testing (kdelibs 4.7, docbook-xslt 1.75/1.76) and Fedora 15 (kdelibs trunk and 4.6.4, docbook-xslt 1.75/1.76, thanks to rdieter).
Installed docbook-xsl_1.76.0~RC1+dfsg-1 and applied the patch, generated lang docs and build some modules and german language, looks ok to me. I have the missing "previous" and "next" buttons reported in http://bugs.kde.org/show_bug.cgi?id=271331. Do we to change http://websvn.kde.org/trunk/www/areas/docs/generator for docs.kde.org?