I have a KDE desktop and I don't want to install gdm (I use kdm instead).
When I exclude it from yum update, I get this:
--> Missing Dependency: gdm is needed by package libcanberra-gtk2-0.17-1.fc12.i686 (rawhide)
Is it possible to remove this dependency?
I don't see any reason why a sound library would require a login manager.
libcanberra-gtk2 places some files in directories created by the gdm package such as /usr/share/gdm/autostart/LoginWindow/. It thus needs to pull in gdm.
This might be a case where duplicate ownership for the directory is appropriate.
Can you split it to a new subpackage libcanberra-gdm?
That would solve the problem.
I wonder why I need gdm and another dependent packages. I removed gdm with all new dependencies and sound works.
These requieres doesn't make sense to me. Who requires these two and why they were installed when I don't need them?
This newly introduced dependency on gdm will also pull some unneeded gnome packages into the KDE live images (which will increase the size by ~30 megs). So please use a duplicate ownership or a subpackage for this.
+1, requiring a display manager in an application-level library just doesn't make sense from a logical perspective and it bloats the KDE Live image (as gdm in turn directly or indirectly drags in a lot of other GNOME stuff and even xulrunner), those directories really need to be co-owned in this case.
(The reason libcanberra-gtk2 ends up on the KDE live image in the first place is that firstboot requires metacity which requires libcanberra-gtk2. We also still ship pavucontrol which also requires libcanberra-gtk2, but that one could be dropped, firstboot can't. ;-) )
If someone of our KDE-loving friends wants to split off /usr/share/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop into a seperate package libcanberra-gdm-hooks that is pulled in by gdm he's welcome to do that. I am not the only one with commit access to gdm/libcanberra's rpm cvs.
So you prefer a subpackage for just the one file rather than just having libcanberra-gtk2 own the /usr/share/gdm/autostart/LoginWindow/ hierarchy together with gdm? I can easily implement that (the subpackage) if that's how you want things done.
(Be warned that the dependency will be circular though: libcanberra-gdm-hooks requiring gdm for directory ownership and gdm requiring libcanberra-gdm-hooks because something has to and it can't be libcanberra-gtk2 because then it'd be dragging in gdm again.)
.... just own the directory. Simplest answers are best.
* Wed Sep 16 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> 0.17-2
- Don't require gdm in -gtk2 (#522998)
(In reply to comment #10)
> .... just own the directory. Simplest answers are best.
Which is not really what the policy says... (Unless your proposal geoes through of course)