Thread
:
Calligra 2.4 has been released
View Single Post
misiak
2012-07-10 , 21:03
Posts: 805 | Thanked: 1,605 times | Joined on Feb 2010 @ Gdynia, Poland
#
26
Another status report: I managed to build it on my desktop Ubuntu, but the mobile version looks like garbage (and can't display any document anyway), but I think things may look different in Maemo
I digged through this dependancy hell, if anyone's interested, here is output of
Code:
dpkg -l | grep kde
for
Ubuntu
(virtual machine with 10.04 32bit) and
scratchbox
. I noticed it compiled in Ubuntu using KDE 4.4 and didn't want to compile in Scratchbox using wild combination of KDE 4.5 and KDE 4.6 libraries. So I dug deeper and deeper throught the sources (apt-get source kdepimlibs and apt-get build-dep kdepimlibs) and found out that:
1. WTF, apt-get install kdepimlibs installs version 4.6.
4020110214.1821
.git
7f2d634
-1maemo1.1219266 while apt-get source kdepimlibs downloads sources for version 4.6.
40.20110209.1419
.git
cb86eff
-1maemo1.1219266 and this version is build after building - what a mess in a repository!
2. in file kabc/CMakeLists.txt the files I'm missing are surrounded by block "if (NOT KDEPIM_NO_KRESOURCES)", so KDEPIM_NO_KRESOURCES has to be set to FALSE to build them (but in /usr/share/kde4/apps/cmake/modules/KDEPlatformProfile.cmake it's set to TRUE, I guess same applies to kcal-related error
3. If i set this value to FALSE, enter kdepimlibs-4.6.40.20110209.1419.gitcb86eff directory and run
Code:
fakeroot dpkg-buildpackate
, build fails miserably with message
make: *** [check-missing-files] Error 1
and spits out bazillion of files "which were installed but not packaged". The build is clearly broken when KDEPIM_NO_KRESOURCES is set to FALSE. Some packages are generated, but I cannot install them anyway, because of version mismatch :/ I need to recompile more stuff than I thought, but after recompiling all dependencies and kdepimlibs (along with all libraries which are generated from its sources, like libkabc4, etc.) withc KDEPIM_NO_KRESOURCES set to FALSE I should finally be able to at least compile Calligra mobile (unless there'll be other errors). If I won't be able to, I'll try to port Ubuntu 10.04's KDE 4.5 libs - at least I know Calligra is somewhat compilable with them.
Side note: does anyone know how to build Calligra Active?
-DBUILD_active=on seems to do nothing when running cmake...
Quote & Reply
|
The Following 7 Users Say Thank You to misiak For This Useful Post:
acrux
,
Arthuro_Adam
,
fw190
,
ivgalvez
,
kureyon
,
msantoni82
,
OVK
misiak
View Public Profile
Send a private message to misiak
Find all posts by misiak