maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Libreoffice built for Sailfish : looking for testers (https://talk.maemo.org/showthread.php?t=93267)

emmanueld 2014-06-01 18:39

Libreoffice built for Sailfish : looking for testers
 
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

rcolistete 2014-06-26 22:11

Re: Libreoffice built for Sailfish : looking for testers
 
Have anyone tried on Jolla device ?

nieldk 2014-06-27 05:04

Re: Libreoffice built for Sailfish : looking for testers
 
And this, just now, when I cant try it :)
Good work!
Hope someone will test this :)

coderus 2014-06-27 08:04

Re: Libreoffice built for Sailfish : looking for testers
 
checked:

harbour-libreoffice/lib/libreoffice/program/oosplash: error while loading shared libraries: libXinerama.so.1: cannot open shared object file: No such file or directory

nieldk 2014-06-27 08:15

Re: Libreoffice built for Sailfish : looking for testers
 
Quote:

Originally Posted by coderus (Post 1431171)
checked:

harbour-libreoffice/lib/libreoffice/program/oosplash: error while loading shared libraries: libXinerama.so.1: cannot open shared object file: No such file or directory

Well, then there probably are some quite heavy dependencies that needs to be overcome.
To mention a few

inputproto, kbproto, libxcb, xextproto, xf86bigfontproto, xtrans, xineramaproto, libXext, libXinerama and libX11

coderus 2014-06-27 08:18

Re: Libreoffice built for Sailfish : looking for testers
 
yeah, i can only test, (will) have no time to check sources myself :)

cvp 2014-06-27 08:30

Re: Libreoffice built for Sailfish : looking for testers
 
LibreOffice on Sailfish? Time for a tohKeyboard v2 :)

Quote:

I can also post some build instructions if other peoples are interested in building LibreOffice for Mer/Sailfish.
Help & language support not built.
sure please do that :)

kollin 2014-07-03 17:26

Re: Libreoffice built for Sailfish : looking for testers
 
Quote:

Originally Posted by nieldk (Post 1431172)
Well, then there probably are some quite heavy dependencies that needs to be overcome.
To mention a few

inputproto, kbproto, libxcb, xextproto, xf86bigfontproto, xtrans, xineramaproto, libXext, libXinerama and libX11

Those are runtime deps of OO-4.1 in Gentoo:

Quote:

RDEPEND="
!app-office/openoffice
!prefix? ( sys-libs/glibc )
app-arch/unzip
app-arch/zip
>=dev-lang/perl-5.0
dev-lang/python:2.7
>=media-libs/freetype-2.1.10-r2
x11-libs/libXaw
x11-libs/libXinerama"

szopin 2015-07-23 09:02

Re: Libreoffice built for Sailfish : looking for testers
 
http://www.phoronix.com/scan.php?pag...ice-On-Wayland
Maybe now it will work, should no longer have X dependencies

mscion 2015-07-23 12:13

Re: Libreoffice built for Sailfish : looking for testers
 
This is an exciting development. Is it meant for phone, tablet or both?


All times are GMT. The time now is 12:41.

vBulletin® Version 3.8.8