From patchwork Fri Jul 21 12:14:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 51895 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 725AE27BBEA; Fri, 21 Jul 2023 13:16:46 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 4785C27BBE2 for ; Fri, 21 Jul 2023 13:16:45 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMp3b-0002xO-7d; Fri, 21 Jul 2023 08:16:27 -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 1qMp3E-0002tG-9m for guix-patches@gnu.org; Fri, 21 Jul 2023 08:16:04 -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 1qMp3E-00079q-0z for guix-patches@gnu.org; Fri, 21 Jul 2023 08:16:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMp3D-0007TP-Sq for guix-patches@gnu.org; Fri, 21 Jul 2023 08:16:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64767] [PATCH 5/5] gnu: libcamera: Rewrite package argument to G-expression. Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Jul 2023 12:16:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64767@debbugs.gnu.org Cc: =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 64767-submit@debbugs.gnu.org id=B64767.168994172928638 (code B ref 64767); Fri, 21 Jul 2023 12:16:03 +0000 Received: (at 64767) by debbugs.gnu.org; 21 Jul 2023 12:15:29 +0000 Received: from localhost ([127.0.0.1]:60757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMp2e-0007Rp-L5 for submit@debbugs.gnu.org; Fri, 21 Jul 2023 08:15:29 -0400 Received: from mail.envs.net ([5.199.136.28]:58246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMp2b-0007RU-Gu for 64767@debbugs.gnu.org; Fri, 21 Jul 2023 08:15:25 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id F16B838A1916; Fri, 21 Jul 2023 12:15:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1689941725; bh=HJ9jguswd/M6utebrBuvX+tCToyxhzci++gfUD1E5sU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ajgMvubvbwvmfejDaxeTvoZdIH2vz5G0j+sm9zv9wN+uSWDA2mZN2MHjZha5wvxLx E+EQNiHCJPdAvyH2YDV60K7+uWAB8nFmwrxtboyJVX2X5ISepYwniNVTWd08BFPh+F dR0wRaZkK3t+hKtHP8c5C3d2xgzYt9tjBbAJmcBWjpRUEH3HZjtvICChmK18OIIwEK 8kYy7kzCXwmkhWWwUnkVI1lAzEQMIoxzCU5JwpvvIdYdmFJWqpWM5vCG03XZp/yu6L F1XPOnGwhDBEGEAoNCCLVNF8Xsy/D7eDYPBRQvI+XYA8BQbh2vsFlUNHm6o3oC+mkO 3S1ZDjpO5Lmg2G8N8ykt548G7fpohL+3MLji20+3IL5ssi8BH+MG1U0Hwve+7ACQea XCNAD61YzvPbVWahLhJtyyvA2OnygeEv/EqFqb7VGUTfSA4WY5Q2IwbinB6wj3nI5P 8ZK38sHX8PG1x1LND9qShvuK0BL/cM5HJtNU7n6L8WN/uWKrOfD+/Lz71tunDNlwFm fcz3H8xxSzzLXsyBGISkzuqtgo6L8D0GTqnZzXEgAR5I+ktAXloEuZcbwunPpP5yX9 g4fWGPfUX7+PS+soQqqov34cyCtMrgiTSu79IzstTvrxwylPCGUyxRc+kIfgvJs770 Dg9xxqZ8lwiTnVQdga/78jm0= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pCA-wpcrIAH6; Fri, 21 Jul 2023 12:15:21 +0000 (UTC) Received: from localhost (unknown [117.174.235.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Fri, 21 Jul 2023 12:15:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 626869fa; Fri, 21 Jul 2023 12:14:51 +0000 (UTC) Date: Fri, 21 Jul 2023 20:14:33 +0800 Message-ID: <5460f849b23668aa75f76c7794365abf56bc8c47.1689941427.git.iyzsong@member.fsf.org> 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: iyzsong@envs.net X-ACL-Warn: , iyzsong--- via Guix-patches X-Patchwork-Original-From: iyzsong--- via Guix-patches via From: "ashish.is--- via Guix-patches\" via" 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 From: 宋文武 * gnu/packages/networking.scm (libcamera)[arguments]: Use G-expression. --- gnu/packages/networking.scm | 44 ++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 84091274f0..ac11855ac8 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -365,29 +365,27 @@ (define-public libcamera (build-system meson-build-system) (outputs '("out" "doc" "gst" "tools")) (arguments - `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas - #:configure-flags - (list - (string-append "-Dbindir=" (assoc-ref %outputs "tools") "/bin") - "-Dtest=true" - "-Dv4l2=true" - ;; XXX: Requires bundled pybind11. - "-Dpycamera=disabled") - #:phases - (modify-phases %standard-phases - (add-after 'install 'move-doc-and-gst - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (doc (assoc-ref outputs "doc")) - (gst (assoc-ref outputs "gst"))) - (mkdir-p (string-append doc "/share")) - (rename-file - (string-append out "/share/doc") - (string-append doc "/share/doc")) - (mkdir-p (string-append gst "/lib")) - (rename-file - (string-append out "/lib/gstreamer-1.0") - (string-append gst "/lib/gstreamer-1.0")))))))) + (list #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas + #:configure-flags + #~(list (string-append "-Dbindir=" + (assoc-ref %outputs "tools") "/bin") + "-Dtest=true" "-Dv4l2=true" + ;; XXX: Requires bundled pybind11. + "-Dpycamera=disabled") + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'move-doc-and-gst + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (assoc-ref outputs "doc")) + (gst (assoc-ref outputs "gst"))) + (mkdir-p (string-append doc "/share")) + (rename-file (string-append out "/share/doc") + (string-append doc "/share/doc")) + (mkdir-p (string-append gst "/lib")) + (rename-file + (string-append out "/lib/gstreamer-1.0") + (string-append gst "/lib/gstreamer-1.0")))))))) (native-inputs (list googletest graphviz ;for 'dot'