LibreOffice for Haiku

Dependencies

pkgman install glm_devel gperf icu_tools libcmis_devel boost163_devel libabw_devel \
libcdr_devel cppunit_devel clucene_devel libetonyek_devel expat_devel \
libebook_devel libfreehand_devel libepoxy_devel graphite2_devel harfbuzz_devel \
hunspell_devel hyphen_devel icu_devel jpeg_devel liblangtag_devel lcms_devel \
openldap_devel lpsolve_devel mdds_devel libmspub_devel libmwaw_devel \
neon_devel nss_devel nspr_devel libodfgen_devel orcus_devel ixion_devel \
libpagemaker_devel poppler_devel cairo_devel libstaroffice_devel \
libvisio_devel libwpd_devel libwpg_devel libwps_devel librevenge_devel \
libxslt_devel libzmf_devel libqxp_devel redland_devel raptor_devel rasqal_devel

Building

./autogen.sh --with-distro=LibreOfficeHaiku --enable-debug
make -k -j4

-k is needed because unit tests crash. It makes the build system continue despite the fail.

Testing

bin/run svdemo
or
LO_TRACE=Debugger bin/run svdemo

Notes

  1. You need to decide on which arch you are going to work. This can be either x86 or x86_64. Have in mind that 32-bit OS has memory limitations and using Debugger is cumbersome - debug symbols are so big that it crashes during loading, so you either need to strip symbols from all the libraries you are not interested in, or use printf to debug.

    Official x86_gcc2 hybrid is not tested, and I wouldn't recommend using it right now. The plan is to work on gcc2hybrid support when everything is tested and working on x86.

  2. You need to have at least 30 GB of free disk space.

  3. You can set up Haiku in a VM to build LO, but I would recommend using it on real hardware. VM's are really slow, and on hardware LO takes at least 6 hours to build.

  4. Some unit tests crash. To avoid stopping the build process I recommend specifying default action the debug_server should take for cppunittester.

  5. Script to build required packages for x86.