[Nix-dev] kdepim-4.2.0 cmake_install

Jan Kroeze thejcwk at gmail.com
Tue Feb 10 13:29:16 CET 2009


Is there any hope for a kde-4 desktop setting in configuration.nix any time
soon?

2009/2/5 Andrew Morsillo <andrew.morsillo at gmail.com>

> 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 <e.dolstra at tudelft.nl>
> 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/<http://www.st.ewi.tudelft.nl/%7Edolstra/>
> >
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20090210/361872dc/attachment.html 


More information about the nix-dev mailing list