GConf snippets suggestion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux