GNU bug report logs - #67943
[PATCH] gnu: linux: add wireplumber-minimal.

Previous Next

Package: guix-patches;

Reported by: Daniel Ziltener <dziltener <at> lyrion.ch>

Date: Wed, 20 Dec 2023 22:46:01 UTC

Severity: normal

Tags: patch

Done: Hilton Chain <hako <at> ultrarare.space>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 67943-done <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: Daniel Ziltener <dziltener <at> lyrion.ch>
Cc: 67943-done <at> debbugs.gnu.org
Subject: Re: [bug#67943] [PATCH] gnu: linux: add wireplumber-minimal.
Date: Fri, 22 Dec 2023 22:32:21 +0800
Hi Daniel,

On Thu, 21 Dec 2023 06:40:58 +0800,
Daniel Ziltener via Guix-patches via wrote:
>
> This inherits wireplumber, and removes the dependency on elogind to make it
> useful for people using seatd.
> ---
>  gnu/packages/linux.scm | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index 3ca756dead..999b9b4363 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -9451,6 +9451,16 @@ (define-public wireplumber
>  tools for managing PipeWire.")
>      (license license:expat)))
>
> +(define-public wireplumber-minimal
> +  (package
> +    (inherit wireplumber)
> +    (name "wireplumber-minimal")
> +    (arguments
> +     `(#:configure-flags '("-Dsystemd=disabled"
> +                           "-Delogind=disabled"
> +                           "-Dsystem-lua=true")))
> +    (inputs (list dbus glib lua pipewire))))
> +
>  (define-public ell
>    (package
>      (name "ell")
> --
> 2.41.0


I have modified the package definition to the following:
--8<---------------cut here---------------start------------->8---
(define-public wireplumber-minimal
  (let ((base wireplumber))
    (package
      (inherit base)
      (name "wireplumber-minimal")
      (arguments
       (substitute-keyword-arguments (package-arguments base)
         ((#:configure-flags flags ''())
          #~(cons "-Delogind=disabled" #$flags))))
      (inputs
       (modify-inputs (package-inputs base)
         (delete "elogind"))))))
--8<---------------cut here---------------end--------------->8---

, adjusted the commit message and applied the patch as
c3b99101982be292138f067db2cd429eeeda97fb.  Thank you!




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

Previous Next


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