Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263419 - [gnome-overlay] gnome-extra/gnome-media-2.26 : enable awesome new sound preferences control
Summary: [gnome-overlay] gnome-extra/gnome-media-2.26 : enable awesome new sound prefe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://library.gnome.org/misc/release...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.26
  Show dependency tree
 
Reported: 2009-03-22 21:28 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2009-03-25 01:57 UTC (History)
1 user (show)

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


Attachments
pulseadio-ified gnome-media-2.26.0.ebuild (gnome-media-2.26.0.ebuild,2.13 KB, text/plain)
2009-03-22 21:33 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-03-22 21:28:38 UTC
One of the most advertised and most awaited new features of Gnome 2.26 is the new pulseaudio-based sound preferences application and applet: http://library.gnome.org/misc/release-notes/2.26/#rnusers.volume

The current gnome-media ebuild in the gnome overlay is written in a way that makes it *impossible* to compile the new sound preferences application, no matter what USE flags you choose. In addition, the "alsa" USE flag is completely misleading.

Problem 1: to enable the new sound preferences, it's not enough to add --enable-pulseaudio in configure (simply doing that will have no effect on the end product); you must also disable the legacy volume control. The current ebuild always enables the legacy volume control, making it impossible to use the new sound control.

Problem 2: the "alsa" use flag is a lie. The legacy volume control (gst-mixer) uses gstreamer, not raw alsa. 

Problem 3: a USE flag usually represents *added* functionality. But in the current ebuild, enabling the "alsa" flag (and, by the way, alsa flag is enabled by default in desktop profiles) instead *subtracts* functionality (disables the awesome new sound preferences application and applet).

The solution is to eliminate the misleading "alsa" USE flag, and add a "pulseadio" USE flag that controls the --enable-pulseaudio and --enable-gstmix configure switches.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-03-22 21:33:15 UTC
Created attachment 185907 [details]
pulseadio-ified gnome-media-2.26.0.ebuild

Corrected ebuild for gnome-media-2.26.0

USE="-pulseaudio" builds legacy gstreamer volume control application and applet
USE="pulseaudio" builds new pulseaudio sound preferences application and applet
Comment 2 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-03-23 12:44:25 UTC
Fixed in overlay, thanks for reporting.
Comment 3 Tommaso Pasini 2009-03-23 21:52:39 UTC
The bug is NOT fixed, even in the overlay.
The ebuild in the overlay enables always gstmix, which causes the new preferences application not to be built; as explained by alexandre, pulseaudio support and gstmix support have to be mutually exclusive.

The ebuild attached here works fine, the one on gnome overlay doesn't.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-03-23 22:07:10 UTC
Bug is not fixed. Please read the comments.

You need to change

--enable-gstmix

to

$(use_enable !pulseaudio gstmix)

Gstmix and the new pulseaudio sound preferences are mutually exclusive, you cannot build both at the the same time.
Comment 5 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-03-25 01:57:25 UTC
/me mumbles about horribly broken build logics

Fixed, thanks again.