Re: [PATCH] gnu: kde: Add kdelibs.

2015-01-04 Thread Ludovic Courtès
宋文武 iyzs...@gmail.com skribis: Andreas Enge andr...@enge.fr skribis: RUNPATH

Re: [PATCH] gnu: kde: Add kdelibs.

2015-01-02 Thread 宋文武
Andreas Enge andr...@enge.fr skribis: RUNPATH

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-07 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: RUNPATH

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-06 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: On Wed, Nov 05, 2014 at 10:18:18PM +0100, Andreas Enge wrote: It definitely sounds like a good idea. We could add the rpath linker flags for Qt and for KDE via -DCMAKE_SHARED_LINKER_FLAGS and -DCMAKE_EXE_LINKER_FLAGS to the kde build system. I would like

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-06 Thread Andreas Enge
On Thu, Nov 06, 2014 at 12:46:21PM +0100, Ludovic Courtès wrote: Apologies if this was already mentioned, but why don’t -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE and -DCMAKE_INSTALL_RPATH=$out/lib (in cmake-build-system.scm) lead to binaries with a RUNPATH? As Eric said, this should produce

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-06 Thread Andreas Enge
On Thu, Nov 06, 2014 at 11:37:44PM +0100, Andreas Enge wrote: Does this mean that this option only honours paths coming from -l, while at the same time using -l is unusual with cmake? Actually I do not know about the second part of the sentence, but the first one seems to be true. When I add

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-06 Thread Eric Bavier
Andreas Enge writes: -Wl,-rpath,: As I understand things, cmake might relink executables during installation with the appropriate rpath for the installation directory. It may also patch the executables rpath in place, replacing the

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-06 Thread Andreas Enge
In nixpkgs, the file for ktouch looks like this: { kde, kdelibs, libxkbfile }: kde { buildInputs = [ kdelibs libxkbfile ]; meta = { description = Touch Typing Tutor; }; } Where do I find the definition of what could probably be called the kde build system? Andreas

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-06 Thread Andreas Enge
On Thu, Nov 06, 2014 at 05:09:35PM -0600, Eric Bavier wrote: As I understand things, cmake might relink executables during installation with the appropriate rpath for the installation directory. It may also patch the executables rpath in place, replacing the ... string above with the

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-05 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: thanks to Ludovic's help with debugging Qt and dbus, I finally have a working recipe for kdelibs that allows me to compile the KDE Hello, world tutorial at https://techbase.kde.org/Development/Tutorials/First_program This is good news. :-) It looks

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-05 Thread 宋文武
Ludovic Courtès l...@gnu.org writes: Andreas Enge andr...@enge.fr skribis: thanks to Ludovic's help with debugging Qt and dbus, I finally have a working recipe for kdelibs that allows me to compile the KDE Hello, world tutorial at

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-05 Thread Andreas Enge
Thanks for your comments! On Wed, Nov 05, 2014 at 02:18:24PM +0100, Ludovic Courtès wrote: Perhaps eventually you’ll find it convenient to have a specific build system with those listed as implicit inputs, though. This sounds like a good idea. I considered a define with a list of the basic

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-05 Thread Federico Beffa
Andreas Enge andr...@enge.fr writes: As usual, the libraries and binaries are not explicitly linked with the libraries they depend on. So in a context where the input libraries are not in /usr/lib, executing binaries fails. In my private branch I also tried to compile a few KDE packages. The

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-05 Thread Ludovic Courtès
Federico Beffa be...@ieee.org skribis: I'm working on dconf and I had the same problem: the produced binaries like dconf-edit, but even shared libraries produced by the build would not find their own companions. What build system does dconf use? Usually there’s no problem for packages that

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-05 Thread Federico Beffa
On Wed, Nov 5, 2014 at 9:28 PM, Eric Bavier ericbav...@gmail.com wrote: Ludovic Courtès writes: Federico Beffa be...@ieee.org skribis: What build system does dconf use? I'm using glib-or-gtk-build-system (which I'm refining). So, it is mostly the gnu-build-system. But, in the end of the

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-05 Thread Andreas Enge
On Wed, Nov 05, 2014 at 10:00:12PM +0100, Federico Beffa wrote: I'm using glib-or-gtk-build-system (which I'm refining). So, it is mostly the gnu-build-system. But, in the end of the day, the option is just a parameter for the linker and I thought it may help... but maybe not. It definitely

Re: [PATCH] gnu: kde: Add kdelibs.

2014-11-05 Thread Andreas Enge
anyone have a better idea or an argument why this would be bad? Andreas From 4c82ecb734da93dbe8d41a0466b1cd20ab52981f Mon Sep 17 00:00:00 2001 From: Andreas Enge andr...@enge.fr Date: Tue, 4 Nov 2014 21:44:16 +0100 Subject: [PATCH] gnu: kde: Add kdelibs. * gnu/packages/kde.scm (kdelibs): New

[PATCH] gnu: kde: Add kdelibs.

2014-11-04 Thread Andreas Enge
Hello, thanks to Ludovic's help with debugging Qt and dbus, I finally have a working recipe for kdelibs that allows me to compile the KDE Hello, world tutorial at https://techbase.kde.org/Development/Tutorials/First_program It looks like all KDE programs require at least kdelibs, qt, phonon