From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:39760) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibAma-0003uI-7o for guix-patches@gnu.org; Sat, 30 Nov 2019 17:00:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibAmZ-0008Pc-3w for guix-patches@gnu.org; Sat, 30 Nov 2019 17:00:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57483) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ibAmZ-0008PT-11 for guix-patches@gnu.org; Sat, 30 Nov 2019 17:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ibAmZ-0005e6-1J for guix-patches@gnu.org; Sat, 30 Nov 2019 17:00:03 -0500 Subject: [bug#38440] [PATCH 0/5] Add the `qt` build-system. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:39709) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibAlq-0003qk-UI for guix-patches@gnu.org; Sat, 30 Nov 2019 16:59:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibAlp-0007pl-Mx for guix-patches@gnu.org; Sat, 30 Nov 2019 16:59:18 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:33366) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ibAlp-0007mk-Gv for guix-patches@gnu.org; Sat, 30 Nov 2019 16:59:17 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47QQJL3GVSz1qqkW for ; Sat, 30 Nov 2019 22:59:14 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47QQJL39pHz1qwZJ for ; Sat, 30 Nov 2019 22:59:14 +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 EmOAWCXhUv8F for ; Sat, 30 Nov 2019 22:59:13 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-57-47.dynamic.mnet-online.de [188.174.57.47]) (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, 30 Nov 2019 22:59:13 +0100 (CET) Received: from thisbe.fritz.box (unknown [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id 99B26601FB for ; Sat, 30 Nov 2019 22:59:46 +0100 (CET) From: Hartmut Goebel Date: Sat, 30 Nov 2019 22:59:10 +0100 Message-Id: <20191130215910.18891-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38440@debbugs.gnu.org Works and is a good substitude for `wrap-program` from `qt-utils`. This `wrap-program` is still kept, since some packagins not using the cmake-build-syttem use it. Like `wrap-program`, this implementation has one deficit: The wrapper collects paths from *all* inputs, thus e.g. cmake will become a dependency of *every* binary packages using qt-build-system. But contraty to `wrap-program` this implementation does not use env-vars = to build the paths, but inputs. Thus it will be easier to solve the issue by filtering inputs. Comments on the code are heardy welcome. Also see Hartmut Goebel (5): guix: Add the 'qt' build system. gnu: sddm: Use qt-build-system. gnu: ktouch: Use qt-build-system. gnu: kdeconnect: Use qt-build-system. gnu: quaternion: Use qt-build-system. Makefile.am | 2 + doc/guix.texi | 21 ++- gnu/packages/display-managers.scm | 18 +- gnu/packages/education.scm | 17 +- gnu/packages/kde.scm | 18 +- gnu/packages/messaging.scm | 17 +- guix/build-system/qt.scm | 295 ++++++++++++++++++++++++++++++ guix/build/qt-build-system.scm | 109 +++++++++++ 8 files changed, 440 insertions(+), 57 deletions(-) create mode 100644 guix/build-system/qt.scm create mode 100644 guix/build/qt-build-system.scm --=20 2.21.0