Re: gconftool in Makefile.am



Jens Finke <jens eknif de> writes:

> in the Makefile.am in top srcdir, there are the following lines:
> 
> install-data-local:
>         GCONF_CONFIG_SOURCE=$(GCONF_CONFIG_SOURCE) gconftool \
> --makefile-install-rule $(top_srcdir)/$(schema_DATA)
> 
> What is the purpose of this command? Isn't it sufficient to copy the
> schema file to $(sysconfdir)/gconf/schemas? The problem with this is, that
> it only works if you install as root, which you normally don't do when
> building rpms. Do we really need this?

GConf likes to install schema files by itself; it needs to update its
running database and do other sorts of magic.  So we cannot do without
that command.

I don't remember what the Ximian RPMS do to build; you may want to
take a look.  I guess we could also ask Havoc about it :)

(We'll be moving away from GConf in the near future; I want to use
bonobo-conf instead).

  Federico




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