summaryrefslogtreecommitdiffstats
path: root/fredjo-gnome-2.28-test/gconf/GConf-2.26.2-sysconfdir-1.patch
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-03 23:54:38 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-03 23:54:38 +0100
commit6ff445cbc7e0b1bad106bccf3c4fc31bcfd0f65e (patch)
treec402426f94e831a4d7c5cf4e753346617d13a21c /fredjo-gnome-2.28-test/gconf/GConf-2.26.2-sysconfdir-1.patch
parente8146a0231916a463de4284af32977d8a6e107c7 (diff)
downloadnutyx-extra-6ff445cbc7e0b1bad106bccf3c4fc31bcfd0f65e.tar.gz
nutyx-extra-6ff445cbc7e0b1bad106bccf3c4fc31bcfd0f65e.tar.bz2
nutyx-extra-6ff445cbc7e0b1bad106bccf3c4fc31bcfd0f65e.tar.xz
nutyx-extra-6ff445cbc7e0b1bad106bccf3c4fc31bcfd0f65e.zip
Ajout du paquet gconf#2.26.2
Diffstat (limited to 'fredjo-gnome-2.28-test/gconf/GConf-2.26.2-sysconfdir-1.patch')
-rwxr-xr-xfredjo-gnome-2.28-test/gconf/GConf-2.26.2-sysconfdir-1.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/fredjo-gnome-2.28-test/gconf/GConf-2.26.2-sysconfdir-1.patch b/fredjo-gnome-2.28-test/gconf/GConf-2.26.2-sysconfdir-1.patch
new file mode 100755
index 000000000..7a0009be6
--- /dev/null
+++ b/fredjo-gnome-2.28-test/gconf/GConf-2.26.2-sysconfdir-1.patch
@@ -0,0 +1,31 @@
+Submitted By: Wayne Blaszczyk
+Date: 2009-09-06
+Initial Package Version: 2.26.2
+Origin: Wayne Blaszczyk
+Upstream Status: Unknown
+Description: Removed hardcoded /etc/gconf paths.
+
+diff -Naur a/gconf/default.path.in b/gconf/default.path.in
+--- a/gconf/default.path.in 2009-04-25 16:44:06.000000000 +1000
++++ b/gconf/default.path.in 2009-09-06 12:32:07.000000000 +1000
+@@ -21,7 +21,7 @@
+ xml:readwrite:$(HOME)/.gconf
+
+ # Location for system-wide settings that are set by the defaults mechanism
+-xml:readonly:/etc/gconf/gconf.xml.system
++xml:readonly:@sysgconfdir@/gconf.xml.system
+
+ # To read in any defaults settings that the Sys Admin may have created
+ # prior to a desktop system upgrade. The SysAdmin can stick default values
+diff -Naur a/gconf/gconfd.c b/gconf/gconfd.c
+--- a/gconf/gconfd.c 2009-04-25 16:44:06.000000000 +1000
++++ b/gconf/gconfd.c 2009-09-06 12:29:41.000000000 +1000
+@@ -655,7 +655,7 @@
+
+ gconf_log (GCL_DEBUG, "System defaults changed. Notifying.");
+
+- addresses.data = "xml:merged:/etc/gconf/gconf.xml.system";
++ addresses.data = g_strconcat("xml:merged:", GCONF_ETCDIR, "/gconf.xml.system", NULL);
+ addresses.next = NULL;
+ system_sources = gconf_sources_new_from_addresses (&addresses, NULL);
+