Summary: | media-video/pipewire without automatically creating the /etc/xdg/autostart/pipewire.desktop file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Roman <roma251078> |
Component: | Current packages | Assignee: | Sam James <sam> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | leio, roma251078 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Roman
2024-06-24 07:01:54 UTC
INSTALL_MASK should work for your case, I think. I suppose in theory we could inhibit installation of it with USE=system-service but not sure if we want to do that... (In reply to Sam James from comment #1) > INSTALL_MASK should work for your case, I think. > > I suppose in theory we could inhibit installation of it with > USE=system-service but not sure if we want to do that... No, in order to disable this with the system-service flag, the system daemon for openrc must be ready, but it is currently missing for pipewire. It was enough to add a new intermediate flag to enable /etc/xdg/autostart/pipewire.desktop, for example xdg. And of course, this flag should be enabled by default for openrc, but the user can disable it if desired. systemd ( !xdg ) You'll just have to turn off this flag for systemd profiles. The new flag just needs to be described in metadata.xml. At the moment, there is no need to bind to the system-service flag. (In reply to Roman from comment #2) > (In reply to Sam James from comment #1) > > INSTALL_MASK should work for your case, I think. > > > > I suppose in theory we could inhibit installation of it with > > USE=system-service but not sure if we want to do that... > > No, in order to disable this with the system-service flag, the system daemon > for openrc must be ready, but it is currently missing for pipewire I'm not sure if I understand. The *system daemon* isn't started by xdg? > It was > enough to add a new intermediate flag to enable > /etc/xdg/autostart/pipewire.desktop, for example xdg. And of course, this > flag should be enabled by default for openrc, but the user can disable it if > desired. But yes, we don't provide an init script for the OpenRC service for system-daemon. Anyway, just use INSTALL_MASK. (In reply to Sam James from comment #3) > Anyway, just use INSTALL_MASK. Thanks, it works. I see the file is also installed when building the ebuild in ${D}, but during installation it is not installed on the system. For now this solves the problem. But perhaps someday there will be a system daemon for openrc. So far this system daemon solves my needs: https://github.com/ormorph/sleepy-tree/tree/master/media-sound/pipewiredaemon |