From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iN3GCjVRR2IYLwAAgWs5BA (envelope-from ) for ; Fri, 01 Apr 2022 21:23:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qMIuBzVRR2K03gAAauVa8A (envelope-from ) for ; Fri, 01 Apr 2022 21:23:33 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 93FED3FE76 for ; Fri, 1 Apr 2022 21:23:32 +0200 (CEST) Received: from localhost ([::1]:46686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naMrq-0001Jx-NS for larch@yhetil.org; Fri, 01 Apr 2022 15:23:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naMrW-00019v-OF for guix-patches@gnu.org; Fri, 01 Apr 2022 15:23:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1naMrO-0003Gr-Dy for guix-patches@gnu.org; Fri, 01 Apr 2022 15:23:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1naMrO-0005Yz-Al for guix-patches@gnu.org; Fri, 01 Apr 2022 15:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54379] [PATCH 1/2] gnu: linux: update PipeWire & WirePlumber References: <20220313223533.9632-1-kevinboulain@gmail.com> In-Reply-To: <20220313223533.9632-1-kevinboulain@gmail.com> Resent-From: Kevin Boulain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Apr 2022 19:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54379 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54379@debbugs.gnu.org Cc: Kevin Boulain Received: via spool by 54379-submit@debbugs.gnu.org id=B54379.164884095121324 (code B ref 54379); Fri, 01 Apr 2022 19:23:02 +0000 Received: (at 54379) by debbugs.gnu.org; 1 Apr 2022 19:22:31 +0000 Received: from localhost ([127.0.0.1]:43427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naMqs-0005Xr-Q3 for submit@debbugs.gnu.org; Fri, 01 Apr 2022 15:22:31 -0400 Received: from mail-ej1-f45.google.com ([209.85.218.45]:44735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naMqp-0005XW-IT for 54379@debbugs.gnu.org; Fri, 01 Apr 2022 15:22:28 -0400 Received: by mail-ej1-f45.google.com with SMTP id lr4so7783597ejb.11 for <54379@debbugs.gnu.org>; Fri, 01 Apr 2022 12:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DP3obMmW1EEZUbibP6Ck9JuYdoGVyWRhFXJmxF8WjNM=; b=oG7AuFf8rh+s1MtkmlS1QaVpIuRvMrlPZ6Cw1COajEG0hZhyegvGCeJJxBI8a5YSuJ Ee6/Swf+NtH4TCQRdlpLMXz//0Qlo68Ku3IocIUnE79ME9ho5Gqvrm8w0x5vPokyKFs7 CsaycOHRGj+lUsPCgV5kdRQ43XkE0dWzLrY75ArC5RtfD/NQqDyCCXcOaz5s4npRTJHN oHTwNBI4lsl1QL/Htz5ZdTADECjt0ysk4MOaawgyVbh2wcBd8UGKn3kKrGRfZsEHxYbG qjrRPJEnSVuBVsDzaEljYuUNwbq4AXCveYGJmJRzPOVnHe4DHdjP1ua+C2JHVkmY8GSs w4Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DP3obMmW1EEZUbibP6Ck9JuYdoGVyWRhFXJmxF8WjNM=; b=Ght0yrWrbDj9zGXd1diJATQ6DX/GxKGizI6xUqYecVXTNlxzNXtSiBVJ7R4VeMg0rK 3dm2E34ZuV2Jjtwli+F7nzdMpyMqC62w/Mln7veP2BosAXhWHP8/WdbKshfNW0ddJYiD Eg8pE41eg84/yy4zt6HXi8j6dh++QIEtiUeMOCOB/Re754T6JTc63M6r+vNqJkvUk6of S0RjOkQ4rYMi+IyYocGT0/ZW6p7X8V87HYnaKCK6BOrd+Eao5ATEJshZYHv1L45sbrDB WOQok+eC+7DqFM40T004aPkzXfuJFGuyO3M8AT0wmD+FpZFww1SRlWLkdGdzLjCl/YcX T80Q== X-Gm-Message-State: AOAM531y/zBwRKooqG5rDaXPDQuEw6nvG3ANt9ZI8JJ+bgl5nqS7hrm7 iKEV+gYvuIrYIp5hBox9Banb4rn5F6c= X-Google-Smtp-Source: ABdhPJy5GrVlz1zGF+h0dAIiStIs+sf9kOGn/K22ZtWdn1L7NW0Zh5/8/4rJwVIM+BX6L8pFdw5pmQ== X-Received: by 2002:a17:907:c2a:b0:6e0:e1d3:2ab with SMTP id ga42-20020a1709070c2a00b006e0e1d302abmr1113425ejc.706.1648840941312; Fri, 01 Apr 2022 12:22:21 -0700 (PDT) Received: from localhost.localdomain ([51.154.70.17]) by smtp.gmail.com with ESMTPSA id z13-20020a17090674cd00b006df78d85eabsm1343677ejl.111.2022.04.01.12.22.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 12:22:20 -0700 (PDT) From: Kevin Boulain Date: Fri, 1 Apr 2022 21:23:53 +0200 Message-Id: <20220401192354.7838-1-kevinboulain@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648841012; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DP3obMmW1EEZUbibP6Ck9JuYdoGVyWRhFXJmxF8WjNM=; b=bUEyIVCOHSdZ2Vuea50szCwjt99cEx3JmDL+pBzDk5cCMZnEUxBzB4AXcU4Hr67kp3E35+ qIgZ6R4HbELuLPHzTGIlt1VYZOftcQ2zIZlPQSazJt+e7vNr2lI7k68k9PtVdlSSKuHBF1 3Jizmj7jJNrv7ACensGyjn6gr725uCe/Rokh/xiZ+oLIi0HVVkj73KgS2yHMsuNb3rctMA Zo+x2H2jdwIXBUAdcHk5CHhyYvmQzCz3T0OMaw9Syzm2F8/UT5eN1KtyPYbHs+5CjhoRUd ng3usVJRojVyQn3ysiSck5EywCyRX4O/VdbstLlRsjLyI6ql4I0Mbz1bzOofhw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648841012; a=rsa-sha256; cv=none; b=ldV/a3p4Gz8p0Hh/6kXhbwULWi1LoQyskfD8kWVKrZ1sWEAvQPxHR5PkWp4+z6erEbMZvF CFEW4Xx5ZV/8Q9p8ntQBvq1eNeI4iovKSMJByb/cGfs4MTHOs8yUlOuInrkN87nrVy09S/ V5OyhNJE4G9eEz9iKM6qCKKNnklrbpkNcTnLvVclRnb1YAtk9aTsO7VipJdMSkUPCzwPMH HYqSHaJq2xT2UJi7VM6FDwVNXu5O4hzWyeTh9bKglJ4O/IFsQPQHAmgMH5pDaRLryNStRT piVbUc00p55JWoDoNl14PZHKkWoU1IMowNhWIXx5bcNGVjfXNtq6z1lz8z9ecg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oG7AuFf8; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oG7AuFf8; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 93FED3FE76 X-Spam-Score: 7.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: Pqs+qmblixxV * 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. * gnu/packages/linux.scm (wireplumber): Update to 0.4.9. Set the sysconfigdir to /etc to allow configuring WirePlumber 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 | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 7aafcb636c..abe0185d43 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,39 +8319,49 @@ (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") #: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) (prepend avahi bluez jack-2 ldacbt + libfdk + libsndfile + libusb + lilv + openssl pulseaudio + readline vulkan-loader - vulkan-headers))))) + vulkan-headers + webrtc-audio-processing))))) (define-public wireplumber (package (name "wireplumber") - (version "0.4.6") + (version "0.4.9") (source (origin (method git-fetch) @@ -8362,11 +8371,12 @@ (define-public wireplumber (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0g7xkgkjlxrhs49hqkwrjk2hb478gq55wwydafvvbsv78vsa7qfb")))) + (base32 "0m90ymkrrcqrgr3y8x6i6836w0m3anlrv2masww9050lw77aipak")))) (build-system meson-build-system) (arguments `(#:configure-flags '("-Dsystemd=disabled" - "-Dsystem-lua=true"))) + "-Dsystem-lua=true" + "-Dsysconfdir=/etc"))) (native-inputs (list `(,glib "bin") pkg-config))