On Sun, Feb 26, 2006 at 07:16:39PM -0500, Sebastien Maret wrote:
> I am updating the gnucash package in fink, but I don't know how to
> deal with gconf files. There are two types of files. The first ones
> are .schema files, that get installed in %i/sw/etc/gconf/schemas. For
> what i saw in other packages, I think that one must past the
> --disable-schemas-install option to the configure script, declare
> these files as ConfFiles, and make a PostInstScript:
> 
> if [ configure = "$1" ]; then
>   export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
>   gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/foo.schemas 
> >/dev/null
>   gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/bar.schemas 
> >/dev/null
> endif

Right. I'm not convinced this is "correct", but it's the current
standard for fink packages.

> The second type of files are .xml files that get installed in
> %i/etc/gconf/gconf.xml.defaults/schemas/apps/gnucash. What should I do
> with those?

I think those are created on-the-fly by the gconftool-2
--makefile-install-rule call. If you pass --disable-schemas-install,
are they still present?

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to