Bug 107415

Summary: `kde-config --prefix` wrong way to find khtmldir (guesses wrong path on some systems)
Product: [Applications] khelpcenter Reporter: Christopher Martin <chrsmrtn>
Component: generalAssignee: Cornelius Schumacher <schumacher>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ana, de.meyer.maarten
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Fixes the location of the handbooks for indexing.

Description Christopher Martin 2005-06-14 19:34:57 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

khc_docbookdig.pl gets the location of KDE's documentation by effectively doing this:

`kde-config --prefix`/share/doc/HTML/en

On Debian systems, however, the documentation is located in /usr/share/doc/kde/HTML/en, making attempts to build a search index futile. To resolve this, khc_docbookdig.pl should more correctly try this:

`kde-config --expandvars --install html`/en

I'll attach a patch which fixes this. Of course, as per bug #102912, htdig still fails to build an index, but at least we're closer :)

Thanks,
Christopher Martin
Comment 1 Christopher Martin 2005-06-14 19:37:39 UTC
Created attachment 11453 [details]
Fixes the location of the handbooks for indexing.
Comment 2 Maarten De Meyer 2012-04-16 13:54:33 UTC
Can this bug be closed or is your patch not included yet?
Comment 3 Christopher Martin 2012-07-01 16:58:09 UTC
It all seems to work now; given the age of the bug (KDE 3.4), I think it can be closed.