From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?5a6L5paH5q2m?= Subject: Re: [PATCH] gnu: kde: Add kdelibs. Date: Wed, 05 Nov 2014 21:49:39 +0800 Message-ID: <871tphbvv0.fsf@gmail.com> References: <20141104213754.GA15142@debian> <87d2917plr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm0yD-0005S0-1v for guix-devel@gnu.org; Wed, 05 Nov 2014 08:50:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xm0y8-0000QR-N0 for guix-devel@gnu.org; Wed, 05 Nov 2014 08:49:56 -0500 In-Reply-To: <87d2917plr.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Andreas Enge Cc: guix-devel@gnu.org Ludovic Court=C3=A8s writes: > Andreas Enge skribis: > >> thanks to Ludovic's help with debugging Qt and dbus, I finally have a wo= rking >> 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 like all KDE programs require at least kdelibs, qt, phonon and >> automoc4 to compile; but as these are not needed for running the program, >> it seems inappropriate to make them propagated inputs. > > Right, this is not a reason to propagate them. > > Perhaps eventually you=E2=80=99ll find it convenient to have a specific b= uild > system with those listed as implicit inputs, though. > >> The configure flags >> "-DCMAKE_SHARED_LINKER_FLAGS=3D-lQtNetwork -lQtXml" >> "-DCMAKE_EXE_LINKER_FLAGS=3D-lQtCore" >> look like bugs in kdelibs to me; but I wonder if reporting them makes se= nse. > > What does it fix? Would be nice to leave a comment above it. Hi, when packaging libqtxdg(using cmake and qt5), I find out that I have to set CMAKE_SHARED_LINKER_FLAGS too to get qt5 into output's rpath. Then I do a similar build for libqtxdg in nix for comparision, which do not need to set this variable.