Re: Galeon gconf port - problems we are facing



On 06 Aug 2001 17:49:09 -0400, Havoc Pennington wrote:
> 
> Marco Pesenti Gritti <marco it gnome org> writes:
> > Now let's talk about the low side ;)), I hope it will help.
> 
> Definitely.
> 
> > - Users have a lot of problems getting gconf configuration right. This
> > is
> >  partially due to the lack of good gconf packages, this is going to be
> > addressed by ximian, and it's alredy solved in Mandrake and Redhat
> > (rawhide). But the problem will still exist for users that compile from
> > sources. There are a lot of users compiling gconf from sources, and I
> > verified it's a real pain to setup the gconf source correctly. This is
> > partially due to the lack of documentation, partially to the fact it's
> > an unusual task. They are used to just type make install and have all
> > correctly setup. You could check galeon-user archives to see how people
> > react to these issues :) Or just join #galeon. We are passing most of
> > our time supporting users to install gconf.
> > I really think a default backend configuration should be created on make
> > install and set up properly. I dont see anything wrong with this.
> > It's really really bad to see people pissed by gconf (and stopping to
> > use or upgrade galeon) because of these problems when you know that once
> > everything is configured properly, it works great !!!
> 
> Point taken. I guess it makes sense to fix make install to get this
> right. I'd take a patch to do that.

Patch is attacched ... I hope it's ok, but suggestions are welcome.

> > - This is more like a bug report. Many people (not me), well something
> > like 50% of people I talked about, are noticing prefs lossage after
> > using galeon for some time. The prefs just go back to default. We are
> > totally unable to track it.
> > All that I can say is that it's probably started when we began to use
> > notifiers, and that it seems to happen frequently when installing galeon
> > (so when installing the schema), and when crashing.
> > I would really be happy if someone had an idea on what can be cause
> > this. We checked our code carefully and all seems to be right. May this
> > be a gconf problem ? Or is it our fault (more likely :)?
> 
> I don't know of such a problem; I wouldn't expect it to happen really,
> but I suppose it could.
> 
> One thing to investigate, a system where it's occurred, is the
> contents of ~/.gconf after prefs are lost. Have the files been messed
> up, or is there just some other confusion?

A developer reported that there is the pref with the same value as the
default. Files doesnt appear messed up.

> Ideally we could get some way for me to reproduce this, then I can fix
> it quickly.

Well, I'm trying to get more info I can about it, but it's really
difficult to reproduce for me, I succeeded only 1 time :(

Anyway at least one of the users having this problem, is noticing two
gconfd-1 processes when opening/closing/reopening galeon. He find that
killing gconfd-1 after exiting galeon avoids problems ... 
Sorry if I have no more detailed infos atm, I'll try to track it better.

Thanks

Marco
? sourcepatch
? wrongmessage
? a
? GConf-1.0.3.tar.gz
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/gconf/Makefile.am,v
retrieving revision 1.19.2.2
diff -u -r1.19.2.2 Makefile.am
--- Makefile.am	2001/03/23 22:52:30	1.19.2.2
+++ Makefile.am	2001/08/07 17:09:27
@@ -5,26 +5,17 @@
 EXTRA_DIST=gconf-config.in gconf.m4.in gconf.spec.in gconf.spec TODO \
 	gconf.pc gconfgtk.pc
 
-WARNING_MESSAGE="If this is your first install of GConf, you may need to move $(prefix)/etc/gconf/$(MAJOR_VERSION)/path.example to $(prefix)/etc/gconf/$(MAJOR_VERSION)/path, so that the default configuration is sane. If you are already using GConf, you may need to move your old configuration into place if $(MAJOR_VERSION) is not the same as your old version."
-
-all-local:
-	@echo "**** NOTE ****"
-	@echo $(WARNING_MESSAGE)
-	@echo "**************"
-
 install-exec-local:
 	$(INSTALL_SCRIPT) gconf-config $(DESTDIR)$(bindir)/gconf-config-$(MAJOR_VERSION)
 	(cd $(DESTDIR)$(bindir) && $(LN_S) -f gconf-config-$(MAJOR_VERSION) gconf-config)
-	@echo "**** NOTE ****"
-	@echo $(WARNING_MESSAGE)
-	@echo "**************"
 
 install-data-local:
 	-mkdir -p $(DESTDIR)$(datadir)/aclocal
 	$(INSTALL_DATA) gconf.m4 $(DESTDIR)$(datadir)/aclocal/gconf-$(MAJOR_VERSION).m4
-	@echo "**** NOTE ****"
-	@echo $(WARNING_MESSAGE)
-	@echo "**************"
+	-mkdir -p $(DESTDIR)$(sysconfdir)/gconf/gconf.xml.defaults
+	-chmod 755 $(DESTDIR)$(sysconfdir)/gconf/gconf.xml.defaults
+	-mkdir -p $(DESTDIR)$(sysconfdir)/gconf/gconf.xml.mandatory
+	-chmod 755 $(DESTDIR)$(sysconfdir)/gconf/gconf.xml.mandatory
 
 install-schemas:
 	(cd standard-schemas && $(MAKE) $(AM_MAKEFLAGS) install-schemas)
Index: gconf.spec.in
===================================================================
RCS file: /cvs/gnome/gconf/gconf.spec.in,v
retrieving revision 1.13.2.3
diff -u -r1.13.2.3 gconf.spec.in
--- gconf.spec.in	2001/03/27 00:06:35	1.13.2.3
+++ gconf.spec.in	2001/08/07 17:09:27
@@ -88,8 +88,10 @@
 %files
 %defattr(-, root, root)
 %doc AUTHORS COPYING ChangeLog NEWS README
-%config %{sysconfdir}/gconf/1/*.example
+%config %{sysconfdir}/gconf/1/path
 %config %{sysconfdir}/gconf/schemas/*.schemas
+%dir	%{sysconfdir}/gconf/gconf.xml.defaults
+%dir	%{sysconfdir}/gconf/gconf.xml.mandatory
 %{prefix}/bin/gconf-config
 %{prefix}/bin/gconf-config-1
 %{prefix}/bin/gconfd-1
Index: gconf/Makefile.am
===================================================================
RCS file: /cvs/gnome/gconf/gconf/Makefile.am,v
retrieving revision 1.52.2.4
diff -u -r1.52.2.4 Makefile.am
--- gconf/Makefile.am	2001/04/17 23:16:49	1.52.2.4
+++ gconf/Makefile.am	2001/08/07 17:09:28
@@ -97,7 +97,7 @@
 
 install-data-local:
 	-mkdir -p $(DESTDIR)$(sysconfdir)/gconf/$(MAJOR_VERSION)
-	$(INSTALL_DATA) default.path $(DESTDIR)$(sysconfdir)/gconf/$(MAJOR_VERSION)/path.example
+	$(INSTALL_DATA) default.path $(DESTDIR)$(sysconfdir)/gconf/$(MAJOR_VERSION)/path
 	-mkdir -p $(DESTDIR)$(datadir)/oaf
 	$(INSTALL_DATA) gconfd.oafinfo $(DESTDIR)$(datadir)/oaf/gconfd-$(MAJOR_VERSION).oafinfo
 


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