[Kde-pim] kdesrc-build setup for kdepim

Ovidiu-Florin BOGDAN ovidiu.b13 at gmail.com
Sat Dec 19 07:49:19 UTC 2015


În ziua de Sunday 13 December 2015, la 12:55:54, Daniel Vrátil a scris:
> On Saturday, December 12, 2015 11:00:39 PM CET Alex Merry wrote:
> > The recent splitting of kdepimlibs has caused a clean run of
> > kdesrc-build to fail on lots of pim modules. This seems to be a
> > combination of kde-build-metadata not recording the dependencies
> > properly for a lot of things, and "playground/pim" in the kdepim
> > kdesrc-build include file being far too general (eg: akonadi-vkontakte
> > is kdelibs4-based, not kf5-based).
> > 
> > I started trying to fix it, but got a bit overwhelmed. It would be
> > easier for someone / some people with domain knowledge to do it, I
> > think, hence me emailing the kde-pim list.
> 
> I started looking into it last night too :) I got most of it building locally, 
> but indeed the deps are not recorded properly.
> 
I've been strugling since wednesday to build kdepim with KSB. I think I've managed to sort out most dependencies. Only kdepim-runtime and kdepin dont build. Reason is I don't have kross *.16 (kubuntu comes with *.15. I've tried to build kross with KSB but it fails with: 
[ 64%] Automatic moc for target kf5kross
[ 64%] Built target kf5kross_automoc
Linking CXX executable kf5kross
/home/ovidiu/Qt/5.5/gcc_64/lib/libQt5Script.so.5.5.1: referinţă nedefinită către `QMetaObject::Connection::isConnected_helper() const'
collect2: error: ld returned 1 exit status
src/console/CMakeFiles/kf5kross.dir/build.make:110: recipe for target 'src/console/kf5kross' failed
make[2]: *** [src/console/kf5kross] Error 1
CMakeFiles/Makefile2:519: recipe for target 'src/console/CMakeFiles/kf5kross.dir/all' failed
make[1]: *** [src/console/CMakeFiles/kf5kross.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2

Here's my kdesrc-buildrc:
global
    # Qt path (using Qt from Qt.io site)
    qtdir /home/ovidiu/Qt/5.5/gcc_64
    # KDE install directory
    kdedir /home/ovidiu/kde-devel/install
    # Directory for downloaded source code
    source-dir /home/ovidiu/kde-devel/src
    # Directory to build KDE into before installing
    build-dir /home/ovidiu/kde-devel/build
    # Use multiple cores for building. Other options to GNU make may also be set.
#     make-options -j8

    # Login to use for SVN. Anonymous SVN can be used by just deleting this option.
    # Note that ssh-agent must be running and loaded with the right key.
    svn-server svn+ssh://svn@svn.kde.org/home/kde

    git-repository-base kde-projects kde:

    cmake-options -DCMAKE_BUILD_TYPE:STRING=debug -DKDE4_BUILD_TESTS=true

    branch-group kf5-qt5
end global

#include src/extragear/utils/kdesrc-build/kf5-qt5-build-include
include src/extragear/utils/kdesrc-build/kf5-kdepim-build-include

P.S. How's the dependency fixing going?
On my first run KSB cried that I should change *module* to *options*, so I did, and it runs now.
diff --git a/kf5-kdepim-build-include b/kf5-kdepim-build-include
index f6d4b19..b2e9590 100644
--- a/kf5-kdepim-build-include
+++ b/kf5-kdepim-build-include
@@ -16,11 +16,11 @@
 # tool you can use to validate your change works (or just "kdesrc-build -p
 # your-module" and look for the right branch).
 
-module libkolabxml
+options libkolabxml
     repository https://git.kolab.org/diffusion/LKX/libkolabxml.git
     cmake-options -DQT5_BUILD=true
     branch libkolabxml-1.1
-end module
+end options
 
 module-set kde-pimlibs
     repository kde-projects
@@ -29,15 +29,15 @@ module-set kde-pimlibs
     use-modules kde/pim prison kdepimlibs akonadi-search libkgapi
 end module-set
 
-module libkolab
+options libkolab
     repository https://git.kolab.org/diffusion/LK/libkolab.git
     branch libkolab-1.0
-end module
+end options
 
-module grantlee
+options grantlee
     repository https://github.com/steveire/grantlee.git
     branch master
-end module
+end options
 
 module-set kde-pim
     repository kde-projects

Please advise.
-- 
*Ovidiu-Florin Bogdan*
GeekAliens.com[1] 
Kubuntu Romania Representative[2]
_Kubuntu Council Member_

--------
[1] http://ovidiu.geekaliens.com
[2] http://kubuntu.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151219/a74a4599/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151219/a74a4599/attachment-0001.sig>


More information about the Kde-frameworks-devel mailing list