Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36974 - abiword help files not installed
Summary: abiword help files not installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-01 15:23 UTC by Carl Hudkins
Modified: 2004-03-02 09:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Hudkins 2004-01-01 15:23:59 UTC
Abiword ebuild does not install the help files.  These should be installed to /usr/share/AbiSuite-2.0/AbiWord/help/ but in fact the entile "help" directory is not there.  As a result, no help is available from any part of the application.

Reproducible: Always
Steps to Reproduce:
1. Start AbiWord
2. Press F1 for Help or use the menu
3.
Actual Results:  
Mozilla comes up with an error about 
file:///usr/share/AbiSuite-2.0/AbiWord/help/en-US/... not found. 

Expected Results:  
Mozilla should start with the top-level help files. 

I have read through the ebuild and see nothing in particular relating to help 
files, so it seems the ebuild expects they will be installed as part of the 
normal build.
Comment 1 foser (RETIRED) gentoo-dev 2004-01-03 10:27:06 UTC
care to find out how to get them back in for us, we're pressed on time here.
Comment 2 Yi Quang (RETIRED) gentoo-dev 2004-01-03 14:32:33 UTC
Okay, finally figured it out after about an hour of playing with sed :) Please stick this at the bottom of src_install():
        # Build documentation
        cd ${WORKDIR}/${P}/abiword-docs
        sed -e 's!prefix = /usr/local!prefix = /usr!g' Makefile > Makefile.new
        mv Makefile.new Makefile
        emake || die

As always, thanks to foser for his guidance :) P.S. if you need a diff I can provide one but I don't think it is necessary.  Also, are there any plans on putting abiword-2.1 in the ~arch tree?
Comment 3 foser (RETIRED) gentoo-dev 2004-02-09 08:43:59 UTC
hmm ok sorry for the delay.

I tried this fix with 2.0.3, but it ends in the sandbox.
Comment 4 Yi Quang (RETIRED) gentoo-dev 2004-02-12 21:59:35 UTC
No sandbox errors here, can anyone else confirm?
Comment 5 Yi Quang (RETIRED) gentoo-dev 2004-02-16 11:15:46 UTC
Ugh, my mistake, I was merging with -sandbox.  This is rather easy to fix...

        # Build documentation
        cd ${WORKDIR}/${P}/abiword-docs
        sed -e 's!prefix = /usr/local!prefix = /usr!g' Makefile > Makefile.new
        mv Makefile.new Makefile
        make DESTDIR=${D}
Comment 6 foser (RETIRED) gentoo-dev 2004-02-18 08:01:38 UTC
just add abiword-2.0.3-r1 with the fix. Added a USE doc block around the doc installation part. Please test.

Thanks khai for the fix.
Comment 7 Carl Hudkins 2004-03-02 06:07:52 UTC
My only question here is, why make this depend on the "doc" flag?  That's described as "Adds extra documentation (API, Javadoc, etc.)", which could lead people (including me!) to think it does *not* mean you need to turn it on to get normal user help, such as what's supposed to pop up in AbiWord when you press <F1>.
Shouldn't the user help be installed as a matter of course?
Comment 8 foser (RETIRED) gentoo-dev 2004-03-02 08:03:31 UTC
a reasonable point, but the docs installation is optional here, and optional to me means using a USE flag. The problem really lies in the vague description of the doc USE flag and maybe the lack of more specific USE flags for certain situations. But to me this is a problem that should be tackled in a wider context and only then implemented.
Comment 9 Spider (RETIRED) gentoo-dev 2004-03-02 09:13:00 UTC
actually I sorta regret naming the "doc" flag just that, it should be named "apidoc".  Normal user documentation should always be installed.