Re: GNOME CVS: gnome-applets hadess



Bastien Nocera <hadess hadess net> writes: 
> OK, what are the magic lines that work everywhere, don't break packaging
> and work for source installs as well ?
> 

Packages should contain something like:

export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

and then in %post:

export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/<packagename>.schemas > /dev/null

That's the best thing I've come up with so far. If someone has better
ideas I'm open to them.

I think a standard --disable-gconf-schema-install configure option
might be nicer for packagers, but it requires more work on the part of
app developers.

Havoc



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