r14834 - gnucash/trunk/packaging/win32 -

Andreas Köhler andi5 at cvs.gnucash.org
Tue Sep 12 03:34:35 EDT 2006


Author: andi5
Date: 2006-09-12 03:34:34 -0400 (Tue, 12 Sep 2006)
New Revision: 14834
Trac: http://svn.gnucash.org/trac/changeset/14834

Modified:
   gnucash/trunk/packaging/win32/install.sh
Log:

install.sh: Install gconf schema files to
${GNUCASH_PREFIX}/etc/gconf/gconf.xml.defaults. I suppose this is what
most distributions do as post-install step. If GnuCash and Gnome are not
installed to the same prefix (standard), the gconf druid will pop up
once GnuCash is started. GnuCash will automagically add the correct
lines to ~/.gconf.path, shut down gconfd and load the default values, if
you choose the default selections. The others seem unadvisable to me for
windows, so another commit might hide the druid.


Modified: gnucash/trunk/packaging/win32/install.sh
===================================================================
--- gnucash/trunk/packaging/win32/install.sh	2006-09-12 07:16:08 UTC (rev 14833)
+++ gnucash/trunk/packaging/win32/install.sh	2006-09-12 07:34:34 UTC (rev 14834)
@@ -740,6 +740,15 @@
     for A in *.la; do grep -v dependency_libs $A > tmp ; mv  tmp $A; done
     qpopd
 
+    qpushd ${_GNUCASH_WFSDIR}/etc/gconf/schemas
+    for file in *.schemas; do
+        gconftool-2 \
+            --config-source=xml:merged:${_GNUCASH_WFSDIR}/etc/gconf/gconf.xml.defaults \
+            --install-schema-file $file
+    done
+    gconftool-2 --shutdown
+    qpopd
+
     # Create a startup script that works without the msys shell
     qpushd ${_GNUCASH_WFSDIR}/bin
     echo "set PATH=${GNUCASH_DIR}\\bin;${GNUCASH_DIR}\\lib\\bin;${GOFFICE_DIR}\\bin;${LIBGSF_DIR}\\bin;${GWRAP_DIR}\\bin;${GNOME_DIR}\\bin;${LIBXML2_DIR}\\bin;${GUILE_DIR}\\bin;${REGEX_DIR}\\bin;${AUTOTOOLS_DIR}\\bin" > gnucash.bat



More information about the gnucash-changes mailing list