freebsd-ports/devel/gnome-vfs/files/patch-libgnomevfs::gnome-vfs-application-registry.c
Joe Marcus Clarke e18151212d Presenting GNOME 2.12 for FreeBSD. The release is chock full of bug fixes
and new features.  Don't believe me?  Then see for yourself at
http://www.gnome.org/start/2.12/notes/en/.

DO NOT USE portupgrade by itself to upgrade to GNOME 2.12.  Instead, use
the gnome_upgrade.sh script from
http://www.marcuscom.com/downloads/gnome_upgrade212.sh.  This script will
circumvent some potential pitfalls users can see if they use portupgrade
by itself.

In keeping with tradition, GNOME 2.12 for FreeBSD comes with a special
splash screen.  The winner of this release's contest is
Dominique Goncalves <dominique.goncalves@gmail.com>.  His splash screen
was inspired by http://art.gnome.org/contests/2.12-splash/83.

The FreeBSD GNOME Team would lank to thank the following users for
their contributions to this release:

Matthew Luckie <mjl@luckie.org.nz>
ade
sajd on #freebsd-gnome
Caelian on #freebsd-gnome
mnag
Yasuda Keisuke <kysd@po.harenet.ne.jp>
Mark Hobden <markhobden@gmail.com>
Sergey Akifyev <asa@agava.com>
Andreas Kohn

For more information on GNOME on FreeBSD, checkout
http://www.FreeBSD.org/gnome/.  The 2.12 documentation will be
posted shortly.
2005-11-05 04:53:48 +00:00

26 lines
809 B
C

--- libgnomevfs/gnome-vfs-application-registry.c.orig Sun May 22 23:09:39 2005
+++ libgnomevfs/gnome-vfs-application-registry.c Sun May 22 23:14:22 2005
@@ -943,6 +943,8 @@ load_application_info (void)
static void
gnome_vfs_application_registry_init (void)
{
+ gchar *tmp;
+
if (gnome_vfs_application_registry_initialized)
return;
@@ -963,6 +965,14 @@ gnome_vfs_application_registry_init (voi
"application-registry",
NULL);
gnome_registry_dir.system_dir = TRUE;
+
+ tmp = g_strconcat (g_get_home_dir(), "/.gnome", NULL);
+ if (mkdir (tmp, 0700) &&
+ errno != EEXIST) {
+ g_warning("Could not create per-user GNOME configuration directory: %s",
+ tmp);
+ }
+ g_free(tmp);
user_registry_dir.dirname = g_build_filename (g_get_home_dir(),
".gnome",