Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377847 - chromium-14.0.835.15 add use flag to control pulseaudio dependency
Summary: chromium-14.0.835.15 add use flag to control pulseaudio dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 06:35 UTC by octoploid
Modified: 2011-08-26 20:57 UTC (History)
8 users (show)

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


Attachments
Ebuild patch to make WebRTC support optional (chromium-optional-webrtc-pulseaudio.patch,1.28 KB, patch)
2011-08-05 19:08 UTC, kahrl
Details | Diff
chromium ebuild with patch applied (chromium-14.0.835.15-r1.ebuild,12.70 KB, text/plain)
2011-08-05 19:11 UTC, kahrl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description octoploid 2011-08-05 06:35:11 UTC
chromium-14.0.835.15 suddenty RDEPENDs on media-sound/pulseaudio:

x4 ~ # USE="-gnome" emerge -pv www-client/chromium

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] net-libs/libasyncns-0.8-r1  USE="-debug -doc" 334 kB
[ebuild  N     ] dev-libs/json-c-0.9  333 kB
[ebuild  N     ] gnome-extra/gnome-audio-2.22.2  USE="-debug" 1,703 kB
[ebuild  N    #] media-sound/pulseaudio-9999  USE="X alsa asyncns caps dbus glib orc tcpd udev -avahi -bluetooth -doc -equalizer -gnome -ipv6 -jack -libsamplerate -lirc (-oss) -realtime (-system-wide) -test" 0 kB
[ebuild     U #] www-client/chromium-14.0.835.15 [14.0.825.0-r1] USE="cups -gnome* -gnome-keyring -kerberos -test" LINGUAS="-am -ar -bg -bn -ca -cs -da -de -el -en_GB -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 156,280 kB

Total: 5 packages (1 upgrade, 4 new), Size of downloads: 158,649 kB

The following keyword changes are necessary to proceed:
#required by www-client/chromium-14.0.835.15, required by www-client/chromium (argument)
>=media-sound/pulseaudio-9999 **

The following mask changes are necessary to proceed:
#required by www-client/chromium-14.0.835.15, required by www-client/chromium (argument)
# /etc/portage/package.mask:
>=media-sound/pulseaudio-9999

Please drop this dependency, because I don't need nor do I want pulseaudio
on my machine.
Thanks.
Comment 1 octoploid 2011-08-05 07:43:25 UTC
Ah, it's the freshly integrated webrtc component that causes this dependency.

Can we introduce a new "webrtc" USEFLAG?

Then just add the following to RDEPEND:
 webrtc? ( media-sound/pulseaudio )

and the following to src_configure():
 $(gyp_use webrtc enable_webrtc)

Thanks.
Comment 2 Mike Gilbert gentoo-dev 2011-08-05 18:58:49 UTC
Updating summary.
Comment 3 kahrl 2011-08-05 19:08:45 UTC
Created attachment 282231 [details, diff]
Ebuild patch to make WebRTC support optional
Comment 4 kahrl 2011-08-05 19:11:08 UTC
Created attachment 282233 [details]
chromium ebuild with patch applied

I've tested the fix suggested by octoploid in comment 1 and it works for me, thank you! Here is the ebuild I used and a diff against the existing ebuild.
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-08-05 21:27:05 UTC
webrtc is a new thing. Before adding a USE flag, let's wait for a few more releases and see what happens. We're still in the hard masked area.

But I'm generally fine with adding that USE flag, I can obviously understand the pulseaudio problems.
Comment 6 octoploid 2011-08-06 06:30:54 UTC
Upstream bug:
http://code.google.com/p/chromium/issues/detail?id=89791
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-08-26 20:57:57 UTC
Thanks, fixed in >=www-client/chromium-15.0.861.0