You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
GConf2/system-settings.patch

26 lines
1.2 KiB

diff -up GConf-2.20.1/Makefile.am.system-settings GConf-2.20.1/Makefile.am
--- GConf-2.20.1/Makefile.am.system-settings 2007-11-03 16:00:34.000000000 -0400
+++ GConf-2.20.1/Makefile.am 2007-11-03 16:01:13.000000000 -0400
@@ -21,6 +21,8 @@ install-data-local:
-chmod 755 $(DESTDIR)$(sysgconfdir)/gconf.xml.defaults
-mkdir -p $(DESTDIR)$(sysgconfdir)/gconf.xml.mandatory
-chmod 755 $(DESTDIR)$(sysgconfdir)/gconf.xml.mandatory
+ -mkdir -p $(DESTDIR)$(sysgconfdir)/gconf.xml.system
+ -chmod 755 $(DESTDIR)$(sysgconfdir)/gconf.xml.system
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gconf-2.0.pc
diff -up GConf-2.20.1/gconf/default.path.in.system-settings GConf-2.20.1/gconf/default.path.in
--- GConf-2.20.1/gconf/default.path.in.system-settings 2007-11-03 15:57:35.000000000 -0400
+++ GConf-2.20.1/gconf/default.path.in 2007-11-03 15:59:04.000000000 -0400
@@ -20,6 +20,9 @@ include "$(HOME)/.gconf.path"
# Give users a default storage location, ~/.gconf
xml:readwrite:$(HOME)/.gconf
+# Location for system-wide settings.
+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
# system-wide in this file.