unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67943] [PATCH] gnu: linux: add wireplumber-minimal.
@ 2023-12-20 22:40 Daniel Ziltener via Guix-patches via
  2023-12-22 14:32 ` bug#67943: " Hilton Chain via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Ziltener via Guix-patches via @ 2023-12-20 22:40 UTC (permalink / raw)
  To: 67943; +Cc: dziltener

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#67943: [PATCH] gnu: linux: add wireplumber-minimal.
  2023-12-20 22:40 [bug#67943] [PATCH] gnu: linux: add wireplumber-minimal Daniel Ziltener via Guix-patches via
@ 2023-12-22 14:32 ` Hilton Chain via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-12-22 14:32 UTC (permalink / raw)
  To: Daniel Ziltener; +Cc: 67943-done

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!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-22 14:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-20 22:40 [bug#67943] [PATCH] gnu: linux: add wireplumber-minimal Daniel Ziltener via Guix-patches via
2023-12-22 14:32 ` bug#67943: " Hilton Chain via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).