From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Qt/KDE build system? Date: Sat, 23 Nov 2019 14:12:18 +0100 Message-ID: <8fffdfae-c89e-1b82-08f9-396fb1f88666@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39257) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYVDC-0006tX-KB for guix-devel@gnu.org; Sat, 23 Nov 2019 08:12:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYVDB-00072J-9y for guix-devel@gnu.org; Sat, 23 Nov 2019 08:12:30 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:60019) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iYVDB-0006zO-0R for guix-devel@gnu.org; Sat, 23 Nov 2019 08:12:29 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47Ktxh3wqbz1qqkm for ; Sat, 23 Nov 2019 14:12:24 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47Ktxh3rgnz1qwZW for ; Sat, 23 Nov 2019 14:12:24 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id fmjssdRc01Yx for ; Sat, 23 Nov 2019 14:12:23 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-48-100.dynamic.mnet-online.de [188.174.48.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Sat, 23 Nov 2019 14:12:23 +0100 (CET) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 67972600B0 for ; Sat, 23 Nov 2019 14:12:42 +0100 (CET) Content-Language: en-US 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" To: Guix-devel Hi, I'm currently packaging some KDE applications and find myself adding this to each of the package descriptions: =C2=A0=C2=A0=C2=A0 (arguments =C2=A0=C2=A0=C2=A0=C2=A0 `(#:modules ((guix build cmake-build-system) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 (guix build qt-utils) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 (guix build utils)) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:imported-modules (,@%cmake-build-s= ystem-modules =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (guix build qt-utils)) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:phases =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (modify-phases %standard-phases =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (add-after 'install 'wra= p-executable =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lambda* (#:= key outputs #:allow-other-keys) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = (let ((out (assoc-ref outputs "out"))) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (wrap-qt-program out "lskat")) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = #t))))) IMHO it would make sense to have some Qt/KDE build system or a flag for the cmake-build-system so these code replication can be avoided. How shall de approach this? --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |