Docs use wrong path to images

Bug #45961 reported by Raphaël Pinson
10
Affects Status Importance Assigned to Milestone
kubuntu-docs (Ubuntu)
Fix Released
Medium
Raphaël Pinson

Bug Description

Hey guys :)

The Kubuntu docs use a wrong path to images in localized versions.
In French for example, it links to images in /usr/share/doc/kde/HTML/fr/common which doesn't exist. All images are in /usr/share/doc/kde/HTML/en/common, whatever language is to be used for the text.

In order to not rebuild the whole doc without the localization variables in the images, one possible fix could be to add

        for files in `cd /usr/share/doc/kde/HTML/ && ls`; do \
                ln -s /usr/share/doc/kde/HTML/en/common /usr/share/doc/kde/HTML/$$files/;
        done;

This could be added to either kubuntu-docs or kdelibs to fix this issue.
If that fix is not chosen, kubuntu-docs' code should be fixed to hardlink to the en/ section for common/ images.

Revision history for this message
Raphaël Pinson (raphink) wrote :

Actually this is a bug in kde-i18n-fr which doesn't install the common dir anymore. I'll have to look and see how to fix this.

Changed in kubuntu-docs:
assignee: nobody → raphink
Revision history for this message
Raphaël Pinson (raphink) wrote :

Back to my first idea actually. It seems the best way to do that without touching the docs yet (it might be a good idea to fix the docs in Edgy though) is to add to debian/rules in kubuntu-docs. kubuntu-docs indirectly depends on kdelibs-data which contains /usr/share/kde/HTML/en/common/ so the dir is sure to exist.

Maybe using the postinst instead of the install would be better though.

Changed in kubuntu-docs:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.