Reply
Thread Tools
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:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#2
Have anyone tried on Jolla device ?
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#3
And this, just now, when I cant try it
Good work!
Hope someone will test this
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#4
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
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#5
Originally Posted by coderus View Post
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
 

The Following User Says Thank You to For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#6
yeah, i can only test, (will) have no time to check sources myself
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 738 | Thanked: 819 times | Joined on Jan 2012 @ Berlin
#7
LibreOffice on Sailfish? Time for a tohKeyboard v2

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
__________________
www.sailfishmods.de

Last edited by cvp; 2014-06-27 at 10:06.
 
kollin's Avatar
Posts: 193 | Thanked: 203 times | Joined on Jun 2012 @ Sofia, Bulgaria
#8
Originally Posted by nieldk View Post
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:

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"
__________________
Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment.
How to tell Heretics from Catholics?Papal legate Arnaud Amalric answers :Caedite eos. Novit enim Dominus qui sunt eius.(Kill them all, the Lord will recognise His own.)
“Get thee to Hell, where Asmodeus himself may suckle upon your diseased teat!”
Barnabas Collins
 
Posts: 2,076 | Thanked: 3,268 times | Joined on Feb 2011
#9
http://www.phoronix.com/scan.php?pag...ice-On-Wayland
Maybe now it will work, should no longer have X dependencies
 

The Following 11 Users Say Thank You to szopin For This Useful Post:
Posts: 1,873 | Thanked: 4,529 times | Joined on Mar 2010 @ North Potomac MD
#10
This is an exciting development. Is it meant for phone, tablet or both?
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:11.