kde4libs (4:4.4.5-2+squeeze3) 28_find_old_kde4_html_documentation.diff


 kdecore/kernel/kstandarddirs.cpp |    5 +++++
 1 file changed, 5 insertions(+)

download this patch

Patch contents

Description: find documentation of applications built against Debian KDE SC << 4.4.4
 Debian has switched HTML_INSTALL_DIR to /usr/share/doc/kde with the release of
 KDE SC 4.4.4 to Debian unstable. This patch allows khelpcenter4 to open
 documentation of KDE applications that were built with prior versions of KDE 4
 Develop Plarform.
Author: Modestas Vainius <modax@debian.org>
Author: Xavier Vello <xavier.vello@gmail.com>
Forwarded: not-needed
Origin: vendor
Last-Update: 2010-05-28

--- a/kdecore/kernel/kstandarddirs.cpp
+++ b/kdecore/kernel/kstandarddirs.cpp
@@ -1796,6 +1796,11 @@ void KStandardDirs::addKDEDefaults()
     addResourceType("autostart", "xdgconf-autostart", "/"); // merge them, start with xdg autostart
     addResourceType("autostart", NULL, "share/autostart"); // KDE ones are higher priority
+    // Debian patch: add old KDE4 HTML documentation dir, so that
+    // khelpcenter4 can open documentation of KDE applications built against
+    // Debian KDE SC << 4.4.4.
+    addResourceDir("html", "/usr/share/doc/kde4/HTML", false);
 static QStringList lookupProfiles(const QString &mapFile)