Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537284 - dev-libs/glib-2.42.1 should not depend on gnome-base/dconf
Summary: dev-libs/glib-2.42.1 should not depend on gnome-base/dconf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-21 20:35 UTC by Andrei Slavoiu
Modified: 2015-01-23 14:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2015-01-21 20:35:15 UTC
glib is a dependency of many applications not related to the Gnome desktop, including Qt apps with the default USE flags. And adding the Gnome configuration system as a dependency of every KDE desktop seems overkill.

Please make it optional or maybe move it as a dependency of a Gnome specific packet that is already a dependency of applications using gsettings, like gnome-base/gsettings-desktop-schemas

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-22 07:34:53 UTC
Headless servers don't need dconf, indeed.
Comment 2 Patrick Lauer gentoo-dev 2015-01-22 08:05:33 UTC
  22 Jan 2015; Patrick Lauer <patrick@gentoo.org> glib-2.42.1.ebuild:
  Don't add dconf as unconditional dependency, this pulls in >70 packages and
  forces USE=X for everyone even on non-desktop profiles

  21 Jan 2015; Pacho Ramos <pacho@gentoo.org> -files/glib-2.12.12-fbsd.patch,
  -files/glib-2.36.4-znodelete.patch,
  -files/glib-2.37.x-external-gdbus-codegen.patch,
  -files/glib-2.38.2-configure.patch, -files/glib-2.38.2-sigaction.patch,
  -glib-2.38.2-r1.ebuild, -glib-2.40.0-r1.ebuild, glib-2.42.1.ebuild:
  Ensure dconf is present (#498436, #498474#c6), drop old


Fixed for now :)
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-22 08:19:33 UTC
  22 Jan 2015; Patrick Lauer <patrick@gentoo.org> glib-2.42.1.ebuild:
  Don't add dconf as unconditional dependency, this pulls in >70 packages and
  forces USE=X for everyone even on non-desktop profiles
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-22 08:19:46 UTC
oops
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-01-22 08:53:43 UTC
You do need dconf for gsettings.
That you don't see it in the applications you are using is one thing, to have a broken default is another. See bug reports that lead to this modification.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-01-22 08:55:25 UTC
I think the best course of action is to change +X to X and make sure it is enable in either desktop profile or gnome profile.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-01-22 08:57:32 UTC
FTR, I'm running a headless UPnP server with rygel that does need to remember settings, so I add dconf in my world set for that. Just like shared-mime-info before we realized it is actually needed for gio mime detection. Imho, it should not be optional as gio is not an optional part of glib but well...
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-22 09:24:09 UTC
(In reply to Gilles Dartiguelongue from comment #5)
> You do need dconf for gsettings.

So add the dependency to packages that use gsettings.
Comment 9 Pacho Ramos gentoo-dev 2015-01-22 09:59:20 UTC
How many bugs do we need to discuss the same stuff?

*** This bug has been marked as a duplicate of bug 498436 ***
Comment 10 Pacho Ramos gentoo-dev 2015-01-22 10:12:29 UTC
Ah, regarding the dconf[+X], it was dropped some minutes ago (but I noticed it in the other bug report as didn't notice this one until I reviewed part of the mail). That is the reason of my previous comment+complaint, sorry if I was a bit rude with that :(
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-23 14:34:00 UTC
(In reply to Pacho Ramos from comment #9)
> How many bugs do we need to discuss the same stuff?
> 
> *** This bug has been marked as a duplicate of bug 498436 ***

Because that bug changed from fixing gedit to "fixing" glib, and this bug is about how "fixing" glib was the wrong thing to do.
Comment 12 Pacho Ramos gentoo-dev 2015-01-23 14:50:08 UTC
That bug changed from gedit to glib at 2014-12-29