← Back to team overview

cairo-dock-team team mailing list archive

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.)

-- 
You received this bug notification because you are a member of Cairo-
Dock Devs, which is subscribed to cairo-dock in Ubuntu.
https://bugs.launchpad.net/bugs/1464517

Title:
  cairo-dock-data is missing a dependency on gnome-settings-daemon

Status in cairo-dock package in Ubuntu:
  Confirmed

Bug description:
  /usr/share/gnome-session/sessions/cairo-dock.session lists gnome-
  settings-daemon (on trusty; may be unity-settings-daemon for some
  releases of Ubuntu) as a required component. This is a real
  requirement: when gnome-session-bin is installed but gnome-settings-
  daemon isn't, attempts to log in to a cairo-dock desktop session fail
  with the following messages in .xsession-errors:

  gnome-session[17624]: WARNING: Unable to find required component 'gnome-settings-daemon'
  gnome-session[17624]: CRITICAL: We failed, but the fail whale is dead. Sorry....

  Installing gnome-settings-daemon is sufficient to cure this symptom.
  That makes me think that cairo-dock-data (which provides cairo-
  dock.session) ought to have an explicit Depends: gnome-settings-daemon
  (or possibly a Recommends:, but definitely nothing less than that).

  I see that cairo-dock-core has a Recommends: gnome-session | <other
  stuff>, but that's so likely to be satisfied by one of the other
  choices to be almost useless. A survey of my trusty desktops indicates
  that systems upgraded from precise have gnome-session installed but
  fresh trusty installs only have gnome-session-bin. gnome-session
  depends on gnome-settings-daemon but gnome-session-bin does not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cairo-dock/+bug/1464517/+subscriptions


References