Only jars under /usr/lib/openoffice/basis3.0/program/classes/ are registered.
Problem with the java-set-classpath script, should be fixed now
I was meaning the java-pkg_regjar line in the ebuild, that records already installed jars to package.env.
(In reply to comment #2) > I was meaning the java-pkg_regjar line in the ebuild, that records already > installed jars to package.env. > Sorry, your description was a little bit on the short side so I immediately jumped to classpath-fix. Besides that I'm not quite sure which ones do have to be recorded. All jars? Even the ones used in the help? Advice and patch always appreciated ;)
(In reply to comment #3) > (In reply to comment #2) > Besides that I'm not quite sure which ones do have to be recorded. All jars? > Even the ones used in the help? Probably not, jars containing class files and any other files that are referenced by the classes (l10n resources etc.) are needed. > Advice and patch always appreciated ;) I'll check the contents of the files and send a patch. I actually noticed the issue scanning for missing classes with java-dep-check-0.3 in java installed packages in my system. Here's the report it generated http://paste.linux-sevenler.org/index.php?id=31962
They all contain java classes only. So changing use java && java-pkg_regjar "${D}"/usr/$(get_libdir)/openoffice/basis3.0/program/classes/*.jar to if use java; then java-pkg_regjar "${D}"/usr/$(get_libdir)/openoffice/basis3.0/program/classes/*.jar java-pkg_regjar "${D}"/usr/$(get_libdir)/openoffice/ure/share/java/*.jar fi will fix the issue. Thanks in advance.
(In reply to comment #5) After this I got a single missing class "Base64" reported. After examining it, I found out that it's not packaged at all in the final jars. So I reported the issue[1] upstream. 1: http://qa.openoffice.org/issues/show_bug.cgi?id=100620
(In reply to comment #6) > (In reply to comment #5) > After this I got a single missing class "Base64" reported. After examining it, > I found out that it's not packaged at all in the final jars. So I reported the > issue[1] upstream. > > 1: http://qa.openoffice.org/issues/show_bug.cgi?id=100620 > The patch in the bug fixes the issue, I'll attach a diff against 3.0.1 using patch.
Created attachment 186510 [details, diff] openoffice.ebuild.patch
This is all fixed with 3.1 beta4, thanks for the patch!