Summary: | media-libs/libcanberra is missing x11-themes/sound-theme-freedesktop RDEPEND | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Cater <djcater+gentoobugs> |
Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nightmorph, sound, xfce |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | USE=sound |
Description
Daniel Cater
2010-06-09 23:25:56 UTC
Same problem with gnome-media-2.30. On another computer the sound theme is not updated anymore since 0.7 has gone stable a few weeks ago. I would vote for adding an elog message informing users about having to install x11-themes/sound-theme-freedesktop (or any other sound theme) to get sounds. Other option would be to RDEPEND on it... but since libcanberra doesn't really require it to work, I would prefer to show only a message I would make it PDEPEND on gnome-control-center or the package providing the sound capplet in gnome since it allows selection of sound themes. Otherwise, libcanberra could be a good choice too. The reason for me preferring elog message over depending on it is that, for example, in my case I don't use gnome sounds at all (I usually have my speakers muted), but media-libs/libcanberra is still required by some apps (like brasero, sound-juicer...), and then, I want to only have libcanberra but don't need any sound-theme to be present I implied behind a USE flag :) Looks fine for me OK, this is also a problem for Xfce4 with xfce4-settings compiled with USE="sound". If the sound-theme-freedesktop is missing, some of the appearance settings are greyed out by default. And this is from libcanberra-0.25 sources: src/sound-theme-spec.c: if (!(fn = ca_new(char, strlen(prefix) + sizeof("/sounds/")-1 + strlen(name) + sizeof("/index.theme")))) src/sound-theme-spec.c: sprintf(fn, "%s/sounds/%s/index.theme", prefix, name); I would say this bug is not solved before libcanberra by default pulls in the mandatory spec index.theme + 22 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> + libcanberra-0.25.ebuild: + Missing x11-themes/sound-theme-freedesktop RDEPEND which is required for + index.theme file wrt #323379 by Daniel Cater. This doesn't look like the right fix to me: I have been using libcanberra based apps since required without installing any sound theme (that I don't use at all) and I have not seen any problem, then, I don't understand why it's required by "alsa", "gstreamer"... USE flags instead of adding a "sound" USE flag for installing it allowing people like me to simply disable that one Created attachment 248391 [details, diff]
USE=sound
Pacho, If you want to apply this, me (or the Xfce4 team) would be fine with.
We don't enable USE=sound by default in xfce4-settings, so I don't really care if it is with or without + flag
If this gets applied, we need to just add USE dep to [sound] in xfce4-settings to ensure the fdo standard index.theme is there.
OK, will take care of this as soon as possible (I hope tomorrow) Thanks :-) + 23 Sep 2010; Pacho Ramos <pacho@gentoo.org> -libcanberra-0.11.ebuild, + -files/libcanberra-0.14-am-gconf-source-2-m4.patch, + -files/libcanberra-0.14-backward-compatibility-libtool.patch, + -libcanberra-0.22.ebuild, libcanberra-0.25.ebuild, metadata.xml: + Allow people to not RDEPEND on x11-themes/sound-theme-freedesktop + unsetting 'sound' USE flag, but turn it on by default for better 'user + experience' with Gnome and Xfce desktops (thanks to Samuli Suominen for + his patch on bug #323379). Also remove old versions. + |