From patchwork Sun Jul 23 08:21:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Z572 <873216071@qq.com> X-Patchwork-Id: 51947 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F04C427BBE9; Sun, 23 Jul 2023 09:27:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT, MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9BABE27BBE2 for ; Sun, 23 Jul 2023 09:27:31 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNUQk-0007lm-84; Sun, 23 Jul 2023 04:27:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNUQj-0007lP-7x for guix-patches@gnu.org; Sun, 23 Jul 2023 04:27:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qNUQi-0008Lb-W1 for guix-patches@gnu.org; Sun, 23 Jul 2023 04:27:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qNUQi-0005sW-S1 for guix-patches@gnu.org; Sun, 23 Jul 2023 04:27:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64798] [PATCH 017/209] gnu: kauth: use G-expressions. Resent-From: Zheng Junjie <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Jul 2023 08:27:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64798 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64798@debbugs.gnu.org Received: via spool by 64798-submit@debbugs.gnu.org id=B64798.169010076522448 (code B ref 64798); Sun, 23 Jul 2023 08:27:04 +0000 Received: (at 64798) by debbugs.gnu.org; 23 Jul 2023 08:26:05 +0000 Received: from localhost ([127.0.0.1]:38015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNUPl-0005pu-8a for submit@debbugs.gnu.org; Sun, 23 Jul 2023 04:26:05 -0400 Received: from out162-62-58-211.mail.qq.com ([162.62.58.211]:34201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1qNUPf-0005nU-9m for 64798@debbugs.gnu.org; Sun, 23 Jul 2023 04:26:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1690100749; bh=zoA3dF3aNTnL7b/iHehMMlWDu0u2zPxT+Tfk5AIhY/k=; h=From:To:Subject:Date:In-Reply-To:References; b=voB0aBY053g6hfWyjpxBGdB06lx4r9HwLHDgzhJ1tnHxxTCJFjhZtXdZVNur7UGf0 +a0W3ekf/hSlLD0svxXlnRH7JaCdC3pVYjL8WeH6EkB/JpsHwd+OBJxFw4Ea1SjrLe wnItxBKujoDREl8HGiQIe+YXazuI8JFUgz5j+OXU= Received: from localhost.localdomain ([111.0.51.236]) by newxmesmtplogicsvrszb1-0.qq.com (NewEsmtp) with SMTP id 66C0F60F; Sun, 23 Jul 2023 16:25:44 +0800 X-QQ-mid: xmsmtpt1690100748tzvn8ilr2 Message-ID: X-QQ-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cBXx1lb/HBPyBZJ3vBsQGI2EiLWjZKfvJ4A== X-QQ-XMRINFO: MSVp+SPm3vtS1Vd6Y4Mggwc= Date: Sun, 23 Jul 2023 16:21:24 +0800 X-OQ-MSGID: <9cd438e2c83400395a7b39ec511bfa6742adccde.1690099026.git.873216071@qq.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Zheng Junjie <873216071@qq.com> X-ACL-Warn: , Zheng Junjie via Guix-patches X-Patchwork-Original-From: Zheng Junjie via Guix-patches via From: Z572 <873216071@qq.com> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/kde-frameworks.scm (kauth)[arguments]: Rewrite as G-expressions. --- gnu/packages/kde-frameworks.scm | 37 +++++++++++++++++---------------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 7263c7d173..daffee7c7c 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -1561,24 +1561,25 @@ (define-public kauth (inputs (list kcoreaddons polkit-qt qtbase-5)) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cmake-install-directories - (lambda _ - ;; Make packages using kauth put their policy files and helpers - ;; into their own prefix. - (substitute* "KF5AuthConfig.cmake.in" - (("@KAUTH_POLICY_FILES_INSTALL_DIR@") - "${KDE_INSTALL_DATADIR}/polkit-1/actions") - (("@KAUTH_HELPER_INSTALL_DIR@") - "${KDE_INSTALL_LIBEXECDIR}") - (("@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@") - "${KDE_INSTALL_LIBEXECDIR}")))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (setenv "DBUS_FATAL_WARNINGS" "0") - (invoke "dbus-launch" "ctest"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-cmake-install-directories + (lambda _ + ;; Make packages using kauth put their policy files and helpers + ;; into their own prefix. + (substitute* "KF5AuthConfig.cmake.in" + (("@KAUTH_POLICY_FILES_INSTALL_DIR@") + "${KDE_INSTALL_DATADIR}/polkit-1/actions") + (("@KAUTH_HELPER_INSTALL_DIR@") + "${KDE_INSTALL_LIBEXECDIR}") + (("@KAUTH_HELPER_INSTALL_ABSOLUTE_DIR@") + "${KDE_INSTALL_LIBEXECDIR}")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "DBUS_FATAL_WARNINGS" "0") + (invoke "dbus-launch" "ctest"))))))) (home-page "https://community.kde.org/Frameworks") (synopsis "Execute actions as privileged user") (description "KAuth provides a convenient, system-integrated way to offload