# Port Calligra Gemini to SailfishOS as native office suite

Calligra is a great Free Softwire KDE/Qt-based office suite. In fact it was the base for the Documents app in the Nokia N9 (and Jolla I imagine).

The recent news item (including awesome videos!) reveals that Calligra Gemini is now part of the official Calligra suite – this goes perfectly with the recently announced Jolla Tablet, since the whole point of Calligra Gemini is that the office suite has a responsive UI – that means that on the fly it changes e.g.:

• into the full desktop create mode, if it detects the screen is big enough and there is a keyboard (& mouse) present;
• into the touch-optimised edit mode, if it detects it the device offers only a touch-screen;
• into the full-screen no-nonsense view mode, if asked so.

Having such a thing on the Jolla Tablet would be a brilliant thing and the code is already there (although for now still Qt4-based) – please make this happen.

This could (i.e. would eventually) solve a previous question about having a native spreadsheet app. ⇐ update: fixed wording

https://www.calligra.org/news/calligra-2-9-released/

edit retag close delete

16

I'd give this several arrows up if I could. This could actually also be useful on the Jolla phone, not just the tablet

( 2014-11-22 16:40:03 +0200 )edit
4

Agreed, but the tablet is such a perfect example (although the phone + TOHKBD is a great one as well)

( 2014-11-22 17:08:28 +0200 )edit
6

Definitely the tablet needs a powerful office suite! Sounds like the perfect solution whilst still I would prefer a true mobile solution based on libre...

( 2014-11-22 17:33:32 +0200 )edit
4

Agreed, but the tablet is such a perfect example

Yeah, but I've realized I have no use case for a tablet. Got my PC/work station for working at home, my laptop for when being out of town, and my Jolla for all in between. Had a tablet for 3 years (died the other day), but only used it for looking up TV-programmes. €400 out the window :P

( 2014-11-22 17:47:56 +0200 )edit
1

( 2014-12-02 02:50:35 +0200 )edit

Sort by » oldest newest most voted

Edit 2018-09-26: packages updated in OBS with a fix for the performance regression issue. Well, it's not really a fix: the page cache was not enabled by default and I didn't notice that @leinir enabled it in the first port.

Edit 2018-09-21: I've updated the bundle for the application not to crash on presentation files. The sources have been updated also to HEAD version of Calligra so any modifications can easily be propose upstream and following development can also be straitworward. The performances issues have not been investigated yet. For testing purposes and report any crash or issue, packages can be downloaded from my OBS build repository. Every RPM should be install except for the -template ones.

Some news of on-going work on Calligra in SailfishOS from community.

I've finished upgrading Calligra to 3.1.0 for later adoption in mer as it has been discussed on IRC last month. It is compiling on OBS. Generated packages can be installed on device and tested.

The repository in Mer is simply a list of git submodules and a spec file. Required KF5 dependencies are compiled and installed in /usr/lib/calligra-kf5/ to avoid mess-up with system libraries. Calligra is using an rpath to find them.

On device, performances are currently poor though and pptx files makes the application crashes. So packages are not yet to be used in production. But it's a start and community can work on Calligra HEAD (well almost, it is made on 3.1.0) to improve and test.

more

Now, Calligra is evolving to 3.0 with an update to Qt 5.5.

In an extended answer to my comment, the developper details the processes to perform in order to port Calligra on Sailfish.

https://frinring.wordpress.com/2015/10/07/calligra-words-3-alpha-now-pure-qt5-kf5/

what answer could provide the community ?

more

1

I'm afraid that his point 2., namely, upgrading SFOS Qt libs to at least 5.5, won't happen in a near future… This is the main blocker IMHO, and the community cannot really help for this. Then, since the document app is open source, it will be quite strait forward to upgrade to latest Calligra and hopefully design a specific UI for edition.

Maybe when the ramble from November 15 settles down a bit, one could add in the IRC community meetings the following question : « plan or roadmap for Qt 5.5 in SFOS, and how the community can help (tests, bug triage in Mer…) ? »

( 2016-01-19 14:06:55 +0200 )edit

A post by those who made the first Calligra port on Qt 5.1. Only a partial port as missionned by Jolla Oy in order to create the Sailfish office document viewer. http://www.valdyas.org/fading/index.cgi/2013/08/index.html

( 2016-01-23 11:07:08 +0200 )edit
1

Qt 5.6 is almost here. So will there be convergence?

( 2016-12-07 19:56:03 +0200 )edit

As a Calligra mobile seems not to be possible for a while, could we get a port of ABIWORD to sailfisfhOS ? ABIWORD is a free word processor available for many Linux desktop distros. ABIWORD was already ported on the N900 and the N9. There is also an Android version.

Personnally I use consistently my phone for writing, and already on my 3.5 inch Nokia 7710 ou Iphone 4, thus the lack of native word processor oblige me to use android suite with some concern in data availability.

Concerning Abiword, as there is already a version available in Easy Deabian packages for Arm and Meego-Harmattan, it should be easy to port it on Sailfish ? https://packages.debian.org/search?suite=jessie&arch=arm&searchon=names&keywords=abiword

Stefano Mosconi told in 2013 that all Harmattan/meeGo Apps could their Harbour in Sailfish ... https://twitter.com/zzste/status/392718794126143488

Is there no developer interested ?

If yes, one could crowdfound the port in the same way that CODERUS proposed it on Indiego !!! https://www.indiegogo.com/projects/support-coderus-sailfishos-individual-developer#/

WANTED DEVELOPER !!!

more

Why two ansvers ? Just because the comment on the comment in the first answer does not bring the question of Calligra at the top of TogetherJolla... I opt for this way and not for create a new Question in TogetherJolla. More than the Form (but, as you can see I delete the first answer ;-) ) my problem is to attract some developper to do the work ... It's desperately slow to process by votes and have to wait that the number of votes give some interest to your problem and so on.

( 2016-02-11 18:50:42 +0200 )edit
1

It seems to me that Abiword is based on Gtk, at least for its desktop version (see https://packages.debian.org/stretch/abiword and the dependency list). I would be surprised if they propose a Qt version with a touch oriented interface.

Based on this, Abiword is far less probable to arrive on SailfishOS than Calligra ! In my opinion, there are two directions to follow to see a document editor in SailfishOS:

• Mer that upgrades to Qt5.5, so using Calligra almost out of the box. It will take a huge amount of time to switch to Qt5.5 but then it will be easy.
• Keep looking at LibreOfficeKit. Requires to build LibreOffice on Mer which is doable now. Then one needs to develop from scratch the UI in SailfishOS and bind it to LibreOfficeKit. Very interesting but long way to go.
( 2016-02-12 10:29:32 +0200 )edit

But It seems, there is already a version of Abiword workable for Meego Harmattan with an UI for the N9 (even if it seems to work through a kind of virtual machine ?) : http://talk.maemo.org/showthread.php?t=85878 "What is Easy Debian Harmattan ? It is an easy way to run Debian (armel) inside MeeGo Harmattan (without rebooting and dual boot) by chrooting a Debian image file. Full desktop Debian softwares are available : LXDE (desktop environment), OpenOffice, GIMP (image editor), Java (J2SE), Abiword (text editor), Gnumeric (spreadsheet), Iceweasel / Firefox (with Java and Flash), Icedove / Thunderbird email client, TeXMaker / LaTeX, many programming languages (C/C++, Python, Fortran, Pascal, Ruby, etc), Octave, Scilab, Gnu R, etc. There are approx. 29,000 Debian packages, but not all work on ARM and Nokia N9/N950 (due to chrooting limitations, ARMEL type, etc). Search for Debian packages here."

( 2016-02-12 15:41:23 +0200 )edit

It's not a virtual machine, it's a chroot. It means that on a given running kernel + userland, the root directory is changed to something else for some processes, so they can rely on others libraries than the host system ones.

That said, a chroot on Fremantle or Harmattan provides a working environment for Debian, since the userland of Debian and these two systems are basically the same : X11 + window manager… On the contrary, there is no EasyDebian on SailfishOS (not that it's impossible to do), because the userland of SailfishOS differs much from the (current) userland of Debian which is still mainly based on X11.

When Wayland will be mature enough there will be room to have a usable Debian chroot.

Besides, Gtk is working on Wayland, so to have the desktop version of Abiword on the phone (which may not be that pleasant to use), it's currently a matter of compiling Gtk in the SDK (and then Abiword) which should be doable. Then debug of course…

( 2016-02-12 16:12:10 +0200 )edit

Now we have also have libreofficekit on which is based gnome documents app. We could use it as a base for jolla app, as libreoffice is certainly less buggy and more supported than Calligra.

more

A recent release (3.1) of Calligra Gemini says : "Gemini:

Port to KDE Frameworks 5
Port the welcome screen to Kirigami
**Port to using the Qt Quick 2 based Calligra components (based on work done for Jolla Documents)**
Port to using libgit2 directly for git support (as the Qt support library has become unmaintained)
Fix template support"


https://www.calligra.org/news/calligra-3-1-0-released/

Could this means an easier way to port Calligra on SailfishOS ???

( 2018-02-01 21:08:58 +0200 )edit

Just out of curiousity, there's a hole heap of Calligra stuff installed in Sailfish X, including icons and such. What isn't installed is, apparently, Calligra itself. What's that about?

( 2018-10-25 03:09:29 +0200 )edit