OpenOffice.org package contains development kit for uno extensions and stuff, which needs to be installed if user wishes to compile and install external plugins. This is needed for example for Finnish spell checking package (bug #140032). Previously I provided binary version of SDK, but it has been reported not to work with AMD64 version of OO.o 2.0.4.
Isn't this exactly what the odk-use-flag is for? http://udk.openoffice.org/faq.html#ODK Or does this not work?
Last I tried, it didn't install everything required to build openoffice-voikko plugin. I don't know if I've managed to break my current installation of openoffice by using the binary sdk ebuild I made myself, but I have openoffice-2.0.3 built with use odk, and e.g. cppumaker binary is not in `equery files openoffice`. Idl definitions are also missing. Another problem I faced is that using the SDK requires setting up dozen of environment variables; the binary SDK package provided in openoffice.org site contains (annoyingly complex, interactive) shell script to set these up, but it is also missing in openoffice built with use odk.
I'm not at a gentoo machine right now, but by default the openoffice build scripts offer the odk as a zipfile. I would guess that somewhere you have a big zipfile that contains all the stuff.
(In reply to comment #3) > I'm not at a gentoo machine right now, but by default the openoffice build > scripts offer the odk as a zipfile. I would guess that somewhere you have a big > zipfile that contains all the stuff. > It sounds like it doesn't solve my problem, i.e. if the zipfile contains precompiled executables for 32 bit system, it won't play along with 64 bit compiled openoffice (which I assume is possible with 2.0.4, according to user report, although I don't have the hardware to test it). # equery files app-office/openoffice | grep zip /usr/lib/openoffice/share/config/images.zip /usr/lib/openoffice/share/config/images_crystal.zip /usr/lib/openoffice/share/config/images_hicontrast.zip /usr/lib/openoffice/share/config/images_industrial.zip Doesn't sound promising either... Perhaps the old stable openoffice build, which I'm using, didn't install it?
The udk should be built for your openoffice (so 64bit)
I've checked my install, but indeed the odk doesn't get installed. I'll go check it out tonight.
Ok, after a nightly compile it ends with the illustrating message that the oo_sdk project could not be found. This project is responsible for making the final package. I found this comes in an extra tarball that we did not provide. I'm now working on fixing the ebuild and checking that the odk does get built correctly.
(In reply to comment #7) > Ok, after a nightly compile it ends with the illustrating message that the > oo_sdk project could not be found. This project is responsible for making the > final package. I found this comes in an extra tarball that we did not provide. > I'm now working on fixing the ebuild and checking that the odk does get built > correctly. > Oh crap, you are right, seems like the sdk has been split out in a seperate tarball with 2.0.4 (2.0.3 should work fine btw) and I did miss that. Sorry bout that.
(In reply to comment #8) > (In reply to comment #7) > > Ok, after a nightly compile it ends with the illustrating message that the > > oo_sdk project could not be found. This project is responsible for making the > > final package. I found this comes in an extra tarball that we did not provide. > > I'm now working on fixing the ebuild and checking that the odk does get built > > correctly. > > > > Oh crap, you are right, seems like the sdk has been split out in a seperate > tarball with 2.0.4 (2.0.3 should work fine btw) and I did miss that. Sorry bout > that. > As this is such an obvious oversight I've added the odk-tarball-download to the ebuild now, please let me now, if it works now for you
Andreas, that wasn't sufficient for me. Somehow something got built, but not everything, and still nothing gets installed. Perhaps we have found a bug in ooo-build
Finnish bugs to betelgeuse, as requested in bug 60374 comment 14
*** Bug 186558 has been marked as a duplicate of this bug. ***
*** Bug 194053 has been marked as a duplicate of this bug. ***
ODK still is not installed in openoffice 3.1.0 and 3.1.1. With odk USE enabled ODK is compiled but not installed. The problem is actually very simple - Gentoo is not included in installation script among the vendors for which ODK should be installed.
Created attachment 203346 [details, diff] Gentoo ODK install patch
I've added the patch to portage, thanks to My Th for the fix! Finally closing.