From patchwork Fri Jun 30 22:07:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 51475 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 DF7D627BBE9; Fri, 30 Jun 2023 23:08:22 +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=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 EF08127BBE2 for ; Fri, 30 Jun 2023 23:08:21 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFMHe-0002fW-Bc; Fri, 30 Jun 2023 18:08: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 1qFMHb-0002dl-EK for guix-patches@gnu.org; Fri, 30 Jun 2023 18:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFMHb-0002Ce-6A for guix-patches@gnu.org; Fri, 30 Jun 2023 18:08:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFMHb-00033F-2d for guix-patches@gnu.org; Fri, 30 Jun 2023 18:08:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64387] [PATCH 4/6] gnu: arcan: Use new style arguments. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Jun 2023 22:08:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64387 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64387@debbugs.gnu.org Cc: Ahmad Draidi Received: via spool by 64387-submit@debbugs.gnu.org id=B64387.168816287111666 (code B ref 64387); Fri, 30 Jun 2023 22:08:03 +0000 Received: (at 64387) by debbugs.gnu.org; 30 Jun 2023 22:07:51 +0000 Received: from localhost ([127.0.0.1]:55932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFMHP-000326-6B for submit@debbugs.gnu.org; Fri, 30 Jun 2023 18:07:51 -0400 Received: from rainycloud.ext.redscript.org ([103.105.48.212]:41382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFMHM-00031f-NE for 64387@debbugs.gnu.org; Fri, 30 Jun 2023 18:07:49 -0400 Received: from localhost.localdomain (bba-92-97-100-179.alshamil.net.ae [92.97.100.179]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id B8EF52B4E; Fri, 30 Jun 2023 22:07:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-rsa; t=1688162863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=N3niClNUvMuSM01PsFQkafNT0CmkVd9SblwpRJBXLzI=; b=XB/z1gLoBFfjziFW5O4UWbpTHIN70GkqY6YkekQLSrxcXmjY5gRYEqli6886nmPmiJJUuG CTABji4M8y3q75XoVjNZKnuns50dKvN/UeU1E/Sg3Y0MIRKjA+t3mwUiz1QpT/tMf22yca gAou0/hqPde4DgMuMUSYxEfKKUGsgc2HvrqOA4byWutRPnGjws5kJ07o4zjUT3EB9jftUX duvJgMzQ18vyWymyEuSJgPf2SoPlBnh58q3t5uDeho46dPXkOR/7bF8l+md0OnHY5KB0Av ELjTNxCozUp3NoyQKJbfbfVd87SVSU2bbYAPanTWeVELyI4bCf54N6x4zd3gSeXHzyWfzJ OIHw/JkghZ8Ehay8W+eLE0aKV/zG+SRIOPrVeILK50K85h5rBfFheYQW1Ml/kgIEM0D9gm 4VZVKs5j0N4jbx/m6NvW2ZeFzMg/WPk12DJjdFKl+dy33OkfVTXtyMdvkenjLvlhhws5GD BmjarmDRz+Uq6AJ/S3z1fT8dEWmJB369U70N1mw0Ww4Ks/JsoTJm91ydg5df41BRpkGTm2 I99YQxtzThtjQDi79XTnfmEwuqpCrxGvU4V+CaqnYnOvISojAUbA+aaihwlGxewajit72f 9CpRMwhR+3znkz/CDeG2qvo8fa4+2T7VQbPKvnyKBsWgDp2GQZ2JE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-ed25519; t=1688162863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=N3niClNUvMuSM01PsFQkafNT0CmkVd9SblwpRJBXLzI=; b=HLU8NULvpqmDg7uIPWnfx4fKgs9lMvDNHIFnyAi2UiFHnmWR6p/4O3PLukCNZNd4tiaDht Y/xW40Ysqt2MbqBQ== Date: Sat, 1 Jul 2023 02:07:09 +0400 Message-Id: X-Mailer: git-send-email 2.40.1 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: Ahmad Draidi X-ACL-Warn: , Ahmad Draidi via Guix-patches X-Patchwork-Original-From: Ahmad Draidi via Guix-patches via From: Ahmad Draidi 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/arcan.scm (arcan)[arguments]: Use new style arguments. --- gnu/packages/arcan.scm | 50 ++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/gnu/packages/arcan.scm b/gnu/packages/arcan.scm index 159c6d2190..9c6092bb9e 100644 --- a/gnu/packages/arcan.scm +++ b/gnu/packages/arcan.scm @@ -75,32 +75,30 @@ (define-public arcan (delete-file-recursively "external/sqlite"))))) (build-system cmake-build-system) (arguments - `(#:configure-flags '("-DBUILD_PRESET=everything" - "-DDISTR_TAG='Guix'") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-paths - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "src/platform/posix/paths.c" - (("/usr/local") - (assoc-ref outputs "out"))))) - ;; Normally, it tries to fetch patched openal with git - ;; but copying files manually in the right place seems to work too. - (add-after 'unpack 'prepare-static-openal - (lambda* (#:key inputs #:allow-other-keys) - (let ((arcan-openal (assoc-ref inputs "arcan-openal"))) - (copy-recursively arcan-openal "external/git/openal")) - #t)) - (add-after 'prepare-static-openal 'generate-man - (lambda _ - (with-directory-excursion "doc" - (invoke "ruby" "docgen.rb" "mangen")) - #t)) - (add-before 'configure 'chdir - (lambda _ - (chdir "src") - #t))) - #:tests? #f)) + (list #:configure-flags #~'("-DBUILD_PRESET=everything" + "-DDISTR_TAG='Guix'") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-paths + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "src/platform/posix/paths.c" + (("/usr/local") + (assoc-ref outputs "out"))))) + ;; Normally, it tries to fetch patched openal with git + ;; but copying files manually in the right place seems to work too. + (add-after 'unpack 'prepare-static-openal + (lambda* (#:key inputs #:allow-other-keys) + (let ((arcan-openal (assoc-ref inputs + "arcan-openal"))) + (copy-recursively arcan-openal + "external/git/openal")) #t)) + (add-after 'prepare-static-openal 'generate-man + (lambda _ + (with-directory-excursion "doc" + (invoke "ruby" "docgen.rb" "mangen")) #t)) + (add-before 'configure 'chdir + (lambda _ + (chdir "src") #t))) + #:tests? #f)) (inputs `(("bash-minimal" ,bash-minimal) ("espeak" ,espeak)