Summary: | app-text/tesseract-3.02 - Fails with USE=+doc. - !!! dohtml: doc/html/* does not exist | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | the_mgt <themgt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chutzpah, ian, tomka, tomwij, volkmar |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/var/tmp/portage/app-text/tesseract-3.02/temp/build.log
Ebuild patch to install html documentation properly |
Description
Juergen Rose
2012-11-18 21:30:32 UTC
'USE=-doc emerge -v1 tesseract' works. The reason is that the tarballs are screwed up. Some of them unpack into a directory tesseract-3.02.02, some of them to tesseract-ocr, and the german language file to ".". Somebody needs to write a proper unpack function and poke upstream. Thanks. Created attachment 331026 [details, diff]
Ebuild patch to install html documentation properly
This fixes two things:
1. The dohtml parameter needs to be "${WORKDIR}"/"${MY_PN}"/doc/html/* so it can see the files to be copied.
2. The dohtml needs a -r option so it can do a recursive copy, otherwise there is a QA notice for dohtml and the copy is incomplete. <-- THIS ONE ALSO APPLIES TO tesseract-3.01!
(I'm not sure its worth raising a bug for issue 2 in the tesseract-3.01 ebuild since it's been superceded, but if any dev gets around to it, it just needs the -r on the dohtml call.)
(In reply to comment #3) > Created attachment 331026 [details, diff] [details, diff] > Ebuild patch to install html documentation properly > > This fixes two things: > > 1. The dohtml parameter needs to be "${WORKDIR}"/"${MY_PN}"/doc/html/* so it > can see the files to be copied. > > 2. The dohtml needs a -r option so it can do a recursive copy, otherwise > there is a QA notice for dohtml and the copy is incomplete. <-- THIS ONE > ALSO APPLIES TO tesseract-3.01! > > (I'm not sure its worth raising a bug for issue 2 in the tesseract-3.01 > ebuild since it's been superceded, but if any dev gets around to it, it just > needs the -r on the dohtml call.) I committed this to the tree, changing both 3.02 and 3.01 ebuilds in place. Users of "-doc" don't need a revbump, I think. Thanks for the help. + 01 Dec 2012; Thomas Kahle <tomka@gentoo.org> tesseract-3.01.ebuild, + tesseract-3.02.ebuild: + Fix installation of docs (bug 443844). Thanks Ian Abbott |