Skip site navigation (1)Skip section navigation (2)
Date:      25 May 2003 14:28:56 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: gnect fails to run on sparc64
Message-ID:  <1053887336.90378.6.camel@shumai.marcuscom.com>
In-Reply-To: <20030525074510.GA26106@rot13.obsecurity.org>
References:  <20030525074510.GA26106@rot13.obsecurity.org>

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

--=-7HFwSKkpSNTzRqd+Mmou
Content-Type: multipart/mixed; boundary="=-k1wXkdtNEseYOudO4lDK"


--=-k1wXkdtNEseYOudO4lDK
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2003-05-25 at 03:45, Kris Kennaway wrote:
> When starting gnect on sparc64 I get the following error dialog:
>=20
> ---
> The default configuration values could not be retrieved
> correctly. Please check your GConf configuration, specifically that
> the schemas are installed correctly
> ---
>=20
> and the program fails to launch.

Here you go.

Joe

>=20
> Kris
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-k1wXkdtNEseYOudO4lDK
Content-Disposition: attachment; filename=gnomegames2.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; name=gnomegames2.diff; charset=iso-8859-1

diff -ruN gnomegames2.orig/Makefile gnomegames2/Makefile
--- gnomegames2.orig/Makefile	Sun May 25 14:27:24 2003
+++ gnomegames2/Makefile	Sun May 25 14:03:46 2003
@@ -7,7 +7,7 @@
=20
 PORTNAME=3D	gnomegames2
 PORTVERSION=3D	2.2.1
-PORTREVISION=3D	1
+PORTREVISION=3D	2
 CATEGORIES=3D	games gnome
 MASTER_SITES=3D	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=3D	sources/gnome-games/2.2
@@ -15,7 +15,7 @@
 DIST_SUBDIR=3D	gnome2
=20
 MAINTAINER=3D	gnome@FreeBSD.org
-COMMENT=3D	The game applications package for the Gnome 2.0 Desktop Environ=
ment
+COMMENT=3D	The game applications package for the Gnome 2 Desktop Environme=
nt
=20
 LIB_DEPENDS=3D	guile.15:${PORTSDIR}/lang/guile
=20
@@ -27,7 +27,7 @@
 USE_LIBTOOL=3D	yes
 INSTALLS_SHLIB=3D	yes
 CONFIGURE_ENV=3D	CPPFLAGS=3D"-I${LOCALBASE}/include" \
-		LIBS=3D"-L${LOCALBASE}/lib"
+		LDFLAGS=3D"-L${LOCALBASE}/lib"
=20
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
diff -ruN gnomegames2.orig/files/patch-gnect_data_Makefile.in gnomegames2/f=
iles/patch-gnect_data_Makefile.in
--- gnomegames2.orig/files/patch-gnect_data_Makefile.in	Wed Dec 31 19:00:00=
 1969
+++ gnomegames2/files/patch-gnect_data_Makefile.in	Sun May 25 14:04:05 2003
@@ -0,0 +1,30 @@
+--- gnect/data/Makefile.in.orig	Sun May 25 13:52:25 2003
++++ gnect/data/Makefile.in	Sun May 25 13:56:14 2003
+@@ -300,7 +300,7 @@
+ install-exec-am:
+ install-exec: install-exec-am
+=20
+-install-data-am: install-GamesDATA install-schemaDATA \
++install-data-am: install-GamesDATA install-schemaDATA install-data-local =
\
+ 		install-soundlistDATA install-themeDATA \
+ 		install-velenaDATA
+ install-data: install-data-am
+@@ -351,7 +351,7 @@
+ maintainer-clean: maintainer-clean-am
+=20
+ .PHONY: uninstall-GamesDATA install-GamesDATA uninstall-schemaDATA \
+-install-schemaDATA uninstall-soundlistDATA install-soundlistDATA \
++install-schemaDATA install-data-local uninstall-soundlistDATA install-sou=
ndlistDATA \
+ uninstall-themeDATA install-themeDATA uninstall-velenaDATA \
+ install-velenaDATA tags distdir info-am info dvi-am dvi check check-am \
+ installcheck-am installcheck install-exec-am install-exec \
+@@ -363,6 +363,9 @@
+ @INTLTOOL_DESKTOP_RULE@
+ @INTLTOOL_SCHEMAS_RULE@
+ @INTLTOOL_SOUNDLIST_RULE@
++
++install-data-local:
++	-GCONF_CONFIG_SOURCE=3D$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --make=
file-install-rule $(srcdir)/$(schema_DATA)
+=20
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff -ruN gnomegames2.orig/files/patch-gnect_src_prefs.c gnomegames2/files/=
patch-gnect_src_prefs.c
--- gnomegames2.orig/files/patch-gnect_src_prefs.c	Wed Dec 31 19:00:00 1969
+++ gnomegames2/files/patch-gnect_src_prefs.c	Sun May 25 14:21:39 2003
@@ -0,0 +1,51 @@
+--- gnect/src/prefs.c.orig	Sun May 25 14:21:05 2003
++++ gnect/src/prefs.c	Sun May 25 14:21:15 2003
+@@ -264,40 +264,6 @@
+=20
+=20
+=20
+-static void=20
+-sanity_check(void)
+-{
+-  gchar *tileset;
+-  GError *error =3D NULL;
+- =20
+-  tileset =3D gconf_client_get_string (gnect_gconf_client,
+-                                     "/apps/gnect/theme", &error);
+-  if (error) {
+-    GtkWidget *dialog;
+-    dialog =3D gtk_message_dialog_new (NULL,
+-                                     0,
+-                                     GTK_MESSAGE_ERROR,
+-                                     GTK_BUTTONS_CLOSE,
+-                                     _("There was an error accessing GCon=
f: %s"),
+-                                     error->message);
+-    gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
+-    gtk_dialog_run(GTK_DIALOG(dialog));
+-    exit(1);
+-  } else if (!tileset) {
+-    GtkWidget *dialog;
+-    dialog =3D gtk_message_dialog_new (NULL,
+-                                     0,
+-                                     GTK_MESSAGE_ERROR,
+-                                     GTK_BUTTONS_CLOSE,
+-                                     _("The default configuration values =
could not be retrieved correctly. Please check your GConf configuration, sp=
ecifically that the schemas are installed correctly"));
+-    gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
+-    gtk_dialog_run(GTK_DIALOG(dialog));
+-    exit(1);
+-  } else {
+-    g_free (tileset);
+-  }
+-}
+-
+ void
+ prefs_init (gint argc, gchar **argv)
+ {
+@@ -313,7 +279,6 @@
+=20
+         gconf_init (argc, argv, NULL);
+         gnect_gconf_client =3D gconf_client_get_default ();
+-        sanity_check();
+         gconf_client_add_dir (gnect_gconf_client, "/apps/gnect",
+                               GCONF_CLIENT_PRELOAD_NONE, NULL);
+=20
diff -ruN gnomegames2.orig/pkg-plist gnomegames2/pkg-plist
--- gnomegames2.orig/pkg-plist	Sun May 25 14:27:24 2003
+++ gnomegames2/pkg-plist	Sun May 25 14:11:43 2003
@@ -16,11 +16,10 @@
 bin/mahjongg
 bin/same-gnome
 bin/sol
-etc/gconf/gconf.xml.defaults/%gconf.xml
-etc/gconf/gconf.xml.defaults/apps/%gconf.xml
 etc/gconf/gconf.xml.defaults/apps/freecell/%gconf.xml
 etc/gconf/gconf.xml.defaults/apps/freecell/option/%gconf.xml
 etc/gconf/gconf.xml.defaults/apps/freecell/score/%gconf.xml
+etc/gconf/gconf.xml.defaults/apps/gnect/%gconf.xml
 etc/gconf/gconf.xml.defaults/apps/gnometris/%gconf.xml
 etc/gconf/gconf.xml.defaults/apps/gnometris/options/%gconf.xml
 etc/gconf/gconf.xml.defaults/apps/gnomine/%gconf.xml
@@ -29,12 +28,11 @@
 etc/gconf/gconf.xml.defaults/apps/iagno/%gconf.xml
 etc/gconf/gconf.xml.defaults/apps/mahjongg/%gconf.xml
 etc/gconf/gconf.xml.defaults/apps/same-gnome/%gconf.xml
-etc/gconf/gconf.xml.defaults/schemas/%gconf.xml
-etc/gconf/gconf.xml.defaults/schemas/apps/%gconf.xml
 etc/gconf/gconf.xml.defaults/schemas/apps/freecell/%gconf.xml
 etc/gconf/gconf.xml.defaults/schemas/apps/freecell/option/%gconf.xml
 etc/gconf/gconf.xml.defaults/schemas/apps/freecell/score/%gconf.xml
 etc/gconf/gconf.xml.defaults/schemas/apps/gataxx/%gconf.xml
+etc/gconf/gconf.xml.defaults/schemas/apps/gnect/%gconf.xml
 etc/gconf/gconf.xml.defaults/schemas/apps/gnometris/%gconf.xml
 etc/gconf/gconf.xml.defaults/schemas/apps/gnometris/options/%gconf.xml
 etc/gconf/gconf.xml.defaults/schemas/apps/gnomine/%gconf.xml
@@ -802,6 +800,7 @@
 @dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnomine
 @dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnometris/options
 @dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnometris
+@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gnect
 @dirrm etc/gconf/gconf.xml.defaults/schemas/apps/gataxx
 @dirrm etc/gconf/gconf.xml.defaults/schemas/apps/freecell/score
 @dirrm etc/gconf/gconf.xml.defaults/schemas/apps/freecell/option
@@ -814,6 +813,7 @@
 @dirrm etc/gconf/gconf.xml.defaults/apps/gnomine
 @dirrm etc/gconf/gconf.xml.defaults/apps/gnometris/options
 @dirrm etc/gconf/gconf.xml.defaults/apps/gnometris
+@dirrm etc/gconf/gconf.xml.defaults/apps/gnect
 @dirrm etc/gconf/gconf.xml.defaults/apps/freecell/score
 @dirrm etc/gconf/gconf.xml.defaults/apps/freecell/option
 @dirrm etc/gconf/gconf.xml.defaults/apps/freecell

--=-k1wXkdtNEseYOudO4lDK--

--=-7HFwSKkpSNTzRqd+Mmou
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQA+0Qtob2iPiv4Uz4cRAkCeAJ0X9RxoTH/ydn7Qt2WVYAqIvYdRMwCfXzaL
2aHElv90gR9IvlXDbEUg/84=
=GOoW
-----END PGP SIGNATURE-----

--=-7HFwSKkpSNTzRqd+Mmou--



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