Home Download Support Development Projects My pages
 

2003-12-12

Contents

Introduction
Current status
How to get it
Contributing
Notes (File associations, SuSE 8.2, Fedora Core 1)

 

Introduction

cuckooo is a KDE Part, which allows OpenOffice.org to be run in a Konqueror window.

Current features:

  • Shows (read-only) all document formats supported by OpenOffice.org.
  • Can be embedded as a Part in Konqueror.
  • Can run as a standalone application.

Screenshots: MS Word document, MS Excell table and MS PowerPoint presentation.

 

Current status

Cuckooo is quite stable and you have to do nasty things to make it crash. There are things I would like to implement (e.g. searching is partially implemented in my home CVS; I do not have time to finish it), but I'd rather focus on the OOo Qt port. Bugs (if reported) will be fixed, of course!

 

How to get it

Current version: cuckooo-0.3.tar.gz, see ChangeLog.

Older versions can be found here. Unofficial debs (needing packages outside of Debian) are available here thanks to Matthieu Foillard. The site lists them, so you should not have problems. NOTE: It will not work for woody or testing users.

I do not provide binary packages, so you will have to build cuckooo from sources. You need:

Now you can build and install cuckooo:

  1. Install OpenOffice.org 1.1 (e.g. to /opt/OpenOffice.org1.1). Follow the OpenOffice.org installation instructions.
      ~ $ tar xvfz OOo_1.1rc2_LinuxIntel_install.tar.gz
      ~ $ su
      /home/yourname # cd OOo_1.1rc2_LinuxIntel_install
      /home/yourname/OOo_1.1rc2_LinuxIntel_install # ./setup
      /home/yourname/OOo_1.1rc2_LinuxIntel_install # exit
    
  2. As root, add /opt/OpenOffice.org1.1/program to your /etc/ld.so.conf, do ln -s libstdc++.so.5 libstdc++.so.3 in /opt/OpenOffice.org1.1/program (necessary for proper functionality of the SDK; if you already have libstdc++.so.3 in your system, this should not introduce conflicts) and run ldconfig.
      ~ $ su
      /home/yourname # cd /opt/OpenOffice.org1.1/program
      /opt/OpenOffice.org1.1/program # ln -s libstdc++.so.5 libstdc++.so.3
      /opt/OpenOffice.org1.1/program # vim /etc/ld.so.conf
      /opt/OpenOffice.org1.1/program # ldconfig
      /opt/OpenOffice.org1.1/program # exit
    
  3. Untar OpenOffice.org 1.1 Software Development Kit (e.g. to ~/OpenOffice.org1.1_Beta_2_SDK).
      ~ $ tar xvfz OOo_1.1beta2_LinuxIntel_odk.tar.gz
    
  4. Untar the sources of cuckooo (e.g. to ~/cuckooo-<version>) and enter that directory.
      ~ $ tar xvfz cuckooo-<version>.tar.gz
      ~ $ cd cuckooo-<version>
    
  5. Run configure. You have to specify paths to the installation of OpenOffice.org using --with-office-dir= and to the Software Development Kit using --with-ODK-dir=. Additionally you should set --prefix so that cuckooo will get to your KDE directory.
      ~/cuckooo-<version> $ ./configure --prefix=/opt/kde3 \
                                  --with-office-dir=/opt/OpenOffice.org1.1 \
    			      --with-ODK-dir=/home/yourname/OpenOffice.org1.1_Beta_2_SDK
    
  6. Run make.
      ~/cuckooo-<version> $ make
    
  7. Become root and do make install:
      ~/cuckooo-<version> $ su
      /home/yourname/cuckooo-<version> # make install
      /home/yourname/cuckooo-<version> # exit
    

Notes for various Linux distributions:

If everything went well, start a new Konqueror, browse to any MS Word, Excell or PowerPoint document and open it. It should open directly in the browser window. Please note, that it could last some time, because OpenOffice.org has to be started. If the document opens in a separate OpenOffice.org window, please make sure that the File associations are set correctly and try again.

 

Contributing

Please see the general participation info on the main page.

 

Notes

Note: How to set file associations

Choose Settings/Configure Konqueror... in Konquror's menu and select File Associations in Settings - KDE Control Module. Check, that Embedding/Left Click Action is set to Show file in embedded viewer and that cuckooo (OpenOffice.org nested in KDE) is the first choice in Services Preference Order for every mime type supported by OpenOffice.org.

Mime types supported by OOo: application/msword, application/vnd.ms-word, application/x-msword, application/msexcel, application/vnd.ms-excel, application/x-msexcel, application/mspowerpoint, application/vnd.ms-powerpoint, application/x-mspowerpoint, application/vnd.stardivision.calc, application/vnd.sun.xml.calc, application/vnd.stardivision.calc.template, application/vnd.sun.xml.calc.template, application/vnd.stardivision.draw, application/vnd.sun.xml.draw, application/vnd.stardivision.draw.template, application/vnd.sun.xml.draw.template, application/vnd.stardivision.impress, application/vnd.sun.xml.impress, application/vnd.stardivision.impress.template, application/vnd.sun.xml.impress.template, application/vnd.stardivision.writer, application/vnd.sun.xml.writer, application/vnd.stardivision.writer-global, application/vnd.sun.xml.writer.global, application/vnd.stardivision.writer.math, application/vnd.sun.xml.writer.math, application/vnd.stardivision.writer.template, application/vnd.sun.xml.writer.template

 

Note: SuSE 8.2

It was reported, that cuckooo-0.3 does not build on SuSE 8.2, when you do not have mesa-devel.rpm installed (it ends with libtool: link: cannot find the library `/usr/lib/libGL.la' error message). I cannot provide the right configure check, because I am unable to reproduce the problem (on my SuSE 8.2 with all updates it builds fine even without the mesa-devel package). If you have the problem, please just install mesa-devel.rpm and try again.

 

Note: Fedora Core 1

Eli Wapniarski sent me detailed installation instructions for Fedora Core 1:

  1. Ensure that the OpenOffice.org rpms are installed from the Fedora core CD's (CD1: openoffice.org-i18n-1.1.0-6.1386.rpm and openoffice.org-libs-1.1.0-6.i386.rpm, CD2: openoffice.org-1.1.0-6.rpm)
  2. Install the OpenOffice.org SDK. I installed them in /usr/lib/openoffice_sdk
  3. Edit /etc/ld.so.conf to include the line:
    /usr/lib/openoffice/program
  4. Run /sbin/ldconfig
  5. cd /usr/lib
  6. ln -s libstdc++.so.5 libstdc++.so.3
  7. Uncompress the cuckoo sources
  8. cd to the directory containing the cuckoo sources
  9. ./configure --prefix=/usr --with-office-dir=/usr/lib/openoffice \
    --with-ODK-dir=/usr/lib/openoffice_sdk --with-extra-libs=/usr/lib
  10. make
  11. make install
  12. Follow instructions on How to set file associations.
  13. Works just fine.