To: SM-Commit Daemon <sm-commit AT lists.ibiblio.org>
Subject: Re: [SM-Commit] GIT changes to test grimoire by Robin Cook
Date: Sun, 21 May 2006 12:44:44 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robin Cook wrote:
> 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
> +}
<snip>
Does `gconftool-2 --makefile-install-rule` also need to be run during
default_final (so it's not tracked)? Or does the package's install rule
take care of that?