GNU bug report logs - #66601
(@ (gnu packages wm) wlroots): expose "protocol" dir

Previous Next

Package: guix-patches;

Reported by: Grigory Shepelev <shegeley <at> gmail.com>

Date: Wed, 18 Oct 2023 05:03:02 UTC

Severity: normal

To reply to this bug, email your comments to 66601 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#66601; Package guix-patches. (Wed, 18 Oct 2023 05:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Grigory Shepelev <shegeley <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 18 Oct 2023 05:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Grigory Shepelev <shegeley <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: (@ (gnu packages wm) wlroots): expose "protocol" dir
Date: Wed, 18 Oct 2023 08:01:42 +0300
[Message part 1 (text/plain, inline)]
Hi

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.
[Message part 2 (text/html, inline)]
[wlroots-exports.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#66601; Package guix-patches. (Wed, 18 Oct 2023 06:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 66601 <at> debbugs.gnu.org (full text, mbox):

From: Grigory Shepelev <shegeley <at> gmail.com>
To: 66601 <at> debbugs.gnu.org
Subject: Re: bug#66601: Acknowledgement ((@ (gnu packages wm) wlroots): expose
 "protocol" dir)
Date: Wed, 18 Oct 2023 09:24:27 +0300
[Message part 1 (text/plain, inline)]
Sorry, it has to be "add-before 'configure"

ср, 18 окт. 2023 г. в 08:02, GNU bug Tracking System <help-debbugs <at> gnu.org>:

> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  guix-patches <at> gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 66601 <at> debbugs.gnu.org.
>
> Please do not send mail to help-debbugs <at> gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 66601: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66601
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#66601; Package guix-patches. (Wed, 22 Nov 2023 14:44:01 GMT) Full text and rfc822 format available.

Message #11 received at 66601 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Grigory Shepelev <shegeley <at> gmail.com>
Cc: 66601 <at> debbugs.gnu.org
Subject: Re: bug#66601: (@ (gnu packages wm) wlroots): expose "protocol" dir
Date: Wed, 22 Nov 2023 15:43:23 +0100
Hi Grigory,

Grigory Shepelev <shegeley <at> gmail.com> 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) "hwdata")
> -                               "/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’s not there and/or how other distros deal with it?

Thanks,
Ludo’.




This bug report was last modified 1 year and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.