Skip site navigation (1)Skip section navigation (2)
Date:      27 Sep 2002 00:34:16 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Adam Weinberger <adam@vectors.cx>
Cc:        gnome@FreeBSD.ORG
Subject:   Re: gconfd-1 and gnome2, and the faq
Message-ID:  <1033101260.1161.58.camel@gyros.marcuscom.com>
In-Reply-To: <20020927041536.GU77771@vectors.cx>
References:  <20020926111613.GQ77771@vectors.cx> <1033089964.756.16.camel@gyros.marcuscom.com>  <20020927041536.GU77771@vectors.cx>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-BYoWnvjox9El4i3QGmxG
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Fri, 2002-09-27 at 00:15, Adam Weinberger wrote:
> >> (09.26.2002 @ 1826 PST): Joe Marcus Clarke said, in 2.1K: <<
> > Nope.  If you have the latest versions of gconf and gconf2 installed,
> > then gconfd-2 will be used instead of gconfd-1.  This solves the
> > problem.  gconfd-2 is backwards compatible.
> 
> i have the latest versions of both installed, but use fvwm2-devel as my
> window manager. often the first gnome app to start in my X session is
> galeon. as soon as galeon fires up, so does gconfd-1.
> 
> monkey@smacky:~% killall galeon-bin; killall gconfd-{1,2}; galeon&
> monkey@smacky:~% ps auxw|grep gconf
> monkey 22989  0.0  0.6  3900 2996  p5  SN    9:08PM   0:00.06 /usr/X11R6/bin/gconfd-1 8
> 
> so far, i've just added:
> 	gnome-control-center &
> 	sleep 5 && killall gnome-control-center &
> to my .xinitrc.
> 
> there's got to be a better way ::)
> 
> even though gconfd-2 takes precedence, i can't just wipe gconf off of my
> system... but if i:
> 	rm /usr/X11R6/bin/gconfd-1
> 	ln /usr/X11R6/libexec/gconfd-2 /usr/X11R6/bin/gconfd-1
> 
> then everything seems happy.
> 
> i mean, a wrapper would be really easy to construct for gconfd-1... but
> i still assume i'm just missing the point here and going way far out of
> my way.
> 
> what should i do to make sure that gconfd-2 starts up, and not gconfd-1?

Can you try the attached patches for devel/gconf?  Let me know if this
fixes things.

Joe

> 
> -Adam
> 
> 
> --
> "Oh good, my dog found the chainsaw."
>         -Lilo, "Lilo & Stitch"
> Adam Weinberger
> adam@vectors.cx
> http://vectors.cx
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc

--=-BYoWnvjox9El4i3QGmxG
Content-Disposition: attachment; filename=patch-gconf_Makefile.in
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-makefile; name=patch-gconf_Makefile.in; charset=ISO8859-1

--- gconf/Makefile.in.orig	Fri Sep 27 00:28:12 2002
+++ gconf/Makefile.in	Fri Sep 27 00:28:46 2002
@@ -154,6 +154,7 @@
 	-DGCONF_ETCDIR=3D\""$(sysconfdir)/gconf"\"			\
 	-DGCONF_BUILDDIR=3D\""$(top_builddir)"\"				\
 	-DGCONF_BINDIR=3D\""$(bindir)"\"					\
+	-DGCONF_PREFIX=3D\""$(prefix)"\"					\
 	-DGCONF_BACKEND_DIR=3D\""$(pkglibdir)/$(MAJOR_VERSION)"\"		\
 	-DVERSION=3D\""$(VERSION)"\"					\
 	-DIID=3D\""OAFIID:gconfd:19991118"\"				\

--=-BYoWnvjox9El4i3QGmxG
Content-Disposition: attachment; filename="patch-gconf::gconf-internals.c"
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-c; name="patch-gconf::gconf-internals.c"; charset=ISO8859-1

--- gconf/gconf-internals.c.orig	Thu Mar 14 22:39:51 2002
+++ gconf/gconf-internals.c	Fri Sep 27 00:30:47 2002
@@ -28,6 +28,9 @@
 #include <string.h>
 #include <sys/stat.h>
 #include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -3040,6 +3043,8 @@
=20
       if (gconf_file_exists (GCONF_BINDIR"/gconfd-2"))
         argv[0] =3D g_strconcat (GCONF_BINDIR, "/gconfd-2", NULL);
+      else if (gconf_file_exists (GCONF_PREFIX"/libexec/gconfd-2"))
+	argv[0] =3D g_strconcat (GCONF_PREFIX"/libexec/gconfd-2", NULL);
       else
         argv[0] =3D g_strconcat (GCONF_BINDIR, "/" GCONFD, NULL);
=20

--=-BYoWnvjox9El4i3QGmxG--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1033101260.1161.58.camel>