Actually, building packages for KDE 4.2 was also on my todo-list as well and now I have some spare time left to work on it. Is the problem with kdepim fixed now? and could you share the Nix expressions you wrote? then I don't have to write those expressions myself :)
-----Original Message----- From: [email protected] on behalf of Andrew Morsillo Sent: Thu 2/5/2009 6:50 PM To: Eelco Dolstra - EWI; [email protected] Subject: Re: [Nix-dev] kdepim-4.2.0 cmake_install I am fairly close to getting all of kde-4.2 to build, so once I do that I will send what I have done (im fairly new to nix so im sure some of it will need fixing). As for the dbus interface problem I ended up following your suggestion and patched the cmake files to install the interfaces into somewhere sensible under kdepim. Kdepim now builds, but I have yet to see if this will cause problems at runtime. Andrew Morsillo On Thu, Feb 5, 2009 at 5:36 AM, Eelco Dolstra <[email protected]> wrote: > Hi, > > Andrew Morsillo wrote: > >> I am trying to build kdepim-4.2.0, but am encountering a problem >> during the install phase. > > Hm, if you have updated Nix expressions for KDE 4.2, please send them to me > (or > commit them). I was just looking into updating to KDE 4.2 :-) > >> Which lead to the CMakeLists.txt for libkdepim where i found: >> >> install(FILES interfaces/org.kde.addressbook.service.xml >> interfaces/org.kde.mailtransport.service.xml DESTINATION >> ${KDE4_DBUS_INTERFACES_DIR}) > > Perhaps here you can override the value of KDE4_DBUS_INTERFACES_DIR to > $out/whatever (i.e. the kdepim prefix). (I don't know cmake, but with make > you > can just do this by setting the stdenv's makeFlags or makeFlagsArray > variables.) > Then at least it should compile. > > How you actually get kdepim to find those files at runtime is another matter. > Hopefully it searches for them under one of the $KDEDIRS, $XDG_CONFIG_DIRS or > $XDG_DATA_DIRS environment variables. In that case it's just a matter of > adding > kdepim to the search path. For instance, in NixOS $KDEDIRS looks like: > > /home/eelco/.nix-profile:/nix/var/nix/profiles/default:/nix/store/d5w3y6pxjsbq5w9lbjjnr5md3h2akq2r-kdebase-3.5.10:/nix/store/d781s6sfa8alh3c6pdl5ai04954slki5-kdelibs-3.5.10 > > If not, then there's hopefully some other environment variable... > > -- > Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/ > _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
_______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
