[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[broken app] OpenOffice 2.0 for debian-amd64



Hi all,

OpenOffice is still quite far from being usable for amd64 architecture.
I would like to share what I know about this package and try to make it
easier for people to contribute to the amd64 port (bug reports, patches,
and so on).

First of all, few links about OpenOffice:
http://www.openoffice.org/
http://wiki.services.openoffice.org/wiki/Porting_to_x86-64_(AMD64,_EM64T)
http://openoffice.debian.net/
http://packages.qa.debian.org/o/openoffice.org.html

Preparing to compile (to be done once):

1) Add the following line to your /etc/apt/sources.list:
deb-src ftp://ftp.debian.org/debian/ experimental main contrib

2) Update:
 su -c 'apt-get update'

3) Get the packages needed to compile openoffice.org:
 su -c 'apt-get build-dep -t experimental openoffice.org'

Note: The package boost-build is needed but might not be in the list of
the build-dep (install it by hand if needed)

Once you got all these done, we can get the source and compile it:

1) Get the source from the experimental Debian repository (getting the
sources from the experimental makes it sure to track bugs on the very
last version):
 apt-get source -t experimental openoffice.org

2) Move to the build directory (currently 2.0.3-3)
 cd openoffice-*

3) Ask to build the amd64 arch packages
   In debian/rules change the 'BUILD_AMD64=n' in 'BUILD_AMD64=y'.

4) Build the package (this might take quite a while)
 dpkg-buildpackage -rfakeroot -us -uc

On my computer, the compilation seems to work for the 2.0.3-3 (I had few
problems with 2.0.3-2) but it takes quite a long time (count
approximately 6-8 hours) and quite a lot of space used during the process.

Once the build process end up, you should find all the debian packages
located one step up from the source directory (openoffice.org-2.0.3/).
Install it and try it and report bugs either to the debian team (through
the reportbug tools for example) or (better) directly to the OpenOffice
team:
http://qa.openoffice.org/issue_handling/submission_gateway.html#code_module

Making a patch for the debian build system of the openoffice.org
packages is quite complex, I might speak about this later on.

Regards
-- 
Emmanuel Fleury              | Office: 211
Associate Professor,         | Phone: +33 (0)5 40 00 35 24
LaBRI, Domaine Universitaire | Fax:   +33 (0)5 40 00 66 69
351, Cours de la Libération  | email: fleury@labri.fr
33405 Talence Cedex, France  | URL: http://www.labri.fr/~fleury



Reply to: