From 25004e4d11bbd2e8a22d5bcf49f294e9f63d2ce5 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Tue, 18 Oct 2011 17:34:56 -0400 Subject: data: change the way we do dconf We currently generate a complete, binary dconf database as part of the install process. In general, system administrators can change dconf settings system-wide using a mechanism described here: https://live.gnome.org/dconf/SystemAdministrators Unfortunately, because of the way we generate our database, any administrator overrides will get discarded during package upgrade, and likewise, our carefully vetted database will get destroyed on any site administrator updates. Rather than step on each others toes, this commit changes GDM to use the same mechanism described above. This should make upstream defaults and system defaults coexist much better. Note, the mechanism used isn't quite as featureful as we would really like. It doesn't support wildcards or changing whole subtrees at a time. That means, in theory, if a new plugin gets added to settings daemon it could be marked active at the login screen without being vetted first. To circumvent this, we add a layer of indirection in and some gross shell scripting to give us the features we need. Distributions should probably run /usr/libexec/gdm-update-dconf-db \ gdm \ /usr/share/gdm/upstream-settings \ 00-upstream-settings In there post transaction hooks, but at a minimum need to run dconf update. --- autogen.sh | 5 ----- 1 file changed, 5 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index eb1894a1..f8574741 100755 --- a/autogen.sh +++ b/autogen.sh @@ -17,11 +17,6 @@ PKG_NAME="GDM" exit 1 } -(cd $srcdir/data/ ; ./make-dconf-override-db.sh) || { - echo "**Error**: Script "\`$srcdir/data/make-dconf-override-db.sh\'" failed" - exit 1 -} - which gnome-autogen.sh || { echo "You need to install gnome-common from the GNOME SVN" exit 1 -- cgit v1.2.1