Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 120830
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matteo Azzali <mattepiu@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
khelpcenter-3.5.0.ebuild khelpcenter-3.5.0 ebuild with index_man flag text/plain Matteo Azzali 2006-01-29 09:56 0000 531 bytes Details
khelpcenter-3.5.1.ebuild khelpcenter-3.5.1 ebuild with index_man flag text/plain Matteo Azzali 2006-02-07 10:40 0000 562 bytes Details
khelpcenter-3.5.1.ebuild khelpcenter-3.5.1.ebuild with better dependancy for index_man flag text/plain Matteo Azzali 2006-02-08 15:56 0000 575 bytes Details
khelpcenter-htdig.diff khelpcenter-htdig.diff patch Matteo Azzali 2006-05-02 02:43 0000 1.07 KB Details | Diff
khelpcenter-3.5.2-r1.ebuild khelpcenter-3.5.2-r1.ebuild text/plain Matteo Azzali 2006-05-02 02:45 0000 754 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 120830 depends on: 176620 Show dependency tree
Bug 120830 blocks: 28049
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-29 09:55 0000
khelpcenter isn't only a kde manual, should be a frontend for man,
but htdig is required to rebuild index.....
This ebuild adds index_man flag with this dependancy on, or it will
be much less useful.

------- Comment #1 From Matteo Azzali 2006-01-29 09:56:30 0000 -------
Created an attachment (id=78445) [details]
khelpcenter-3.5.0 ebuild with index_man flag

------- Comment #2 From Peter Hyman 2006-02-07 05:58:29 0000 -------
In addition, it should also compile kdebase-kioslaves otherwise khelpcenter
cannot parse man:/ or info:/ filetypes. I recommend making this a dependency as
well.

------- Comment #3 From Matteo Azzali 2006-02-07 10:40:32 0000 -------
Created an attachment (id=79140) [details]
khelpcenter-3.5.1 ebuild with index_man flag

Updated for 3.5.1 and added kde-base/kdebase-kioslaves dependancy fo index_man
flag as well.  For who's swearing why this is so nice.... with khelpcenter
I can use ctrl+F on man pages and can select (for copy with control+C) more
than one man page at once...

------- Comment #4 From Peter Hyman 2006-02-08 08:08:18 0000 -------
I had been getting errors when creating search indexes for Application Manuals:

> INDEXDIR: /home/peter/.kde3.5/share/apps/khelpcenter/index/
> FINDCMD: find /usr/kde/3.5/share/doc/HTML/en/ -name index.docbook
> Creating index for 'kde_application_manuals'
> Warning: unknown locale!
>
> New server: home, 80
> Unknown host: home
> 0:0:0:file://home/peter/.kde3.5/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html:
------------------------------------------------------------------------------------------
size = 9403
> htdig: Run complete
> htdig: 1 server seen:
> htdig:     home:80 1 document
> htmerge: Document database has no URLs. Check your config file and try
running htdig again.
>
> htmerge failed

Matteo did some research and uncovered a bug report which did not seem related:
http://sourceforge.net/mailarchive/forum.php?forum_id=2691&style=flat&viewday=3&viewmonth=200204

However, on upgrading to htdig 3.2.0_beta-6, kdehelpcenter was able to
correctly compute and build indexes.

I might suggest adding >=www-misc/htdig-3.2.0 as a Depend (even though it's
marked testing right now) since indexes can't be built with htdig-3.1.6. But,
then again, kde 3.5.x is still marked testing.

Thanks Matteo for the excellent find.

------- Comment #5 From Matteo Azzali 2006-02-08 15:56:06 0000 -------
Created an attachment (id=79285) [details]
better dependancy for index_man

Thank you but the merit is of google. However, the hard part would be that
kde goes stable faster tham htdig. This however should not be an issue since
htdig dependancy would be only for index_man flag. Updated ebuild dependancy.

------- Comment #6 From Renat Lumpau 2006-05-01 07:00:15 0000 -------
There is another issue with htdig as detailed in #28049. A few hardcoded paths
in /usr/kde/3.5/bin/khc*.pl need to be changed:

- khc_htsearch.pl: my $htsearchpath="/usr/bin/htsearch";

- khc_htdig.pl and khc_docbookdig.pl: my $htdigdata = "/var/lib/htdig/db"; my
$htdigbin = "/usr/bin";

Also note that khelpcenter should depend on >=www-misc/htdig-3.2.0_beta6-r1

------- Comment #7 From Matteo Azzali 2006-05-02 02:43:38 0000 -------
Created an attachment (id=85971) [details]
khelpcenter-htdig.diff

Patch for the purposed changes. Should be applied at kde-base as well (when 
releasing another patch set....). 
Apply just after cd ${S} (inside kdebase-3.5.2 directory).

------- Comment #8 From Matteo Azzali 2006-05-02 02:45:10 0000 -------
Created an attachment (id=85972) [details]
khelpcenter-3.5.2-r1.ebuild

new ebuild with both index_man flag and the patch (the patch will be applied
even if the flag is unset, as it doesn't seems to touch anything else than
htdig
functions....)

------- Comment #9 From Matteo Azzali 2006-05-02 02:49:18 0000 -------
P.S.: I got this error :
"htdig: Errors to take note of:
Unknown host or unable to contact server: help://kregexpeditor/index.docbook
Ref:
file:///home/matte/.kde3.5/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html"

------- Comment #10 From Matteo Azzali 2006-05-02 02:54:15 0000 -------
The file /usr/kde/3.5/share/doc/HTML/en/KRegExpEditor/index.docbook seems to be 
there, the issue might be the Capital letter of KRegExpEditor (instead of 
kregexpeditor)?

------- Comment #11 From Matteo Azzali 2006-05-02 03:00:30 0000 -------
Doing a "mv KRegExpEditor kregexpeditor" inside
"/usr/kde/3.5/share/doc/HTML/en" worked. 
However it seems to have added just kde apps manuals and just "en language"
(my system has both en and it).....

------- Comment #12 From Jakub Moc (RETIRED) 2006-09-16 03:33:31 0000 -------
*** Bug 147788 has been marked as a duplicate of this bug. ***

------- Comment #13 From DocReedSolomon 2007-05-03 11:16:31 0000 -------
well, couldnt you make htdig a USEflag for kdebase? that would give as the
choice of either emerging this or not.

thx!

------- Comment #14 From Jakub Moc (RETIRED) 2007-05-28 14:57:31 0000 -------
Fixed in 3.5.7.

(In reply to comment #13)
> well, couldnt you make htdig a USEflag for kdebase? that would give as the
> choice of either emerging this or not.

No; working KDE help is not really optional, sorry.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug