Fix docs generation with docbook-xslt >= 1.76

Review Request #101791 - Created June 27, 2011 and submitted

Information
Luigi Toscano
kdelibs
KDE/4.7
271331
Reviewers
kdelibs
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).
Burkhard Lück
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?
Rex Dieter
Tested now on both my f14 and f15 boxes with kde-4.6.4/docbook-xslt-1.76.1, works like a charm so far.
Commit Hook
This review has been submitted with commit dd11f66a38a20c4fe9421c70784da05be85e111c by Luigi Toscano to branch KDE/4.7.
Commit Hook
This review has been submitted with commit 2094fbbcb8dea70279252979bad982530aab9088 by Luigi Toscano to branch master.
Loading...