From unknown Mon Jun 23 04:14:22 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Jan 2020 16:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39269 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39269@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15798829863960 (code B ref -1); Fri, 24 Jan 2020 16:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jan 2020 16:23:06 +0000 Received: from localhost ([127.0.0.1]:54677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv1je-00011o-8K for submit@debbugs.gnu.org; Fri, 24 Jan 2020 11:23:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:44678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv1jc-00011h-VR for submit@debbugs.gnu.org; Fri, 24 Jan 2020 11:23:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37072) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv1jb-0001ht-Ez for guix-patches@gnu.org; Fri, 24 Jan 2020 11:23:04 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iv1ja-0000C9-3C for guix-patches@gnu.org; Fri, 24 Jan 2020 11:23:03 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:49596) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iv1jZ-0000Au-Q1 for guix-patches@gnu.org; Fri, 24 Jan 2020 11:23:02 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4844F06lL1z1qqkj for ; Fri, 24 Jan 2020 17:23:00 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4844F06gChz1qrYp for ; Fri, 24 Jan 2020 17:23:00 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de 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 ACrWFcit2i7D for ; Fri, 24 Jan 2020 17:22:59 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-59-130.dynamic.mnet-online.de [188.174.59.130]) (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 ; Fri, 24 Jan 2020 17:22:59 +0100 (CET) Received: from localhost.fritz.box (lenashee.fritz.box [192.168.110.31]) by hermia.goebel-consult.de (Postfix) with ESMTP id 61C5D6031C for ; Fri, 24 Jan 2020 17:22:57 +0100 (CET) From: Hartmut Goebel Date: Fri, 24 Jan 2020 17:22:52 +0100 Message-Id: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.18.0.9 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * guix/build/qt-build-system.scm (check-setup): New function. (%standard-phases): Add as new phase `check-setup before `check. * doc/guix.texi (Build System)[qt-build-system]: Describe the new phase. --- doc/guix.texi | 25 +++++++++++++++++++++---- guix/build/qt-build-system.scm | 14 +++++++++++++- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index d674b9484f..71365c5269 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -47,7 +47,7 @@ Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017 Christopher Allan Webber@* Copyright @copyright{} 2017, 2018, 2019 Marius Bakke@* -Copyright @copyright{} 2017, 2019 Hartmut Goebel@* +Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* Copyright @copyright{} 2017, 2019 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* @@ -6447,10 +6447,24 @@ Which Perl package is used can be specified with = @code{#:perl}. This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE. =20 -This build system adds the phase @code{qt-wrap} to the ones defined by -@code{cmake-build-system}, after the @code{install} phase. +This build system adds the following two phases to the ones defined by +@code{cmake-build-system}: =20 -This phase searches for Qt5 plugin paths, QML paths and some XDG in the = inputs +@table @code +@item check-setup +The phase @code{check-setup} prepares the environment for running +the checks as commonly used by Qt test programs. +For now this only sets some environment variables: +@code{QT_QPA_PLATFORM=3Doffscreen}, +@code{DBUS_FATAL_WARNINGS=3D0} and +@code{CTEST_OUTPUT_ON_FAILURE=3D1}. + +This phase is added before the @code{check} phase. +It's a separate phase to ease adjusting if necessary. + +@item qt-wrap +The phase @code{qt-wrap} +searches for Qt5 plugin paths, QML paths and some XDG in the inputs and output. In case some path is found, all programs in the output's @file{bin/}, @file{sbin/}, @file{libexec/} and @file{lib/libexec/} direc= tories are wrapped in scripts defining the necessary environment variables. @@ -6460,6 +6474,9 @@ by listing their names in the @code{#:qt-wrap-exclu= ded-outputs} parameter. This is useful when an output is known not to contain any Qt binaries, a= nd where wrapping would gratuitously add a dependency of that output on Qt,= KDE, or such. + +This phase is added after the @code{install} phase. +@end table @end defvr =20 @defvr {Scheme Variable} r-build-system diff --git a/guix/build/qt-build-system.scm b/guix/build/qt-build-system.= scm index be2b808901..005157b0a4 100644 --- a/guix/build/qt-build-system.scm +++ b/guix/build/qt-build-system.scm @@ -2,7 +2,7 @@ ;;; Copyright =C2=A9 2014 Federico Beffa ;;; Copyright =C2=A9 2014, 2015 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2018 Mark H Weaver -;;; Copyright =C2=A9 2019 Hartmut Goebel +;;; Copyright =C2=A9 2019, 2020 Hartmut Goebel ;;; ;;; This file is part of GNU Guix. ;;; @@ -36,6 +36,17 @@ ;; ;; Code: =20 +(define* (check-setup #:rest args) + ;; Make Qt render "offscreen". In many cases this allows to run tests + ;; without starting a X11 server. + (setenv "QT_QPA_PLATFORM" "offscreen") + ;; Qt/KDE tests often need dbus (`dbus-launch =E2=80=A6`) which is not= fully + ;; set-up the the build container. + (setenv "DBUS_FATAL_WARNINGS" "0") + ;; Set here to ease overwriting 'check (even if set there, too) + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") + #t) + (define (variables-for-wrapping base-directories) =20 (define (collect-sub-dirs base-directories subdirectory) @@ -101,6 +112,7 @@ add a dependency of that output on Qt." =20 (define %standard-phases (modify-phases cmake:%standard-phases + (add-before 'check 'check-setup check-setup) (add-after 'install 'qt-wrap wrap-all-programs))) =20 (define* (qt-build #:key inputs (phases %standard-phases) --=20 2.21.1 From unknown Mon Jun 23 04:14:22 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Jan 2020 11:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39269 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel Cc: 39269@debbugs.gnu.org Received: via spool by 39269-submit@debbugs.gnu.org id=B39269.15799504676774 (code B ref 39269); Sat, 25 Jan 2020 11:08:01 +0000 Received: (at 39269) by debbugs.gnu.org; 25 Jan 2020 11:07:47 +0000 Received: from localhost ([127.0.0.1]:55004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ivJI3-0001lC-MR for submit@debbugs.gnu.org; Sat, 25 Jan 2020 06:07:47 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:45518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ivJI1-0001l4-Md for 39269@debbugs.gnu.org; Sat, 25 Jan 2020 06:07:46 -0500 Received: from localhost (unknown [185.17.13.127]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 13BBB3365128; Sat, 25 Jan 2020 12:07:45 +0100 (CET) Date: Sat, 25 Jan 2020 12:07:44 +0100 From: Danny Milosavljevic Message-ID: <20200125120744.07b62fe2@scratchpost.org> In-Reply-To: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> References: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/EgO4n=i9w8kjLfgIR1AgiAp"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: LGTM! Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [85.13.145.193 listed in list.dnswl.org] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.5 BODY_SINGLE_WORD Message body is only one word (no spaces) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.8 (/) --Sig_/EgO4n=i9w8kjLfgIR1AgiAp Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable LGTM! --Sig_/EgO4n=i9w8kjLfgIR1AgiAp Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl4sIYAACgkQ5xo1VCww uqXE+QgAlIct8lg6Adh2Dzk72Mn+ycv2TKdlTu2v7RY4qlPld4vsTnNDoDF8xVU4 cj2MOmtcebDLRHTZ1+RpO/OgW4Lg6Q6/HMDNp3nBI/BITxS2JHjR71Wyqsqy4Z9e 6lS+CpmIFMMC83hyL+sGL64SxcpV9z/aUvsuLuR4gj7uh2uu9xlYOvCGfLESH/H9 0KUi22RnyXurezV+3Zjd/Yrptpq1uY/uncHvGIOEsHB6f0gNzYOAI5gpAEK0Qr9k gg7ceqfR7hMUzH9r5v4ImMqyi31f4fYSwJbc1n6nkRbKf/hIf2CjWlGxi5o4bgpv 3Z/W3zpvIukzjIJV6qgU3m2JDIj4tg== =Xrzj -----END PGP SIGNATURE----- --Sig_/EgO4n=i9w8kjLfgIR1AgiAp-- From unknown Mon Jun 23 04:14:22 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Jan 2020 13:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39269 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Danny Milosavljevic Cc: 39269@debbugs.gnu.org Received: via spool by 39269-submit@debbugs.gnu.org id=B39269.157995898118190 (code B ref 39269); Sat, 25 Jan 2020 13:30:02 +0000 Received: (at 39269) by debbugs.gnu.org; 25 Jan 2020 13:29:41 +0000 Received: from localhost ([127.0.0.1]:55075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ivLVN-0004jJ-Hj for submit@debbugs.gnu.org; Sat, 25 Jan 2020 08:29:41 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:51000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ivLVK-0004j9-TN for 39269@debbugs.gnu.org; Sat, 25 Jan 2020 08:29:39 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 484cLT42RWz1rfLy; Sat, 25 Jan 2020 14:29:37 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 484cLT14GZz1qwyd; Sat, 25 Jan 2020 14:29:37 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de 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 O_LoTSk7aD3m; Sat, 25 Jan 2020 14:29:36 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-59-130.dynamic.mnet-online.de [188.174.59.130]) (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; Sat, 25 Jan 2020 14:29:36 +0100 (CET) Received: from [192.168.110.31] (lenashee.fritz.box [192.168.110.31]) by hermia.goebel-consult.de (Postfix) with ESMTP id F164C600BD; Sat, 25 Jan 2020 14:29:37 +0100 (CET) References: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> <20200125120744.07b62fe2@scratchpost.org> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> Date: Sat, 25 Jan 2020 14:29:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200125120744.07b62fe2@scratchpost.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WSkmYhoWLCC68fJMjWEoo6y30WvErfFId" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WSkmYhoWLCC68fJMjWEoo6y30WvErfFId Content-Type: multipart/mixed; boundary="e9Z1xJbPd0QQWQfo7Hk4uvkkoTpG2KN8B"; protected-headers="v1" From: Hartmut Goebel To: Danny Milosavljevic Cc: 39269@debbugs.gnu.org Message-ID: <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> Subject: Re: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. References: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> <20200125120744.07b62fe2@scratchpost.org> In-Reply-To: <20200125120744.07b62fe2@scratchpost.org> --e9Z1xJbPd0QQWQfo7Hk4uvkkoTpG2KN8B Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US Am 25.01.20 um 12:07 schrieb Danny Milosavljevic: > LGTM! Thanks. I just wonder whether this change shall go into staging?! $ git grep qt-build-system gnu/packages/*.scm | wc -l 90 Out of which 47 are framework packages wich additional dependencies: $ git grep qt-build-system gnu/packages/kde*.scm | wc -l 47 --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --e9Z1xJbPd0QQWQfo7Hk4uvkkoTpG2KN8B-- --WSkmYhoWLCC68fJMjWEoo6y30WvErfFId Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1K2LnBZ7dXxPCOh3e3UoEb93O2UFAl4sQr0ACgkQe3UoEb93 O2Xu8A//dw42Jfa38+RkIikTRzse/ZWes3/C6PWGPkoSB3D6jpEjpHJyY9fdSf8g u9DVneNkNcBxQkZyDNjbNZcueDwjo/GgAaRnbtwBd4UfOSA5euTYmsHh4MaOJV1O iw3/o2fkwfTN43lhAJUB6bzScWq+dtnF4tWM55UlkbvBKd6KQOEgm7dizhZjeSgj wfBBepZeetBHT6vFzU0t6U7IoYzeG3V4VCf938xcftaTUoIKjS6HeVud8zMsOdf2 eWV3NZUNCgTYWvDlpL4loEL+clXwW67elTcBQHTNLYdCARv2NXmbwZv3E4U6z6Tl IEd3MqtfSMjDHbQu9yITzfYJE8t2uZILDKFlokymgsQ7Xs7/qMSdgs0IslTtagZz MIhDW2m09Q1lQfprd/sjOqey45Jb89m70PMUEIOtSQOd5YjSseg3FJXFvYnckyrO 8OY0QSvv+5e1kPw7oNWQcr2lIYOmOAKxIb/nX7l08Syqfbd/NCl/tTqlaJohR06H WFrm41hYHTSBpBeaYAAJG/OBCQk7w9+qRiTwYxnvVxp+OvKCJYjQuEvvGuvtNsMb lV7sXURkNyjGHHQW7qd606GucMGXnt2PgvfCw67GVCnxGe9OGzsPY/lH6IHicUOU AALCFcqg022ccIzZiNntbPJIVa24MNgIb/AYSgv7GchIW9ouKbg= =QyKj -----END PGP SIGNATURE----- --WSkmYhoWLCC68fJMjWEoo6y30WvErfFId-- From unknown Mon Jun 23 04:14:22 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Jan 2020 19:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39269 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39269@debbugs.gnu.org Received: via spool by 39269-submit@debbugs.gnu.org id=B39269.157998088111786 (code B ref 39269); Sat, 25 Jan 2020 19:35:02 +0000 Received: (at 39269) by debbugs.gnu.org; 25 Jan 2020 19:34:41 +0000 Received: from localhost ([127.0.0.1]:56343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ivRCb-000341-7N for submit@debbugs.gnu.org; Sat, 25 Jan 2020 14:34:41 -0500 Received: from tobias.gr ([80.241.217.52]:52676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ivRCY-00033p-Sn for 39269@debbugs.gnu.org; Sat, 25 Jan 2020 14:34:40 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id 8a42b540 for <39269@debbugs.gnu.org>; Sat, 25 Jan 2020 19:34:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=EaA+uNep1F0VYuvyz95Ckx aAFe/ujsgp70rHGBO3X/o=; b=CZzi/7Y9Wi3bpR0CcY1oqneO2qKORYK/0MV0vm qXeljmwctBACjCwaoUzm6QVC11UzznirL+zU1Hqa2As4Hdk6DdC87c6+s2HlCfUI 3AKw6AGXJhI0GLlvaz9QhtPIJj9EGgjU4vvhMe7hP30J86fn1zAsRgPOosIS57ZL QU/X5dgENOERNr0mdS3mzsObkIv/pZrCOt4gj//XTXXZ1Ruzrh7va/zvUGees6QW WYuzqHtng8foA7nQ02c8Ek+ejamK0nM7d4wzm5NqDfjrnBIo2sw+pzQa1tkjVqsg CQTBefLBwSbCWUN8+YZcOGmbNvIwW+DooG2HN71iHXRF33BA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 07cce851 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <39269@debbugs.gnu.org>; Sat, 25 Jan 2020 19:34:37 +0000 (UTC) From: Tobias Geerinckx-Rice References: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> In-reply-to: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> Date: Sat, 25 Jan 2020 20:34:39 +0100 Message-ID: <87eevnpbxs.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hartmut Goebel =E5=86=99=E9=81=93=EF=BC=9A > * guix/build/qt-build-system.scm (check-setup): New function. > (%standard-phases): Add as new phase `check-setup before=20 > `check. LGTM with one tweak: please rename this to =E2=80=98set-up-tests=E2=80=99 o= r=20 similar. Guix's phase naming implies that =E2=80=98check-setup=E2=80=99 checks somet= hing=20 called setup. Thanks! T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl4smE8ACgkQ2Imw8BjF STxIBBAAl9uK050O1kRggmCr49MFyFIduiC4cBGs9qao54lXbE/staeVA+IsL2C4 vXTYl5nXSfGm3t/zkI/+K753j8lkq6baCz31Uqh0VhmOdzAFpOOv8qK0BjWv+aRe JSsOoyNk8Nmd9YGSrLv2fSFB1jdvo9rrZsNVt/fJVDRHvCpxp1lHLx9YCS2u+G7D D+t1UqV25GCyRuBTZLpO7uyxb15v9QhxNxncqIRvU3lt5VfcuFs058Xi+xOPXbkf lYaoFxEVIFJZ7RHiUFd9H+kVy4IDhC5yDUPREtDYFf0559W59HpUo95qdnkbtjhZ opVv0wgRZfNfKx8QOCjS1H12jjTDVz5a4pey6rQwKuZ8cUPlc2VxOWcNOTYAJ2HV H52QVyUikq4J0o257v1Yj+uItIvAjXW4klK5vMDHFrByoRMrcP6ocYBTm0Phg0Dg bcfeoocLcBFYgN/3+aYJlhd/prTlH2Rh2jUbxW4ZkcYIOtKtHgaVzSaVEFFnQrx4 skKnWLjVnLdrWagdfTZGViw5PojUvU/Vxto+hGLg9OA2G7KADW+cm41KcObSR6tm Jm8eNqtPfsX8pD6xTnPr6qCyj8eQ7ceatwHPGfZEsILkbUiB/Fx0dAx/raYEpeeX cgyfusbg33bGKAzfwRpHTie8Oa+RRMfHExKNMy52nrDMZOxkPqI= =l101 -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Jun 23 04:14:22 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Hartmut Goebel Subject: bug#39269: closed (Re: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`.) Message-ID: References: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> X-Gnu-PR-Message: they-closed 39269 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 39269@debbugs.gnu.org Date: Tue, 28 Jan 2020 12:06:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1580213162-14863-1" This is a multi-part message in MIME format... ------------=_1580213162-14863-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39269: [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39269@debbugs.gnu.org. --=20 39269: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39269 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1580213162-14863-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39269-close) by debbugs.gnu.org; 28 Jan 2020 12:05:32 +0000 Received: from localhost ([127.0.0.1]:59624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwPca-0003qx-GQ for submit@debbugs.gnu.org; Tue, 28 Jan 2020 07:05:32 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:59210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwPcY-0003qo-Qb for 39269-close@debbugs.gnu.org; Tue, 28 Jan 2020 07:05:31 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 486QL15vnpz1rHDb; Tue, 28 Jan 2020 13:05:29 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 486QL14RKrz1r43C; Tue, 28 Jan 2020 13:05:29 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de 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 eOedAZo7DBEU; Tue, 28 Jan 2020 13:05:28 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-61-8.dynamic.mnet-online.de [188.174.61.8]) (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; Tue, 28 Jan 2020 13:05:28 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.fritz.box [192.168.110.31]) by hermia.goebel-consult.de (Postfix) with ESMTP id BC96A6012F; Tue, 28 Jan 2020 13:05:30 +0100 (CET) Subject: Re: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. From: Hartmut Goebel To: Danny Milosavljevic References: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> <20200125120744.07b62fe2@scratchpost.org> <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> Organization: crazy-compilers.com Message-ID: Date: Tue, 28 Jan 2020 13:05:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Ev1YfScIfcJ0juZzetiyMzlDmtmoBveTM" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39269-close Cc: 39269-close@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Ev1YfScIfcJ0juZzetiyMzlDmtmoBveTM Content-Type: multipart/mixed; boundary="UTg6v7vRJgyq4UdYwJmVMRcZmKImTKRZX"; protected-headers="v1" From: Hartmut Goebel To: Danny Milosavljevic Cc: 39269-close@debbugs.gnu.org Message-ID: Subject: Re: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. References: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> <20200125120744.07b62fe2@scratchpost.org> <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> In-Reply-To: <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> --UTg6v7vRJgyq4UdYwJmVMRcZmKImTKRZX Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: de-DE I now pushed thi to staging as cd165d105a35da9094b70d0e5d5320a4a6ac8c0d Thansk for the review --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --UTg6v7vRJgyq4UdYwJmVMRcZmKImTKRZX-- --Ev1YfScIfcJ0juZzetiyMzlDmtmoBveTM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1K2LnBZ7dXxPCOh3e3UoEb93O2UFAl4wI4UACgkQe3UoEb93 O2UM4w//fY4hu6vDO9a7FpDGYKfh82KV/zPuLGU5NwIi7i8grqyqjFXKWw7NSvUt rH02hKaKAtAD43UsQhIyI5TlXIMuSpexbycuPlYca7wNj7DEfirOUHif/99fsHJr yjhwtsK99jU+fdvmsXYyYHxL1A0PCbSO7nSMrDCVyC/Mnz6FagKWp5ciDbP5MwF/ e9/xdOjYU7z2+0yD3Dp7OMTQwxnP6E6EspIHa6FyhXB7Oo5vPQNLyRsYQruNKt4N VlxZfTQOz3ApZU6Db4IviauNTmoSSau0nDKJ5DSeYQwL5CBcIJqUIU0Q19N97Tl+ 8xmDmy2mtoUY9FCh19bV5qo0pQWtpMJm4P4pdNh/2b8ERYSpGbpbZAaJozT0lG+t U3CUlWP2kr2YUZJefLQEzpbYeeoKGZtf1kcoMMqEyCxDh+Ukf9AODetejNjxjtB1 glgjvUYb0Y98X+3e0CeiQLYzhPx0IxgrpKQyAZgoB74capABgOdTIozClMIhXgv4 yak/B1XEKOVbOXk8mfAuWJA5ggWfg8lWyHxV5/udvfQNGO8w6ApVIUxsqFLrCCtR LmlZIOw8PpTaqks73J7/OhIiBn1X5TCa2z/5vNh52zuzeOiXQTsqMT89iMEivRBH EZRNWKDwV4wvD1r2SJkURKH9IxFGYuLNoMz6b6xrG6JtkB1Zelk= =hcdj -----END PGP SIGNATURE----- --Ev1YfScIfcJ0juZzetiyMzlDmtmoBveTM-- ------------=_1580213162-14863-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Jan 2020 16:23:06 +0000 Received: from localhost ([127.0.0.1]:54677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv1je-00011o-8K for submit@debbugs.gnu.org; Fri, 24 Jan 2020 11:23:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:44678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv1jc-00011h-VR for submit@debbugs.gnu.org; Fri, 24 Jan 2020 11:23:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37072) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv1jb-0001ht-Ez for guix-patches@gnu.org; Fri, 24 Jan 2020 11:23:04 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iv1ja-0000C9-3C for guix-patches@gnu.org; Fri, 24 Jan 2020 11:23:03 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:49596) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iv1jZ-0000Au-Q1 for guix-patches@gnu.org; Fri, 24 Jan 2020 11:23:02 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4844F06lL1z1qqkj for ; Fri, 24 Jan 2020 17:23:00 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4844F06gChz1qrYp for ; Fri, 24 Jan 2020 17:23:00 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de 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 ACrWFcit2i7D for ; Fri, 24 Jan 2020 17:22:59 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-59-130.dynamic.mnet-online.de [188.174.59.130]) (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 ; Fri, 24 Jan 2020 17:22:59 +0100 (CET) Received: from localhost.fritz.box (lenashee.fritz.box [192.168.110.31]) by hermia.goebel-consult.de (Postfix) with ESMTP id 61C5D6031C for ; Fri, 24 Jan 2020 17:22:57 +0100 (CET) From: Hartmut Goebel To: guix-patches@gnu.org Subject: [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. Date: Fri, 24 Jan 2020 17:22:52 +0100 Message-Id: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.18.0.9 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * guix/build/qt-build-system.scm (check-setup): New function. (%standard-phases): Add as new phase `check-setup before `check. * doc/guix.texi (Build System)[qt-build-system]: Describe the new phase. --- doc/guix.texi | 25 +++++++++++++++++++++---- guix/build/qt-build-system.scm | 14 +++++++++++++- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index d674b9484f..71365c5269 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -47,7 +47,7 @@ Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017 Christopher Allan Webber@* Copyright @copyright{} 2017, 2018, 2019 Marius Bakke@* -Copyright @copyright{} 2017, 2019 Hartmut Goebel@* +Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* Copyright @copyright{} 2017, 2019 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* @@ -6447,10 +6447,24 @@ Which Perl package is used can be specified with = @code{#:perl}. This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE. =20 -This build system adds the phase @code{qt-wrap} to the ones defined by -@code{cmake-build-system}, after the @code{install} phase. +This build system adds the following two phases to the ones defined by +@code{cmake-build-system}: =20 -This phase searches for Qt5 plugin paths, QML paths and some XDG in the = inputs +@table @code +@item check-setup +The phase @code{check-setup} prepares the environment for running +the checks as commonly used by Qt test programs. +For now this only sets some environment variables: +@code{QT_QPA_PLATFORM=3Doffscreen}, +@code{DBUS_FATAL_WARNINGS=3D0} and +@code{CTEST_OUTPUT_ON_FAILURE=3D1}. + +This phase is added before the @code{check} phase. +It's a separate phase to ease adjusting if necessary. + +@item qt-wrap +The phase @code{qt-wrap} +searches for Qt5 plugin paths, QML paths and some XDG in the inputs and output. In case some path is found, all programs in the output's @file{bin/}, @file{sbin/}, @file{libexec/} and @file{lib/libexec/} direc= tories are wrapped in scripts defining the necessary environment variables. @@ -6460,6 +6474,9 @@ by listing their names in the @code{#:qt-wrap-exclu= ded-outputs} parameter. This is useful when an output is known not to contain any Qt binaries, a= nd where wrapping would gratuitously add a dependency of that output on Qt,= KDE, or such. + +This phase is added after the @code{install} phase. +@end table @end defvr =20 @defvr {Scheme Variable} r-build-system diff --git a/guix/build/qt-build-system.scm b/guix/build/qt-build-system.= scm index be2b808901..005157b0a4 100644 --- a/guix/build/qt-build-system.scm +++ b/guix/build/qt-build-system.scm @@ -2,7 +2,7 @@ ;;; Copyright =C2=A9 2014 Federico Beffa ;;; Copyright =C2=A9 2014, 2015 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2018 Mark H Weaver -;;; Copyright =C2=A9 2019 Hartmut Goebel +;;; Copyright =C2=A9 2019, 2020 Hartmut Goebel ;;; ;;; This file is part of GNU Guix. ;;; @@ -36,6 +36,17 @@ ;; ;; Code: =20 +(define* (check-setup #:rest args) + ;; Make Qt render "offscreen". In many cases this allows to run tests + ;; without starting a X11 server. + (setenv "QT_QPA_PLATFORM" "offscreen") + ;; Qt/KDE tests often need dbus (`dbus-launch =E2=80=A6`) which is not= fully + ;; set-up the the build container. + (setenv "DBUS_FATAL_WARNINGS" "0") + ;; Set here to ease overwriting 'check (even if set there, too) + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") + #t) + (define (variables-for-wrapping base-directories) =20 (define (collect-sub-dirs base-directories subdirectory) @@ -101,6 +112,7 @@ add a dependency of that output on Qt." =20 (define %standard-phases (modify-phases cmake:%standard-phases + (add-before 'check 'check-setup check-setup) (add-after 'install 'qt-wrap wrap-all-programs))) =20 (define* (qt-build #:key inputs (phases %standard-phases) --=20 2.21.1 ------------=_1580213162-14863-1-- From unknown Mon Jun 23 04:14:22 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Hartmut Goebel Subject: bug#39268: closed (Re: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`.) Message-ID: References: X-Gnu-PR-Message: they-closed 39268 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 39268@debbugs.gnu.org Date: Tue, 28 Jan 2020 12:06:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1580213162-14863-3" This is a multi-part message in MIME format... ------------=_1580213162-14863-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39269: [PATCH 0/2] Add phase `check-setup` to qt-build-system. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39268@debbugs.gnu.org. --=20 39269: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39269 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1580213162-14863-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39269-close) by debbugs.gnu.org; 28 Jan 2020 12:05:32 +0000 Received: from localhost ([127.0.0.1]:59624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwPca-0003qx-GQ for submit@debbugs.gnu.org; Tue, 28 Jan 2020 07:05:32 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:59210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwPcY-0003qo-Qb for 39269-close@debbugs.gnu.org; Tue, 28 Jan 2020 07:05:31 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 486QL15vnpz1rHDb; Tue, 28 Jan 2020 13:05:29 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 486QL14RKrz1r43C; Tue, 28 Jan 2020 13:05:29 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de 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 eOedAZo7DBEU; Tue, 28 Jan 2020 13:05:28 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-61-8.dynamic.mnet-online.de [188.174.61.8]) (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; Tue, 28 Jan 2020 13:05:28 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.fritz.box [192.168.110.31]) by hermia.goebel-consult.de (Postfix) with ESMTP id BC96A6012F; Tue, 28 Jan 2020 13:05:30 +0100 (CET) Subject: Re: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. From: Hartmut Goebel To: Danny Milosavljevic References: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> <20200125120744.07b62fe2@scratchpost.org> <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> Organization: crazy-compilers.com Message-ID: Date: Tue, 28 Jan 2020 13:05:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Ev1YfScIfcJ0juZzetiyMzlDmtmoBveTM" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39269-close Cc: 39269-close@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Ev1YfScIfcJ0juZzetiyMzlDmtmoBveTM Content-Type: multipart/mixed; boundary="UTg6v7vRJgyq4UdYwJmVMRcZmKImTKRZX"; protected-headers="v1" From: Hartmut Goebel To: Danny Milosavljevic Cc: 39269-close@debbugs.gnu.org Message-ID: Subject: Re: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. References: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> <20200125120744.07b62fe2@scratchpost.org> <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> In-Reply-To: <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> --UTg6v7vRJgyq4UdYwJmVMRcZmKImTKRZX Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: de-DE I now pushed thi to staging as cd165d105a35da9094b70d0e5d5320a4a6ac8c0d Thansk for the review --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --UTg6v7vRJgyq4UdYwJmVMRcZmKImTKRZX-- --Ev1YfScIfcJ0juZzetiyMzlDmtmoBveTM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1K2LnBZ7dXxPCOh3e3UoEb93O2UFAl4wI4UACgkQe3UoEb93 O2UM4w//fY4hu6vDO9a7FpDGYKfh82KV/zPuLGU5NwIi7i8grqyqjFXKWw7NSvUt rH02hKaKAtAD43UsQhIyI5TlXIMuSpexbycuPlYca7wNj7DEfirOUHif/99fsHJr yjhwtsK99jU+fdvmsXYyYHxL1A0PCbSO7nSMrDCVyC/Mnz6FagKWp5ciDbP5MwF/ e9/xdOjYU7z2+0yD3Dp7OMTQwxnP6E6EspIHa6FyhXB7Oo5vPQNLyRsYQruNKt4N VlxZfTQOz3ApZU6Db4IviauNTmoSSau0nDKJ5DSeYQwL5CBcIJqUIU0Q19N97Tl+ 8xmDmy2mtoUY9FCh19bV5qo0pQWtpMJm4P4pdNh/2b8ERYSpGbpbZAaJozT0lG+t U3CUlWP2kr2YUZJefLQEzpbYeeoKGZtf1kcoMMqEyCxDh+Ukf9AODetejNjxjtB1 glgjvUYb0Y98X+3e0CeiQLYzhPx0IxgrpKQyAZgoB74capABgOdTIozClMIhXgv4 yak/B1XEKOVbOXk8mfAuWJA5ggWfg8lWyHxV5/udvfQNGO8w6ApVIUxsqFLrCCtR LmlZIOw8PpTaqks73J7/OhIiBn1X5TCa2z/5vNh52zuzeOiXQTsqMT89iMEivRBH EZRNWKDwV4wvD1r2SJkURKH9IxFGYuLNoMz6b6xrG6JtkB1Zelk= =hcdj -----END PGP SIGNATURE----- --Ev1YfScIfcJ0juZzetiyMzlDmtmoBveTM-- ------------=_1580213162-14863-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Jan 2020 16:23:04 +0000 Received: from localhost ([127.0.0.1]:54674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv1jc-00011Z-0h for submit@debbugs.gnu.org; Fri, 24 Jan 2020 11:23:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:53774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv1ja-00011R-UH for submit@debbugs.gnu.org; Fri, 24 Jan 2020 11:23:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37061) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv1jZ-0001hc-Oh for guix-patches@gnu.org; Fri, 24 Jan 2020 11:23:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iv1jY-0000Ai-IM for guix-patches@gnu.org; Fri, 24 Jan 2020 11:23:01 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:33418) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iv1jY-00007t-C4 for guix-patches@gnu.org; Fri, 24 Jan 2020 11:23:00 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4844Dx4Tcbz1qr4s; Fri, 24 Jan 2020 17:22:57 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4844Dx2bXpz1qrYp; Fri, 24 Jan 2020 17:22:57 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de 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 kmy8lpV37ayQ; Fri, 24 Jan 2020 17:22:55 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-59-130.dynamic.mnet-online.de [188.174.59.130]) (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; Fri, 24 Jan 2020 17:22:55 +0100 (CET) Received: from localhost.fritz.box (lenashee.fritz.box [192.168.110.31]) by hermia.goebel-consult.de (Postfix) with ESMTP id 47AFF6023E; Fri, 24 Jan 2020 17:22:57 +0100 (CET) From: Hartmut Goebel To: guix-patches@gnu.org Subject: [PATCH 0/2] Add phase `check-setup` to qt-build-system. Date: Fri, 24 Jan 2020 17:22:51 +0100 Message-Id: X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.18.0.9 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit Cc: Danny Milosavljevic , Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) As Danny and Efraim suggested in and this moves (setenv "QT_QPA_PLATFORM" "offscreen") into a phase of its own= . I added setting DBUS_FATAL_WARNINGS and CTEST_OUTPUT_ON_FAILURE, which ar= e comonly used, too. I did not add an TZ yet, since these are rarely used i= n kde*.scm Pleae note: There are stll quite some QPA_PLATFORM=3Doffscreen in kde*.sc= m, in cases where other preparations are required. Hartmut Goebel (2): guix: qt-build-system: Add phase `check-setup`. gnu: Cleanup KDE packages to use the update qt-build-system. doc/guix.texi | 25 ++++- gnu/packages/kde-frameworks.scm | 158 ++++---------------------------- gnu/packages/kde-plasma.scm | 27 +----- gnu/packages/kde-utils.scm | 16 ---- gnu/packages/kde.scm | 25 +---- guix/build/qt-build-system.scm | 14 ++- 6 files changed, 59 insertions(+), 206 deletions(-) --=20 2.21.1 ------------=_1580213162-14863-3-- From unknown Mon Jun 23 04:14:22 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Hartmut Goebel Subject: bug#39270: closed (Re: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`.) Message-ID: References: X-Gnu-PR-Message: they-closed 39270 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 39270@debbugs.gnu.org Date: Tue, 28 Jan 2020 12:06:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1580213163-14863-5" This is a multi-part message in MIME format... ------------=_1580213163-14863-5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39269: [PATCH 2/2] gnu: Cleanup KDE packages to use the update qt-build-sy= stem. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39270@debbugs.gnu.org. --=20 39269: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39269 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1580213163-14863-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39269-close) by debbugs.gnu.org; 28 Jan 2020 12:05:32 +0000 Received: from localhost ([127.0.0.1]:59624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwPca-0003qx-GQ for submit@debbugs.gnu.org; Tue, 28 Jan 2020 07:05:32 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:59210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwPcY-0003qo-Qb for 39269-close@debbugs.gnu.org; Tue, 28 Jan 2020 07:05:31 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 486QL15vnpz1rHDb; Tue, 28 Jan 2020 13:05:29 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 486QL14RKrz1r43C; Tue, 28 Jan 2020 13:05:29 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de 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 eOedAZo7DBEU; Tue, 28 Jan 2020 13:05:28 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-61-8.dynamic.mnet-online.de [188.174.61.8]) (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; Tue, 28 Jan 2020 13:05:28 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.fritz.box [192.168.110.31]) by hermia.goebel-consult.de (Postfix) with ESMTP id BC96A6012F; Tue, 28 Jan 2020 13:05:30 +0100 (CET) Subject: Re: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. From: Hartmut Goebel To: Danny Milosavljevic References: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> <20200125120744.07b62fe2@scratchpost.org> <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> Organization: crazy-compilers.com Message-ID: Date: Tue, 28 Jan 2020 13:05:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Ev1YfScIfcJ0juZzetiyMzlDmtmoBveTM" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39269-close Cc: 39269-close@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Ev1YfScIfcJ0juZzetiyMzlDmtmoBveTM Content-Type: multipart/mixed; boundary="UTg6v7vRJgyq4UdYwJmVMRcZmKImTKRZX"; protected-headers="v1" From: Hartmut Goebel To: Danny Milosavljevic Cc: 39269-close@debbugs.gnu.org Message-ID: Subject: Re: [bug#39269] [PATCH 1/2] guix: qt-build-system: Add phase `check-setup`. References: <1430436b83e4aaea89de3d1cdd4613b935e39cb5.1579880425.git.h.goebel@crazy-compilers.com> <20200125120744.07b62fe2@scratchpost.org> <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> In-Reply-To: <71d81dcd-d133-2f4b-25f7-a0fa24c97abf@crazy-compilers.com> --UTg6v7vRJgyq4UdYwJmVMRcZmKImTKRZX Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: de-DE I now pushed thi to staging as cd165d105a35da9094b70d0e5d5320a4a6ac8c0d Thansk for the review --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --UTg6v7vRJgyq4UdYwJmVMRcZmKImTKRZX-- --Ev1YfScIfcJ0juZzetiyMzlDmtmoBveTM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1K2LnBZ7dXxPCOh3e3UoEb93O2UFAl4wI4UACgkQe3UoEb93 O2UM4w//fY4hu6vDO9a7FpDGYKfh82KV/zPuLGU5NwIi7i8grqyqjFXKWw7NSvUt rH02hKaKAtAD43UsQhIyI5TlXIMuSpexbycuPlYca7wNj7DEfirOUHif/99fsHJr yjhwtsK99jU+fdvmsXYyYHxL1A0PCbSO7nSMrDCVyC/Mnz6FagKWp5ciDbP5MwF/ e9/xdOjYU7z2+0yD3Dp7OMTQwxnP6E6EspIHa6FyhXB7Oo5vPQNLyRsYQruNKt4N VlxZfTQOz3ApZU6Db4IviauNTmoSSau0nDKJ5DSeYQwL5CBcIJqUIU0Q19N97Tl+ 8xmDmy2mtoUY9FCh19bV5qo0pQWtpMJm4P4pdNh/2b8ERYSpGbpbZAaJozT0lG+t U3CUlWP2kr2YUZJefLQEzpbYeeoKGZtf1kcoMMqEyCxDh+Ukf9AODetejNjxjtB1 glgjvUYb0Y98X+3e0CeiQLYzhPx0IxgrpKQyAZgoB74capABgOdTIozClMIhXgv4 yak/B1XEKOVbOXk8mfAuWJA5ggWfg8lWyHxV5/udvfQNGO8w6ApVIUxsqFLrCCtR LmlZIOw8PpTaqks73J7/OhIiBn1X5TCa2z/5vNh52zuzeOiXQTsqMT89iMEivRBH EZRNWKDwV4wvD1r2SJkURKH9IxFGYuLNoMz6b6xrG6JtkB1Zelk= =hcdj -----END PGP SIGNATURE----- --Ev1YfScIfcJ0juZzetiyMzlDmtmoBveTM-- ------------=_1580213163-14863-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Jan 2020 16:23:17 +0000 Received: from localhost ([127.0.0.1]:54680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv1jo-00012C-KJ for submit@debbugs.gnu.org; Fri, 24 Jan 2020 11:23:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:46324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv1jl-000123-QD for submit@debbugs.gnu.org; Fri, 24 Jan 2020 11:23:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37105) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv1ji-0001iz-Rc for guix-patches@gnu.org; Fri, 24 Jan 2020 11:23:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iv1jg-0000Fd-0Z for guix-patches@gnu.org; Fri, 24 Jan 2020 11:23:10 -0500 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:44475) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iv1jf-0000Ez-N9 for guix-patches@gnu.org; Fri, 24 Jan 2020 11:23:07 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4844F61Ly6z1rbLm for ; Fri, 24 Jan 2020 17:23:06 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4844F61Dzwz1qrYp for ; Fri, 24 Jan 2020 17:23:06 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de 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 ax3I4p9Er_Yu for ; Fri, 24 Jan 2020 17:23:03 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-59-130.dynamic.mnet-online.de [188.174.59.130]) (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 ; Fri, 24 Jan 2020 17:23:03 +0100 (CET) Received: from localhost.fritz.box (lenashee.fritz.box [192.168.110.31]) by hermia.goebel-consult.de (Postfix) with ESMTP id 755CA60440 for ; Fri, 24 Jan 2020 17:22:57 +0100 (CET) From: Hartmut Goebel To: guix-patches@gnu.org Subject: [PATCH 2/2] gnu: Cleanup KDE packages to use the update qt-build-system. Date: Fri, 24 Jan 2020 17:22:53 +0100 Message-Id: X-Mailer: git-send-email 2.21.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:a60:0:28:0:1:25:1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/kde.scm (grantleetheme): [arguments] Remove. (kdeconnect)[arguments]{check-setup}: Remove. libkdegames: Use qt-build-system. [arguments]: Remove. * gnu/packages/kde-frameworks.scm (kguiaddons, kitemmodels, kitemviews, kplotting, sonnet, kcompletion, kcrash, kdesignerplugin, kglobalaccel, kparts, ktextwidgets, khtml, kmediaplayer): Use qt-build-system. [arguments]: Remove. (kpeople): Use qt-build-system. [arguments]: Remove. (kconfigwidgets, kwidgetsaddons) Use qt-build-system. [arguments]{check-setup}: Remove. * gnu/packages/kde-plasma.scm (kdecoration) Use qt-build-system. [arguments]: Remove. (libkscreen): Use qt-build-system. [arguments]: Remove. (libksysguard): Use qt-build-system. [arguments]{check-setup}: Remove. * gnu/packages/kde-utils.scm (kronometer, rsibreak): [arguments] Remove. --- gnu/packages/kde-frameworks.scm | 158 ++++---------------------------- gnu/packages/kde-plasma.scm | 27 +----- gnu/packages/kde-utils.scm | 16 ---- gnu/packages/kde.scm | 25 +---- 4 files changed, 25 insertions(+), 201 deletions(-) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-framework= s.scm index 9230bb71c0..aab54ec4fb 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -24,6 +24,7 @@ =20 (define-module (gnu packages kde-frameworks) #:use-module (guix build-system cmake) + #:use-module (guix build-system qt) #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) @@ -702,7 +703,7 @@ infrastructure.") (sha256 (base32 "0k22kargqxf0j09wzk1x90b526npj8a0210ilk0n1k6spc8xa6mr"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) ;; TODO: Build packages for the Python bindings. Ideally this will = be ;; done for all versions of python guix supports. Requires python, ;; python-sip, clang-python, libclang. Requires python-2 in all cas= es for @@ -713,14 +714,6 @@ infrastructure.") (inputs `(("qtbase" ,qtbase) ("qtx11extras" ,qtx11extras))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Utilities for graphical user interfaces") (description "The KDE GUI addons provide utilities for graphical use= r @@ -885,20 +878,12 @@ of applications that follow the Kirigami Human Inte= rface Guidelines.") (sha256 (base32 "10bhg0db9gdg2hlc02ngg1i2q7a99862d5973hxqzf620d28p5rd"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules))) (inputs `(("qtbase" ,qtbase) ("qtdeclarative" ,qtdeclarative))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Set of item models extending the Qt model-view framework"= ) (description "KItemModels provides the following models: @@ -944,21 +929,12 @@ model to observers (sha256 (base32 "15h0w16wgj94kxz4vgjb34i3pyx5w1f2npj86j4d2sa0mxxpmqyz"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("qttools" ,qttools))) (inputs `(("qtbase" ,qtbase))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - (setenv "DBUS_FATAL_WARNINGS" "0") - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Set of item views extending the Qt model-view framework") (description "KItemViews includes a set of views, which can be used = with @@ -979,20 +955,12 @@ to flat and hierarchical lists.") (sha256 (base32 "11kpq34j37c1gsvj5nxhkc31bw8gw2n7nkqsfx87jw9f4v2vhmr9"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules))) (inputs `(("qtbase" ,qtbase) ("qttools" ,qttools))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ ; kplotting - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Data plotting library") (description "KPlotWidget is a QWidget-derived class that provides a= virtual @@ -1104,7 +1072,7 @@ represented by a QPoint or a QSize.") (sha256 (base32 "1nzgv3v3kyq5jm2b9xri6qjawspr9ycxhskfvj8kkgr46dr35qyc"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("qttools" ,qttools) @@ -1114,12 +1082,6 @@ represented by a QPoint or a QSize.") (arguments `(#:phases (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - (setenv "DBUS_FATAL_WARNINGS" "0") - #t)) (add-before 'check 'start-xorg-server (lambda* (#:key inputs #:allow-other-keys) ;; The test suite requires a running X server. @@ -1414,15 +1376,7 @@ system.") (sha256 (base32 "0gqxmyxmwn2rs9f8x2z8pfmbx0mvkyh7nalnsmfqkph8f0fja9ig"))= )) - (build-system cmake-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("pkg-config" ,pkg-config) @@ -1573,7 +1527,7 @@ utilities.") (sha256 (base32 "10ggypg09acc19gkvxsigfsaq8s5vqv64ada307blpzy8j74bisb"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("qttools" ,qttools))) @@ -1581,14 +1535,6 @@ utilities.") `(("kconfig" ,kconfig) ("kwidgetsaddons" ,kwidgetsaddons) ("qtbase" ,qtbase))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Powerful autocompletion framework and widgets") (description "This framework helps implement autocompletion in Qt-ba= sed @@ -1653,7 +1599,7 @@ localized country name to ISO 3166-1 alpha 2 code m= apping and vice verca. (sha256 (base32 "1xl3bzxfchfafcplil3g07gq1a3fnwx1i40bxp4jfsgb8d8slfwc"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules))) (inputs @@ -1661,14 +1607,6 @@ localized country name to ISO 3166-1 alpha 2 code = mapping and vice verca. ("kwindowsystem" ,kwindowsystem) ("qtbase" ,qtbase) ("qtx11extras" ,qtx11extras))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Graceful handling of application crashes") (description "KCrash provides support for intercepting and handling @@ -2291,7 +2229,7 @@ KCModules can be created with the KConfigWidgets fr= amework.") (sha256 (base32 "098xdfvnyz9bdkc6iyq5r2s4vkfdhbrri4015yzbs73j4f2wcxz5"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (propagated-inputs `(("kauth" ,kauth) ("kcodecs" ,kcodecs) @@ -2316,11 +2254,6 @@ KCModules can be created with the KConfigWidgets f= ramework.") ;; make QDirIterator follow symlinks (("^\\s*(QDirIterator it\\(.*, QDirIterator::Subdirectori= es)(\\);)" _ a b) (string-append a " | QDirIterator::FollowSymlinks" b))) - #t)) - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Widgets for configuration dialogs") @@ -2439,7 +2372,7 @@ started on demand.") (sha256 (base32 "1w7glszd82iyw6kxzmp0568rm3qfadi7vw7gfxg4c15w5ikkvxn9"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("qttools" ,qttools))) @@ -2461,14 +2394,6 @@ started on demand.") ("kxmlgui" ,kxmlgui) ("qtwebkit" ,qtwebkit) ("sonnet" ,sonnet))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Integrating KDE frameworks widgets with Qt Designer") (description "This framework provides plugins for Qt Designer that a= llow it @@ -2594,7 +2519,7 @@ emoticons coming from different providers.") (sha256 (base32 "1xpfvwnrj81mk3di02n37b469gxzmnk89icmcz6wwyk54m86fw76"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("pkg-config" ,pkg-config) @@ -2610,14 +2535,6 @@ emoticons coming from different providers.") ("qtbase" ,qtbase) ("qtx11extras" ,qtx11extras) ("xcb-util-keysyms" ,xcb-util-keysyms))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Global desktop keyboard shortcuts") (description "KGlobalAccel allows you to have global accelerators th= at are @@ -2947,7 +2864,7 @@ notifications which can be embedded in your applica= tion.") (sha256 (base32 "0md0349r4mdm2r04p5s3pgm17v4w40r3kz58lzp6qfcw25b969nw"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (propagated-inputs `(("kio" ,kio) ("ktextwidgets" ,ktextwidgets) @@ -2972,14 +2889,6 @@ notifications which can be embedded in your applic= ation.") ("qtbase" ,qtbase) ("solid" ,solid) ("sonnet" ,sonnet))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Plugin framework for user interface components") (description "This library implements the framework for KDE parts, w= hich are @@ -2999,7 +2908,7 @@ widgets with a user-interface defined in terms of a= ctions.") (sha256 (base32 "1q2hh2i8hd638p907g0srdxmxm9h2ay91dmhslqzcgwnlhln4gfl"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules))) (inputs @@ -3012,14 +2921,7 @@ widgets with a user-interface defined in terms of = actions.") ("qtbase" ,qtbase) ("qtdeclarative" ,qtdeclarative))) (arguments - `(#:tests? #f ; FIXME: 1/3 tests fail. - #:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) + `(#:tests? #f)) ; FIXME: 1/3 tests fail. (home-page "https://community.kde.org/Frameworks") (synopsis "Provides access to all contacts and aggregates them by pe= rson") (description "KPeople offers unified access to our contacts from dif= ferent @@ -3252,7 +3154,7 @@ library.") (sha256 (base32 "1qb1mad5bg19xwykzpwk2b3s505ka4jkg0fsi56ri57wq8gv4qha"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (propagated-inputs `(("ki18n" ,ki18n) ("sonnet" ,sonnet))) @@ -3272,14 +3174,6 @@ library.") ("kwindowsystem" ,kwindowsystem) ("qtbase" ,qtbase) ("qtspeech" ,qtspeech))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Text editing widgets") (description "KTextWidgets provides widgets for displaying and editi= ng text. @@ -3747,7 +3641,7 @@ http://community.kde.org/Frameworks/Porting_Notes s= hould help with this.") name "-" version ".tar.xz")) (sha256 (base32 "15f77r6dxkkvi2vxvxlwa7qz3whmz229g79bgadiwffmzxja0ywd"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("perl" ,perl))) @@ -3775,14 +3669,6 @@ http://community.kde.org/Frameworks/Porting_Notes = should help with this.") ("qtbase" ,qtbase) ("qtx11extras" ,qtx11extras) ("sonnet" ,sonnet))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; Make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "KDE Frameworks 5 HTML widget and component") (description "KHTML is a web rendering engine, based on the KParts @@ -3868,7 +3754,7 @@ QObjects, so you can script your applications.") name "-" version ".tar.xz")) (sha256 (base32 "19v53h3lkys3ryrjacrdng9ak91g03b9s986xhnw1r84zy242kdm"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("kdoctools" ,kdoctools) @@ -3883,14 +3769,6 @@ QObjects, so you can script your applications.") ("kwidgetsaddons" ,kwidgetsaddons) ("kxmlgui" ,kxmlgui) ("qtbase" ,qtbase))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; Make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://community.kde.org/Frameworks") (synopsis "KDE Frameworks 5 plugin interface for media player featur= es") (description "KMediaPlayer builds on the KParts framework to provide= a diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index e4360362db..e2d448c6d5 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -25,6 +25,7 @@ #:use-module (guix download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system cmake) + #:use-module (guix build-system qt) #:use-module (gnu packages compression) #:use-module (gnu packages freedesktop) #:use-module (gnu packages glib) @@ -45,17 +46,12 @@ (sha256 (base32 "0rljpywpaqmar13jijphkpc9k1crma476j9my0d00hfrjil5xlnn"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules))) (inputs `(("ki18n" ,ki18n) ("qtbase" ,qtbase))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t))))) (home-page "https://cgit.kde.org/kdecoration.git") (synopsis "Plugin based library to create window decorations") (description "KDecoration is a library to create window decorations. @@ -137,7 +133,7 @@ manager which re-parents a Client window to a window = decoration frame.") name "-" version ".tar.xz")) (sha256 (base32 "0znxfqqyyij6i4dp95gf5g4vrhg4jsshgh2k13ldy294kby2mxw0"))= )) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ;; For testing. @@ -148,16 +144,7 @@ manager which re-parents a Client window to a window= decoration frame.") ("qtbase" ,qtbase) ("qtx11extras" ,qtx11extras))) (arguments - '(#:tests? #f ; FIXME: 55% tests passed, 5 tests failed out= of 11 - #:phases - (modify-phases %standard-phases - (add-before 'check 'pre-check - (lambda _ - ;; For the missing '/etc/machine-id'. - (setenv "DBUS_FATAL_WARNINGS" "0") - ;; Run the tests offscreen. - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) + '(#:tests? #f)) ;; FIXME: 55% tests passed, 5 tests failed out of 1= 1 (home-page "https://community.kde.org/Solid/Projects/ScreenManagemen= t") (synopsis "KDE's screen management software") (description "KScreen is the new screen management software for KDE = Plasma @@ -199,7 +186,7 @@ basic needs and easy to configure for those who want = special setups.") ("qtx11extras" ,qtx11extras) ("plasma" ,plasma-framework) ("zlib" ,zlib))) - (build-system cmake-build-system) + (build-system qt-build-system) (arguments `(#:configure-flags `(,(string-append "-DKDE_INSTALL_DATADIR=3D" @@ -212,10 +199,6 @@ basic needs and easy to configure for those who want= special setups.") ;; KF5AuthConfig.cmake.in contains this already. (substitute* "processcore/CMakeLists.txt" (("KAUTH_HELPER_INSTALL_DIR") "KDE_INSTALL_LIBEXECDIR")))= ) - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen"))) (replace 'check (lambda _ ;; TODO: Fix this failing test-case diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm index 9005b5014a..38bdfbfaba 100644 --- a/gnu/packages/kde-utils.scm +++ b/gnu/packages/kde-utils.scm @@ -233,14 +233,6 @@ sentences to be re-spoken.") ("kxmlgui" ,kxmlgui) ("oxygen-icons" ,oxygen-icons) ;; default icon set ("qtbase" ,qtbase))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://kde.org/applications/utilities/org.kde.kronomete= r") (synopsis "Simple stopwatch application") (description "Kronometer is a stopwatch application. It features th= e @@ -399,14 +391,6 @@ redone.") ("kxmlgui" ,kxmlgui) ("oxygen-icons" ,oxygen-icons) ;; default icon set ("qtbase" ,qtbase))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://kde.org/applications/utilities/org.kde.rsibreak"= ) (synopsis "Assists in the Recovery and Prevention of Repetitive Stra= in Injury") diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index bb5c25014e..0c62fd9dba 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -89,13 +89,6 @@ ("kiconthemes" ,kiconthemes) ("knewstuff" ,knewstuff) ("qtbase" ,qtbase))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://cgit.kde.org/grantleetheme.git") (synopsis "Library providing Grantlee theme support") (description "This library provides Grantlee theme support.") @@ -521,13 +514,7 @@ different notification systems.") (build-system qt-build-system) (arguments `(#:configure-flags '("-DBUILD_TESTING=3DON") - #:tests? #f ; tests fail hard in our build environment - #:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) + #:tests? #f)) ; tests fail hard in our build environment (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules) ("kdoctools" ,kdoctools) @@ -644,7 +631,7 @@ Python, PHP, and Perl.") "/src/libkdegames-" version ".tar.xz")) (sha256 (base32 "12dvkmjgbi8dp9y55zmx1pw3zr2i374c4vn3mfn9r31bf06dr701")))= ) - (build-system cmake-build-system) + (build-system qt-build-system) (native-inputs `(("extra-cmake-modules" ,extra-cmake-modules))) (inputs @@ -674,14 +661,6 @@ Python, PHP, and Perl.") ("qtbase" ,qtbase) ("qtdeclarative" ,qtdeclarative) ("qtsvg" ,qtsvg))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'check-setup - (lambda _ - ;; make Qt render "offscreen", required for tests - (setenv "QT_QPA_PLATFORM" "offscreen") - #t))))) (home-page "https://games.kde.org/") (synopsis "Runtime library for kdegames") (description "Runtime library for kdegames") --=20 2.21.1 ------------=_1580213163-14863-5--