Re: GNOME CVS: gnome-applets hadess



On Mon, 2002-03-04 at 19:42, Havoc Pennington wrote:
> 
> 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.

Not if it's included in some Gconf macro that does all the job for us :)
Maybe in GCONF_SOURCE_2 for example.

Thanks for straightening this up Havoc.

Jacob, would the Makefiles work fine as they are now, or do you want me
to revert my changes ?

Cheers

-- 
/Bastien Nocera
http://hadess.net

Attachment: signature.asc
Description: This is a digitally signed message part



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