[Fedora-packaging] GConf snippets suggestion

Yanko Kaneti yaneti at declera.com
Sun Aug 20 06:45:04 UTC 2006


Hi,

Since the wiki doesn't allow useful collaboration on immutable pages,
here is my suggestion for the gconf schema installation snippet in the
form of a patch.

It tries to emphasize the proper (IMHO) --disable-schemas-install method
of disabling schemas installation on the build host vs the prevalent
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL hack (again IMHO)

Regards
Yanko


--- ScriptletSnippets	2006-08-20 09:04:41.000000000 +0300
+++ ScriptletSnippets.gconf	2006-08-20 09:29:51.000000000 +0300
@@ -148,6 +148,12 @@
 
 Here's the first part:
 {{{
+%build
+%configure --disable-schemas-install
+...
+}}}
+In the cases where the package doesn't use autotools or doesnt support the --disable-schemas-install configure flag we instuct gconftool to ignore schema installation commands by setting the GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL environment variable
+{{{
 %install
 rm -rf $RPM_BUILD_ROOT
 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1





More information about the Fedora-packaging mailing list