Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63942 - Openoffice-ximian ebuild should include cuckooo when building with kde
Summary: Openoffice-ximian ebuild should include cuckooo when building with kde
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 15:11 UTC by Nathan Toone
Modified: 2004-10-13 20: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 Nathan Toone 2004-09-13 15:11:10 UTC
cuckooo gives a kpart instance of openoffice, it would be really useful to have it built as part of the kde openoffice-ximian ebuild.  

Information on the build can be found here:

http://kde.openoffice.org/cuckooo/index.html#download

It's part of the same project as the rest of the kde-ification of openoffice.
Comment 1 Nathan Toone 2004-09-13 15:47:57 UTC
It was pretty straitforward to manually install, it shouldn't be hard to do in an ebuild - I just don't know how to write (or modify) an ebuild.

Here are the steps I followed:

1.  Download the OOo SDK from http://www.openoffice.org/dev_docs/source/sdk/index.html

2.  Download the cuckooo source from http://kde.openoffice.org/cuckooo/index.html#download

3.  ln -s  /opt/Ximian-OpenOffice/program/libstdc++.so.5 /opt/Ximian-OpenOffice/program/libstdc++.so.3 (I don't know why you need to do this - it's in the instructions for how to install cuckooo) - then run ldconfig

4 - untar the above downloaded files to temp directories ($SDK and $CUCKOOO from now on...)

5 - convert the splash screen from OOo-gentoo-splash to a png (it comes as a .bmp)  I used imagemagik - I don't know what would be best - maybe just include a .png with the splash tar.

6 - copy the converted png file to $CUCKOOO/artwork/intro.png

7 - cd $CUCKOOO

8 - ./configure --prefix=$KDEDIR --with-office-dir=$OFFICEDIR --with-ODK-dir=$SDK

9 - make && make install

It works great!
Comment 2 Nathan Toone 2004-09-22 06:10:52 UTC
One other note - I had to add a file (I called it 99ximian-openoffice) in /etc/env.d with the following line:

LDPATH=/opt/Ximian-OpenOffice/program
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2004-09-22 06:38:27 UTC
It should never be necessary (actually it will probably break things in unexpected ways) to add openoffice to the LDPATH. This should be taken care of by the wrapper scripts and openoffice itself.
Comment 4 Nathan Toone 2004-09-22 06:42:03 UTC
It's only necessary to build cuckoo.....

I was posting followup instructions on how to do it, with the hope that some day we could get it included in the openoffice-ximian ebuild...

It can be temporary - only used when building cuckooo...not a problem.
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2004-09-22 06:44:23 UTC
If it's only necessary for building cuckooo, just add it to the ebuild with LD_LIBRARY_PATH
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2004-09-22 08:04:31 UTC
Actually I don't think it is a good idea to include this in the openoffice-ximian ebuild, at least as long this isn't done upstream this will just add further complexity to an already rather fragile build, so: Closing this as WONTFIX.

If you want to have this functionality in a seperate package, try to put together a working ebuild and file a new bug.
Comment 7 Nathan Toone 2004-10-13 20:13:50 UTC
Ebuild for cuckooo is bug 67501