unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Boulain <kevinboulain@gmail.com>
To: 54379@debbugs.gnu.org
Cc: Kevin Boulain <kevinboulain@gmail.com>
Subject: [bug#54379] [PATCH 1/3] gnu: linux: update PipeWire
Date: Fri,  1 Apr 2022 22:44:39 +0200	[thread overview]
Message-ID: <20220401204441.8244-2-kevinboulain@gmail.com> (raw)
In-Reply-To: <20220401204441.8244-1-kevinboulain@gmail.com>

* gnu/packages/linux.scm (pipewire): Use the official repository URL
instead of a mirror. Also remove sdl2 from the inputs as it's only used
in tests (and is very sparsely used with PipeWire 0.3).
* gnu/packages/linux.scm (pipewire-0.3): Update to 0.3.49 and use the
official repository URL instead of a mirror. Also add a few more inputs
to enable a few options:
 - libfdk to support the AAC Bluetooth codec
 - libsndfile to build pw-cat
 - libusb for Bluetooth quirks
 - lilv for LV2 plugins
 - openssl for raop-sink
 - readline to build pw-cli
 - webrtc-audio-processing for echo cancellation
And python-docutils to the native inputs to generate man pages.
X11 and libcanberra could be included for the X11 bell (no idea how
useful that is).
libcamera doesn't build with the current gstreamer version (g_memdup
is deprecated).
ROC doesn't appear to be in the packages yet so I'm skipping it.
Finally, set the sysconfigdir to /etc to allow configuring PipeWire
system-wide.

---

PipeWire also supports the aptX Bluetooth codec but the situation
appears to be very muddy: some distributions like Debian, Gentoo or
Arch package libfreeaptx (a fork of libopenaptx to work around licensing
issues) but others like Fedora or OpenSUSE refuse to do it so it's not
included for now (see https://issues.guix.gnu.org/54379).
---
 gnu/packages/linux.scm | 29 ++++++++++++++++++++---------
 1 file changed, 20 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 7aafcb636c..40166ad36e 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8281,7 +8281,7 @@ (define-public pipewire
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                    (url "https://github.com/PipeWire/pipewire")
+                    (url "https://gitlab.freedesktop.org/pipewire/pipewire.git")
                     (commit version)))
               (file-name (git-file-name name version))
               (sha256
@@ -8301,8 +8301,7 @@ (define-public pipewire
            gstreamer
            gst-plugins-base
            libva
-           sbc
-           sdl2))
+           sbc))
     (home-page "https://pipewire.org/")
     (synopsis "Server and user space API to deal with multimedia pipelines")
     (description
@@ -8320,34 +8319,46 @@ (define-public pipewire-0.3
   (package
     (inherit pipewire)
     (name "pipewire")
-    (version "0.3.43")
+    (version "0.3.49")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                    (url "https://github.com/PipeWire/pipewire")
+                    (url "https://gitlab.freedesktop.org/pipewire/pipewire.git")
                     (commit version)))
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0gp2h0sidapcqmnifl0iipdmbzb18bdh8zdi7pfywr9gsksh0cxy"))))
+                "1nm5in95318gw18prq4jfx5qrpkn22hvmkii7f40ngkcs3zrf5zj"))))
     (arguments
      '(#:configure-flags
        (list (string-append "-Dudevrulesdir=" (assoc-ref %outputs "out")
                             "/lib/udev/rules.d")
              "-Dsystemd=disabled"
-             "-Dsession-managers=[]")
+             "-Dsession-managers=[]"
+             "-Dsysconfdir=/etc") ; System-wide configuration in /etc/pipewire.
        #:phases
        (modify-phases %standard-phases
          ;; Skip shrink-runpath, otherwise validate-runpath fails.
          (delete 'shrink-runpath))))
+    (native-inputs (modify-inputs (package-native-inputs pipewire)
+                     (prepend python-docutils))) ; For manpages.
     (inputs (modify-inputs (package-inputs pipewire)
+              ;; The libcamera plugin doesn't build with the current GStreamer
+              ;; version (g_memdup has to be replaced with g_memdup2 first).
               (prepend avahi
                        bluez
                        jack-2
                        ldacbt
-                       pulseaudio
+                       libfdk ; AAC Bluetooth codecs.
+                       libsndfile ; To build pw-cat.
+                       libusb ; Bluetooth quirks.
+                       lilv ; LV2 plugins.
+                       openssl ; For RAOP (AirPlay).
+                       pulseaudio ; PulseAudio integration.
+                       readline ; To buid pw-cli.
                        vulkan-loader
-                       vulkan-headers)))))
+                       vulkan-headers
+                       webrtc-audio-processing))))) ; For echo cancellation.
 
 (define-public wireplumber
   (package




  reply	other threads:[~2022-04-01 20:43 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-13 22:35 [bug#54379] [PATCH] gnu: linux: update PipeWire & WirePlumber Kevin Boulain
2022-03-14  8:25 ` Brendan Tildesley
2022-03-14  9:06   ` Brendan Tildesley
2022-03-14 23:06   ` Kevin Boulain
2022-03-30  1:01     ` Brendan Tildesley
2022-03-30  4:23       ` fesoj000
2022-03-30 19:14         ` Kevin Boulain
2022-03-31  5:40         ` Brendan Tildesley
2022-04-01 12:46           ` fesoj000
2022-03-31  8:27     ` Brendan Tildesley
2022-04-01 19:32       ` Kevin Boulain
2022-03-14 23:06 ` [bug#54379] [PATCH 1/2] " Kevin Boulain
2022-03-14 23:06   ` [bug#54379] [PATCH 2/2] gnu: rename pipewire to pipewire-0.2 and pipewire-0.3 to pipewire Kevin Boulain
2022-03-30 19:18 ` [bug#54379] [PATCH 1/2] gnu: linux: update PipeWire & WirePlumber Kevin Boulain
2022-03-30 19:18   ` [bug#54379] [PATCH 2/2] gnu: rename pipewire to pipewire-0.2 and pipewire-0.3 to pipewire Kevin Boulain
2022-04-01 19:23 ` [bug#54379] [PATCH 1/2] gnu: linux: update PipeWire & WirePlumber Kevin Boulain
2022-04-01 19:23   ` [bug#54379] [PATCH 2/2] gnu: rename pipewire to pipewire-0.2 and pipewire-0.3 to pipewire Kevin Boulain
2022-04-01 19:34   ` [bug#54379] [PATCH 1/2] gnu: linux: update PipeWire & WirePlumber Maxime Devos
2022-04-01 19:41   ` Maxime Devos
2022-04-01 19:42   ` Maxime Devos
2022-04-01 20:44 ` [bug#54379] [PATCH 0/3] " Kevin Boulain
2022-04-01 20:44   ` Kevin Boulain [this message]
2022-04-01 20:44   ` [bug#54379] [PATCH 2/3] gnu: linux: update WirePlumber Kevin Boulain
2022-04-01 20:44   ` [bug#54379] [PATCH 3/3] gnu: rename pipewire to pipewire-0.2 and pipewire-0.3 to pipewire Kevin Boulain
2022-04-02 16:19   ` [bug#54379] [PATCH 0/3] gnu: linux: update PipeWire & WirePlumber Maxime Devos
2022-04-02 18:33     ` Kevin Boulain
2022-04-02 19:51       ` Maxime Devos
2022-08-18 20:46         ` Jack Hill
2022-08-24 17:31           ` Maxime Devos
2022-04-02 16:35   ` Maxime Devos
2022-10-09  4:02 ` [bug#54379] [(Brendan's) PATCH v3 0/6] " 'Brendan Tildesley
2022-10-09  4:02   ` [bug#54379] [PATCH v3 1/6] gnu: pipewire: Remove pipewire 0.2 'Brendan Tildesley
2022-10-09  4:02   ` [bug#54379] [PATCH v3 2/6] gnu: pipewire: Update to 0.3.59 'Brendan Tildesley
2022-10-09  4:02   ` [bug#54379] [PATCH v3 3/6] gnu: pipewire: Set sysconfdir to /etc 'Brendan Tildesley
2022-10-09  4:02   ` [bug#54379] [PATCH v3 4/6] gnu: Add libfreeaptx 'Brendan Tildesley
2022-10-09  9:01     ` Maxime Devos
2022-10-09  4:02   ` [bug#54379] [PATCH v3 5/6] gnu: pipewire: Enable more features 'Brendan Tildesley
2022-10-09  4:02   ` [bug#54379] [PATCH v3 6/6] gnu: wireplumber: Update to 0.4.12 'Brendan Tildesley
2022-10-10 19:57   ` [bug#54379] [(Brendan's) PATCH v3 0/6] gnu: linux: update PipeWire & WirePlumber Kevin Boulain
2022-10-09  9:12 ` [bug#54379] [PATCH v4 1/6] gnu: pipewire: Remove pipewire 0.2 'Brendan Tildesley
2022-10-09  9:12   ` 'Brendan Tildesley
2022-10-09  9:12   ` [bug#54379] [PATCH v4 2/6] gnu: pipewire: Update to 0.3.59 'Brendan Tildesley
2022-10-09  9:12   ` [bug#54379] [PATCH v4 3/6] gnu: pipewire: Set sysconfdir to /etc 'Brendan Tildesley
2022-10-09  9:12   ` [bug#54379] [PATCH v4 4/6] gnu: Add libfreeaptx 'Brendan Tildesley
2022-10-09  9:12   ` [bug#54379] [PATCH v4 5/6] gnu: pipewire: Enable more features 'Brendan Tildesley
2022-10-09  9:12   ` [bug#54379] [PATCH v4 6/6] gnu: wireplumber: Update to 0.4.12 'Brendan Tildesley
2022-12-04 10:18   ` [bug#54379] [PATCH v4 1/6] gnu: pipewire: Remove pipewire 0.2 Josselin Poiret via Guix-patches via
2022-12-24 11:59     ` Josselin Poiret via Guix-patches via
2023-01-08  9:30       ` Josselin Poiret via Guix-patches via
2023-01-08  9:30         ` [bug#54379] [PATCH v5 1/6] gnu: pipewire: Switch default to 0.3 Josselin Poiret via Guix-patches via
2023-01-08  9:30           ` [bug#54379] [PATCH v5 2/6] gnu: pipewire: Update to 0.3.63 Josselin Poiret via Guix-patches via
2023-01-08  9:30           ` [bug#54379] [PATCH v5 3/6] gnu: pipewire: Set sysconfdir to /etc Josselin Poiret via Guix-patches via
2023-01-08  9:30           ` [bug#54379] [PATCH v5 4/6] gnu: Add libfreeaptx Josselin Poiret via Guix-patches via
2023-01-08  9:30           ` [bug#54379] [PATCH v5 5/6] gnu: pipewire: Enable more features Josselin Poiret via Guix-patches via
2023-01-08  9:30           ` [bug#54379] [PATCH v5 6/6] gnu: wireplumber: Update to 0.4.13 Josselin Poiret via Guix-patches via
2023-01-08 16:48         ` [bug#54379] [PATCH v4 1/6] gnu: pipewire: Remove pipewire 0.2 Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220401204441.8244-2-kevinboulain@gmail.com \
    --to=kevinboulain@gmail.com \
    --cc=54379@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).