FS#21996 - [libcanberra] Split GStreamer Backend

Attached to Project: Arch Linux
Opened by George Panta (Zephyr) - Monday, 06 December 2010, 11:47 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 16 February 2011, 11:25 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 15
Private No

Details

Description:

Split or remove GStreamer Backend from libcanberra.

KDE from version 4.6 and upwards depends on libcanberra for Pulseaudio Speaker Setup Page.
If KDE depends on GStreamer that defeats the purpose of phonon i.e. choose the player dep. we want and also requires more tweaking to have the KCM using libcanberra outputting sound correctly.

Additional info:
* package version(s) = 0.26-3

Proposal:

Split the GStreamer Backend if it is needed by other environments like GNOME, or remove it if it is redundant because of the Pulse plugin.

I have attached a modified PKGBUILD of the one by JGC in extra that splits GStreamer backend plugin like the pulse one.
   PKGBUILD (2.4 KiB)
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 16 February 2011, 11:25 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in gnome-unstable.
Comment by Andrea Scarpino (BaSh) - Monday, 06 December 2010, 12:48 GMT
just a note, KDE does not depend on gstreamer for pulseaudio, the phonon-gstreamer backend does.
Comment by Ionut Biru (wonder) - Monday, 06 December 2010, 12:49 GMT
@Andrea that means that the split would be kinda useless?
Comment by George Panta (Zephyr) - Monday, 06 December 2010, 13:11 GMT
I am sorry if I worded incorrectly that KDE depends on gstreamer0.10 for PulseAudio support.

I meant that indirectly KDE 4.6 will depend on GStreamer (kdebase-runtime -> libcanberra -> gstreamer0.10).

And I also said that libcanberra is used on a setup page for speakers using pulse in KDE Systemsettings.

GStreamer is not required by KDE for anything apart from phonon-gstreamer as BaSh clarified above.
So I think removing this indirect dependency isn't useless from a KDE standpoint.

Comment by Ionut Biru (wonder) - Monday, 06 December 2010, 13:13 GMT
so what? i won't split a module just because you are a gstreamer0.10 hater.

sorry mate
Comment by Andrea Scarpino (BaSh) - Monday, 06 December 2010, 13:19 GMT
Sorry wonder, but George is right.

I thought that he was talking about the phonon-gstreamer backend, not about the new libcanberra dependence.
libcanberra forces KDE users to install gstreamer even if they are not using the gstreamer backend for phonon. Would be nice to see libcanberra splitted in two packages.
Comment by Mitchell Richters (mjr4077au) - Monday, 06 December 2010, 23:11 GMT
Someone's going to hate me for suggesting this, but shouldn't it be further split into a "libcanberra-gtk2" package as well? Otherwise GTK2 will be pulled into KDE, which doesn't need to have GTK2 present.
Comment by Mitchell Richters (mjr4077au) - Tuesday, 07 December 2010, 05:43 GMT
I was reading on libcanberra's website, and it lists the following parts:

1. libcanberra: the main library
2. libcanberra-gtk: some glue code to make it easier to use libcanberra from Gtk+ applications
3. libcanberra-gtk-module: a Gtk+ module that uses libcanberra-gtk to trigger input feedback event sounds

Should Arch's libcanberra just follow this? It's what's designated by upstream. Maybe GStreamer, Pulse, OSS etc become makedepends & optdepends? Are they needed after the package has been built? I don't even know why the libcanberra-pulse package was split. Once both are installed, it's as if the unsplit package was installed. "gnome-settings-daemon-pulse" & "gnome-media-pulse" don't even depend on "libcanberra-pulse", they just depend on libcanberra.
Comment by Jan Alexander Steffens (heftig) - Sunday, 09 January 2011, 13:07 GMT
libcanberra-pulse was split because libcanberra will always use the driver with the highest priority (pulse, if installed), even if it fails.
Comment by Venky (venky80) - Monday, 10 January 2011, 17:46 GMT
I agree with mitchell, not only should gstreamer be not a hard dependency for kde because of libcanberra even GTK2 should not be.
Comment by Ionut Biru (wonder) - Monday, 10 January 2011, 17:50 GMT
i'm well aware of this.

can you please don't post useless comments like " i want this" ?

this split is targeted for gnome 3.

Thanks!
Comment by Venky (venky80) - Tuesday, 11 January 2011, 14:00 GMT
@wonder where are you reading the comment "I want this?" and please care to mention it somewhere that you are "well aware of this" because I suppose if it is in your head who would know? (Also do not point me to the ML this is an issue open to commenting here, if you are the expert just try to mention it without being rude)
Anyway thanks for being "nice" and providing valuable information on when it will be fixed.
Thanks to you too.
Comment by mutlu inek (mutlu_inek) - Tuesday, 11 January 2011, 17:32 GMT
@Venky, I understand that you found Ionut's response a little harsh. Clearly, it was not clear that this issue would be addressed in the future, nor when. However, your comment on January 10 did not do more that restate what has been said before, including an "I agree," which Ionut seems to have regarded as yet another "me, too" or "I want this" comment, of which there are too many on this bug tracker. Noise and entitlement surely do not foster the desire to invest personal time for the betterment of Arch. But there is little value in finding out who is "right" or in turning this into a long discussion, which will certainly end in everyone being upset and not result in anything valuable.

I hope we can leave it at that.

Smile!
Comment by Venky (venky80) - Tuesday, 11 January 2011, 22:00 GMT
@Mutlu I really appreciate people working in their free time.
But just look at lonuts earlier response , he is consistently rude, but in spite of it I appreciate his work coz it is always great someone is doing this.
Also no one is doing contribution to open source for charity so no real reason to feel reverse entiletement either.
I agree with you, I am not an expert just was voicing my support and did not know it was due for gnome 3.0
This issue is done for me.
Thanks for your response, I appreciate it.
It is all cool , I respect wonder's work and effort