From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OIvkL1EJ3mUsMgEA62LTzQ:P1 (envelope-from ) for ; Tue, 27 Feb 2024 17:09:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id OIvkL1EJ3mUsMgEA62LTzQ (envelope-from ) for ; Tue, 27 Feb 2024 17:09:53 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=unhLNams; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709050193; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=I9yGiZ+rGCs/oO5iqMOy9JJSuPNhEW+b765tMyq/00A=; b=Wes+0mEO1dm3iUy/y4aKcj3G8Z10E5n9M6CqO1o1ybKiJJtJ+DtU+GhK1wwpCHj1uFnfE6 sSOqjcAHq57fK7EqPIrek+eUNn14rprHVr1pp61+ecdyMBy9/rJCzmiqGXiyX5gXqgUDk8 7GlwVi4S3jvmUqn0Hkf8ChpMOw0PTxayvZ5C4vvIzolvgSCOsshNT0dS0y/kfZ/jX7sFm2 6TYA7Iwx9SmrFkpJHQvxOEMo4Q0FBikQVrmPee0RBGTta+o03BpkYtZok2Qx3tu1xX5r0M Kt/YWLZqouN56ZG5yn7fwgsODK6CriEETF1UZDyAN8Tknt9ZkB2evF4YIqbHmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=unhLNams; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709050193; a=rsa-sha256; cv=none; b=ZePWNpWzwYLxjqYRRQ2Gma/QKFncB7hYONZoJ9kuNri3vvFs77faZ8PULJrhzAUPQsdr0e Wq/RCpawm0qCRBwtVr7zeh9jkOtzNyjHFm+xuSFBVMcTlyoS4DnpKXw7LiodrmwM366B1c fcd8ysIBQQOH5UWkYgci/YLBw5jcGo4McKUN5Xp7Lcegw2YrL3oFui0O59M1oh/6yMArvA BU1crhbmIFAFyfeUNxxBMqcbOCT/jUZxqnmHVbF3On6PswcpNLH9S6vefF76hvSUBKP43g 4YLDw4NXY3+drRQingQj25SwsnKTNanvfAUb4pLcR65rx0P7VDsLQckYn6U8VQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A35937D4F2 for ; Tue, 27 Feb 2024 17:09:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rf01S-0007Vj-GL; Tue, 27 Feb 2024 11:09:38 -0500 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 1rf01Q-0007V7-GB for guix-patches@gnu.org; Tue, 27 Feb 2024 11:09:36 -0500 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 1rf01Q-0004FS-7Z for guix-patches@gnu.org; Tue, 27 Feb 2024 11:09:36 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rf01q-0005ro-6R for guix-patches@gnu.org; Tue, 27 Feb 2024 11:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69430] [PATCH 2/2] gnu: sway: Update package style. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Feb 2024 16:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69430 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69430@debbugs.gnu.org Cc: Hilton Chain Received: via spool by 69430-submit@debbugs.gnu.org id=B69430.170905016922467 (code B ref 69430); Tue, 27 Feb 2024 16:10:02 +0000 Received: (at 69430) by debbugs.gnu.org; 27 Feb 2024 16:09:29 +0000 Received: from localhost ([127.0.0.1]:35059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf01I-0005qJ-NU for submit@debbugs.gnu.org; Tue, 27 Feb 2024 11:09:29 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:53404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf01G-0005q5-Oc for 69430@debbugs.gnu.org; Tue, 27 Feb 2024 11:09:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709050123; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I9yGiZ+rGCs/oO5iqMOy9JJSuPNhEW+b765tMyq/00A=; b=unhLNamsno/u1xIJNs/SAxOwmeeu/cc4VRKnCOcW0va62BKyi1cknNz9laFSPi4vQVaWsZ 7qEHTDUXvlVn3j/CuDZeF+YWxY8AHXJb92C1mQhEd6w6YrpxY4FZCUicVFIPWc9aEsaY+o yJQeVBKeXM0bLYwDuFnoSQQAKh166T8DzJ29VzgoEJ30G/djypAQ1ipaFnYC6+dZd4gQE7 UATKrSAEn38hwMWcEUyVqfwtFJ+344sx+bBCTmF27hoO/+zTRwJT8UVL/sGNFlPGgipIfh AncVmx2AT0tc0lGkWqST1W/egLQRC1fm0xkSAVlgGJ77Y/u73kAYcR4XBA5MNw== Date: Wed, 28 Feb 2024 00:08:45 +0800 Message-ID: <4e0fe40cb9f4e6974520c36026a233fa300501e3.1709049313.git.hako@ultrarare.space> In-Reply-To: <75e2cd50e71e8b3289a8493d1db94dbfbfa1ac63.1709049313.git.hako@ultrarare.space> References: <75e2cd50e71e8b3289a8493d1db94dbfbfa1ac63.1709049313.git.hako@ultrarare.space> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- 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: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.91 X-Spam-Score: -4.91 X-Migadu-Queue-Id: A35937D4F2 X-TUID: 7muqtcAXQ2+f * gnu/packages/wm.scm (sway)[arguments]: Use gexps. <#:phases>: Adjust to use ‘search-input-file’. Remove trailing #t. Change-Id: I5bd91faf2c79566486437b37cf72964d2c6a85fc --- gnu/packages/wm.scm | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 90d61d1d86..e5bc434166 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -1769,19 +1769,20 @@ (define-public sway (base32 "1n36vgpi4bg2gkiq4fam4khly1z9bjinmjclzq5vfx0z8h7a5bzz")))) (build-system meson-build-system) (arguments - `(;; elogind is propagated by wlroots -> libseat - ;; and would otherwise shadow basu. - #:configure-flags '("-Dsd-bus-provider=basu") - #:phases - (modify-phases %standard-phases - (add-before 'configure 'hardcode-paths - (lambda* (#:key inputs #:allow-other-keys) - ;; Hardcode path to swaybg. - (substitute* "sway/config.c" - (("strdup..swaybg..") - (string-append "strdup(\"" (assoc-ref inputs "swaybg") - "/bin/swaybg\")"))) - #t))))) + (list + ;; elogind is propagated by wlroots -> libseat + ;; and would otherwise shadow basu. + #:configure-flags + #~'("-Dsd-bus-provider=basu") + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'hardcode-paths + (lambda* (#:key inputs #:allow-other-keys) + ;; Hardcode path to swaybg. + (substitute* "sway/config.c" + (("strdup..swaybg..") + (format #f "strdup(\"~a\")" + (search-input-file inputs "bin/swaybg"))))))))) (inputs (list basu cairo gdk-pixbuf -- 2.41.0