Planet maemo: category "feed:6135faf0e0d8fcf4153d72df4ff39816"

Marijn Kruisselbrink

More Calligra Active on Android

2012-06-13 04:42 UTC  by  Marijn Kruisselbrink
0
0

KDE Project:

As I posted the last time I blogged (which I really should do more often), I had some problems with Calligra Active on Android and the number of shared libraries it requires (various versions of android have different, but low, fixed maximums for the number of .so files that can be loaded in a single process). Since then I did several things to resolve that. One option would have been to go the "libkok" route, like we did when we developed/ported calligra/koffice to Maemo and the Nokia N900 and N9. There we basically rewrote the kdelibs cmake files to just build those files that we really need, and build it all into one big library. The big problem was that approach was that it was completely unmaintainable, which meant that we were basically stuck with whatever snapshot kdelibs version we chose to base that on. So instead of doing that I got out the CMake manual, and came up with some relatively simple cmake code that basically combines several existing targets into one new target. The downside to this is that it still has to build all the individual targets as well, so build times basically doubled, but other than that it gives me a nice "libkall.so" that contains all of kdelibs that Calligra Active depends on, combining 11 .so files into one. See here if you're interested in the CMake code I came up with. I did something similar for the libraries Calligra itself provides reducing the number of .so files even more.
(I had some problems to combine the various kdelibs libraries together because of the way automoc works. Basically when you have several source files with the same filename but different directores they will overwrite eachothers .moc file if they are built in the same target. To get around that I renamed some files).

Click to read 870 more words
Marijn Kruisselbrink

Plasma widgets on Maemo5

2009-10-10 21:50 UTC  by  Marijn Kruisselbrink
0
0

KDE Project:

Yesterday nokia gave away 300 pre-production n900 devices to all attendants of this years Maemo summit in Amsterdam (in the form of a six months loan, after that they'll have to go back to Nokia). I'm also attending, so I also got one. Deciding what the first thing to port to a new device is is always hard, but in the end I figured that something with plasma might be nice. As maemo5 makes it possible for home-screen widgets to be part of separate processes, I figured it might be possible to adapt plasmoidviewer to act as a simple program to put any type of plasma applet on the normal maemo desktop (actually, I think it was somebody else that suggested this, I just don't remember who it was). So after several hours of hacking (and a lot more hours of compiling Qt and various parts of kde (btw, the just released Qt 4.6 maemo5 technology preview is missing some essential bits like for example qdbuscpp2xml), I managed to figure out just exactly how to get the window to appear on the normal desktop as a widget. At first this didn't look to pretty as you can see in this screenshot:

But after several more hours of hacking and trying to figure out how transparency works in X11, I even managed to get nice translucent applets. Also I figured out how to hook up the normal maemo5 widget configuration system to display the correct configuration dialog when you click on the configure button on one of these plasmoids. So with in the end maybe 20 lines of code, I got a rather good working implementation that makes it basically possible to have any plasmoid you might have on your normal kde desktop, also on your maemo5 home screen. One (somewhat major) problem with the current implementation is that it is not possible to resize widgets, but as far as I can tell that is mostly a limitation of the maemo5 desktop widget system, so I'm not sure if there is anything I can do about it from my side.

Marijn Kruisselbrink

KDE Project:

After quite a while of not doing much maemo related, I finally found the time to build a bit more up-to-date kde packages for maemo. I've now uploaded kdelibs, kdepimlibs and kdebase from KDE 4.2.0 (more modules will follow), and also the just released koffice 2.0beta6 (unfortunately no kspread yet, as I couldn't get it to compile with the old gcc version in scratchbox). If you want to play with kde and/or koffice on your maemo powered device, add the following line to your /etc/apt/sources.list:deb http://93.157.1.37/~marijn/maemo binary/, and install kde and/or koffice related packages (you probably don't want to install them to the small rootfs, as the packages are still a bit big). The state of maemo/hildon integration for kde applications hasn't changed much since my previous packages (for example applications still don't have a correct icon in the taskbar), but I hope to be able to spend some time in that area as well. Plasma on Maemo
I'll also be at fosdem this weekend, so if anyone has problems getting the packages to work, you could try to find me there :)
Marijn Kruisselbrink
After quite a while of not doing much maemo related, I finally found the time to build a bit more up-to-date kde packages for maemo. I've now uploaded kdelibs, kdepimlibs and kdebase from KDE 4.2.0 (more modules will follow), and also the just released koffice 2.0beta6 (unfortunately no kspread yet, as I couldn't get it to compile with the old gcc version in scratchbox). If you want to play with kde and/or koffice on your maemo powered device, add the following line to your /etc/apt/sources.list:deb http://93.157.1.37/~marijn/maemo binary/, and install kde and/or koffice related packages (you probably don't want to install them to the small rootfs, as the packages are still a bit big). The state of maemo/hildon integration for kde applications hasn't changed much since my previous packages (for example applications still don't have a correct icon in the taskbar), but I hope to be able to spend some time in that area as well. Plasma on Maemo
I'll also be at fosdem this weekend, so if anyone has problems getting the packages to work, you could try to find me there :)
Categories: Distributions
Marijn Kruisselbrink

Having fun with qemu

2008-09-09 22:54 UTC  by  Marijn Kruisselbrink
0
0

KDE Project:

Until now I've always been using my own built Qt packages when building KDE packages for maemo. Initially because the Qt packages in extras-devel where missing some vital parts for KDE (mainly SSL support I think) but after that because I just had them installed, and it worked. But now I wanted to change this, and use the extras-devel provided Qt, as in theory that shouldn't matter, after all they are build from the same sources, with nearly identical configuration. As it turned out, this was actually quite a bit harder than I thought it would be.

Click to read 800 more words
Marijn Kruisselbrink

Having fun with qemu

2008-09-09 22:54 UTC  by  Marijn Kruisselbrink
0
0

Until now I've always been using my own built Qt packages when building KDE packages for maemo. Initially because the Qt packages in extras-devel where missing some vital parts for KDE (mainly SSL support I think) but after that because I just had them installed, and it worked. But now I wanted to change this, and use the extras-devel provided Qt, as in theory that shouldn't matter, after all they are build from the same sources, with nearly identical configuration. As it turned out, this was actually quite a bit harder than I thought it would be.

Click to read 800 more words
Categories: Maemo
Marijn Kruisselbrink

KOffice on Maemo

2008-09-04 00:04 UTC  by  Marijn Kruisselbrink
0
0

KDE Project:

As KOffice is supposed to be a lightweight office suite, I figured it would be nice to see how well it would run on maemo based devices. Thanks to Thomas Zander who replaced a lot of the double usage in koffice with qreals it was quite straightforward to get koffice to compile and packaged. Well, for the most part that is, I didn't manage to get kspread to link as apparently the old gcc version I'm using has some problems with inner classes in templated classes and duplicate symbols. After fixing some trivial issues, I could install koffice on maemo and run it:

As you see in these screenshots there are some clear user-interface problems; the dockers use way too much space for such a small screen, and somehow the toolbar is at the bottom instead of the top of the window (I have seen this earlier also with for example konqueror, so perhaps there is some general kde/qt mainwindow bug on maemo, but I haven't looked into that any further). So while the UI is far from suitable for these devices, drawing stuff with karbon actually works remarkably well. I think it is very realistic to create a slimmed-down UI for koffice applications to make a very usable office suite for maemo using a lot of the existing koffice code.

If anyone else want to try running koffice, maemo package are available in my repository.

Marijn Kruisselbrink

KOffice on Maemo

2008-09-04 00:04 UTC  by  Marijn Kruisselbrink
0
0

As KOffice is supposed to be a lightweight office suite, I figured it would be nice to see how well it would run on maemo based devices. Thanks to Thomas Zander who replaced a lot of the double usage in koffice with qreals it was quite straightforward to get koffice to compile and packaged. Well, for the most part that is, I didn't manage to get kspread to link as apparently the old gcc version I'm using has some problems with inner classes in templated classes and duplicate symbols. After fixing some trivial issues, I could install koffice on maemo and run it:

As you see in these screenshots there are some clear user-interface problems; the dockers use way too much space for such a small screen, and somehow the toolbar is at the bottom instead of the top of the window (I have seen this earlier also with for example konqueror, so perhaps there is some general kde/qt mainwindow bug on maemo, but I haven't looked into that any further). So while the UI is far from suitable for these devices, drawing stuff with karbon actually works remarkably well. I think it is very realistic to create a slimmed-down UI for koffice applications to make a very usable office suite for maemo using a lot of the existing koffice code.

If anyone else want to try running koffice, maemo package are available in my repository.

Categories: KOffice