[SM-Commit] GIT changes to test grimoire by Robin Cook

Robin Cook scm at mail.sourcemage.org
Sun May 21 11:44:18 EDT 2006


GIT changes to test grimoire by Robin Cook <rcook at wyrms.net>:

 gnome2-libs/FUNCTIONS        |   12 ++++++++++++
 gnome2-libs/libgnome/DETAILS |    1 +
 gnome2-libs/libgnome/HISTORY |    3 +++
 3 files changed, 16 insertions(+)

New commits:
commit d860d6f743cf464ad1eeb991a2009d9112d4c102
Author: Robin Cook <rcook at wyrms.net>
Commit: Robin Cook <rcook at wyrms.net>

    gnome2-libs: added FUNCTIONS to override default_pre_remove

commit 07788403c0118ab277be0ecc4798281a5a368831
Author: Robin Cook <rcook at wyrms.net>
Commit: Robin Cook <rcook at wyrms.net>

    libgnome: added G_SCHEMAS to DETAILS

diff --git a/gnome2-libs/FUNCTIONS b/gnome2-libs/FUNCTIONS
new file mode 100755
index 0000000..3d1609f
--- /dev/null
+++ b/gnome2-libs/FUNCTIONS
@@ -0,0 +1,12 @@
+#---------------------------------------------------------------------
+## Replaces sorcerys default_pre-remove with a custom version
+#---------------------------------------------------------------------
+function default_pre_remove() {
+    debug "libapi" "$FUNCNAME - $*"
+    real_default_pre_remove "$@"
+    source ${SCRIPT_DIRECTORY}/DETAILS
+    if [ -n ${G_SCHEMAS} ]; then
+       export GCONF_CONFIG_SOURCE="xml:readwrite:${INSTALL_ROOT}/etc/gconf/gconf.xml.defaults"
+       gconftool-2 --makefile-uninstall-rule "${INSTALL_ROOT}/etc/gconf/schemas/${G_SCHEMAS}"
+    fi
+}
diff --git a/gnome2-libs/libgnome/DETAILS b/gnome2-libs/libgnome/DETAILS
index c1c68a7..abe2581 100755
--- a/gnome2-libs/libgnome/DETAILS
+++ b/gnome2-libs/libgnome/DETAILS
@@ -7,6 +7,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
       SOURCE_GPG="gurus.gpg:${SOURCE}.sig"
       LICENSE[0]=GPL
       LICENSE[1]=LGPL
+       G_SCHEMAS="desktop_gnome_*.schemas"
         WEB_SITE=http://developer.gnome.org
          ENTERED=20020509
          UPDATED=20050708
diff --git a/gnome2-libs/libgnome/HISTORY b/gnome2-libs/libgnome/HISTORY
index ffa0906..b8d6777 100644
--- a/gnome2-libs/libgnome/HISTORY
+++ b/gnome2-libs/libgnome/HISTORY
@@ -1,3 +1,6 @@
+2006-05-21 Robin Cook <rcook at wyrms.net>
+	* DETAILS: added G_SCHEMAS
+
 2006-04-20 Treeve Jelbert <treeve01 at pi.be>
 	* DEPENDS: make esound truly optional
 



More information about the SM-Commit mailing list