View Single Post
Posts: 1 | Thanked: 23 times | Joined on May 2014 @ Īle de France
#1
Hello,

I used the mer based build system to build and after some problems, the build process is ok, but i get an error when launching LibreOffice in the emulator, the error is probably related to qemu (uncaught target signal 4 (Illegal instruction)) because the build arm code is ran via qemu. I do not (yet?) have a Jolla phone because i'm waiting for a usefull Other halt : the keyboard!
So if someone has a real device and want to test libreoffice 4.1, here are the dependancies i installed to build :

1 : python3 repository (needed to build, not sure for run)
Code:
zypper ar -f http://repo.merproject.org/obs/mer-python3/latest_armv7hl/
2 : build dependancies (*-devel and cmake, bison should not be useful to run)
libarchive cmake ncurses-devel readline-devel libxml2-devel libtool boost-devel libicu-devel poppler-devel lcms-devel, freetype-devel cmake libcurl-devel flex expat-devel nspr-devel perl-devel openssl-devel fontconfig-devel libXft-devel pango-devel libtiff-devel gperf libXinerama-devel libXrandr-devel xorg-x11-util-macros mesa-llvmpipe-libGL-devel wayland-devel cups-devel libffi-devel gettext-devel gstreamer-devel bluez-libs-devel dbus-glib-devel perl-Archive-Extract perl-Compres-Raw-Zlib libxslt-devel python3-base python-devel python3-devel libXt-devel libXtst-devel bison gst-plugins-base-devel libICE-devel libSM-devel libXt liberation-fonts-common liberation-serif-fonts liberation-sans-fonts liberation-narrow-fonts liberation-mono-fonts python3-devel intltools libxkbcommon-devel nss-devel zip

Run-time depandencies should be like that (some may be installed already) :
libarchive ncurses readline libxml2 libtool boost libicu poppler lcms freetype libcurl flex expat nspr perl openssl fontconfig libXft pango libtiff gperf libXinerama libXrandr xorg-x11-util-macros mesa-llvmpipe-libGL wayland cups libffi gettext gstreamer bluez-libs dbus-glib
perl-Archive-Extract perl-Compres-Raw-Zlib libxslt python3-base python python3 libXt libXtst gst-plugins-base liberation-fonts-common liberation-serif-fonts liberation-sans-fonts liberation-narrow-fonts liberation-mono-fonts intltools libxkbcommon nss zip

If you want to install only striclty necessary dependancies then install try to run and see if you get errors like *.so not found
There are Xorg linked dependancies but LibreOffice is built with X and Gtk3/Wayland support.

To run it, extract the archive that you can download from here : http://185.13.37.209/temps/libreoffi....1.4.2.tar.bz2 for example in /usr/share/harbour-libreoffice, then run that in a terminal:
Code:
export LD_LIBRARY_PATH=/usr/share/harbour-libreoffice/lib
GDK_BACKEND=wayland SAL_USE_VCLPLUGIN=gtk3 /usr/share/harbour-libreoffice/lib/libreoffice/program/soffice
I can also post some build instructions if other peoples are interested in building LibreOffice for Mer/Sailfish.
Help & language support not built.

Note : LibreOffice is probably not optimised for touchscreen.

Hope it helps.
Emmanuel
 

The Following 23 Users Say Thank You to emmanueld For This Useful Post: