From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 MBV6GMETXmX3jgAAG6o9tA:P1 (envelope-from ) for ; Wed, 22 Nov 2023 15:44:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MBV6GMETXmX3jgAAG6o9tA (envelope-from ) for ; Wed, 22 Nov 2023 15:44:17 +0100 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 4A9B91394B for ; Wed, 22 Nov 2023 15:44:17 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=iM54tZDL; 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=1700664257; h=from:from:sender:sender: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=ARp4LX/yZU2uJ1+MwEk9e9PCgeszMkaU4N1Nif3tL+4=; b=dZyKsFrM0FfAj2P8EiJ/Thyw/KaNheiwcUrTGlBhTNM/XeYLwCwl35vBcr4Pw2xbl2nO5N w8G7SJY5AkM0eyke/8/on36BBvPZzrUJqZBt0654+8kKbtKM68SfkO2IL+oDCson5JSRN7 xpnALADalIuBzFtFhch7jKyRHFAavzJ9HfK4DlznZkJoFUS2DB/m7OWixe6mJFuizetNLX KBEq7MMwkGfGCz9HBzDWoKEaqUsiGW6FLkW7NbGqPj6kBa5f4ys8ZLMCf1wiJMxW9YRLC6 lGbftuP+TEyOI56zvZiedayf+W5SzzTqLsvdJFX4Ar6ryKX09DEfnajgbDwarw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=iM54tZDL; 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=1700664257; a=rsa-sha256; cv=none; b=A7kUpf6IbTca3d9rDpNXSvE/qixGimRuUX/UhgaGbqD5ikotR7HqsWk/H7CsV3SdT0oC9V zGyMiNrZuBApaOh+gGSXjEGOqTOLYXIhwfehld+p3y5g/qlSviQPk9dvJsUs3EWY/8//BM 8m3iQ/hJLL0utpCVv0JXw3ZXMBXxXuNjQH8DoUz+OjhrYsipramIuqmrNU9A838yBjGP9o VXENWWTeA/Wj1iimYJfdd8cbNeVNedsdZolLfXYJ63SE+9o0v3y0CXHaqA0Z/5nnbXd+EL 0d6ArF5ss1Z/hCs8LAUtLZ9oO8vVYGyq+Ug66y03Dp6s/jIkJepGX0Kp6DdcBA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5oSO-0007ca-G6; Wed, 22 Nov 2023 09:44:00 -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 1r5oSN-0007c5-5n for guix-patches@gnu.org; Wed, 22 Nov 2023 09:43:59 -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 1r5oSM-0007nS-N0 for guix-patches@gnu.org; Wed, 22 Nov 2023 09:43:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r5oSP-0004RO-UX for guix-patches@gnu.org; Wed, 22 Nov 2023 09:44:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66601] (@ (gnu packages wm) wlroots): expose "protocol" dir Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Nov 2023 14:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66601 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Grigory Shepelev Cc: 66601@debbugs.gnu.org Received: via spool by 66601-submit@debbugs.gnu.org id=B66601.170066421917028 (code B ref 66601); Wed, 22 Nov 2023 14:44:01 +0000 Received: (at 66601) by debbugs.gnu.org; 22 Nov 2023 14:43:39 +0000 Received: from localhost ([127.0.0.1]:58569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5oS3-0004QZ-HI for submit@debbugs.gnu.org; Wed, 22 Nov 2023 09:43:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5oS2-0004QM-3k for 66601@debbugs.gnu.org; Wed, 22 Nov 2023 09:43:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5oRt-0007jf-B7; Wed, 22 Nov 2023 09:43:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=ARp4LX/yZU2uJ1+MwEk9e9PCgeszMkaU4N1Nif3tL+4=; b=iM54tZDLmV2sGor18HTo hSZRQ55a+YjmXXHzt5d4FDr1fzzzG39mHv/goxnZiEvjRtV0Fftq5svVdnb13VsofL3w2EfKrBVgB 0i3oTiRbHuq8VDSU0/Lhmqo+QESXbt2cS71JiEauEZ4iA051msFjGxmdjcLd6SnQnBe9Z82QppocC FpvI2Xu0khoOA4Tj3kVO3476oIu0YtVkKkILmj4C4cpRCvNGf/4vhdEw7HnrCvHOlaTzFvyrNRh3P fsktNzEl3NL3SBXrJWDTKtyyfHWLh1J64yauI8sx55oWe1++y5b4grRZW1NkeCNpPi/w8izc2IlQB WAGHb4qcDOZ80A==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Grigory Shepelev's message of "Wed, 18 Oct 2023 08:01:42 +0300") References: Date: Wed, 22 Nov 2023 15:43:23 +0100 Message-ID: <87jzq9lugk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.82 X-Spam-Score: -6.82 X-Migadu-Queue-Id: 4A9B91394B X-Migadu-Scanner: mx10.migadu.com X-TUID: eZVIP6c1gtI2 Hi Grigory, Grigory Shepelev skribis: > I needed to tweak something in Sway and could not find its xml wayland > protocol files. It was hidden in the package source. Exposed them to the > build. > diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm > index 8576d0297d..45ef9cb073 100644 > --- a/gnu/packages/wm.scm > +++ b/gnu/packages/wm.scm > @@ -1648,7 +1648,15 @@ (define-public wlroots > (substitute* "backend/drm/meson.build" > (("/usr/share/hwdata/pnp.ids") > (string-append (assoc-ref (or native-inputs inputs) "hwd= ata") > - "/share/hwdata/pnp.ids")))))))) > + "/share/hwdata/pnp.ids"))))) > + (add-after 'install 'copy-protocols > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (mkdir-p "protocols") > + (copy-recursively > + "protocol" ;; why singular?! > + (string-append (assoc-ref outputs "out") > + "/protocols")) /protocol(s) is a non-standard directory (should it be /share/sway/protocols?). Also, it seems to me that this kind of change belongs upstream. Could you check why it=E2=80=99s not there and/or how other distros deal with it? Thanks, Ludo=E2=80=99.