From: Brendan Tildesley <mail@brendan.scot>
To: fesoj000 <fesoj000@gmail.com>, Kevin Boulain <kevinboulain@gmail.com>
Cc: 54379@debbugs.gnu.org
Subject: [bug#54379] [PATCH] gnu: linux: update PipeWire & WirePlumber
Date: Thu, 31 Mar 2022 16:40:44 +1100 [thread overview]
Message-ID: <9e3cf473-b735-1d02-c5da-d1a53e3618fc@brendan.scot> (raw)
In-Reply-To: <d1788f97-6d92-bf7f-d503-576f1f352b2d@gmail.com>
On 30/3/22 14:23, fesoj000 wrote:
> On 3/30/22 3:01 AM, Brendan Tildesley wrote:
>> 1. Add "-Dsysconfdir=/etc" to configure-flags so /etc/pipewire is
>> used instead of the output store path.
> How do you use pipewire? The store output configuration is the package
> default. If you need some special
> settings you can use "~/.config/pipewire/" to overwrite the settings
> you want to change.
>
I set PIPEWIRE_CONFIG_DIR=/etc/pipewire in /etc/environment and made etc
services to symink all the config
files there. but I think i will get rid of that in favour of sysconfdir.
> So far it was perfect to have the immutable default config in the
> store and reference it for your own
> settings. Especially after a breaking change in pipewire, this
> immutable config in the store path can be
> very valuable to get a working setup again.
>
> I do not care what the default config directory is, but i would like
> to keep the default config as part
> of the package.
>
> BR
You don't need to worry about that because the default config is in
share/ not etc/. There is nothing in the etc/ besides ld.so.cache
This is how pipewire accesses config without sysconfigdir set:
b@jiu ~/code/guix [env]$ strace
/gnu/store/kvyhx5i5a6i63iihp20wj3yikhvf4si7-pipewire-0.3.48/bin/pipewire
2>&1|rg '^access'
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
access("/home/b/.config/pipewire/pipewire.conf", R_OK) = -1 ENOENT (No
such file or directory)
access("/home/b/.config/pipewire/pipewire.conf", R_OK) = -1 ENOENT (No
such file or directory)
access("/gnu/store/kvyhx5i5a6i63iihp20wj3yikhvf4si7-pipewire-0.3.48/etc/pipewire/pipewire.conf",
R_OK) = -1 ENOENT (No such file or directory)
access("/gnu/store/kvyhx5i5a6i63iihp20wj3yikhvf4si7-pipewire-0.3.48/share/pipewire/pipewire.conf",
R_OK) = 0
access("/gnu/store/kvyhx5i5a6i63iihp20wj3yikhvf4si7-pipewire-0.3.48/share/pipewire/pipewire.conf.d",
R_OK) = -1 ENOENT (No such file or directory)
access("/gnu/store/kvyhx5i5a6i63iihp20wj3yikhvf4si7-pipewire-0.3.48/etc/pipewire/pipewire.conf.d",
R_OK) = -1 ENOENT (No such file or directory)
access("/home/b/.config/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No
such file or directory)
access("/home/b/.config/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No
such file or directory)
setting it just makes it do this:
b@jiu ~ [env]$ strace pipewire 2>&1|grep '^access'
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
access("/home/b/.config/pipewire/pipewire.conf", R_OK) = -1 ENOENT (No
such file or directory)
access("/home/b/.config/pipewire/pipewire.conf", R_OK) = -1 ENOENT (No
such file or directory)
access("/etc/pipewire/pipewire.conf", R_OK) = -1 ENOENT (No such file or
directory)
access("/gnu/store/p7wpq9axacrzk43whbvg6r4f3v0bkyvz-pipewire-0.3.48/share/pipewire/pipewire.conf",
R_OK) = 0
access("/gnu/store/p7wpq9axacrzk43whbvg6r4f3v0bkyvz-pipewire-0.3.48/share/pipewire/pipewire.conf.d",
R_OK) = -1 ENOENT (No such file or directory)
access("/etc/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No such file
or directory)
access("/home/b/.config/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No
such file or directory)
access("/home/b/.config/pipewire/pipewire.conf.d", R_OK) = -1 ENOENT (No
such file or directory)
So it allows for global config to be set in /etc without
PIPEWIRE_CONFIG_DIR. Note that PIPEWIRE_CONFIG_DIR isn't practical as a
default
because it sets the /only/ config dir and prevents any lookup in home
.config.
next prev parent reply other threads:[~2022-03-31 5:43 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-13 22:35 [bug#54379] [PATCH] gnu: linux: update PipeWire & WirePlumber Kevin Boulain
2022-03-14 8:25 ` Brendan Tildesley
2022-03-14 9:06 ` Brendan Tildesley
2022-03-14 23:06 ` Kevin Boulain
2022-03-30 1:01 ` Brendan Tildesley
2022-03-30 4:23 ` fesoj000
2022-03-30 19:14 ` Kevin Boulain
2022-03-31 5:40 ` Brendan Tildesley [this message]
2022-04-01 12:46 ` fesoj000
2022-03-31 8:27 ` Brendan Tildesley
2022-04-01 19:32 ` Kevin Boulain
2022-03-14 23:06 ` [bug#54379] [PATCH 1/2] " Kevin Boulain
2022-03-14 23:06 ` [bug#54379] [PATCH 2/2] gnu: rename pipewire to pipewire-0.2 and pipewire-0.3 to pipewire Kevin Boulain
2022-03-30 19:18 ` [bug#54379] [PATCH 1/2] gnu: linux: update PipeWire & WirePlumber Kevin Boulain
2022-03-30 19:18 ` [bug#54379] [PATCH 2/2] gnu: rename pipewire to pipewire-0.2 and pipewire-0.3 to pipewire Kevin Boulain
2022-04-01 19:23 ` [bug#54379] [PATCH 1/2] gnu: linux: update PipeWire & WirePlumber Kevin Boulain
2022-04-01 19:23 ` [bug#54379] [PATCH 2/2] gnu: rename pipewire to pipewire-0.2 and pipewire-0.3 to pipewire Kevin Boulain
2022-04-01 19:34 ` [bug#54379] [PATCH 1/2] gnu: linux: update PipeWire & WirePlumber Maxime Devos
2022-04-01 19:41 ` Maxime Devos
2022-04-01 19:42 ` Maxime Devos
2022-04-01 20:44 ` [bug#54379] [PATCH 0/3] " Kevin Boulain
2022-04-01 20:44 ` [bug#54379] [PATCH 1/3] gnu: linux: update PipeWire Kevin Boulain
2022-04-01 20:44 ` [bug#54379] [PATCH 2/3] gnu: linux: update WirePlumber Kevin Boulain
2022-04-01 20:44 ` [bug#54379] [PATCH 3/3] gnu: rename pipewire to pipewire-0.2 and pipewire-0.3 to pipewire Kevin Boulain
2022-04-02 16:19 ` [bug#54379] [PATCH 0/3] gnu: linux: update PipeWire & WirePlumber Maxime Devos
2022-04-02 18:33 ` Kevin Boulain
2022-04-02 19:51 ` Maxime Devos
2022-08-18 20:46 ` Jack Hill
2022-08-24 17:31 ` Maxime Devos
2022-04-02 16:35 ` Maxime Devos
2022-10-09 4:02 ` [bug#54379] [(Brendan's) PATCH v3 0/6] " 'Brendan Tildesley
2022-10-09 4:02 ` [bug#54379] [PATCH v3 1/6] gnu: pipewire: Remove pipewire 0.2 'Brendan Tildesley
2022-10-09 4:02 ` [bug#54379] [PATCH v3 2/6] gnu: pipewire: Update to 0.3.59 'Brendan Tildesley
2022-10-09 4:02 ` [bug#54379] [PATCH v3 3/6] gnu: pipewire: Set sysconfdir to /etc 'Brendan Tildesley
2022-10-09 4:02 ` [bug#54379] [PATCH v3 4/6] gnu: Add libfreeaptx 'Brendan Tildesley
2022-10-09 9:01 ` Maxime Devos
2022-10-09 4:02 ` [bug#54379] [PATCH v3 5/6] gnu: pipewire: Enable more features 'Brendan Tildesley
2022-10-09 4:02 ` [bug#54379] [PATCH v3 6/6] gnu: wireplumber: Update to 0.4.12 'Brendan Tildesley
2022-10-10 19:57 ` [bug#54379] [(Brendan's) PATCH v3 0/6] gnu: linux: update PipeWire & WirePlumber Kevin Boulain
2022-10-09 9:12 ` [bug#54379] [PATCH v4 1/6] gnu: pipewire: Remove pipewire 0.2 'Brendan Tildesley
2022-10-09 9:12 ` 'Brendan Tildesley
2022-10-09 9:12 ` [bug#54379] [PATCH v4 2/6] gnu: pipewire: Update to 0.3.59 'Brendan Tildesley
2022-10-09 9:12 ` [bug#54379] [PATCH v4 3/6] gnu: pipewire: Set sysconfdir to /etc 'Brendan Tildesley
2022-10-09 9:12 ` [bug#54379] [PATCH v4 4/6] gnu: Add libfreeaptx 'Brendan Tildesley
2022-10-09 9:12 ` [bug#54379] [PATCH v4 5/6] gnu: pipewire: Enable more features 'Brendan Tildesley
2022-10-09 9:12 ` [bug#54379] [PATCH v4 6/6] gnu: wireplumber: Update to 0.4.12 'Brendan Tildesley
2022-12-04 10:18 ` [bug#54379] [PATCH v4 1/6] gnu: pipewire: Remove pipewire 0.2 Josselin Poiret via Guix-patches via
2022-12-24 11:59 ` Josselin Poiret via Guix-patches via
2023-01-08 9:30 ` Josselin Poiret via Guix-patches via
2023-01-08 9:30 ` [bug#54379] [PATCH v5 1/6] gnu: pipewire: Switch default to 0.3 Josselin Poiret via Guix-patches via
2023-01-08 9:30 ` [bug#54379] [PATCH v5 2/6] gnu: pipewire: Update to 0.3.63 Josselin Poiret via Guix-patches via
2023-01-08 9:30 ` [bug#54379] [PATCH v5 3/6] gnu: pipewire: Set sysconfdir to /etc Josselin Poiret via Guix-patches via
2023-01-08 9:30 ` [bug#54379] [PATCH v5 4/6] gnu: Add libfreeaptx Josselin Poiret via Guix-patches via
2023-01-08 9:30 ` [bug#54379] [PATCH v5 5/6] gnu: pipewire: Enable more features Josselin Poiret via Guix-patches via
2023-01-08 9:30 ` [bug#54379] [PATCH v5 6/6] gnu: wireplumber: Update to 0.4.13 Josselin Poiret via Guix-patches via
2023-01-08 16:48 ` [bug#54379] [PATCH v4 1/6] gnu: pipewire: Remove pipewire 0.2 Mathieu Othacehe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9e3cf473-b735-1d02-c5da-d1a53e3618fc@brendan.scot \
--to=mail@brendan.scot \
--cc=54379@debbugs.gnu.org \
--cc=fesoj000@gmail.com \
--cc=kevinboulain@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.