[Gtk-sharp-list] gconf# troubles
George Farris
george@gmsys.com
Sat, 03 Jul 2004 00:37:24 -0700
I seem to be having troubles installing an app from an rpm and having it
find keys. I get:
"Unhandled Exception: GConf.NoSuchKeyException: Key"
Can someone please explain the correct sequence of events to have an app
that uses gconf install correctly? In my spec file I have sections that
look like so:
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/etc/gconf/schemas
install -m 644 data/gfax.schema
$RPM_BUILD_ROOT/etc/gconf/schemas/gfax.schema
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule
%{_sysconfdir}/gconf/schemas/gfax.schema > /dev/null
%files
%defattr(-,root,root)
%config %{_sysconfdir}/gconf/schemas/*.schema
I would have thought that running gconftool-2 would do the job but it
doesn't seem to.
Any help greatly appreciated.
--
George Farris <george@gmsys.com>