Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] pipewire: use a conffile to autostart p-m-s
@ 2022-08-07 19:28 CameronNemo
  2022-08-17 19:20 ` [PR PATCH] [Updated] " CameronNemo
                   ` (72 more replies)
  0 siblings, 73 replies; 74+ messages in thread
From: CameronNemo @ 2022-08-07 19:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1518 bytes --]

There is a new pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages pipewire-session
https://github.com/void-linux/void-packages/pull/38521

pipewire: use a conffile to autostart p-m-s
It should be possible to disable autostart of pipewire-media-session and
use some other method to start it, or start wireplumber instead.

Rather than patch /usr/share/pipewire/pipewire.conf, ship a drop-in
config in /etc/pipewire/pipewire.conf.d and mark it as a conffile.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/38521.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pipewire-session-38521.patch --]
[-- Type: text/x-diff, Size: 3776 bytes --]

From 1d045c18facda3bd5db359b6258dce66d261b2c9 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 7 Aug 2022 12:26:05 -0700
Subject: [PATCH] pipewire: use a conffile to autostart p-m-s

It should be possible to disable autostart of pipewire-media-session and
use some other method to start it, or start wireplumber instead.

Rather than patch /usr/share/pipewire/pipewire.conf, ship a drop-in
config in /etc/pipewire/pipewire.conf.d and mark it as a conffile.
---
 .../files/10-autostart-session-manager.conf     |  6 ++++++
 .../patches/autostart-media-session.patch       | 17 -----------------
 srcpkgs/pipewire/template                       |  4 +++-
 3 files changed, 9 insertions(+), 18 deletions(-)
 create mode 100644 srcpkgs/pipewire/files/10-autostart-session-manager.conf
 delete mode 100644 srcpkgs/pipewire/patches/autostart-media-session.patch

diff --git a/srcpkgs/pipewire/files/10-autostart-session-manager.conf b/srcpkgs/pipewire/files/10-autostart-session-manager.conf
new file mode 100644
index 000000000000..d4cb814bc6e7
--- /dev/null
+++ b/srcpkgs/pipewire/files/10-autostart-session-manager.conf
@@ -0,0 +1,6 @@
+# The session manager is an essential component. It's not easy to start it
+# externally in a script since it needs the pipewire socket up, and Void
+# doesn't have a mechanism to ensure it (systemd socket activation).
+context.exec = [
+    { path = "/usr/bin/pipewire-media-session" args = "" }
+]
diff --git a/srcpkgs/pipewire/patches/autostart-media-session.patch b/srcpkgs/pipewire/patches/autostart-media-session.patch
deleted file mode 100644
index c5753a3719c2..000000000000
--- a/srcpkgs/pipewire/patches/autostart-media-session.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Upstream's config does not autostart pipewire-media-session anymore, which
-is an essential component. It's not easy to start it externally in a script
-since it needs the pipewire socket up, and Void doesn't have a mechanism to
-ensure it (systemd socket activation).
-diff --git a/src/daemon/pipewire.conf.in.orig b/src/daemon/pipewire.conf.in
-index 95632c2..ab0b097 100644
---- a/src/daemon/pipewire.conf.in.orig
-+++ b/src/daemon/pipewire.conf.in
-@@ -236,7 +236,7 @@
-     # but it is better to start it as a systemd service.
-     # Run the session manager with -h for options.
-     #
--    @sm_comment@{ path = "@session_manager_path@" args = "@session_manager_args@" }
-+    { path = "@session_manager_path@" args = "@session_manager_args@" }
-     #
-     # You can optionally start the pulseaudio-server here as well
-     # but it is better to start it as a systemd service.
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index 220bf2f68b6b..5835fee4d2b6 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -1,7 +1,7 @@
 # Template file for 'pipewire'
 pkgname=pipewire
 version=0.3.56
-revision=1
+revision=2
 _pms_version=0.4.1
 build_style=meson
 configure_args="
@@ -37,6 +37,7 @@ distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}
 checksum="e73d8897daac8f9e61a23193ed71971682715a5997cb553d809bc61a349ef03c
  119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
 make_dirs="/var/lib/pipewire 0755 _pipewire _pipewire"
+conf_files="/etc/pipewire/pipewire.conf.d/*"
 system_accounts="_pipewire"
 
 build_options="sdl2"
@@ -63,6 +64,7 @@ post_install() {
 	vdoc "${FILESDIR}/README.voidlinux"
 	vsv pipewire
 	vsv pipewire-pulse
+	vinstall "${FILESDIR}/10-autostart-session-manager.conf" 644 etc/pipewire/pipewire.conf.d
 	vmkdir usr/share/applications
 	cp "${FILESDIR}/pipewire.desktop" ${DESTDIR}/usr/share/applications/pipewire.desktop
 	cp "${FILESDIR}/pipewire-pulse.desktop" ${DESTDIR}/usr/share/applications/pipewire-pulse.desktop

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

* Re: [PR PATCH] [Updated] pipewire: use a conffile to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
@ 2022-08-17 19:20 ` CameronNemo
  2022-08-20 22:22 ` pipewire: use a drop-in " paper42
                   ` (71 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-08-17 19:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1523 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages pipewire-session
https://github.com/void-linux/void-packages/pull/38521

pipewire: use a conffile to autostart p-m-s
It should be possible to disable autostart of pipewire-media-session and
use some other method to start it, or start wireplumber instead.

Rather than patch /usr/share/pipewire/pipewire.conf, ship a drop-in
config in /etc/pipewire/pipewire.conf.d and mark it as a conffile.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/38521.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pipewire-session-38521.patch --]
[-- Type: text/x-diff, Size: 7154 bytes --]

From c01b6e4a1fa738654bde8475f938bcdb2243eedb Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Wed, 17 Aug 2022 12:09:49 -0700
Subject: [PATCH 1/2] pipewire: update to
 0532d194ad91ade044487c9a041b79d02c8a4c36

---
 ...15d0c0c66b64c7198a34ad3c4b43445667d2.patch | 22 -------------------
 .../patches/autostart-media-session.patch     | 17 --------------
 ...fd46262b1a90ad94f86e34216a1a886d9463.patch | 22 -------------------
 srcpkgs/pipewire/template                     |  8 ++++---
 4 files changed, 5 insertions(+), 64 deletions(-)
 delete mode 100644 srcpkgs/pipewire/patches/aaa015d0c0c66b64c7198a34ad3c4b43445667d2.patch
 delete mode 100644 srcpkgs/pipewire/patches/autostart-media-session.patch
 delete mode 100644 srcpkgs/pipewire/patches/f857fd46262b1a90ad94f86e34216a1a886d9463.patch

diff --git a/srcpkgs/pipewire/patches/aaa015d0c0c66b64c7198a34ad3c4b43445667d2.patch b/srcpkgs/pipewire/patches/aaa015d0c0c66b64c7198a34ad3c4b43445667d2.patch
deleted file mode 100644
index f9117fdf638e..000000000000
--- a/srcpkgs/pipewire/patches/aaa015d0c0c66b64c7198a34ad3c4b43445667d2.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From aaa015d0c0c66b64c7198a34ad3c4b43445667d2 Mon Sep 17 00:00:00 2001
-From: Wim Taymans <wtaymans@redhat.com>
-Date: Tue, 19 Jul 2022 13:06:52 +0200
-Subject: [PATCH] avb: fix compilation on big endian
-
----
- spa/plugins/avb/avbtp/packets.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/spa/plugins/avb/avbtp/packets.h b/spa/plugins/avb/avbtp/packets.h
-index 7047456bf..3d4a652ee 100644
---- a/spa/plugins/avb/avbtp/packets.h
-+++ b/spa/plugins/avb/avbtp/packets.h
-@@ -116,7 +116,7 @@ struct spa_avbtp_packet_aaf {
- 	unsigned gv:1;
- 	unsigned tv:1;
- 
--	uint8_t seq_number;
-+	uint8_t seq_num;
- 
- 	unsigned _r2:7;
- 	unsigned tu:1;
diff --git a/srcpkgs/pipewire/patches/autostart-media-session.patch b/srcpkgs/pipewire/patches/autostart-media-session.patch
deleted file mode 100644
index c5753a3719c2..000000000000
--- a/srcpkgs/pipewire/patches/autostart-media-session.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Upstream's config does not autostart pipewire-media-session anymore, which
-is an essential component. It's not easy to start it externally in a script
-since it needs the pipewire socket up, and Void doesn't have a mechanism to
-ensure it (systemd socket activation).
-diff --git a/src/daemon/pipewire.conf.in.orig b/src/daemon/pipewire.conf.in
-index 95632c2..ab0b097 100644
---- a/src/daemon/pipewire.conf.in.orig
-+++ b/src/daemon/pipewire.conf.in
-@@ -236,7 +236,7 @@
-     # but it is better to start it as a systemd service.
-     # Run the session manager with -h for options.
-     #
--    @sm_comment@{ path = "@session_manager_path@" args = "@session_manager_args@" }
-+    { path = "@session_manager_path@" args = "@session_manager_args@" }
-     #
-     # You can optionally start the pulseaudio-server here as well
-     # but it is better to start it as a systemd service.
diff --git a/srcpkgs/pipewire/patches/f857fd46262b1a90ad94f86e34216a1a886d9463.patch b/srcpkgs/pipewire/patches/f857fd46262b1a90ad94f86e34216a1a886d9463.patch
deleted file mode 100644
index eeab0079253f..000000000000
--- a/srcpkgs/pipewire/patches/f857fd46262b1a90ad94f86e34216a1a886d9463.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From f857fd46262b1a90ad94f86e34216a1a886d9463 Mon Sep 17 00:00:00 2001
-From: Wim Taymans <wtaymans@redhat.com>
-Date: Tue, 19 Jul 2022 14:07:16 +0200
-Subject: [PATCH] avb: fix compilation on big endian
-
----
- src/modules/module-avb/iec61883.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/modules/module-avb/iec61883.h b/src/modules/module-avb/iec61883.h
-index d3b3a7daa..6ca8724ad 100644
---- a/src/modules/module-avb/iec61883.h
-+++ b/src/modules/module-avb/iec61883.h
-@@ -37,7 +37,7 @@ struct avb_packet_iec61883 {
- 	unsigned gv:1;
- 	unsigned tv:1;
- 
--	uint8_t seq_number;
-+	uint8_t seq_num;
- 
- 	unsigned _r2:7;
- 	unsigned tu:1;
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index 220bf2f68b6b..149b719da9f7 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -1,7 +1,9 @@
 # Template file for 'pipewire'
 pkgname=pipewire
 version=0.3.56
-revision=1
+revision=81
+_commit=0532d194ad91ade044487c9a041b79d02c8a4c36
+wrksrc="pipewire-${_commit}"
 _pms_version=0.4.1
 build_style=meson
 configure_args="
@@ -32,9 +34,9 @@ maintainer="Stefano Ragni <stefano.ragni@outlook.com>"
 license="MIT"
 homepage="https://pipewire.org/"
 changelog="https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/NEWS"
-distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz
+distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${_commit}/pipewire-${_commit}.tar.gz
  https://gitlab.freedesktop.org/pipewire/media-session/-/archive/${_pms_version}/media-session-${_pms_version}.tar.gz"
-checksum="e73d8897daac8f9e61a23193ed71971682715a5997cb553d809bc61a349ef03c
+checksum="7203baa60cb34e9c3569e30d1af9f874546109f9ee20ffab730a11d3a16a6d0a
  119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
 make_dirs="/var/lib/pipewire 0755 _pipewire _pipewire"
 system_accounts="_pipewire"

From 5f344d4e305700c05e36aeedee93393979e07dee Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 7 Aug 2022 12:26:05 -0700
Subject: [PATCH 2/2] pipewire: use a conffile to autostart p-m-s

It should be possible to disable autostart of pipewire-media-session and
use some other method to start it, or start wireplumber instead.

Rather than patch /usr/share/pipewire/pipewire.conf, ship a drop-in
config in /usr/share/pipewire/pipewire.conf.d that can be overridden.
---
 srcpkgs/pipewire/files/10-autostart-session-manager.conf | 6 ++++++
 srcpkgs/pipewire/template                                | 1 +
 2 files changed, 7 insertions(+)
 create mode 100644 srcpkgs/pipewire/files/10-autostart-session-manager.conf

diff --git a/srcpkgs/pipewire/files/10-autostart-session-manager.conf b/srcpkgs/pipewire/files/10-autostart-session-manager.conf
new file mode 100644
index 000000000000..d4cb814bc6e7
--- /dev/null
+++ b/srcpkgs/pipewire/files/10-autostart-session-manager.conf
@@ -0,0 +1,6 @@
+# The session manager is an essential component. It's not easy to start it
+# externally in a script since it needs the pipewire socket up, and Void
+# doesn't have a mechanism to ensure it (systemd socket activation).
+context.exec = [
+    { path = "/usr/bin/pipewire-media-session" args = "" }
+]
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index 149b719da9f7..e716757e5ccd 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -65,6 +65,7 @@ post_install() {
 	vdoc "${FILESDIR}/README.voidlinux"
 	vsv pipewire
 	vsv pipewire-pulse
+	vinstall "${FILESDIR}/10-autostart-session-manager.conf" 644 usr/share/pipewire/pipewire.conf.d
 	vmkdir usr/share/applications
 	cp "${FILESDIR}/pipewire.desktop" ${DESTDIR}/usr/share/applications/pipewire.desktop
 	cp "${FILESDIR}/pipewire-pulse.desktop" ${DESTDIR}/usr/share/applications/pipewire-pulse.desktop

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

* Re: pipewire: use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
  2022-08-17 19:20 ` [PR PATCH] [Updated] " CameronNemo
@ 2022-08-20 22:22 ` paper42
  2022-08-21  6:03 ` CameronNemo
                   ` (70 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: paper42 @ 2022-08-20 22:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 330 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1221418565

Comment:
How well does this work if someone has their own /etc/pipewire/pipewire.conf with wireplumber in `context.exec` there? Does this PR make it run both wireplumber and pipewire-media-session?

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

* Re: pipewire: use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
  2022-08-17 19:20 ` [PR PATCH] [Updated] " CameronNemo
  2022-08-20 22:22 ` pipewire: use a drop-in " paper42
@ 2022-08-21  6:03 ` CameronNemo
  2022-08-21  6:06 ` CameronNemo
                   ` (69 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-08-21  6:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 168 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1221475343

Comment:
Yeah I think it would.

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

* Re: pipewire: use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (2 preceding siblings ...)
  2022-08-21  6:03 ` CameronNemo
@ 2022-08-21  6:06 ` CameronNemo
  2022-08-21  6:07 ` CameronNemo
                   ` (68 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-08-21  6:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1221475343

Comment:
Yeah I think it would.

I am planning to send a PR for the docs repository, but the Void recommended method of running wireplumber would be to add a drop in with the same name that masks the default pipewire-media-session one.

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

* Re: pipewire: use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (3 preceding siblings ...)
  2022-08-21  6:06 ` CameronNemo
@ 2022-08-21  6:07 ` CameronNemo
  2022-09-05 18:57 ` [PR PATCH] [Updated] " CameronNemo
                   ` (67 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-08-21  6:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 571 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1221475343

Comment:
Yeah I think it would.

I am planning to send a PR for the docs repository, but the Void recommended method of running wireplumber would be to add a drop in with the same name that masks the default pipewire-media-session one.

I am waiting on the next pipewire release for this to work correctly, though. The whole masking part does not happen without some changes to the config handling that were made a short time ago.

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

* Re: [PR PATCH] [Updated] pipewire: use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (4 preceding siblings ...)
  2022-08-21  6:07 ` CameronNemo
@ 2022-09-05 18:57 ` CameronNemo
  2022-09-08  3:06 ` pipewire: update to 0.3.57, " ericonr
                   ` (66 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-09-05 18:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1554 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages pipewire-session
https://github.com/void-linux/void-packages/pull/38521

pipewire: use a drop-in to autostart p-m-s
It should be possible to disable autostart of pipewire-media-session and
use some other method to start it, or start wireplumber instead.

Rather than patch /usr/share/pipewire/pipewire.conf, ship a drop-in
config in /usr/share/pipewire/pipewire.conf.d that can be overridden.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/38521.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pipewire-session-38521.patch --]
[-- Type: text/x-diff, Size: 6841 bytes --]

From 1f22b997e2457199fa2bad7faaa305297c0abc5a Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Wed, 17 Aug 2022 12:09:49 -0700
Subject: [PATCH 1/2] pipewire: update to 0.3.57

---
 ...15d0c0c66b64c7198a34ad3c4b43445667d2.patch | 22 -------------------
 .../patches/autostart-media-session.patch     | 17 --------------
 ...fd46262b1a90ad94f86e34216a1a886d9463.patch | 22 -------------------
 srcpkgs/pipewire/template                     |  4 ++--
 4 files changed, 2 insertions(+), 63 deletions(-)
 delete mode 100644 srcpkgs/pipewire/patches/aaa015d0c0c66b64c7198a34ad3c4b43445667d2.patch
 delete mode 100644 srcpkgs/pipewire/patches/autostart-media-session.patch
 delete mode 100644 srcpkgs/pipewire/patches/f857fd46262b1a90ad94f86e34216a1a886d9463.patch

diff --git a/srcpkgs/pipewire/patches/aaa015d0c0c66b64c7198a34ad3c4b43445667d2.patch b/srcpkgs/pipewire/patches/aaa015d0c0c66b64c7198a34ad3c4b43445667d2.patch
deleted file mode 100644
index f9117fdf638e..000000000000
--- a/srcpkgs/pipewire/patches/aaa015d0c0c66b64c7198a34ad3c4b43445667d2.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From aaa015d0c0c66b64c7198a34ad3c4b43445667d2 Mon Sep 17 00:00:00 2001
-From: Wim Taymans <wtaymans@redhat.com>
-Date: Tue, 19 Jul 2022 13:06:52 +0200
-Subject: [PATCH] avb: fix compilation on big endian
-
----
- spa/plugins/avb/avbtp/packets.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/spa/plugins/avb/avbtp/packets.h b/spa/plugins/avb/avbtp/packets.h
-index 7047456bf..3d4a652ee 100644
---- a/spa/plugins/avb/avbtp/packets.h
-+++ b/spa/plugins/avb/avbtp/packets.h
-@@ -116,7 +116,7 @@ struct spa_avbtp_packet_aaf {
- 	unsigned gv:1;
- 	unsigned tv:1;
- 
--	uint8_t seq_number;
-+	uint8_t seq_num;
- 
- 	unsigned _r2:7;
- 	unsigned tu:1;
diff --git a/srcpkgs/pipewire/patches/autostart-media-session.patch b/srcpkgs/pipewire/patches/autostart-media-session.patch
deleted file mode 100644
index c5753a3719c2..000000000000
--- a/srcpkgs/pipewire/patches/autostart-media-session.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Upstream's config does not autostart pipewire-media-session anymore, which
-is an essential component. It's not easy to start it externally in a script
-since it needs the pipewire socket up, and Void doesn't have a mechanism to
-ensure it (systemd socket activation).
-diff --git a/src/daemon/pipewire.conf.in.orig b/src/daemon/pipewire.conf.in
-index 95632c2..ab0b097 100644
---- a/src/daemon/pipewire.conf.in.orig
-+++ b/src/daemon/pipewire.conf.in
-@@ -236,7 +236,7 @@
-     # but it is better to start it as a systemd service.
-     # Run the session manager with -h for options.
-     #
--    @sm_comment@{ path = "@session_manager_path@" args = "@session_manager_args@" }
-+    { path = "@session_manager_path@" args = "@session_manager_args@" }
-     #
-     # You can optionally start the pulseaudio-server here as well
-     # but it is better to start it as a systemd service.
diff --git a/srcpkgs/pipewire/patches/f857fd46262b1a90ad94f86e34216a1a886d9463.patch b/srcpkgs/pipewire/patches/f857fd46262b1a90ad94f86e34216a1a886d9463.patch
deleted file mode 100644
index eeab0079253f..000000000000
--- a/srcpkgs/pipewire/patches/f857fd46262b1a90ad94f86e34216a1a886d9463.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From f857fd46262b1a90ad94f86e34216a1a886d9463 Mon Sep 17 00:00:00 2001
-From: Wim Taymans <wtaymans@redhat.com>
-Date: Tue, 19 Jul 2022 14:07:16 +0200
-Subject: [PATCH] avb: fix compilation on big endian
-
----
- src/modules/module-avb/iec61883.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/modules/module-avb/iec61883.h b/src/modules/module-avb/iec61883.h
-index d3b3a7daa..6ca8724ad 100644
---- a/src/modules/module-avb/iec61883.h
-+++ b/src/modules/module-avb/iec61883.h
-@@ -37,7 +37,7 @@ struct avb_packet_iec61883 {
- 	unsigned gv:1;
- 	unsigned tv:1;
- 
--	uint8_t seq_number;
-+	uint8_t seq_num;
- 
- 	unsigned _r2:7;
- 	unsigned tu:1;
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index 220bf2f68b6b..e3ad5d89c5ab 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -1,6 +1,6 @@
 # Template file for 'pipewire'
 pkgname=pipewire
-version=0.3.56
+version=0.3.57
 revision=1
 _pms_version=0.4.1
 build_style=meson
@@ -34,7 +34,7 @@ homepage="https://pipewire.org/"
 changelog="https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/NEWS"
 distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz
  https://gitlab.freedesktop.org/pipewire/media-session/-/archive/${_pms_version}/media-session-${_pms_version}.tar.gz"
-checksum="e73d8897daac8f9e61a23193ed71971682715a5997cb553d809bc61a349ef03c
+checksum="2cda522dffb26d806e073c5c2631884bec102f9227f23ac8e2bf06d0d8a97522
  119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
 make_dirs="/var/lib/pipewire 0755 _pipewire _pipewire"
 system_accounts="_pipewire"

From add2734380f473d9ef1ebad7c2577d7809250166 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 7 Aug 2022 12:26:05 -0700
Subject: [PATCH 2/2] pipewire: use a conffile to autostart p-m-s

It should be possible to disable autostart of pipewire-media-session and
use some other method to start it, or start wireplumber instead.

Rather than patch /usr/share/pipewire/pipewire.conf, ship a drop-in
config in /usr/share/pipewire/pipewire.conf.d that can be overridden.
---
 srcpkgs/pipewire/files/10-autostart-session-manager.conf | 6 ++++++
 srcpkgs/pipewire/template                                | 1 +
 2 files changed, 7 insertions(+)
 create mode 100644 srcpkgs/pipewire/files/10-autostart-session-manager.conf

diff --git a/srcpkgs/pipewire/files/10-autostart-session-manager.conf b/srcpkgs/pipewire/files/10-autostart-session-manager.conf
new file mode 100644
index 000000000000..d4cb814bc6e7
--- /dev/null
+++ b/srcpkgs/pipewire/files/10-autostart-session-manager.conf
@@ -0,0 +1,6 @@
+# The session manager is an essential component. It's not easy to start it
+# externally in a script since it needs the pipewire socket up, and Void
+# doesn't have a mechanism to ensure it (systemd socket activation).
+context.exec = [
+    { path = "/usr/bin/pipewire-media-session" args = "" }
+]
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index e3ad5d89c5ab..d05baf9ed852 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -63,6 +63,7 @@ post_install() {
 	vdoc "${FILESDIR}/README.voidlinux"
 	vsv pipewire
 	vsv pipewire-pulse
+	vinstall "${FILESDIR}/10-autostart-session-manager.conf" 644 usr/share/pipewire/pipewire.conf.d
 	vmkdir usr/share/applications
 	cp "${FILESDIR}/pipewire.desktop" ${DESTDIR}/usr/share/applications/pipewire.desktop
 	cp "${FILESDIR}/pipewire-pulse.desktop" ${DESTDIR}/usr/share/applications/pipewire-pulse.desktop

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (5 preceding siblings ...)
  2022-09-05 18:57 ` [PR PATCH] [Updated] " CameronNemo
@ 2022-09-08  3:06 ` ericonr
  2022-09-08  5:28 ` CameronNemo
                   ` (65 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: ericonr @ 2022-09-08  3:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1240161638

Comment:
How wonky do things get with both wireplumber and p-m-s running?

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (6 preceding siblings ...)
  2022-09-08  3:06 ` pipewire: update to 0.3.57, " ericonr
@ 2022-09-08  5:28 ` CameronNemo
  2022-09-08  5:30 ` CameronNemo
                   ` (64 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-09-08  5:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1240238064

Comment:
Looks like one just exits from what I can tell.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (7 preceding siblings ...)
  2022-09-08  5:28 ` CameronNemo
@ 2022-09-08  5:30 ` CameronNemo
  2022-09-20 12:21 ` CameronNemo
                   ` (63 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-09-08  5:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1240238064

Comment:
Looks like pipewire exits from what I can tell.

```
[W][00091.300132] ms.core      | [ media-session.c: 2211 core_error()] error id:29 seq:2024 res:-16 (Device or resource busy): Start error: Dispositivo o recurso ocupado
```

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (8 preceding siblings ...)
  2022-09-08  5:30 ` CameronNemo
@ 2022-09-20 12:21 ` CameronNemo
  2022-09-20 12:29 ` Duncaen
                   ` (62 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-09-20 12:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1252276208

Comment:
Any further comments on this? Using wireplumber on Void was never documented or particularly convenient. This pair of PRs would change that situation.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (9 preceding siblings ...)
  2022-09-20 12:21 ` CameronNemo
@ 2022-09-20 12:29 ` Duncaen
  2022-09-20 18:20 ` CameronNemo
                   ` (61 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: Duncaen @ 2022-09-20 12:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1252284787

Comment:
I'm unsure about changing the config file setup, this is going to break peoples config and there is going to be a big breaking change of wireplumber configuration in the near future.

I think I would rather just update pipewire now and then reserve a better configuration setup for when wireplumber is to change compatibility.

Another thing is that `media-session` is basically abandoned and broken so actually switching to wireplumber is something that would also be a good breaking point.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (10 preceding siblings ...)
  2022-09-20 12:29 ` Duncaen
@ 2022-09-20 18:20 ` CameronNemo
  2022-09-20 18:24 ` Duncaen
                   ` (60 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-09-20 18:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1252742129

Comment:
umm. tbh I am really not following your thought process there. p-m-s is broken/abandoned, so continue to ship it by default and make it really inconvenient and hacky to use wireplumber?? I can shift the default to wireplumber in this PR to just get that break over with. I know the wireplumber config will change, but this PR does not touch wireplumber configs. Do most users need to adjust the wireplumber config? On both my computers it just worked OOTB.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (11 preceding siblings ...)
  2022-09-20 18:20 ` CameronNemo
@ 2022-09-20 18:24 ` Duncaen
  2022-09-20 18:30 ` Duncaen
                   ` (59 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: Duncaen @ 2022-09-20 18:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1252747041

Comment:
No I'm just saying that this is not the only breaking change and we should probably try to combine them. My point is there is no reason to keep pipewire two version behind until we come up with a good plan for configuration, default and future of wireplumber as default for pipewire since that introduces a build circle if we add it as dependency.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (12 preceding siblings ...)
  2022-09-20 18:24 ` Duncaen
@ 2022-09-20 18:30 ` Duncaen
  2022-09-20 18:32 ` Duncaen
                   ` (58 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: Duncaen @ 2022-09-20 18:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1252747041

Comment:
No I'm just saying that this is not the only breaking change and we should probably try to combine them. My point is there is no reason to keep pipewire two version behind until we come up with a good plan for configuration, default and future of wireplumber as default for pipewire since that introduces a build cycle if we add it as dependency.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (13 preceding siblings ...)
  2022-09-20 18:30 ` Duncaen
@ 2022-09-20 18:32 ` Duncaen
  2022-09-20 18:35 ` Duncaen
                   ` (57 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: Duncaen @ 2022-09-20 18:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1252747041

Comment:
No I'm just saying that this is not the only breaking change and we should probably try to combine them. My point is there is no reason to keep pipewire two version behind until we come up with a good plan for configuration, default and future of wireplumber as default for pipewire since that introduces a build cycle if we add it as dependency.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (14 preceding siblings ...)
  2022-09-20 18:32 ` Duncaen
@ 2022-09-20 18:35 ` Duncaen
  2022-09-20 18:53 ` CameronNemo
                   ` (56 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: Duncaen @ 2022-09-20 18:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1252759763

Comment:
> umm. tbh I am really not following your thought process there. p-m-s is broken/abandoned, so continue to ship it by default and make it really inconvenient and hacky to use wireplumber??

We are only in this situation because we diverted from the default configuration. Adding the new mechanism diverts more and will introduce issues for anyone who already just masked the default configuration.

There will be more breaking changes in the future as we should switch to wireplumber by default and we can't just simply switch over because it introduces a build cycle.

I don't think there is a reason to rush a change that breaks the configuration by combining it with the pipewire update.

It would probably be cleaner to revert back to the default configuration that does not start a session manager and then document that users can add a drop in configuration file, like shipped in this PR to start a session manager through pipewire.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (15 preceding siblings ...)
  2022-09-20 18:35 ` Duncaen
@ 2022-09-20 18:53 ` CameronNemo
  2022-09-20 21:24 ` CameronNemo
                   ` (55 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-09-20 18:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 873 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1252776949

Comment:
>I don't think there is a reason to rush a change that breaks the configuration by combining it with the pipewire update.

Ok that was not really my intention to bundle, just the way I wanted to do it needed changes upstream so I had to wait for the update.

>It would probably be cleaner to revert back to the default configuration that does not start a session manager and then document that users can add a drop in configuration file, like shipped in this PR to start a session manager through pipewire.

Yeah that would work fine for me. I use a service manager to supervise wireplumber. But that way would break *everyone* rather than just the subset who overrode the XBPS-provided default config to use wireplumber.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (16 preceding siblings ...)
  2022-09-20 18:53 ` CameronNemo
@ 2022-09-20 21:24 ` CameronNemo
  2022-12-09 22:40 ` leahneukirchen
                   ` (54 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-09-20 21:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1252929406

Comment:
Driven by discussion in IRC, my current plan is to:

* split pipewire-media-session into a subpackage and add an XDG autostart file for users to enable
* add XDG autostart file to wireplumber package and add conflicts for pipewire-media-session
* document the above in pipewire documentation section, including:
  * need to install one and only one session manager
  * how to enable the session manager (XDG autostart vs. in config)

I will likely need to wait until October until I have time to refresh this PR. In the meantime please do not hesitate to separately update pipewire, I will need to rebase my branch regardless so it should be no issue.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (17 preceding siblings ...)
  2022-09-20 21:24 ` CameronNemo
@ 2022-12-09 22:40 ` leahneukirchen
  2022-12-09 22:53 ` JamiKettunen
                   ` (53 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: leahneukirchen @ 2022-12-09 22:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1344855794

Comment:
> split pipewire-media-session into a subpackage

I just ran into this issue, :+1: for me on this approach.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (18 preceding siblings ...)
  2022-12-09 22:40 ` leahneukirchen
@ 2022-12-09 22:53 ` JamiKettunen
  2022-12-09 22:54 ` JamiKettunen
                   ` (52 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: JamiKettunen @ 2022-12-09 22:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

New comment by JamiKettunen on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1344863007

Comment:
I've also been using `wireplumber` with some manual config trickery, not forcing `pipewire-media-session` on users by default would be good imo. Also this probably should be rebased and the update commit dropped so this can focus on the main issue at hand ^^

Keep in mind https://github.com/void-linux/void-packages/commit/4c572dce1af824dc1d3786410b955ca2a8d132df added `configure_args+=" -Dsession-managers=media-session"` which likely has to be touched now.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (19 preceding siblings ...)
  2022-12-09 22:53 ` JamiKettunen
@ 2022-12-09 22:54 ` JamiKettunen
  2022-12-09 23:04 ` JamiKettunen
                   ` (51 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: JamiKettunen @ 2022-12-09 22:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 612 bytes --]

New comment by JamiKettunen on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1344863007

Comment:
I've also been using `wireplumber` with some manual config trickery, not forcing `pipewire-media-session` on users by default would be good imo. Also this probably should be rebased and the update commit dropped so this PR can focus on the main issue at hand ^^

Keep in mind https://github.com/void-linux/void-packages/commit/4c572dce1af824dc1d3786410b955ca2a8d132df added `configure_args+=" -Dsession-managers=media-session"` which likely has to be touched now.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (20 preceding siblings ...)
  2022-12-09 22:54 ` JamiKettunen
@ 2022-12-09 23:04 ` JamiKettunen
  2022-12-10  3:25 ` CameronNemo
                   ` (50 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: JamiKettunen @ 2022-12-09 23:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

New comment by JamiKettunen on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1344863007

Comment:
I've also been using `wireplumber` with some manual config trickery, not forcing `pipewire-media-session` on users by default would be good imo. Also this probably should be rebased and the update commit dropped so this PR can focus on the main issue at hand ^^

Keep in mind https://github.com/void-linux/void-packages/commit/4c572dce1af824dc1d3786410b955ca2a8d132df added `configure_args+=" -Dsession-managers=media-session"` which likely has to be touched here.

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

* Re: pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (21 preceding siblings ...)
  2022-12-09 23:04 ` JamiKettunen
@ 2022-12-10  3:25 ` CameronNemo
  2022-12-10  6:58 ` [PR PATCH] [Updated] " CameronNemo
                   ` (49 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-12-10  3:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1345010100

Comment:
@JamiKettunen thanks for the notes

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

* Re: [PR PATCH] [Updated] pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (22 preceding siblings ...)
  2022-12-10  3:25 ` CameronNemo
@ 2022-12-10  6:58 ` CameronNemo
  2022-12-10  7:10 ` [PR PATCH] [Updated] [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default CameronNemo
                   ` (48 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-12-10  6:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1572 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages pipewire-session
https://github.com/void-linux/void-packages/pull/38521

pipewire: update to 0.3.57, use a drop-in to autostart p-m-s
It should be possible to disable autostart of pipewire-media-session and
use some other method to start it, or start wireplumber instead.

Rather than patch /usr/share/pipewire/pipewire.conf, ship a drop-in
config in /usr/share/pipewire/pipewire.conf.d that can be overridden.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/38521.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pipewire-session-38521.patch --]
[-- Type: text/x-diff, Size: 9262 bytes --]

From b4793c19e4bb77456da1ecfe421f6f2efe90e8ed Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 7 Aug 2022 12:26:05 -0700
Subject: [PATCH 1/3] pipewire: remove pipewire-media-session

Wireplumber should be used by most users instead.
pipewire-media-session will be re-added as a standalone package.
---
 .../files/10-autostart-session-manager.conf   |  6 +++++
 .../patches/autostart-media-session.patch     | 17 -------------
 srcpkgs/pipewire/template                     | 24 +++++--------------
 3 files changed, 12 insertions(+), 35 deletions(-)
 create mode 100644 srcpkgs/pipewire/files/10-autostart-session-manager.conf
 delete mode 100644 srcpkgs/pipewire/patches/autostart-media-session.patch

diff --git a/srcpkgs/pipewire/files/10-autostart-session-manager.conf b/srcpkgs/pipewire/files/10-autostart-session-manager.conf
new file mode 100644
index 000000000000..d4cb814bc6e7
--- /dev/null
+++ b/srcpkgs/pipewire/files/10-autostart-session-manager.conf
@@ -0,0 +1,6 @@
+# The session manager is an essential component. It's not easy to start it
+# externally in a script since it needs the pipewire socket up, and Void
+# doesn't have a mechanism to ensure it (systemd socket activation).
+context.exec = [
+    { path = "/usr/bin/pipewire-media-session" args = "" }
+]
diff --git a/srcpkgs/pipewire/patches/autostart-media-session.patch b/srcpkgs/pipewire/patches/autostart-media-session.patch
deleted file mode 100644
index c5753a3719c2..000000000000
--- a/srcpkgs/pipewire/patches/autostart-media-session.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Upstream's config does not autostart pipewire-media-session anymore, which
-is an essential component. It's not easy to start it externally in a script
-since it needs the pipewire socket up, and Void doesn't have a mechanism to
-ensure it (systemd socket activation).
-diff --git a/src/daemon/pipewire.conf.in.orig b/src/daemon/pipewire.conf.in
-index 95632c2..ab0b097 100644
---- a/src/daemon/pipewire.conf.in.orig
-+++ b/src/daemon/pipewire.conf.in
-@@ -236,7 +236,7 @@
-     # but it is better to start it as a systemd service.
-     # Run the session manager with -h for options.
-     #
--    @sm_comment@{ path = "@session_manager_path@" args = "@session_manager_args@" }
-+    { path = "@session_manager_path@" args = "@session_manager_args@" }
-     #
-     # You can optionally start the pulseaudio-server here as well
-     # but it is better to start it as a systemd service.
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index 8edba430cf2d..6b074100cacc 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -1,10 +1,7 @@
 # Template file for 'pipewire'
 pkgname=pipewire
 version=0.3.61
-revision=1
-_pms_version=0.4.1
-create_wrksrc=yes
-build_wrksrc="${pkgname}-${version}"
+revision=2
 build_style=meson
 configure_args="
  --auto-features=enabled
@@ -16,9 +13,8 @@ configure_args="
  -Dsystemd=disabled
  -Dudevrulesdir=/usr/lib/udev/rules.d
  -Dvulkan=enabled
- -Dmedia-session:systemd=disabled
  -Dbluez5-codec-lc3plus=disabled
- -Dsession-managers=media-session
+ -Dsession-managers=[]
 "
 hostmakedepends="doxygen graphviz pkg-config python3-docutils gettext"
 makedepends="$(vopt_if sdl2 SDL2-devel) gst-plugins-base1-devel jack-devel
@@ -35,13 +31,10 @@ maintainer="Stefano Ragni <stefano.ragni@outlook.com>"
 license="MIT"
 homepage="https://pipewire.org/"
 changelog="https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/NEWS"
-distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz
- https://gitlab.freedesktop.org/pipewire/media-session/-/archive/${_pms_version}/media-session-${_pms_version}.tar.gz"
-checksum="9cbc7048808c693cb7952c4b446e9ffbb91d1b34f057c340d83ae4e6d2d08f1d
- 119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
+distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz"
+checksum="9cbc7048808c693cb7952c4b446e9ffbb91d1b34f057c340d83ae4e6d2d08f1d"
 make_dirs="/var/lib/pipewire 0755 _pipewire _pipewire"
 system_accounts="_pipewire"
-patch_args="-Np1 --directory=${build_wrksrc}"
 
 build_options="sdl2"
 
@@ -58,18 +51,13 @@ else
 	configure_args+=" -Dbluez5-codec-ldac=disabled"
 fi
 
-post_extract() {
-	mv media-session-${_pms_version} ${build_wrksrc}/subprojects/media-session
-}
-
 post_install() {
 	vlicense LICENSE
 	vdoc "${FILESDIR}/README.voidlinux"
 	vsv pipewire
 	vsv pipewire-pulse
-	vmkdir usr/share/applications
-	cp "${FILESDIR}/pipewire.desktop" ${DESTDIR}/usr/share/applications/pipewire.desktop
-	cp "${FILESDIR}/pipewire-pulse.desktop" ${DESTDIR}/usr/share/applications/pipewire-pulse.desktop
+	vinstall "${FILESDIR}/pipewire.desktop" 644 usr/share/applications
+	vinstall "${FILESDIR}/pipewire-pulse.desktop" 644 usr/share/applications
 }
 
 libpipewire_package() {

From 4a17e1c24e40f665c2b7458f3ec6742486ee68de Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Fri, 9 Dec 2022 21:24:37 -0800
Subject: [PATCH 2/3] New package: pipewire-media-session-0.4.1

---
 .../files/pipewire-media-session.desktop      |  8 +++++
 srcpkgs/pipewire-media-session/template       | 30 +++++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop
 create mode 100644 srcpkgs/pipewire-media-session/template

diff --git a/srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop b/srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop
new file mode 100644
index 000000000000..f420d8ee3db1
--- /dev/null
+++ b/srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=PipeWire Media Session
+Comment=Start the example PipeWire Media Session
+Icon=pipewire
+Exec=pipewire-media-session
+Terminal=false
+Type=Application
+NoDisplay=true
diff --git a/srcpkgs/pipewire-media-session/template b/srcpkgs/pipewire-media-session/template
new file mode 100644
index 000000000000..238146437d97
--- /dev/null
+++ b/srcpkgs/pipewire-media-session/template
@@ -0,0 +1,30 @@
+# Template file for 'pipewire-media-session'
+pkgname=pipewire-media-session
+version=0.4.1
+revision=1
+wrksrc="media-session-${version}"
+build_style=meson
+configure_args="
+ --auto-features=enabled
+ -Db_ndebug=false
+ -Ddocs=enabled
+ -Dsystemd=disabled
+"
+hostmakedepends="doxygen pkg-config gettext"
+makedepends="dbus-devel pipewire-devel alsa-lib-devel jack-devel
+ pulseaudio-devel"
+depends="pipewire>=0.3.61_2"
+checkdepends="pipewire"
+short_desc="Example session manager for PipeWire"
+maintainer="Stefano Ragni <stefano.ragni@outlook.com>"
+license="MIT"
+homepage="https://pipewire.org/"
+changelog="https://gitlab.freedesktop.org/pipewire/media-session/-/raw/master/NEWS"
+distfiles="https://gitlab.freedesktop.org/pipewire/media-session/-/archive/${version}/media-session-${version}.tar.gz"
+checksum="119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
+conflicts="wireplumber"
+
+post_install() {
+	vlicense LICENSE
+	vinstall "${FILESDIR}/pipewire-media-session.desktop" 644 usr/share/applications
+}

From 4b698e3777d04e50a4b101ab5243674be4eadf52 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Fri, 9 Dec 2022 21:38:10 -0800
Subject: [PATCH 3/3] wireplumber: depend pipewire, conflict p-m-s

---
 srcpkgs/wireplumber/files/wireplumber.desktop | 8 ++++++++
 srcpkgs/wireplumber/template                  | 5 ++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/wireplumber/files/wireplumber.desktop

diff --git a/srcpkgs/wireplumber/files/wireplumber.desktop b/srcpkgs/wireplumber/files/wireplumber.desktop
new file mode 100644
index 000000000000..38a3b2101844
--- /dev/null
+++ b/srcpkgs/wireplumber/files/wireplumber.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=WirePlumber
+Comment=Start WirePlumber
+Icon=pipewire
+Exec=wireplumber
+Terminal=false
+Type=Application
+NoDisplay=true
diff --git a/srcpkgs/wireplumber/template b/srcpkgs/wireplumber/template
index 9b54c0434be9..de09acc0e3c2 100644
--- a/srcpkgs/wireplumber/template
+++ b/srcpkgs/wireplumber/template
@@ -1,12 +1,13 @@
 # Template file for 'wireplumber'
 pkgname=wireplumber
 version=0.4.12
-revision=2
+revision=3
 build_style=meson
 build_helper=gir
 configure_args="-Dintrospection=enabled -Dsystem-lua=true"
 hostmakedepends="pkg-config glib-devel python3-lxml doxygen gettext"
 makedepends="libglib-devel pipewire-devel lua54-devel"
+depends="pipewire"
 checkdepends="pipewire dbus"
 short_desc="Session and policy manager implementation for PipeWire"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -15,10 +16,12 @@ homepage="https://pipewire.pages.freedesktop.org/wireplumber"
 changelog="https://gitlab.freedesktop.org/pipewire/wireplumber/-/raw/master/NEWS.rst"
 distfiles="https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$version/wireplumber-$version.tar.gz"
 checksum=afece031dd2d1a5f535de29e21ea94a1b261d3da62b5dbb977e19668f4453b27
+conflicts="pipewire-media-session"
 
 post_install() {
 	vlicense LICENSE
 	vsv wireplumber
+	vinstall "${FILESDIR}/wireplumber.desktop" 644 usr/share/applications
 }
 
 wireplumber-devel_package() {

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

* Re: [PR PATCH] [Updated] [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (23 preceding siblings ...)
  2022-12-10  6:58 ` [PR PATCH] [Updated] " CameronNemo
@ 2022-12-10  7:10 ` CameronNemo
  2022-12-10  7:16 ` CameronNemo
                   ` (47 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-12-10  7:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2093 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages pipewire-session
https://github.com/void-linux/void-packages/pull/38521

[RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
This proposes major changes to the handling of PipeWire session managers.

The PipeWire developers recommend the use of WirePlumber, but this is inconvenient with the current pipewire package.
In this PR I aim to improve the UX of void pipewire users by:

* splitting pipewire-media-session into a standalone package
* adding conflicts between pipewire-media-session and wireplumber

**The most immediate implication is that Void users who are using the default configuration (pipewire-media-session) and upgrade to this new pipewire version without further intervention will have their setups broken.** There will be no session manager broken and pipewire will not function correctly. A news post will likely be needed to ensure that users are well informed of how to proceed.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/38521.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pipewire-session-38521.patch --]
[-- Type: text/x-diff, Size: 8514 bytes --]

From 6050d56b21efe2d969b74260dca0073c43ad6eea Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 7 Aug 2022 12:26:05 -0700
Subject: [PATCH 1/3] pipewire: remove pipewire-media-session

Wireplumber should be used by most users instead.
pipewire-media-session will be re-added as a standalone package.
---
 .../patches/autostart-media-session.patch     | 17 -------------
 srcpkgs/pipewire/template                     | 24 +++++--------------
 2 files changed, 6 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/pipewire/patches/autostart-media-session.patch

diff --git a/srcpkgs/pipewire/patches/autostart-media-session.patch b/srcpkgs/pipewire/patches/autostart-media-session.patch
deleted file mode 100644
index c5753a3719c2..000000000000
--- a/srcpkgs/pipewire/patches/autostart-media-session.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Upstream's config does not autostart pipewire-media-session anymore, which
-is an essential component. It's not easy to start it externally in a script
-since it needs the pipewire socket up, and Void doesn't have a mechanism to
-ensure it (systemd socket activation).
-diff --git a/src/daemon/pipewire.conf.in.orig b/src/daemon/pipewire.conf.in
-index 95632c2..ab0b097 100644
---- a/src/daemon/pipewire.conf.in.orig
-+++ b/src/daemon/pipewire.conf.in
-@@ -236,7 +236,7 @@
-     # but it is better to start it as a systemd service.
-     # Run the session manager with -h for options.
-     #
--    @sm_comment@{ path = "@session_manager_path@" args = "@session_manager_args@" }
-+    { path = "@session_manager_path@" args = "@session_manager_args@" }
-     #
-     # You can optionally start the pulseaudio-server here as well
-     # but it is better to start it as a systemd service.
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index 8edba430cf2d..6b074100cacc 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -1,10 +1,7 @@
 # Template file for 'pipewire'
 pkgname=pipewire
 version=0.3.61
-revision=1
-_pms_version=0.4.1
-create_wrksrc=yes
-build_wrksrc="${pkgname}-${version}"
+revision=2
 build_style=meson
 configure_args="
  --auto-features=enabled
@@ -16,9 +13,8 @@ configure_args="
  -Dsystemd=disabled
  -Dudevrulesdir=/usr/lib/udev/rules.d
  -Dvulkan=enabled
- -Dmedia-session:systemd=disabled
  -Dbluez5-codec-lc3plus=disabled
- -Dsession-managers=media-session
+ -Dsession-managers=[]
 "
 hostmakedepends="doxygen graphviz pkg-config python3-docutils gettext"
 makedepends="$(vopt_if sdl2 SDL2-devel) gst-plugins-base1-devel jack-devel
@@ -35,13 +31,10 @@ maintainer="Stefano Ragni <stefano.ragni@outlook.com>"
 license="MIT"
 homepage="https://pipewire.org/"
 changelog="https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/NEWS"
-distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz
- https://gitlab.freedesktop.org/pipewire/media-session/-/archive/${_pms_version}/media-session-${_pms_version}.tar.gz"
-checksum="9cbc7048808c693cb7952c4b446e9ffbb91d1b34f057c340d83ae4e6d2d08f1d
- 119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
+distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz"
+checksum="9cbc7048808c693cb7952c4b446e9ffbb91d1b34f057c340d83ae4e6d2d08f1d"
 make_dirs="/var/lib/pipewire 0755 _pipewire _pipewire"
 system_accounts="_pipewire"
-patch_args="-Np1 --directory=${build_wrksrc}"
 
 build_options="sdl2"
 
@@ -58,18 +51,13 @@ else
 	configure_args+=" -Dbluez5-codec-ldac=disabled"
 fi
 
-post_extract() {
-	mv media-session-${_pms_version} ${build_wrksrc}/subprojects/media-session
-}
-
 post_install() {
 	vlicense LICENSE
 	vdoc "${FILESDIR}/README.voidlinux"
 	vsv pipewire
 	vsv pipewire-pulse
-	vmkdir usr/share/applications
-	cp "${FILESDIR}/pipewire.desktop" ${DESTDIR}/usr/share/applications/pipewire.desktop
-	cp "${FILESDIR}/pipewire-pulse.desktop" ${DESTDIR}/usr/share/applications/pipewire-pulse.desktop
+	vinstall "${FILESDIR}/pipewire.desktop" 644 usr/share/applications
+	vinstall "${FILESDIR}/pipewire-pulse.desktop" 644 usr/share/applications
 }
 
 libpipewire_package() {

From aa8e3da76df875013b7b2caba8a26b17830a2592 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Fri, 9 Dec 2022 21:24:37 -0800
Subject: [PATCH 2/3] New package: pipewire-media-session-0.4.1

---
 .../files/pipewire-media-session.desktop      |  8 +++++
 srcpkgs/pipewire-media-session/template       | 29 +++++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop
 create mode 100644 srcpkgs/pipewire-media-session/template

diff --git a/srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop b/srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop
new file mode 100644
index 000000000000..f420d8ee3db1
--- /dev/null
+++ b/srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=PipeWire Media Session
+Comment=Start the example PipeWire Media Session
+Icon=pipewire
+Exec=pipewire-media-session
+Terminal=false
+Type=Application
+NoDisplay=true
diff --git a/srcpkgs/pipewire-media-session/template b/srcpkgs/pipewire-media-session/template
new file mode 100644
index 000000000000..150b40dea6e9
--- /dev/null
+++ b/srcpkgs/pipewire-media-session/template
@@ -0,0 +1,29 @@
+# Template file for 'pipewire-media-session'
+pkgname=pipewire-media-session
+version=0.4.1
+revision=1
+build_style=meson
+configure_args="
+ --auto-features=enabled
+ -Db_ndebug=false
+ -Ddocs=enabled
+ -Dsystemd=disabled
+"
+hostmakedepends="doxygen pkg-config gettext"
+makedepends="dbus-devel pipewire-devel alsa-lib-devel jack-devel
+ pulseaudio-devel"
+depends="pipewire>=0.3.61_2"
+checkdepends="pipewire"
+short_desc="Example session manager for PipeWire"
+maintainer="Stefano Ragni <stefano.ragni@outlook.com>"
+license="MIT"
+homepage="https://pipewire.org/"
+changelog="https://gitlab.freedesktop.org/pipewire/media-session/-/raw/master/NEWS"
+distfiles="https://gitlab.freedesktop.org/pipewire/media-session/-/archive/${version}/media-session-${version}.tar.gz"
+checksum="119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
+conflicts="wireplumber"
+
+post_install() {
+	vlicense LICENSE
+	vinstall "${FILESDIR}/pipewire-media-session.desktop" 644 usr/share/applications
+}

From 795552a8e6f2aa795b383e06551b6e188b511ae8 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Fri, 9 Dec 2022 21:38:10 -0800
Subject: [PATCH 3/3] wireplumber: depend pipewire, conflict p-m-s

---
 srcpkgs/wireplumber/files/wireplumber.desktop | 8 ++++++++
 srcpkgs/wireplumber/template                  | 5 ++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/wireplumber/files/wireplumber.desktop

diff --git a/srcpkgs/wireplumber/files/wireplumber.desktop b/srcpkgs/wireplumber/files/wireplumber.desktop
new file mode 100644
index 000000000000..38a3b2101844
--- /dev/null
+++ b/srcpkgs/wireplumber/files/wireplumber.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=WirePlumber
+Comment=Start WirePlumber
+Icon=pipewire
+Exec=wireplumber
+Terminal=false
+Type=Application
+NoDisplay=true
diff --git a/srcpkgs/wireplumber/template b/srcpkgs/wireplumber/template
index 9b54c0434be9..de09acc0e3c2 100644
--- a/srcpkgs/wireplumber/template
+++ b/srcpkgs/wireplumber/template
@@ -1,12 +1,13 @@
 # Template file for 'wireplumber'
 pkgname=wireplumber
 version=0.4.12
-revision=2
+revision=3
 build_style=meson
 build_helper=gir
 configure_args="-Dintrospection=enabled -Dsystem-lua=true"
 hostmakedepends="pkg-config glib-devel python3-lxml doxygen gettext"
 makedepends="libglib-devel pipewire-devel lua54-devel"
+depends="pipewire"
 checkdepends="pipewire dbus"
 short_desc="Session and policy manager implementation for PipeWire"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -15,10 +16,12 @@ homepage="https://pipewire.pages.freedesktop.org/wireplumber"
 changelog="https://gitlab.freedesktop.org/pipewire/wireplumber/-/raw/master/NEWS.rst"
 distfiles="https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$version/wireplumber-$version.tar.gz"
 checksum=afece031dd2d1a5f535de29e21ea94a1b261d3da62b5dbb977e19668f4453b27
+conflicts="pipewire-media-session"
 
 post_install() {
 	vlicense LICENSE
 	vsv wireplumber
+	vinstall "${FILESDIR}/wireplumber.desktop" 644 usr/share/applications
 }
 
 wireplumber-devel_package() {

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (24 preceding siblings ...)
  2022-12-10  7:10 ` [PR PATCH] [Updated] [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default CameronNemo
@ 2022-12-10  7:16 ` CameronNemo
  2023-01-13  7:06 ` [PR PATCH] [Updated] " CameronNemo
                   ` (46 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2022-12-10  7:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1345164903

Comment:
I have updated this branch and would appreciate review and additional testers.

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

* Re: [PR PATCH] [Updated] [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (25 preceding siblings ...)
  2022-12-10  7:16 ` CameronNemo
@ 2023-01-13  7:06 ` CameronNemo
  2023-01-13  7:41 ` CameronNemo
                   ` (45 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2023-01-13  7:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2093 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages pipewire-session
https://github.com/void-linux/void-packages/pull/38521

[RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
This proposes major changes to the handling of PipeWire session managers.

The PipeWire developers recommend the use of WirePlumber, but this is inconvenient with the current pipewire package.
In this PR I aim to improve the UX of void pipewire users by:

* splitting pipewire-media-session into a standalone package
* adding conflicts between pipewire-media-session and wireplumber

**The most immediate implication is that Void users who are using the default configuration (pipewire-media-session) and upgrade to this new pipewire version without further intervention will have their setups broken.** There will be no session manager broken and pipewire will not function correctly. A news post will likely be needed to ensure that users are well informed of how to proceed.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/38521.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pipewire-session-38521.patch --]
[-- Type: text/x-diff, Size: 8636 bytes --]

From ba3cf8bd445a1df59d067c5483f5794650d1d0d5 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 7 Aug 2022 12:26:05 -0700
Subject: [PATCH 1/3] pipewire: update to 0.3.64

Split pipewire-media-session.
Wireplumber should be used by most users instead.
pipewire-media-session will be re-added as a standalone package.
---
 .../patches/autostart-media-session.patch     | 17 -------------
 srcpkgs/pipewire/template                     | 24 +++++--------------
 2 files changed, 6 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/pipewire/patches/autostart-media-session.patch

diff --git a/srcpkgs/pipewire/patches/autostart-media-session.patch b/srcpkgs/pipewire/patches/autostart-media-session.patch
deleted file mode 100644
index c5753a3719c2..000000000000
--- a/srcpkgs/pipewire/patches/autostart-media-session.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Upstream's config does not autostart pipewire-media-session anymore, which
-is an essential component. It's not easy to start it externally in a script
-since it needs the pipewire socket up, and Void doesn't have a mechanism to
-ensure it (systemd socket activation).
-diff --git a/src/daemon/pipewire.conf.in.orig b/src/daemon/pipewire.conf.in
-index 95632c2..ab0b097 100644
---- a/src/daemon/pipewire.conf.in.orig
-+++ b/src/daemon/pipewire.conf.in
-@@ -236,7 +236,7 @@
-     # but it is better to start it as a systemd service.
-     # Run the session manager with -h for options.
-     #
--    @sm_comment@{ path = "@session_manager_path@" args = "@session_manager_args@" }
-+    { path = "@session_manager_path@" args = "@session_manager_args@" }
-     #
-     # You can optionally start the pulseaudio-server here as well
-     # but it is better to start it as a systemd service.
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index 5aa0d03d04b2..2a29ec7e3b1d 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -1,10 +1,7 @@
 # Template file for 'pipewire'
 pkgname=pipewire
-version=0.3.63
+version=0.3.64
 revision=1
-_pms_version=0.4.1
-create_wrksrc=yes
-build_wrksrc="${pkgname}-${version}"
 build_style=meson
 configure_args="
  --auto-features=enabled
@@ -16,9 +13,8 @@ configure_args="
  -Dsystemd=disabled
  -Dudevrulesdir=/usr/lib/udev/rules.d
  -Dvulkan=enabled
- -Dmedia-session:systemd=disabled
  -Dbluez5-codec-lc3plus=disabled
- -Dsession-managers=media-session
+ -Dsession-managers=[]
 "
 hostmakedepends="doxygen graphviz pkg-config python3-docutils gettext"
 makedepends="$(vopt_if sdl2 SDL2-devel) gst-plugins-base1-devel jack-devel
@@ -35,13 +31,10 @@ maintainer="Stefano Ragni <stefano.ragni@outlook.com>"
 license="MIT"
 homepage="https://pipewire.org/"
 changelog="https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/NEWS"
-distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz
- https://gitlab.freedesktop.org/pipewire/media-session/-/archive/${_pms_version}/media-session-${_pms_version}.tar.gz"
-checksum="1c10cc15ae8889ff0ff1653c088561ba6d46e3b1e5d4e5aacc9b01e6c1bb64b1
- 119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
+distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz"
+checksum=a1ab25d4ff85aefa3da3452cb41e972487b1a2da613ccd207a5d312e5c241d7c
 make_dirs="/var/lib/pipewire 0755 _pipewire _pipewire"
 system_accounts="_pipewire"
-patch_args="-Np1 --directory=${build_wrksrc}"
 
 build_options="sdl2"
 
@@ -58,18 +51,13 @@ else
 	configure_args+=" -Dbluez5-codec-ldac=disabled"
 fi
 
-post_extract() {
-	mv media-session-${_pms_version} ${build_wrksrc}/subprojects/media-session
-}
-
 post_install() {
 	vlicense LICENSE
 	vdoc "${FILESDIR}/README.voidlinux"
 	vsv pipewire
 	vsv pipewire-pulse
-	vmkdir usr/share/applications
-	cp "${FILESDIR}/pipewire.desktop" ${DESTDIR}/usr/share/applications/pipewire.desktop
-	cp "${FILESDIR}/pipewire-pulse.desktop" ${DESTDIR}/usr/share/applications/pipewire-pulse.desktop
+	vinstall "${FILESDIR}/pipewire.desktop" 644 usr/share/applications
+	vinstall "${FILESDIR}/pipewire-pulse.desktop" 644 usr/share/applications
 }
 
 libpipewire_package() {

From 7efa98f1a1477a70007c8a30704bbfefc1b56dbe Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Fri, 9 Dec 2022 21:24:37 -0800
Subject: [PATCH 2/3] New package: pipewire-media-session-0.4.1

---
 .../files/pipewire-media-session.desktop      |  8 +++++
 srcpkgs/pipewire-media-session/template       | 29 +++++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop
 create mode 100644 srcpkgs/pipewire-media-session/template

diff --git a/srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop b/srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop
new file mode 100644
index 000000000000..f420d8ee3db1
--- /dev/null
+++ b/srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=PipeWire Media Session
+Comment=Start the example PipeWire Media Session
+Icon=pipewire
+Exec=pipewire-media-session
+Terminal=false
+Type=Application
+NoDisplay=true
diff --git a/srcpkgs/pipewire-media-session/template b/srcpkgs/pipewire-media-session/template
new file mode 100644
index 000000000000..150b40dea6e9
--- /dev/null
+++ b/srcpkgs/pipewire-media-session/template
@@ -0,0 +1,29 @@
+# Template file for 'pipewire-media-session'
+pkgname=pipewire-media-session
+version=0.4.1
+revision=1
+build_style=meson
+configure_args="
+ --auto-features=enabled
+ -Db_ndebug=false
+ -Ddocs=enabled
+ -Dsystemd=disabled
+"
+hostmakedepends="doxygen pkg-config gettext"
+makedepends="dbus-devel pipewire-devel alsa-lib-devel jack-devel
+ pulseaudio-devel"
+depends="pipewire>=0.3.61_2"
+checkdepends="pipewire"
+short_desc="Example session manager for PipeWire"
+maintainer="Stefano Ragni <stefano.ragni@outlook.com>"
+license="MIT"
+homepage="https://pipewire.org/"
+changelog="https://gitlab.freedesktop.org/pipewire/media-session/-/raw/master/NEWS"
+distfiles="https://gitlab.freedesktop.org/pipewire/media-session/-/archive/${version}/media-session-${version}.tar.gz"
+checksum="119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
+conflicts="wireplumber"
+
+post_install() {
+	vlicense LICENSE
+	vinstall "${FILESDIR}/pipewire-media-session.desktop" 644 usr/share/applications
+}

From 2b47aa0e45bd78617185df00089da6c838e2c34b Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Fri, 9 Dec 2022 21:38:10 -0800
Subject: [PATCH 3/3] wireplumber: depend pipewire, conflict p-m-s

Add a dependency on pipewire
Add a conflict with pipewire-media-session
Add a Desktop Application file
---
 srcpkgs/wireplumber/files/wireplumber.desktop | 8 ++++++++
 srcpkgs/wireplumber/template                  | 5 ++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/wireplumber/files/wireplumber.desktop

diff --git a/srcpkgs/wireplumber/files/wireplumber.desktop b/srcpkgs/wireplumber/files/wireplumber.desktop
new file mode 100644
index 000000000000..38a3b2101844
--- /dev/null
+++ b/srcpkgs/wireplumber/files/wireplumber.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=WirePlumber
+Comment=Start WirePlumber
+Icon=pipewire
+Exec=wireplumber
+Terminal=false
+Type=Application
+NoDisplay=true
diff --git a/srcpkgs/wireplumber/template b/srcpkgs/wireplumber/template
index 7f901a6ab2a0..45ceda33da0f 100644
--- a/srcpkgs/wireplumber/template
+++ b/srcpkgs/wireplumber/template
@@ -1,12 +1,13 @@
 # Template file for 'wireplumber'
 pkgname=wireplumber
 version=0.4.13
-revision=1
+revision=2
 build_style=meson
 build_helper=gir
 configure_args="-Dintrospection=enabled -Dsystem-lua=true"
 hostmakedepends="pkg-config glib-devel python3-lxml doxygen gettext"
 makedepends="libglib-devel pipewire-devel lua54-devel"
+depends="pipewire"
 checkdepends="pipewire dbus"
 short_desc="Session and policy manager implementation for PipeWire"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -15,10 +16,12 @@ homepage="https://pipewire.pages.freedesktop.org/wireplumber"
 changelog="https://gitlab.freedesktop.org/pipewire/wireplumber/-/raw/master/NEWS.rst"
 distfiles="https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$version/wireplumber-$version.tar.gz"
 checksum=2c3cd85a743249d418a64b137adaea475e9d36a3bb31e4230da83458c4d99e48
+conflicts="pipewire-media-session"
 
 post_install() {
 	vlicense LICENSE
 	vsv wireplumber
+	vinstall "${FILESDIR}/wireplumber.desktop" 644 usr/share/applications
 }
 
 wireplumber-devel_package() {

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

* Re: [PR PATCH] [Updated] [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (26 preceding siblings ...)
  2023-01-13  7:06 ` [PR PATCH] [Updated] " CameronNemo
@ 2023-01-13  7:41 ` CameronNemo
  2023-01-13  8:33 ` CameronNemo
                   ` (44 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2023-01-13  7:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2093 bytes --]

There is an updated pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages pipewire-session
https://github.com/void-linux/void-packages/pull/38521

[RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
This proposes major changes to the handling of PipeWire session managers.

The PipeWire developers recommend the use of WirePlumber, but this is inconvenient with the current pipewire package.
In this PR I aim to improve the UX of void pipewire users by:

* splitting pipewire-media-session into a standalone package
* adding conflicts between pipewire-media-session and wireplumber

**The most immediate implication is that Void users who are using the default configuration (pipewire-media-session) and upgrade to this new pipewire version without further intervention will have their setups broken.** There will be no session manager broken and pipewire will not function correctly. A news post will likely be needed to ensure that users are well informed of how to proceed.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/38521.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pipewire-session-38521.patch --]
[-- Type: text/x-diff, Size: 10089 bytes --]

From ba3cf8bd445a1df59d067c5483f5794650d1d0d5 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sun, 7 Aug 2022 12:26:05 -0700
Subject: [PATCH 1/3] pipewire: update to 0.3.64

Split pipewire-media-session.
Wireplumber should be used by most users instead.
pipewire-media-session will be re-added as a standalone package.
---
 .../patches/autostart-media-session.patch     | 17 -------------
 srcpkgs/pipewire/template                     | 24 +++++--------------
 2 files changed, 6 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/pipewire/patches/autostart-media-session.patch

diff --git a/srcpkgs/pipewire/patches/autostart-media-session.patch b/srcpkgs/pipewire/patches/autostart-media-session.patch
deleted file mode 100644
index c5753a3719c2..000000000000
--- a/srcpkgs/pipewire/patches/autostart-media-session.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Upstream's config does not autostart pipewire-media-session anymore, which
-is an essential component. It's not easy to start it externally in a script
-since it needs the pipewire socket up, and Void doesn't have a mechanism to
-ensure it (systemd socket activation).
-diff --git a/src/daemon/pipewire.conf.in.orig b/src/daemon/pipewire.conf.in
-index 95632c2..ab0b097 100644
---- a/src/daemon/pipewire.conf.in.orig
-+++ b/src/daemon/pipewire.conf.in
-@@ -236,7 +236,7 @@
-     # but it is better to start it as a systemd service.
-     # Run the session manager with -h for options.
-     #
--    @sm_comment@{ path = "@session_manager_path@" args = "@session_manager_args@" }
-+    { path = "@session_manager_path@" args = "@session_manager_args@" }
-     #
-     # You can optionally start the pulseaudio-server here as well
-     # but it is better to start it as a systemd service.
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index 5aa0d03d04b2..2a29ec7e3b1d 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -1,10 +1,7 @@
 # Template file for 'pipewire'
 pkgname=pipewire
-version=0.3.63
+version=0.3.64
 revision=1
-_pms_version=0.4.1
-create_wrksrc=yes
-build_wrksrc="${pkgname}-${version}"
 build_style=meson
 configure_args="
  --auto-features=enabled
@@ -16,9 +13,8 @@ configure_args="
  -Dsystemd=disabled
  -Dudevrulesdir=/usr/lib/udev/rules.d
  -Dvulkan=enabled
- -Dmedia-session:systemd=disabled
  -Dbluez5-codec-lc3plus=disabled
- -Dsession-managers=media-session
+ -Dsession-managers=[]
 "
 hostmakedepends="doxygen graphviz pkg-config python3-docutils gettext"
 makedepends="$(vopt_if sdl2 SDL2-devel) gst-plugins-base1-devel jack-devel
@@ -35,13 +31,10 @@ maintainer="Stefano Ragni <stefano.ragni@outlook.com>"
 license="MIT"
 homepage="https://pipewire.org/"
 changelog="https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/NEWS"
-distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz
- https://gitlab.freedesktop.org/pipewire/media-session/-/archive/${_pms_version}/media-session-${_pms_version}.tar.gz"
-checksum="1c10cc15ae8889ff0ff1653c088561ba6d46e3b1e5d4e5aacc9b01e6c1bb64b1
- 119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
+distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz"
+checksum=a1ab25d4ff85aefa3da3452cb41e972487b1a2da613ccd207a5d312e5c241d7c
 make_dirs="/var/lib/pipewire 0755 _pipewire _pipewire"
 system_accounts="_pipewire"
-patch_args="-Np1 --directory=${build_wrksrc}"
 
 build_options="sdl2"
 
@@ -58,18 +51,13 @@ else
 	configure_args+=" -Dbluez5-codec-ldac=disabled"
 fi
 
-post_extract() {
-	mv media-session-${_pms_version} ${build_wrksrc}/subprojects/media-session
-}
-
 post_install() {
 	vlicense LICENSE
 	vdoc "${FILESDIR}/README.voidlinux"
 	vsv pipewire
 	vsv pipewire-pulse
-	vmkdir usr/share/applications
-	cp "${FILESDIR}/pipewire.desktop" ${DESTDIR}/usr/share/applications/pipewire.desktop
-	cp "${FILESDIR}/pipewire-pulse.desktop" ${DESTDIR}/usr/share/applications/pipewire-pulse.desktop
+	vinstall "${FILESDIR}/pipewire.desktop" 644 usr/share/applications
+	vinstall "${FILESDIR}/pipewire-pulse.desktop" 644 usr/share/applications
 }
 
 libpipewire_package() {

From b10df856861e69f16bba21ea6f9aca29b0c60b56 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Fri, 9 Dec 2022 21:24:37 -0800
Subject: [PATCH 2/3] New package: pipewire-media-session-0.4.1

---
 .../files/pipewire-media-session.desktop      |  8 ++++
 .../patches/deprecated.patch                  | 45 +++++++++++++++++++
 srcpkgs/pipewire-media-session/template       | 29 ++++++++++++
 3 files changed, 82 insertions(+)
 create mode 100644 srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop
 create mode 100644 srcpkgs/pipewire-media-session/patches/deprecated.patch
 create mode 100644 srcpkgs/pipewire-media-session/template

diff --git a/srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop b/srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop
new file mode 100644
index 000000000000..f420d8ee3db1
--- /dev/null
+++ b/srcpkgs/pipewire-media-session/files/pipewire-media-session.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=PipeWire Media Session
+Comment=Start the example PipeWire Media Session
+Icon=pipewire
+Exec=pipewire-media-session
+Terminal=false
+Type=Application
+NoDisplay=true
diff --git a/srcpkgs/pipewire-media-session/patches/deprecated.patch b/srcpkgs/pipewire-media-session/patches/deprecated.patch
new file mode 100644
index 000000000000..61b83b0d56d3
--- /dev/null
+++ b/srcpkgs/pipewire-media-session/patches/deprecated.patch
@@ -0,0 +1,45 @@
+commit d9d1fffa224d222a4adee088dd94055c9c6a6cec
+Author: Wim Taymans <wtaymans@redhat.com>
+Date:   Tue Jan 10 21:34:15 2023 +0100
+
+    enable deprecated properties
+
+diff --git a/src/policy-ep.c b/src/policy-ep.c
+index 01e442b5e..2a4f9bfc1 100644
+--- a/src/policy-ep.c
++++ b/src/policy-ep.c
+@@ -28,6 +28,8 @@
+ #include <math.h>
+ #include <time.h>
+ 
++#define PW_ENABLE_DEPRECATED
++
+ #include "config.h"
+ 
+ #include <spa/node/node.h>
+diff --git a/src/policy-node.c b/src/policy-node.c
+index eeb74a15c..25002e8dc 100644
+--- a/src/policy-node.c
++++ b/src/policy-node.c
+@@ -28,6 +28,8 @@
+ #include <math.h>
+ #include <time.h>
+ 
++#define PW_ENABLE_DEPRECATED
++
+ #include "config.h"
+ 
+ #include <spa/node/node.h>
+diff --git a/src/stream-endpoint.c b/src/stream-endpoint.c
+index 7d480aa6d..c60d06ee9 100644
+--- a/src/stream-endpoint.c
++++ b/src/stream-endpoint.c
+@@ -28,6 +28,8 @@
+ #include <math.h>
+ #include <time.h>
+ 
++#define PW_ENABLE_DEPRECATED
++
+ #include "config.h"
+ 
+ #include <spa/node/node.h>
diff --git a/srcpkgs/pipewire-media-session/template b/srcpkgs/pipewire-media-session/template
new file mode 100644
index 000000000000..150b40dea6e9
--- /dev/null
+++ b/srcpkgs/pipewire-media-session/template
@@ -0,0 +1,29 @@
+# Template file for 'pipewire-media-session'
+pkgname=pipewire-media-session
+version=0.4.1
+revision=1
+build_style=meson
+configure_args="
+ --auto-features=enabled
+ -Db_ndebug=false
+ -Ddocs=enabled
+ -Dsystemd=disabled
+"
+hostmakedepends="doxygen pkg-config gettext"
+makedepends="dbus-devel pipewire-devel alsa-lib-devel jack-devel
+ pulseaudio-devel"
+depends="pipewire>=0.3.61_2"
+checkdepends="pipewire"
+short_desc="Example session manager for PipeWire"
+maintainer="Stefano Ragni <stefano.ragni@outlook.com>"
+license="MIT"
+homepage="https://pipewire.org/"
+changelog="https://gitlab.freedesktop.org/pipewire/media-session/-/raw/master/NEWS"
+distfiles="https://gitlab.freedesktop.org/pipewire/media-session/-/archive/${version}/media-session-${version}.tar.gz"
+checksum="119c9216070b54018217552c7924f9888da270c3c4647c5e2b85ffa6b1574975"
+conflicts="wireplumber"
+
+post_install() {
+	vlicense LICENSE
+	vinstall "${FILESDIR}/pipewire-media-session.desktop" 644 usr/share/applications
+}

From 7e5d0fdaf88277a2ed6f12795aabcb9dc4cc5caa Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cam@nohom.org>
Date: Fri, 9 Dec 2022 21:38:10 -0800
Subject: [PATCH 3/3] wireplumber: depend pipewire, conflict p-m-s

Add a dependency on pipewire
Add a conflict with pipewire-media-session
Add a Desktop Application file
---
 srcpkgs/wireplumber/files/wireplumber.desktop | 8 ++++++++
 srcpkgs/wireplumber/template                  | 5 ++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/wireplumber/files/wireplumber.desktop

diff --git a/srcpkgs/wireplumber/files/wireplumber.desktop b/srcpkgs/wireplumber/files/wireplumber.desktop
new file mode 100644
index 000000000000..38a3b2101844
--- /dev/null
+++ b/srcpkgs/wireplumber/files/wireplumber.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=WirePlumber
+Comment=Start WirePlumber
+Icon=pipewire
+Exec=wireplumber
+Terminal=false
+Type=Application
+NoDisplay=true
diff --git a/srcpkgs/wireplumber/template b/srcpkgs/wireplumber/template
index 7f901a6ab2a0..45ceda33da0f 100644
--- a/srcpkgs/wireplumber/template
+++ b/srcpkgs/wireplumber/template
@@ -1,12 +1,13 @@
 # Template file for 'wireplumber'
 pkgname=wireplumber
 version=0.4.13
-revision=1
+revision=2
 build_style=meson
 build_helper=gir
 configure_args="-Dintrospection=enabled -Dsystem-lua=true"
 hostmakedepends="pkg-config glib-devel python3-lxml doxygen gettext"
 makedepends="libglib-devel pipewire-devel lua54-devel"
+depends="pipewire"
 checkdepends="pipewire dbus"
 short_desc="Session and policy manager implementation for PipeWire"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
@@ -15,10 +16,12 @@ homepage="https://pipewire.pages.freedesktop.org/wireplumber"
 changelog="https://gitlab.freedesktop.org/pipewire/wireplumber/-/raw/master/NEWS.rst"
 distfiles="https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$version/wireplumber-$version.tar.gz"
 checksum=2c3cd85a743249d418a64b137adaea475e9d36a3bb31e4230da83458c4d99e48
+conflicts="pipewire-media-session"
 
 post_install() {
 	vlicense LICENSE
 	vsv wireplumber
+	vinstall "${FILESDIR}/wireplumber.desktop" 644 usr/share/applications
 }
 
 wireplumber-devel_package() {

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (27 preceding siblings ...)
  2023-01-13  7:41 ` CameronNemo
@ 2023-01-13  8:33 ` CameronNemo
  2023-01-22 23:39 ` motorto
                   ` (43 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2023-01-13  8:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1381477926

Comment:
I have updated this branch and would appreciate review and additional testers.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (28 preceding siblings ...)
  2023-01-13  8:33 ` CameronNemo
@ 2023-01-22 23:39 ` motorto
  2023-01-23  3:58 ` oreo639
                   ` (42 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: motorto @ 2023-01-22 23:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399642642

Comment:
Tested this PR and everything works as expected (used the `pipewire-media-session`), so for me this looks good.


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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (29 preceding siblings ...)
  2023-01-22 23:39 ` motorto
@ 2023-01-23  3:58 ` oreo639
  2023-01-23  4:05 ` oreo639
                   ` (41 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  3:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 365 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399766257

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases

Also, you should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (30 preceding siblings ...)
  2023-01-23  3:58 ` oreo639
@ 2023-01-23  4:05 ` oreo639
  2023-01-23  4:15 ` oreo639
                   ` (40 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  4:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 365 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399766257

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases

Also, you should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (31 preceding siblings ...)
  2023-01-23  4:05 ` oreo639
@ 2023-01-23  4:15 ` oreo639
  2023-01-23  4:19 ` oreo639
                   ` (39 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  4:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
Also, you should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Tysm for this.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (32 preceding siblings ...)
  2023-01-23  4:15 ` oreo639
@ 2023-01-23  4:19 ` oreo639
  2023-01-23  4:20 ` oreo639
                   ` (38 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  4:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
Also, you should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases
Also, you should probably mention wireplumber in https://github.com/void-linux/void-packages/blob/7e5d0fdaf88277a2ed6f12795aabcb9dc4cc5caa/srcpkgs/pipewire/files/README.voidlinux

Tysm for this.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (33 preceding siblings ...)
  2023-01-23  4:19 ` oreo639
@ 2023-01-23  4:20 ` oreo639
  2023-01-23  4:21 ` oreo639
                   ` (37 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  4:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
Also, you should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases
You should probably mention wireplumber in https://github.com/void-linux/void-packages/blob/7e5d0fdaf88277a2ed6f12795aabcb9dc4cc5caa/srcpkgs/pipewire/files/README.voidlinux

Tysm for this.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (34 preceding siblings ...)
  2023-01-23  4:20 ` oreo639
@ 2023-01-23  4:21 ` oreo639
  2023-01-23  4:24 ` oreo639
                   ` (36 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  4:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases
Also, you should probably mention wireplumber in https://github.com/void-linux/void-packages/blob/7e5d0fdaf88277a2ed6f12795aabcb9dc4cc5caa/srcpkgs/pipewire/files/README.voidlinux

Tysm for this.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (35 preceding siblings ...)
  2023-01-23  4:21 ` oreo639
@ 2023-01-23  4:24 ` oreo639
  2023-01-23  4:31 ` oreo639
                   ` (35 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  4:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (36 preceding siblings ...)
  2023-01-23  4:24 ` oreo639
@ 2023-01-23  4:31 ` oreo639
  2023-01-23  4:34 ` oreo639
                   ` (34 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  4:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 627 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine has a pipewire-launch script, would that make sense for void:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (37 preceding siblings ...)
  2023-01-23  4:31 ` oreo639
@ 2023-01-23  4:34 ` oreo639
  2023-01-23  4:36 ` oreo639
                   ` (33 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  4:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine has a pipewire-launch script, would that make sense for void:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh

(If you are, you should probably make sure there is a timeout for the while loop though)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (38 preceding siblings ...)
  2023-01-23  4:34 ` oreo639
@ 2023-01-23  4:36 ` oreo639
  2023-01-23  4:39 ` oreo639
                   ` (32 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  4:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 693 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine has a pipewire-launch script:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh

Imo we should provide something similar. (just make sure there is a timeout in the while loop)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (39 preceding siblings ...)
  2023-01-23  4:36 ` oreo639
@ 2023-01-23  4:39 ` oreo639
  2023-01-23  5:42 ` oreo639
                   ` (31 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  4:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine has a pipewire-launch script:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh

Would it make sense to provide something similar?

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (40 preceding siblings ...)
  2023-01-23  4:39 ` oreo639
@ 2023-01-23  5:42 ` oreo639
  2023-01-23  6:08 ` oreo639
                   ` (30 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  5:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 663 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine and Gentoo provide a pipewire-launch script:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh

Would it make sense to provide something similar?

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (41 preceding siblings ...)
  2023-01-23  5:42 ` oreo639
@ 2023-01-23  6:08 ` oreo639
  2023-01-23  6:09 ` oreo639
                   ` (29 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  6:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 842 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine and Gentoo provide a pipewire-launch script:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh

I think it would be best to add something similar.
Just make sure to add a timeout like here:
https://github.com/void-linux/void-packages/blob/a279abf769ef7cab6ebb49d8c99bf774a2ff97b8/srcpkgs/mkinitcpio/files/lvm2_hook#L13-L18

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (42 preceding siblings ...)
  2023-01-23  6:08 ` oreo639
@ 2023-01-23  6:09 ` oreo639
  2023-01-23  6:42 ` oreo639
                   ` (28 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  6:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 848 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine and Gentoo provide a pipewire-launch script:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh

I think it would be best to add something similar.
Just make sure to add a timeout similar to here:
https://github.com/void-linux/void-packages/blob/a279abf769ef7cab6ebb49d8c99bf774a2ff97b8/srcpkgs/mkinitcpio/files/lvm2_hook#L13-L18

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (43 preceding siblings ...)
  2023-01-23  6:09 ` oreo639
@ 2023-01-23  6:42 ` oreo639
  2023-01-23  6:45 ` oreo639
                   ` (27 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  6:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 971 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine and Gentoo provide a pipewire-launch script:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh

I think it would be best to add something similar.
Just make sure to add a timeout similar to here:
https://github.com/void-linux/void-packages/blob/a279abf769ef7cab6ebb49d8c99bf774a2ff97b8/srcpkgs/mkinitcpio/files/lvm2_hook#L13-L18
Also, the pipewire-launch script shouldn't autostart pipewire-pulse (that can still be done using pipewire-pulse.desktop)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (44 preceding siblings ...)
  2023-01-23  6:42 ` oreo639
@ 2023-01-23  6:45 ` oreo639
  2023-01-23  6:45 ` oreo639
                   ` (26 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  6:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 975 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine and Gentoo provide a pipewire-launch script:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh

I think it would be best to add something similar.
Just make sure to add a timeout similar to here:
https://github.com/void-linux/void-packages/blob/a279abf769ef7cab6ebb49d8c99bf774a2ff97b8/srcpkgs/mkinitcpio/files/lvm2_hook#L13-L18
Also, the pipewire-launch script shouldn't autostart pipewire-pulse imo (that can still be done using pipewire-pulse.desktop)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (45 preceding siblings ...)
  2023-01-23  6:45 ` oreo639
@ 2023-01-23  6:45 ` oreo639
  2023-01-23  6:46 ` oreo639
                   ` (25 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  6:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 974 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine and Gentoo provide a pipewire-launch script:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh

Would it make sense to provide something similar?
Just make sure to add a timeout similar to here:
https://github.com/void-linux/void-packages/blob/a279abf769ef7cab6ebb49d8c99bf774a2ff97b8/srcpkgs/mkinitcpio/files/lvm2_hook#L13-L18
Also, the pipewire-launch script shouldn't autostart pipewire-pulse imo (that can still be done using pipewire-pulse.desktop)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (46 preceding siblings ...)
  2023-01-23  6:45 ` oreo639
@ 2023-01-23  6:46 ` oreo639
  2023-01-23  6:47 ` oreo639
                   ` (24 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  6:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine and Gentoo provide a pipewire-launch script:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh
https://github.com/gentoo/gentoo/blob/master/media-video/pipewire/files/gentoo-pipewire-launcher.in

Would it make sense to provide something similar?
Just make sure to add a timeout similar to here:
https://github.com/void-linux/void-packages/blob/a279abf769ef7cab6ebb49d8c99bf774a2ff97b8/srcpkgs/mkinitcpio/files/lvm2_hook#L13-L18
Also, the pipewire-launch script shouldn't autostart pipewire-pulse imo (that can still be done using pipewire-pulse.desktop)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (47 preceding siblings ...)
  2023-01-23  6:46 ` oreo639
@ 2023-01-23  6:47 ` oreo639
  2023-01-23  6:48 ` oreo639
                   ` (23 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  6:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine and Gentoo provide a pipewire-launch script:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh
https://github.com/gentoo/gentoo/blob/master/media-video/pipewire/files/gentoo-pipewire-launcher.in

Would it make sense to provide something similar?
Just make sure to add a timeout similar to here:
https://github.com/void-linux/void-packages/blob/a279abf769ef7cab6ebb49d8c99bf774a2ff97b8/srcpkgs/mkinitcpio/files/lvm2_hook#L13-L18
Although, the pipewire-launch script shouldn't autostart pipewire-pulse imo (that can still be done using pipewire-pulse.desktop)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (48 preceding siblings ...)
  2023-01-23  6:47 ` oreo639
@ 2023-01-23  6:48 ` oreo639
  2023-01-23  7:22 ` oreo639
                   ` (22 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  6:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

Also having separate desktop files causes issues since wireplumber requires pipewire to be started first.
Alpine and Gentoo provide a pipewire-launch script:
https://github.com/alpinelinux/aports/blob/master/community/pipewire/pipewire-launcher.sh
https://github.com/gentoo/gentoo/blob/master/media-video/pipewire/files/gentoo-pipewire-launcher.in

Would it make sense to provide something similar?
Just make sure to add a timeout like:
```
i=50
while [ "$(pgrep -f /usr/bin/pipewire)" = "" ] && [ $i -gt 0 ]; do
    sleep 0.2
    i=$((i - 1))
done
```
Although, the pipewire-launch script shouldn't autostart pipewire-pulse imo (that can still be done using pipewire-pulse.desktop)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (49 preceding siblings ...)
  2023-01-23  6:48 ` oreo639
@ 2023-01-23  7:22 ` oreo639
  2023-01-23  8:02 ` oreo639
                   ` (21 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  7:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (50 preceding siblings ...)
  2023-01-23  7:22 ` oreo639
@ 2023-01-23  8:02 ` oreo639
  2023-01-23  8:02 ` oreo639
                   ` (20 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  8:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The wireplumber.desktop solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried it with the content.exec solution and that works great, although imo, `make_dirs=` should probably be added for `/etc/pipewire/pipewire.conf.d/`

Aside from that :+1: 

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (51 preceding siblings ...)
  2023-01-23  8:02 ` oreo639
@ 2023-01-23  8:02 ` oreo639
  2023-01-23  8:02 ` oreo639
                   ` (19 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  8:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 738 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The wireplumber.desktop solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried it with the content.exec solution and that works great, although imo, `make_dirs=` should probably be added for `/etc/pipewire/pipewire.conf.d/`

Aside from that :+1: from me.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (52 preceding siblings ...)
  2023-01-23  8:02 ` oreo639
@ 2023-01-23  8:02 ` oreo639
  2023-01-23  8:03 ` oreo639
                   ` (18 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  8:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The `wireplumber.desktop` solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried it with the content.exec solution and that works great, although imo, `make_dirs=` should probably be added for `/etc/pipewire/pipewire.conf.d/`

Aside from that :+1: from me.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (53 preceding siblings ...)
  2023-01-23  8:02 ` oreo639
@ 2023-01-23  8:03 ` oreo639
  2023-01-23  8:04 ` oreo639
                   ` (17 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  8:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 749 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The `wireplumber.desktop` solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried wireplumber with the content.exec solution and that works great, although imo, `make_dirs=` should probably be added for `/etc/pipewire/pipewire.conf.d/`

Aside from that :+1: from me.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (54 preceding siblings ...)
  2023-01-23  8:03 ` oreo639
@ 2023-01-23  8:04 ` oreo639
  2023-01-23  8:05 ` oreo639
                   ` (16 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  8:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The `wireplumber.desktop` solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried wireplumber with the content.exec solution and that works great, although imo, `make_dirs=` should probably be added for `/etc/pipewire/pipewire.conf.d/`

Aside from that :+1: from me.
(since pipewire-media-session and wireplumber are already conflicting, we could probably provide the content.exec scripts automatically)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (55 preceding siblings ...)
  2023-01-23  8:04 ` oreo639
@ 2023-01-23  8:05 ` oreo639
  2023-01-23  8:05 ` oreo639
                   ` (15 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  8:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 917 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The `wireplumber.desktop` solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried wireplumber with the content.exec solution and that works great, although imo, `make_dirs=` should probably be added for `/etc/pipewire/pipewire.conf.d/`

Aside from that :+1: from me.
(since pipewire-media-session and wireplumber are already conflicting, we could probably provide the content.exec scripts automatically so no further setup is needed)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (56 preceding siblings ...)
  2023-01-23  8:05 ` oreo639
@ 2023-01-23  8:05 ` oreo639
  2023-01-23  8:05 ` oreo639
                   ` (14 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  8:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The `wireplumber.desktop` solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried wireplumber with the content.exec solution and that works great, although imo, `make_dirs=` should probably be added for `/etc/pipewire/pipewire.conf.d/`

Aside from that :+1: from me.
(since pipewire-media-session and wireplumber are already conflicting, we could probably provide the content.exec scripts automatically)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (57 preceding siblings ...)
  2023-01-23  8:05 ` oreo639
@ 2023-01-23  8:05 ` oreo639
  2023-01-23  8:05 ` oreo639
                   ` (13 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  8:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 898 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The `wireplumber.desktop` solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried wireplumber with the content.exec solution and that works great, although imo, `make_dirs=` should probably be added for `/etc/pipewire/pipewire.conf.d/`

Aside from that :+1: from me.
(since pipewire-media-session and wireplumber are already conflicting in this PR, we could probably provide the content.exec scripts automatically)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (58 preceding siblings ...)
  2023-01-23  8:05 ` oreo639
@ 2023-01-23  8:05 ` oreo639
  2023-01-23  8:08 ` oreo639
                   ` (12 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  8:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The `wireplumber.desktop` solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried wireplumber with the content.exec solution and that works great.

Aside from that :+1: from me.
(since pipewire-media-session and wireplumber are already conflicting in this PR, we could probably provide the content.exec scripts automatically)

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (59 preceding siblings ...)
  2023-01-23  8:05 ` oreo639
@ 2023-01-23  8:08 ` oreo639
  2023-01-23  8:09 ` oreo639
                   ` (11 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  8:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The `wireplumber.desktop` solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried wireplumber with the content.exec solution and that works great.

Since pipewire-media-session and wireplumber are already conflicting in this PR, we could probably provide the content.exec scripts in the packages themselves to no further setup is needed?

Aside from that :+1: from me.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (60 preceding siblings ...)
  2023-01-23  8:08 ` oreo639
@ 2023-01-23  8:09 ` oreo639
  2023-01-23  9:10 ` oreo639
                   ` (10 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  8:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The `wireplumber.desktop` solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried wireplumber with the content.exec solution and that works great.

(Since pipewire-media-session and wireplumber are already conflicting in this PR would it make sense to provide the content.exec scripts in the packages themselves?)

Aside from that :+1: from me.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (61 preceding siblings ...)
  2023-01-23  8:09 ` oreo639
@ 2023-01-23  9:10 ` oreo639
  2023-01-23 22:30 ` CameronNemo
                   ` (9 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-23  9:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 765 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The `wireplumber.desktop` solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried wireplumber with the content.exec solution and that works great.

Would it make sense to provide the content.exec configs in the wireplumber/p-m-s packages themselves?

Aside from that :+1: from me.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (62 preceding siblings ...)
  2023-01-23  9:10 ` oreo639
@ 2023-01-23 22:30 ` CameronNemo
  2023-01-23 22:30 ` CameronNemo
                   ` (8 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2023-01-23 22:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 521 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1401097988

Comment:
>The wireplumber.desktop solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.

@paper42 I added this on your suggestion... do you have any comments here? I agree with oreo here that the context.exec methodology is a more surefire way to run the media session.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (63 preceding siblings ...)
  2023-01-23 22:30 ` CameronNemo
@ 2023-01-23 22:30 ` CameronNemo
  2023-01-25 14:53 ` ahesford
                   ` (7 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2023-01-23 22:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1401097988

Comment:
>The wireplumber.desktop solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.

@paper42 I added this on your suggestion... do you have any comments here? I agree with oreo here that the context.exec methodology is a more surefire way to run the session manager.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (64 preceding siblings ...)
  2023-01-23 22:30 ` CameronNemo
@ 2023-01-25 14:53 ` ahesford
  2023-01-25 15:40 ` CameronNemo
                   ` (6 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: ahesford @ 2023-01-25 14:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1646 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1403743362

Comment:
It is pretty clear that upstream does not want people running p-m-s anymore:

> https://gitlab.freedesktop.org/pipewire/media-session/-/releases/0.4.2

I don't think p-m-s should be split into a subpackage; it should just be dropped with the (next) release of pipewire. At the very least, this means we should probably tack on an install message *now* to warn people that this will happen. 

Wireplumber shouldn't depend on pipewire; in fact, the dependency should be the other way around when p-m-s is no longer an option (unless we have an alternative session manager packaged). Having the proper dependency relationship should minimize the pain of transition for users with the default configuration, but it creates a build cycle that we will have to break. Options include:
- Renaming pipewire to something like `pipewire-tools` or `pipewire-utils` and adding a standalone `pipewire` meta-package that pulls in `pipewire-tools` as well as `wireplumber`. This has the advantage that we don't really have to worry about syncing the build process between two artificially split packages. In fact, the meta can just get a dated version that we only bump when we need to.
- Alternatively, `libpipewire` and `pipewire-devel` could be split into a standalone package so that `wireplumber` can pull them in without the rest. This kind of sucks because we'll be forced to keep two packages synchronized. 
- Coming up with some way to build `wireplumber` without the `pipewire-devel` dependency. Meh.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (65 preceding siblings ...)
  2023-01-25 14:53 ` ahesford
@ 2023-01-25 15:40 ` CameronNemo
  2023-01-25 15:52 ` ahesford
                   ` (5 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2023-01-25 15:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 535 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1403816503

Comment:
@ahesford no offense but I dislike all three options listed. I don't think telling users to install wireplumber instead of pipewire is too much to ask. Many users won't need to manually install either; it can be pulled in by other meta packages like gnome/kde ones. The only package name which I would be happy with for a theoretical `pipewire+wireplumber` meta package is `base-pipewire`.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (66 preceding siblings ...)
  2023-01-25 15:40 ` CameronNemo
@ 2023-01-25 15:52 ` ahesford
  2023-01-25 15:54 ` ahesford
                   ` (4 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: ahesford @ 2023-01-25 15:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1640 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1403832919

Comment:
All options are undesirable, sure; but they are not all equally undesirable.

As it stands, your proposal ships a pipewire package that will not function without adding additional packages. GNOME and KDE may pull in wireplumber; other people (like me) have already manually installed wireplumber; still others may only have pipewire installed, and not having pipewire pull in a session manager means that those users upgrading (or pulling pipewire for the first time) will find that the default configuration is broken.

You can make the argument that new users should read the docs, and we should have documentation that tells people "to use pipewire, install `pipewire` and `wireplumber`". However, that doesn't change the fact that dropping pipewire-media-session will pull the rug out from all users already using pipewire that aren't also using wireplumber (directly or transitively). That's a crappy experience. No matter what we do, we might cause problems for people with custom configs, but that is somewhat unavoiable and less crappy because those people should be expected to know how their configuration deviates and diagnose when it breaks.

If you conceded that *something* should exist as a convenience to pull in both pipewire and wireplumber, making `pipewire` the meta-package is necessary to ensure a smooth upgrade path. Keeping `pipewire` as is and making a new `pipewire-base` or something along those lines means upgrading users will not see the new package structure.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (67 preceding siblings ...)
  2023-01-25 15:52 ` ahesford
@ 2023-01-25 15:54 ` ahesford
  2023-01-25 15:54 ` CameronNemo
                   ` (3 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: ahesford @ 2023-01-25 15:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1639 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1403832919

Comment:
All options are undesirable, sure; but they are not all equally undesirable.

As it stands, your proposal ships a pipewire package that will not function without adding additional packages. GNOME and KDE may pull in wireplumber; other people (like me) have already manually installed wireplumber; still others may only have pipewire installed, and not having pipewire pull in a session manager means that those users upgrading (or pulling pipewire for the first time) will find that the default configuration is broken.

You can make the argument that new users should read the docs, and we should have documentation that tells people "to use pipewire, install `pipewire` and `wireplumber`". However, that doesn't change the fact that dropping pipewire-media-session will pull the rug out from all users already using pipewire that aren't also using wireplumber (directly or transitively). That's a crappy experience. No matter what we do, we might cause problems for people with custom configs, but that is somewhat unavoiable and less crappy because those people should be expected to know how their configuration deviates and diagnose when it breaks.

If you concede that *something* should exist as a convenience to pull in both pipewire and wireplumber, making `pipewire` the meta-package is necessary to ensure a smooth upgrade path. Keeping `pipewire` as is and making a new `pipewire-base` or something along those lines means upgrading users will not see the new package structure.

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (68 preceding siblings ...)
  2023-01-25 15:54 ` ahesford
@ 2023-01-25 15:54 ` CameronNemo
  2023-01-25 15:54 ` [PR PATCH] [Closed]: " CameronNemo
                   ` (2 subsequent siblings)
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2023-01-25 15:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1403836417

Comment:
I don't think I have the bandwidth for this. I've already gone through multiple iterations over the course of months, and have been repolocking pipewire and wireplumber during that time. Someone else is welcome to pick this up.

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

* Re: [PR PATCH] [Closed]: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (69 preceding siblings ...)
  2023-01-25 15:54 ` CameronNemo
@ 2023-01-25 15:54 ` CameronNemo
  2023-01-25 16:31 ` ahesford
  2023-01-28 11:42 ` oreo639
  72 siblings, 0 replies; 74+ messages in thread
From: CameronNemo @ 2023-01-25 15:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1921 bytes --]

There's a closed pull request on the void-packages repository

[RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
https://github.com/void-linux/void-packages/pull/38521

Description:
This proposes major changes to the handling of PipeWire session managers.

The PipeWire developers recommend the use of WirePlumber, but this is inconvenient with the current pipewire package.
In this PR I aim to improve the UX of void pipewire users by:

* splitting pipewire-media-session into a standalone package
* adding conflicts between pipewire-media-session and wireplumber

**The most immediate implication is that Void users who are using the default configuration (pipewire-media-session) and upgrade to this new pipewire version without further intervention will have their setups broken.** There will be no session manager running and pipewire will not function correctly. A news post will likely be needed to ensure that users are well informed of how to proceed.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (70 preceding siblings ...)
  2023-01-25 15:54 ` [PR PATCH] [Closed]: " CameronNemo
@ 2023-01-25 16:31 ` ahesford
  2023-01-28 11:42 ` oreo639
  72 siblings, 0 replies; 74+ messages in thread
From: ahesford @ 2023-01-25 16:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 215 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1403892476

Comment:
Taking this up in https://github.com/void-linux/void-packages/pull/41846

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

* Re: [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default
  2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
                   ` (71 preceding siblings ...)
  2023-01-25 16:31 ` ahesford
@ 2023-01-28 11:42 ` oreo639
  72 siblings, 0 replies; 74+ messages in thread
From: oreo639 @ 2023-01-28 11:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 769 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/38521#issuecomment-1399777559

Comment:
pipewire-media-session 0.4.2 is now out: https://gitlab.freedesktop.org/pipewire/media-session/-/releases
You should probably add the patches listed here: https://gitlab.freedesktop.org/pipewire/pipewire/-/releases

The `wireplumber.desktop` solution doesn't really work since in order for wireplumber to run pipewire must be running, unlike pipewire-pulse which can still run even if pipewire isn't running.
I tried wireplumber with the content.exec solution and that works great.

~~Would it make sense to provide the content.exec configs in the wireplumber/p-m-s packages themselves?~~

Aside from that :+1: from me.

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

end of thread, other threads:[~2023-01-28 11:42 UTC | newest]

Thread overview: 74+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-07 19:28 [PR PATCH] pipewire: use a conffile to autostart p-m-s CameronNemo
2022-08-17 19:20 ` [PR PATCH] [Updated] " CameronNemo
2022-08-20 22:22 ` pipewire: use a drop-in " paper42
2022-08-21  6:03 ` CameronNemo
2022-08-21  6:06 ` CameronNemo
2022-08-21  6:07 ` CameronNemo
2022-09-05 18:57 ` [PR PATCH] [Updated] " CameronNemo
2022-09-08  3:06 ` pipewire: update to 0.3.57, " ericonr
2022-09-08  5:28 ` CameronNemo
2022-09-08  5:30 ` CameronNemo
2022-09-20 12:21 ` CameronNemo
2022-09-20 12:29 ` Duncaen
2022-09-20 18:20 ` CameronNemo
2022-09-20 18:24 ` Duncaen
2022-09-20 18:30 ` Duncaen
2022-09-20 18:32 ` Duncaen
2022-09-20 18:35 ` Duncaen
2022-09-20 18:53 ` CameronNemo
2022-09-20 21:24 ` CameronNemo
2022-12-09 22:40 ` leahneukirchen
2022-12-09 22:53 ` JamiKettunen
2022-12-09 22:54 ` JamiKettunen
2022-12-09 23:04 ` JamiKettunen
2022-12-10  3:25 ` CameronNemo
2022-12-10  6:58 ` [PR PATCH] [Updated] " CameronNemo
2022-12-10  7:10 ` [PR PATCH] [Updated] [RFC] pipewire: split p-m-s into separate package, do not autostart session manager by default CameronNemo
2022-12-10  7:16 ` CameronNemo
2023-01-13  7:06 ` [PR PATCH] [Updated] " CameronNemo
2023-01-13  7:41 ` CameronNemo
2023-01-13  8:33 ` CameronNemo
2023-01-22 23:39 ` motorto
2023-01-23  3:58 ` oreo639
2023-01-23  4:05 ` oreo639
2023-01-23  4:15 ` oreo639
2023-01-23  4:19 ` oreo639
2023-01-23  4:20 ` oreo639
2023-01-23  4:21 ` oreo639
2023-01-23  4:24 ` oreo639
2023-01-23  4:31 ` oreo639
2023-01-23  4:34 ` oreo639
2023-01-23  4:36 ` oreo639
2023-01-23  4:39 ` oreo639
2023-01-23  5:42 ` oreo639
2023-01-23  6:08 ` oreo639
2023-01-23  6:09 ` oreo639
2023-01-23  6:42 ` oreo639
2023-01-23  6:45 ` oreo639
2023-01-23  6:45 ` oreo639
2023-01-23  6:46 ` oreo639
2023-01-23  6:47 ` oreo639
2023-01-23  6:48 ` oreo639
2023-01-23  7:22 ` oreo639
2023-01-23  8:02 ` oreo639
2023-01-23  8:02 ` oreo639
2023-01-23  8:02 ` oreo639
2023-01-23  8:03 ` oreo639
2023-01-23  8:04 ` oreo639
2023-01-23  8:05 ` oreo639
2023-01-23  8:05 ` oreo639
2023-01-23  8:05 ` oreo639
2023-01-23  8:05 ` oreo639
2023-01-23  8:08 ` oreo639
2023-01-23  8:09 ` oreo639
2023-01-23  9:10 ` oreo639
2023-01-23 22:30 ` CameronNemo
2023-01-23 22:30 ` CameronNemo
2023-01-25 14:53 ` ahesford
2023-01-25 15:40 ` CameronNemo
2023-01-25 15:52 ` ahesford
2023-01-25 15:54 ` ahesford
2023-01-25 15:54 ` CameronNemo
2023-01-25 15:54 ` [PR PATCH] [Closed]: " CameronNemo
2023-01-25 16:31 ` ahesford
2023-01-28 11:42 ` oreo639

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 NNTP newsgroup(s).