Version: 3.5.2 (using KDE KDE 3.5.2) Installed from: Fedora RPMs OS: Linux kde-i18n < 3.5.2 used to install locale-specific common files to: $HTML_DIR/<locale>/common but as of 3.5.2, most of that seems moved to $HTML_DIR/<locale>/<locale>/doc/common Unfortunately, there seem to be a lot of symlinks $HTML_DIR/<locale>/*/common pointing to a now non-existent ../common (*) where HTML_DIR=`kde-config --expandvars --install HTML`
Using the Gentoo split packages (this includes recreation of configure etc.) almost everything is fine, but these few files fdl-translated.html gpl-translated.html kde-localised.css lgpl-translated.html logotp3.png are erroneously located in $HTML_DIR/de/de/docs/common/ An $HTML_DIR/en/en subtree does not exist.
Not only that, but installing a language package makes all files in $HTML-DIR/en/common disappear, which makes everything look pretty often even in the English documentation. $HTML-DIR/da/common used to be a directory containing some files and some links, now it is just a link to ../en/common
I'd like to confirm that that this affects from-source installations as well. I find the same files Carsten mentioned in every /usr/share/doc/HTML/$LOCALE/$LOCALE/common/ as he does. /usr/share/doc/HTML/en/common does not disappear when I install language packs.
I'll look into it - I can see it too ;)
the bug was in the autogen.sh script. It will only be fixed by KDE 3.5.3 I'm afraid
Any chance of attaching the patch/mods here (short of my digging through svn for the fix)? :)
http://websvn.kde.org/branches/stable/l10n/scripts/autogen.sh?rev=534515&r1=501522&r2=534515
Thanks!
I pulled scripts from svn, but I don't think it's completely right. The only change I see is that $HTML_DIR/<locale>/<locale>/docs/common is now $HTML_DIR/<locale>/docs/common There still exist a multitude of installed symlinks that point to a non-existent $HTML_DIR/<locale>/common
No symlink issues here, Rex. Running sed on Makefile.in fixed the l10/l10 issue and everything is fine.
Carsten, so installing kde-i18n-de, for example, you see something at $HTML_DIR/de/common?
OK, let me go check my own facts first. I think I am likely wrong. :)
OK, after patching kde-i18n-$locale with: test -f docs/common/Makefile.am && \ sed -i -e "s@${locale}/docs/common@docs/common@" \ docs/common/Makefile.am \ docs/common/Makefile.in I've confirmed that the "symlinks pointing to missing $HTML_DIR/<locale>/common" problem still exists. For example, in packaging/installing kde-i18n-es-3.5.2, I'm seeing a multitude of symlinks pointing to a non-existent /usr/share/doc/HTML/es/common. There are also many kde apps (e.g. kile) that install symlinks pointing to this too. Now, is my patch invalid (ie, it doesn't match comment #7) or is this still a real problem?
Confirmed fixed in 3.5.3