[kmail2] [Bug 374756] New: Help docbook not found

Burkhard Lueck bugzilla_noreply at kde.org
Sun Jan 8 14:46:13 UTC 2017


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

            Bug ID: 374756
           Summary: Help docbook not found
           Product: kmail2
           Version: Git (master)
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: lueck at hube-lueck.de
                CC: kde-doc-english at kde.org
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kde-doc-english mailing list