Subject: Re: [bug#71096] [PATCH] gnu: fnott: Update to 1.6.0.

From: Z572 <[email-masked]>
Date: Wed, 22 May 2024 13:10:09 +0800

dan <[email-masked]> writes:

> * gnu/packages/wm.scm (fnott): Update to 1.6.0.
> [arguments]<#:phases>: Patch dbus service file install directory.
>
> Change-Id: I0a64c93b0e1ed43f101cb5a77ecfce5025a2b4b0
> ---
>  gnu/packages/wm.scm | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
> index eee9c8b587..b474ebf6b3 100644
> --- a/gnu/packages/wm.scm
> +++ b/gnu/packages/wm.scm
> @@ -1154,7 +1154,7 @@ (define-public fbautostart
>  (define-public fnott
>    (package
>      (name "fnott")
> -    (version "1.4.1")
> +    (version "1.6.0")
>      (source (origin
>                (method git-fetch)
>                (uri (git-reference
> @@ -1163,9 +1163,15 @@ (define-public fnott
>                (file-name (git-file-name name version))
>                (sha256
>                 (base32
> -                "0fmjvmsm2ikcmdzrf6xwyq6vxb9p1dd3bhvz3bvi7q7rb2g8h8pi"))))
> +                "04g1d0app9lpvzq3gxs7qjkd9zgbrmlvfy2n3h464r46j0wpgsx2"))))
>      (build-system meson-build-system)
> -    (arguments `(#:build-type "release"))
> +    (arguments `(#:build-type "release"
> +                 #:phases
> +                 (modify-phases %standard-phases
> +                   (add-after 'unpack 'patch-dbus-install-dir
> +                     (lambda _
> +                       (substitute* "dbus/meson.build"
> +                         (("^.*pkgconfig.*$") "")))))))
>      (native-inputs
>       (list pkg-config
>             wayland-protocols
>
> base-commit: 3fd9f25bb385723c70d0bd6af21aeaf784d08049

push, see https://git.savannah.gnu.org/cgit/guix.git/commit/?id=9523b968d5ac5d500949095fff1aa2bba9d693e0