From patchwork Thu Aug 10 18:16:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 52725 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 EEF3027BBE9; Thu, 10 Aug 2023 19:26:36 +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 AE01927BBEA for ; Thu, 10 Aug 2023 19:26:35 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUAMO-0001aS-H4; Thu, 10 Aug 2023 14:26:12 -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 1qUAMN-0001a1-3x for guix-patches@gnu.org; Thu, 10 Aug 2023 14:26:11 -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 1qUAMM-0005OH-P6; Thu, 10 Aug 2023 14:26:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qUAMG-0004L1-24; Thu, 10 Aug 2023 14:26:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64387] [PATCH v2 4/6] gnu: arcan: Use new style arguments. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: paren@disroot.org, guix@cbaines.net, ludo@gnu.org, othacehe@gnu.org, rg@raghavgururajan.name, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 10 Aug 2023 18:26:04 +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 , paren@disroot.org, guix@cbaines.net, ludo@gnu.org, othacehe@gnu.org, rg@raghavgururajan.name, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, jgart@dismail.de X-Debbugs-Original-Xcc: paren@disroot.org, guix@cbaines.net, ludo@gnu.org, othacehe@gnu.org, rg@raghavgururajan.name, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, jgart@dismail.de Received: via spool by 64387-submit@debbugs.gnu.org id=B64387.169169195816617 (code B ref 64387); Thu, 10 Aug 2023 18:26:04 +0000 Received: (at 64387) by debbugs.gnu.org; 10 Aug 2023 18:25:58 +0000 Received: from localhost ([127.0.0.1]:44030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUAM9-0004Jw-TU for submit@debbugs.gnu.org; Thu, 10 Aug 2023 14:25:58 -0400 Received: from rainycloud.ext.redscript.org ([2402:28c0:4:1081::1]:57852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUAM8-0004JD-FK for 64387@debbugs.gnu.org; Thu, 10 Aug 2023 14:25:56 -0400 Received: from localhost.localdomain (bba-2-51-85-87.alshamil.net.ae [2.51.85.87]) (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 7B41D21D3; Thu, 10 Aug 2023 18:25:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-rsa; t=1691691951; 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=L0pl86ucC5tXYqkbHh3W/YkYU1nXMGvCJIoqgR1m3nE=; b=Cb/Htjo8hGOHw7zqPZiNEoRqfBCvOSYnQ+RvBAl8dSgvm9nipb5dmLA6VmuVIMp3aJVmNd OBA321sRio9WHrsIJ69cbowLa2+P8vLHxcuFL1zDZ9QSBGfWoPeOr+9lR0+nSglyxISUdQ X3algk5RI6n9YAyWFwGCqSR/RZ25G9gdArj4bDjrk+G4xRQ6C1dKyZq5bAmSHIPWofCxHx pg5+59CLIptfZAr4/QadaXXDC7P6x/4EEtlMJeQF3DvdaCLhR/DKPcwtHXu5hDScDUw7yN J8xJEPD/i+jurjn0SrBFZ1J7isy13/ytIQYkXEZGDKgegmBsjk7tMen8PhGyeSyJ/L/nAV uMzA105ZZL7cDyVSod6VXqTCgf9CsWND3aWzg1as9Ag6M77tSIr2JSCnDVd+IRZB/D2Jec 2UHBs6rEGq8GubJ/1+wznrlYkHpWK+IK5hc/op+bWEvFuQSbT3p1nPBD39q5gRTiSpTtsB mEup7d62SuT1DIfIebmadLNytbvHyXvOLfuLFRf4a/6yvKIy9WF6erGWVk6PXhxSIK8RCE 2twPi1Fz9Fia7vwdDDwjaqjFFn0egFvl5NXYMkoliiL1OI5u3lcnsvCO9Gmk+AfeaTMBQ4 A6Kf0SDOIbsxwWszk8L537jGVhi5iwWIWSsAGcyONve8sPO0br5D8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-ed25519; t=1691691951; 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=L0pl86ucC5tXYqkbHh3W/YkYU1nXMGvCJIoqgR1m3nE=; b=Feu/dt3XHiaGKiYhe5WXSbmtlc8wQLsN3jvNWWxbPpE8BM1HDY/HWBGmrkrlIcMrUj5faA iChVYkKPu8XaHLAQ== Date: Thu, 10 Aug 2023 22:16:36 +0400 Message-ID: <667739ec06929fa054cae6c439d3567fd3e9a9da.1691691398.git.a.r.draidi@redscript.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: 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)