Comment 4 for bug 1464517

Revision history for this message
Sergio Gelato (sergio-gelato) wrote : Re: [Bug 1464517] Re: cairo-dock-data is missing a dependency on gnome-settings-daemon

* Matthieu Baerts [2015-08-06 14:46:00 +0000]:
> Yes, it's true but on the other hand, a KDE user doesn't need and doesn't want all GNOME specific packages just to have the dock.

That KDE-only user doesn't need /usr/share/gnome-session/. Splitting off
cairo-doc.session to a package she doesn't need to install may be just
the right thing for her.

> > How about moving /usr/share/gnome-session/sessions/cairo-dock.session
> to a separate package and making *that* depend on unity-settings-daemon?
>
> Yes, it's maybe more clear but it will not fix the problem. This package
> cannot be marked as required by other Cairo-Dock packages.

Who said that it should be? I was thinking of doing it the other way around:
make it (cairo-dock-gnome-integration, or whatever it will be called)
require the core cairo-dock packages. People who want to use Cairo-Dock with
GNOME would ask for this package only, and everything else they need would
follow. Ditto for cairo-dock-kde-integration, cairo-dock-xfce4-integration,
etc. as appropriate.

I've also been thinking about the Enhances header, but as that is a reverse
Suggests rather than a reverse Recommends I don't think it will help much
in this case. (Maybe dpkg needs to grow conditional dependencies, that are
activated only if a combination of several packages is installed; but I
haven't done the math to see if this could actually be made to work, and
in any case it would have to be filed as a wishlist bug against dpkg first.)