Subject: Re: [bug#73396] [PATCH] gnu: waypipe: Update to 0.9.1.
From: Z572 <[email-masked]>
To: Sisiutl <[email-masked]>
Cc: [email-masked]
Date: Mon, 30 Sep 2024 00:29:24 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Sisiutl <[email-masked]> writes:

> * gnu/packages/freedesktop.scm (waypipe): Update to 0.9.1.
> [inputs]: Add lz4, libva, mesa, libdrm and ffmpeg.
> [arguments]<#:configure-flags?>: Enable lz4, vaapi, dmabuf
> and video compression.
>
> Change-Id: I02891d0fbb0f697083d4599cf960005bbe0b8996
> ---
>  gnu/packages/freedesktop.scm | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
> index 993bb84ec6..e9f6841f7c 100644
> --- a/gnu/packages/freedesktop.scm
> +++ b/gnu/packages/freedesktop.scm
> @@ -3244,7 +3244,7 @@ (define-public poweralertd
>  (define-public waypipe
>    (package
>      (name "waypipe")
> -    (version "0.9.0")
> +    (version "0.9.1")
>      (source
>       (origin
>         (method git-fetch)
> @@ -3253,12 +3253,17 @@ (define-public waypipe
>               (commit (string-append "v" version))))
>         (file-name (git-file-name name version))
>         (sha256
> -        (base32 "0pf1q8kyqyqa7gxar99i35q9np0k4vsf7xlrg12gyzc5k36lhknf"))))
> +        (base32 "0pj7l3ix0pp0sfqxfa2hxql0f30vz6hh01fq5kzhs831b632i3z0"))))
>      (build-system meson-build-system)
>      (native-inputs
>       (list pkg-config scdoc
>             ;; For tests
>             python))
> +    (inputs (list lz4 libva mesa libdrm ffmpeg))
> +    (arguments
> +     `(#:configure-flags
> +       ,#~'("-Dwith_lz4=enabled" "-Dwith_vaapi=enabled"
> +            "-Dwith_dmabuf=enabled" "-Dwith_video=enabled")))
adjust to
(list #:configure-flags
   #~(list "-Dwith_lz4=enabled"
      "-Dwith_vaapi=enabled" "-Dwith_dmabuf=enabled"
      "-Dwith_video=enabled"))
      
The best is #~(list...) ,so can write functions and stuff in there

>      (home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe")
>      (synopsis "Proxy for Wayland protocol applications")
>      (description

"guix size" say now is 765.5 MiB, before was 75.7 MiB, Maybe add a
waypipe-minimal?

push, and close.