Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151798 - app-office/openoffice doesn't make installing udk available
Summary: app-office/openoffice doesn't make installing udk available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 186558 194053 (view as bug list)
Depends on:
Blocks: flammie 140032
  Show dependency tree
 
Reported: 2006-10-18 01:25 UTC by Flammie Pirinen (RETIRED)
Modified: 2009-11-26 15:06 UTC (History)
6 users (show)

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


Attachments
Gentoo ODK install patch (Gentoo_ODK_install.patch,868 bytes, patch)
2009-09-07 08:36 UTC, Reinis Danne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Flammie Pirinen (RETIRED) gentoo-dev 2006-10-18 01:25:53 UTC
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.
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2006-10-18 02:04:45 UTC
Isn't this exactly what the odk-use-flag is for?

http://udk.openoffice.org/faq.html#ODK

Or does this not work?
Comment 2 Flammie Pirinen (RETIRED) gentoo-dev 2006-10-18 02:46:45 UTC
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.
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2006-10-18 04:08:02 UTC
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.
Comment 4 Flammie Pirinen (RETIRED) gentoo-dev 2006-10-18 07:04:59 UTC
(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? 
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2006-10-20 04:01:47 UTC
The udk should be built for your openoffice (so 64bit)
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2006-10-20 12:01:51 UTC
I've checked my install, but indeed the odk doesn't get installed. I'll go check it out tonight.
Comment 7 Paul de Vrieze (RETIRED) gentoo-dev 2006-10-21 01:34:42 UTC
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.
Comment 8 Andreas Proschofsky (RETIRED) gentoo-dev 2006-10-21 01:58:10 UTC
(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.
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2006-10-21 03:09:10 UTC
(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
Comment 10 Paul de Vrieze (RETIRED) gentoo-dev 2006-10-23 03:37:46 UTC
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
Comment 11 Flammie Pirinen (RETIRED) gentoo-dev 2006-12-28 02:13:42 UTC
Finnish bugs to betelgeuse, as requested in bug 60374 comment 14
Comment 12 Andreas Proschofsky (RETIRED) gentoo-dev 2007-08-19 16:26:18 UTC
*** Bug 186558 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-09-28 07:05:07 UTC
*** Bug 194053 has been marked as a duplicate of this bug. ***
Comment 14 Reinis Danne 2009-09-07 08:35:01 UTC
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.
Comment 15 Reinis Danne 2009-09-07 08:36:30 UTC
Created attachment 203346 [details, diff]
Gentoo ODK install patch
Comment 16 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-26 15:06:51 UTC
I've added the patch to portage, thanks to My Th for the fix!

Finally closing.