After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 311445 - Making esound optional
Making esound optional
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Builds
2.21.x
Other All
: High trivial
: 2.24.x
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-25 03:36 UTC by Leonardo Boshell
Modified: 2008-04-30 05:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
nautilus-HEAD-optional_esd.patch (4.55 KB, patch)
2005-07-25 03:38 UTC, Leonardo Boshell
none Details | Review
this patch is the latest from Gentoo portage. (5.41 KB, patch)
2007-10-20 22:03 UTC, Marc-Andre Lureau
none Details | Review
more old silliness. (2.00 KB, patch)
2008-04-28 08:34 UTC, A. Walton
committed Details | Review

Description Leonardo Boshell 2005-07-25 03:36:24 UTC
Lately, I've been patching a number of GNOME applications depending on esound,
to make those dependencies optional at compilation time. Nautilus is one of
them. I'll attach a simple patch I created against CVS HEAD in case you want to
review it. It adds a --enable-esd switch to the configure script (the default
behaviour is to compile with esound support).

As for the motivation for this, there are a number of reasons why a user might
want to compile applications without esound; however, I also understand that in
the particular case of Nautilus, turning esound into an optional dependency
might have undesired effects. Please let me know if maybe this request is not
very reasonable, and a different approach is needed :).

Thanks.
Comment 1 Leonardo Boshell 2005-07-25 03:38:58 UTC
Created attachment 49697 [details] [review]
nautilus-HEAD-optional_esd.patch
Comment 2 Christian Neumair 2005-07-26 22:57:31 UTC
Thanks for your bug report and your efforts!
Maybe you could also submit this patch to the Nautilus mailing list [1] for review?

[1] http://mail.gnome.org/mailman/listinfo/nautilus-list
Comment 3 Kjartan Maraas 2005-08-12 11:34:02 UTC
Is this in any way related to bug #310972?
Comment 4 Leonardo Boshell 2005-08-12 11:52:34 UTC
Kjartan,
Yes, somewhat related. There's a gentoo bug[1] where people have requested to
make esound optional whenever possible, at least as far as base GNOME packages go.

So far, libgnome, libgnomeui and gnome-session are being patched in our tree
since those packages already implement the necessary #ifdef magic, they only
needed slight revised configure scripts. I've submitted those patches upstream
as bug #310972, #310974 and #310979 respectively.

There are 3 additional base GNOME packages that currently depend on esound:
nautilus, control-center and gnome-media. I have patches for them too, but they
are special in the sense that apparently those packages were designed to rely on
esound from the start so they include #ifdef's that might require special care.
That's why we're not patching them on gentoo yet, and I ask for upstream's
opinion first, starting with nautilus (hence, this bug :)).


[1] http://bugs.gentoo.org/show_bug.cgi?id=6920
Comment 5 Martin Meyer 2005-09-17 17:37:09 UTC
Why are the three packages (nautilus, control-center and gnome-media) just
updated to use gstreamer?  I know this would take more time, but if it's a
choice between esound or no sound I think I'd have to pick the third option :)

For the record, I'm using Gentoo and I HATE esound.  It makes everything sound
terrible on my system.  I'd still like nautilus to make sound though.  Just not
the the Evil Sound Daemon.
Comment 6 Calorì Alessandro 2007-04-19 18:44:36 UTC
The last comment was written in September 2005... when will be finally removed ESound from GNOME?
Comment 7 Marc-Andre Lureau 2007-10-20 22:03:55 UTC
Created attachment 97535 [details] [review]
this patch is the latest from Gentoo portage.
Comment 8 Cosimo Cecchi 2008-02-26 10:01:53 UTC
I think it would be good to drop ESound dependency altogether. Gentoo already does this in its packages, and I can't see any regression.
Comment 9 A. Walton 2008-04-28 08:34:37 UTC
Created attachment 110022 [details] [review]
more old silliness.

Silly enough, we actually do not depend on ESD at all anymore. The nautilus-audio-player code seemed to have died before the GIO merge, but the config junk just hasn't left us yet. So, here's the simple patch to rid ourselves of what's left of ESD.
Comment 10 Christian Neumair 2008-04-28 09:24:01 UTC
Good catch. Please commit the patch to trunk and to the GNOME 2.22 branch.
Comment 11 A. Walton 2008-04-30 05:13:17 UTC
2008-04-30  A. Walton  <awalton@gnome.org>

	* configure.in:
	* src/file-manager/fm-icon-view.c:
	Remove false dependency for ESound. Closes bug #311445.

Committed.