Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23985 - app-text/htmldoc-1.8.20: online-help for x11-version is not found
Summary: app-text/htmldoc-1.8.20: online-help for x11-version is not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-06 02:56 UTC by Thomas Eckert
Modified: 2003-08-28 16:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pkg_setup() now rewrites configure so help.html is found. (htmldoc-1.8.20-r1.ebuild,1.34 KB, text/plain)
2003-07-06 02:57 UTC, Thomas Eckert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Eckert 2003-07-06 02:56:12 UTC
The help-button in the graphical version of htmldoc tries to load
  /usr/share/doc/htmldoc/help.html
but should look for
  /usr/share/doc/htmldoc-1.8.20/html/help.html

Thomas

Reproducible: Always
Steps to Reproduce:
1. start htmldoc
2. press help-button
Actual Results:  
"file not found"


the attached "-r1"-version has a modified pkg_setup() that fixes that problem.
Comment 1 Thomas Eckert 2003-07-06 02:57:22 UTC
Created attachment 14192 [details]
pkg_setup() now rewrites configure so help.html is found.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-07-08 14:04:55 UTC
in cvs
Comment 3 Thomas Eckert 2003-07-13 01:50:02 UTC
need to reopen :(
src_install() mixes the use of ${P} and ${PF} -- as a result the html-documentation is installed in "htmldoc-1.8.20" instead of "htmldoc-1.8.20-r1". As long as the old version is installed all looks fine, but after cleaning they are uninstalled too.

Fix: in src_install() the 2 ${P} should be replaced by ${PF} to include the
full gentoo-package-version-name.

Sorry for not testing it out _completely_,
Thomas
Comment 4 Thomas Eckert 2003-08-12 11:17:59 UTC
reopen finally :|
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-08-18 13:43:12 UTC
could you please paste or provide a patch
Comment 6 Thomas Eckert 2003-08-21 12:38:22 UTC
sure:
--- htmldoc-1.8.20-r1.ebuild    2003-07-06 11:56:06.000000000 +0200
+++ htmldoc-1.8.20-r2.ebuild    2003-08-21 21:29:53.000000000 +0200
@@ -45,6 +45,6 @@
 
        # Minor cleanups
        mv ${D}/usr/share/doc/htmldoc ${D}/usr/share/doc/${PF}
-       dodir /usr/share/doc/${P}/html
-       mv ${D}/usr/share/doc/${P}/*.html ${D}/usr/share/doc/${PF}/html
+       dodir /usr/share/doc/${PF}/html
+       mv ${D}/usr/share/doc/${PF}/*.html ${D}/usr/share/doc/${PF}/html
 }
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-08-28 16:03:39 UTC
in cvs