unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: fesoj000 <fesoj000@gmail.com>
To: mail@brendan.scot, Kevin Boulain <kevinboulain@gmail.com>
Cc: 54379@debbugs.gnu.org
Subject: [bug#54379] [PATCH] gnu: linux: update PipeWire & WirePlumber
Date: Fri, 1 Apr 2022 14:46:08 +0200	[thread overview]
Message-ID: <fbc9b28c-14f9-63c3-1679-7ab2cd98cf2d@gmail.com> (raw)
In-Reply-To: <9e3cf473-b735-1d02-c5da-d1a53e3618fc@brendan.scot>

On 3/31/22 7:40 AM, Brendan Tildesley wrote:
>> 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.
OK, that make sense.




  reply	other threads:[~2022-04-01 12:46 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-13 22:35 [bug#54379] [PATCH] gnu: linux: update PipeWire & WirePlumber Kevin Boulain
2022-03-14  8:25 ` Brendan Tildesley
2022-03-14  9:06   ` Brendan Tildesley
2022-03-14 23:06   ` Kevin Boulain
2022-03-30  1:01     ` Brendan Tildesley
2022-03-30  4:23       ` fesoj000
2022-03-30 19:14         ` Kevin Boulain
2022-03-31  5:40         ` Brendan Tildesley
2022-04-01 12:46           ` fesoj000 [this message]
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

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

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

  git send-email \
    --in-reply-to=fbc9b28c-14f9-63c3-1679-7ab2cd98cf2d@gmail.com \
    --to=fesoj000@gmail.com \
    --cc=54379@debbugs.gnu.org \
    --cc=kevinboulain@gmail.com \
    --cc=mail@brendan.scot \
    /path/to/YOUR_REPLY

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

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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