[Bug 1685329] [NEW] Help docbook not found

Launchpad Bug Tracker 1685329 at bugs.launchpad.net
Fri Apr 21 18:13:27 UTC 2017


You have been subscribed to a public bug by wens (alex-volegov):

Kubuntu 17.04
Using Help->KMail Handbook or F1 the docbook for KMail is not found and KHelpcenter displays the "Documentation not found" page.
Possible fixes:
1) change the componentname in kaboutdata to kmail
~/src/pim/kmail(trunk)$ git diff src/
diff --git a/src/aboutdata.cpp b/src/aboutdata.cpp
index 9c356e5..9a380c9 100644
--- a/src/aboutdata.cpp
+++ b/src/aboutdata.cpp
@@ -360,7 +360,7 @@ static const about_data credits[] = {
 };
 
 AboutData::AboutData()
-    : KAboutData(QStringLiteral("kmail2"),
+    : KAboutData(QStringLiteral("kmail"),
                  i18n("KMail"),
                  QStringLiteral(KDEPIM_VERSION),
                  i18n("KDE Email Client"),

But this maybe have unwanted side effects?

2) Install into subdir kmail2
~/src/pim/kmail(trunk)$ git diff doc/kmail/CMakeLists.txt 
diff --git a/doc/kmail/CMakeLists.txt b/doc/kmail/CMakeLists.txt
index 381d075..7388d88 100644
--- a/doc/kmail/CMakeLists.txt
+++ b/doc/kmail/CMakeLists.txt
@@ -1 +1 @@
-kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kmail)
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kmail2)

For this fix the X-DocPath has to be changed as well and we have to
"translate" kmail to kmail2 via scripts/documentation_paths or rename
the folder doc/kmail to doc/kmail2, so that autogen.sh generates the
correct install path for the translated docbooks.

https://bugs.kde.org/show_bug.cgi?id=374756

** Affects: kdepim (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Help docbook not found
https://bugs.launchpad.net/bugs/1685329
You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to the bug report.




More information about the kubuntu-bugs mailing list