Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608126 - x11-wm/xpra-1.0.1 tries to use pulseaudio despite being disabled
Summary: x11-wm/xpra-1.0.1 tries to use pulseaudio despite being disabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-03 13:06 UTC by kavol
Modified: 2017-02-07 23:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kavol 2017-02-03 13:06:31 UTC
I don't use pulseaudio on my system and have it disabled in USE; in addition, there is also "-sound" for xpra, yet I'm getting the following warning:

2017-02-03 13:37:07,084 Warning: pulseaudio has terminated shortly after startup.
2017-02-03 13:37:07,084  pulseaudio is limited to a single instance per user account,
2017-02-03 13:37:07,085  and one may be running already for user 'kavol'
2017-02-03 13:37:07,085  to avoid this warning, either fix the pulseaudio command line
2017-02-03 13:37:07,085  or use the 'pulseaudio=no' option



it looks the buildsystem doesn't have any specific option to disable pulseaudio[*], however, it'd be nice to at least modify the default configuration in 60_server.conf which currently reads:

...
pulseaudio = yes
...

[*] which is beyond my comprehension, how it could be enabled if it is a subset of 'sound' that is disabled ...

not that it'd be a big issue, but it irritates me not just to have a code that I do not (can not) use on my system but even more that the superfluous code is being executed ... that doesn't align well with one of the main reasons I've started using Gentoo all those years ago ... thanks
Comment 1 Michael Weber (RETIRED) gentoo-dev 2017-02-07 23:09:28 UTC
commit 6c342be8d89136921dd40ca7a01dee63b6ca2758
Author: Michael Weber <xmw@gentoo.org>
Date:   Wed Feb 8 00:08:19 2017 +0100

    x11-wm/xpra: Version bump, turn off pulseaudio if USE=-pulseaudio (bug 608126, thanks kavol@email.cz).
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1