summaryrefslogtreecommitdiffstats
path: root/x11-fm/nautilus2/files
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2001-01-12 19:59:39 +0000
committerade <ade@FreeBSD.org>2001-01-12 19:59:39 +0000
commit13dab85dcc6adb14d649a4792e293d8c18bb5428 (patch)
treef885ad75cbead734e5ccaa8f861baab7bd13d2a8 /x11-fm/nautilus2/files
parent95a3372830c4c3695eda9e7d3e990f5d4dfac99e (diff)
downloadFreeBSD-ports-13dab85dcc6adb14d649a4792e293d8c18bb5428.zip
FreeBSD-ports-13dab85dcc6adb14d649a4792e293d8c18bb5428.tar.gz
Long-awaited update to 0.5 -- goes "bang" fairly quickly, spewing corefiles
all over the place. If some enterprising hacker wants to figure out why, patches are more than welcome, both to me and the nautilus developers.
Diffstat (limited to 'x11-fm/nautilus2/files')
-rw-r--r--x11-fm/nautilus2/files/patch-aa114
-rw-r--r--x11-fm/nautilus2/files/patch-ac211
-rw-r--r--x11-fm/nautilus2/files/patch-ad49
-rw-r--r--x11-fm/nautilus2/files/patch-ae10
-rw-r--r--x11-fm/nautilus2/files/patch-af11
-rw-r--r--x11-fm/nautilus2/files/patch-ag16
-rw-r--r--x11-fm/nautilus2/files/patch-ah69
-rw-r--r--x11-fm/nautilus2/files/patch-ai175
-rw-r--r--x11-fm/nautilus2/files/patch-aj10
-rw-r--r--x11-fm/nautilus2/files/patch-ak10
-rw-r--r--x11-fm/nautilus2/files/patch-al9
11 files changed, 339 insertions, 345 deletions
diff --git a/x11-fm/nautilus2/files/patch-aa b/x11-fm/nautilus2/files/patch-aa
index ff17f0b..7f49406 100644
--- a/x11-fm/nautilus2/files/patch-aa
+++ b/x11-fm/nautilus2/files/patch-aa
@@ -1,26 +1,41 @@
---- configure.orig Mon Aug 14 19:47:02 2000
-+++ configure Mon Aug 28 13:34:38 2000
-@@ -2368,7 +2368,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
+--- configure.orig Tue Nov 7 08:28:46 2000
++++ configure Fri Jan 12 10:20:32 2001
+@@ -39,5 +39,5 @@
+ ac_help="$ac_help
+- --with-freetype2-lib-prefix=PREFIX freetype2 library path"
++ --with-freetype2-lib-place=PREFIX freetype2 library path"
+ ac_help="$ac_help
+- --with-freetype2-include-prefix=PREFIX freetype2 include path"
++ --with-freetype2-include-place=PREFIX freetype2 include path"
+ ac_help="$ac_help
+@@ -2545,5 +2545,4 @@
+
+-# Check whether --with-freetype2 or --without-freetype2 was given.
+-if test "${with_freetype2+set}" = set; then
+- withval="$with_freetype2"
++if test "${with_freetype2_lib_place+set}" = set; then
++ withval="$with_freetype2_lib_place"
+ freetype2_lib_prefix=$withval
+@@ -2553,6 +2552,4 @@
+
+-
+-# Check whether --with-freetype2 or --without-freetype2 was given.
+-if test "${with_freetype2+set}" = set; then
+- withval="$with_freetype2"
++if test "${with_freetype2_include_place+set}" = set; then
++ withval="$with_freetype2_include_place"
+ freetype2_include_prefix=$withval
+@@ -2670,3 +2667,3 @@
ac_save_LIBS="$LIBS"
-LIBS="-lpam -ldl $LIBS"
-+LIBS="-lpam $LIBS"
++LIBS="-lpam $LIBS"
cat > conftest.$ac_ext <<EOF
- #line 2374 "configure"
- #include "confdefs.h"
-@@ -2408,7 +2408,7 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
+@@ -2710,3 +2707,3 @@
ac_save_LIBS="$LIBS"
-LIBS="-lpam_misc -ldl -lpam $LIBS"
+LIBS="-lpam_misc -lpam $LIBS"
cat > conftest.$ac_ext <<EOF
- #line 2414 "configure"
- #include "confdefs.h"
-@@ -2436,10 +2436,10 @@
- fi
- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+@@ -2738,6 +2735,6 @@
echo "$ac_t""yes" 1>&6
- PAM_LIBS="-ldl -lpam -lpam_misc"
+ PAM_LIBS="-lpam -lpam_misc"
@@ -29,72 +44,13 @@
-PAM_LIBS="-ldl -lpam"
+PAM_LIBS="-lpam"
fi
-
- else
-@@ -2657,7 +2657,7 @@
-
- CC=$_save_cc
+@@ -2978,3 +2975,3 @@
--LDFLAGS="$_save_cflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtksuperwin"
-+LDFLAGS="$_save_cflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lstdc++ -lgtksuperwin"
+-LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtksuperwin"
++LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lstdc++ -lgtksuperwin"
echo $ac_n "checking for gdk_superwin_get_type in -lgtksuperwin""... $ac_c" 1>&6
- echo "configure:2663: checking for gdk_superwin_get_type in -lgtksuperwin" >&5
- ac_lib_var=`echo gtksuperwin'_'gdk_superwin_get_type | sed 'y%./+-%__p_%'`
-@@ -2979,7 +2979,7 @@
- fi
- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+@@ -3337,3 +3334,3 @@
echo "$ac_t""yes" 1>&6
- rpm_libs=-lbz2
+ rpm_libs="-lrpm -lbz2"
else
- echo "$ac_t""no" 1>&6
- fi
-@@ -3019,7 +3019,7 @@
- fi
- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-- rpm_libs=-lbz2
-+ rpm_libs="-lrpm -lbz2"
- cat >> confdefs.h <<\EOF
- #define bzread BZ2_bzread
- EOF
-@@ -3109,24 +3109,24 @@
- echo "$ac_t""no" 1>&6
- fi
-
--echo $ac_n "checking for rpmRunTransactions in -lrpm""... $ac_c" 1>&6
--echo "configure:3114: checking for rpmRunTransactions in -lrpm" >&5
--ac_lib_var=`echo rpm'_'rpmRunTransactions | sed 'y%./+-%__p_%'`
-+echo $ac_n "checking for rpmReadPackageInfo in -lrpm""... $ac_c" 1>&6
-+echo "configure:3114: checking for rpmReadPackageInfo in -lrpm" >&5
-+ac_lib_var=`echo rpm'_'rpmReadPackageInfo | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-lrpm -lz $rpm_libs -ldb $LIBS"
-+LIBS="-lrpm -lz $rpm_libs $LIBS"
- cat > conftest.$ac_ext <<EOF
- #line 3122 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
--char rpmRunTransactions();
-+char rpmReadPackageInfo();
-
- int main() {
--rpmRunTransactions()
-+rpmReadPackageInfo()
- ; return 0; }
- EOF
- if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-@@ -3156,7 +3156,7 @@
- #define HAVE_RPM 1
- EOF
-
-- RPM_LIBS="-lrpm -lz $rpm_libs -ldb"
-+ RPM_LIBS="-lrpm -lz $rpm_libs"
- fi
-
-
diff --git a/x11-fm/nautilus2/files/patch-ac b/x11-fm/nautilus2/files/patch-ac
index 708c7d4..ab6106e 100644
--- a/x11-fm/nautilus2/files/patch-ac
+++ b/x11-fm/nautilus2/files/patch-ac
@@ -1,152 +1,79 @@
---- libnautilus-extensions/nautilus-volume-monitor.c.orig Thu Aug 3 17:15:57 2000
-+++ libnautilus-extensions/nautilus-volume-monitor.c Tue Aug 22 17:45:07 2000
-@@ -22,6 +22,9 @@
- Authors: Gene Z. Ragan <gzr@eazel.com>
- */
-
+--- libnautilus-extensions/nautilus-volume-monitor.c.orig Thu Oct 19 16:51:16 2000
++++ libnautilus-extensions/nautilus-volume-monitor.c Fri Jan 12 11:05:57 2001
+@@ -60,4 +60,9 @@
+ #else
++#ifdef __FreeBSD__
+#include <sys/param.h>
+#include <sys/mount.h>
++#else
+ #include <mntent.h>
+ #endif
++#endif
+
+@@ -935,2 +940,40 @@
+
++#ifdef __FreeBSD__
++static void
++fstab_add_mount_volume (NautilusVolumeMonitor *monitor, struct fstab *ent)
++{
++ NautilusVolume *volume;
++ gboolean mounted;
++
++ volume = g_new0 (NautilusVolume, 1);
++ volume->fsname = g_strdup(ent->fs_spec);
++ volume->mount_path = g_strdup(ent->fs_file);
++
++ mounted = FALSE;
++
++ if (nautilus_str_has_prefix (ent->fs_spec, "/dev/fd")) {
++ mounted = mount_volume_floppy_add (monitor, volume);
++ } else if (strcmp (ent->fs_vfstype, "ufs") == 0) {
++ mounted = mount_volume_ext2_add (volume);
++ } else if (strcmp (ent->fs_vfstype, "nfs") == 0) {
++ mounted = mount_volume_nfs_add (volume);
++ } else if (strcmp (ent->fs_vfstype, "cd9660") == 0) {
++ mounted = mount_volume_iso9660_add (volume);
++ } else if (strcmp (ent->fs_vfstype, "msdos") == 0) {
++ mounted = mount_volume_msdos_add (volume);
++ }
++
++ if (mounted) {
++ volume->is_read_only = strstr (ent->fs_type, FSTAB_RO) != NULL;
++ monitor->details->volumes = g_list_append (monitor->details->volumes, volume);
++ mount_volume_add_aliases (monitor, volume->fsname, volume);
++ } else {
++ g_free (volume->fsname);
++ g_free (volume->mount_path);
++ g_free (volume);
++ }
++}
++
++#else
+
- #include <config.h>
-
- #include <errno.h>
-@@ -31,7 +34,6 @@
- #include <gnome.h>
- #include <libgnome/gnome-i18n.h>
- #include <libgnomevfs/gnome-vfs.h>
--#include <mntent.h>
- #include <libnautilus-extensions/nautilus-cdrom-extensions.h>
- #include <libnautilus-extensions/nautilus-directory-private.h>
- #include <libnautilus-extensions/nautilus-file-utilities.h>
-@@ -48,6 +50,11 @@
- #include <sys/types.h>
- #include <xmlmemory.h>
-
-+#undef MOUNT_TYPE_ISO9660
-+#define MOUNT_TYPE_ISO9660 "cd9660"
-+#undef MOUNT_TYPE_EXT2
-+#define MOUNT_TYPE_EXT2 "ufs" /* really ufs */
-+#define _PATH_MOUNTED "/etc/fstab"
-
- /* FIXME: Remove messages when this code is done. */
- #define MESSAGE g_message
-@@ -91,7 +98,7 @@
- DeviceInfo *device);
- static void mount_device_activate_floppy (NautilusVolumeMonitor *view,
- DeviceInfo *device);
--static gboolean mntent_is_removable_fs (struct mntent *ent);
-+static gboolean mntent_is_removable_fs (struct fstab *ent);
- static void free_device_info (DeviceInfo *device,
- NautilusVolumeMonitor *monitor);
- static gboolean add_mount_link_property (const char *path);
-@@ -197,21 +204,19 @@
- fm_desktop_get_removable_volume_list (void)
- {
- GList *list;
-- FILE *mef;
-- struct mntent *ent;
-+ struct fstab *ent;
-
- list = NULL;
-
-- mef = setmntent (_PATH_FSTAB, "r");
-- g_return_val_if_fail (mef, NULL);
-+ setfsent();
-
-- while ((ent = getmntent (mef))) {
-+ while ((ent = getfsent ())) {
- if (mntent_is_removable_fs (ent)) {
-- list = g_list_append (list, g_strdup (ent->mnt_dir));
-+ list = g_list_append (list, g_strdup (ent->fs_file));
- continue;
- }
- }
-- endmntent (mef);
-+ endfsent ();
-
- /* Move all floppy mounts to top of list */
- list = g_list_sort (list, (GCompareFunc) floppy_sort);
-@@ -754,7 +759,7 @@
-
-
static void
--add_mount_device (NautilusVolumeMonitor *monitor, struct mntent *ent)
-+add_mount_device (NautilusVolumeMonitor *monitor, struct fstab *ent)
- {
- DeviceInfo *newdev = NULL;
- gboolean mounted;
-@@ -762,23 +767,23 @@
- newdev = g_new0 (DeviceInfo, 1);
- g_assert (newdev);
- newdev->device_fd = -1;
-- newdev->fsname = g_strdup (ent->mnt_fsname);
-- newdev->mount_path = g_strdup (ent->mnt_dir);
-+ newdev->fsname = g_strdup (ent->fs_spec);
-+ newdev->mount_path = g_strdup (ent->fs_file);
- newdev->volume_name = NULL;
- newdev->link_uri = NULL;
- newdev->state = STATE_EMPTY;
-
+@@ -946,3 +989,3 @@
mounted = FALSE;
-
-- if (strcmp (ent->mnt_type, MOUNT_TYPE_ISO9660) == 0) {
-+ if (strcmp (ent->fs_type, MOUNT_TYPE_ISO9660) == 0) {
- mounted = mount_device_iso9660_add (monitor, newdev);
-- } else if (strncmp (ent->mnt_fsname, "/dev/fd", strlen("/dev/fd")) == 0) {
-+ } else if (strncmp (ent->fs_file, "/dev/fd", strlen("/dev/fd")) == 0) {
- mounted = mount_device_floppy_add (monitor, newdev);
-- } else if (strcmp (ent->mnt_type, MOUNT_TYPE_EXT2) == 0) {
-+ } else if (strcmp (ent->fs_type, MOUNT_TYPE_EXT2) == 0) {
- mounted = mount_device_ext2_add (newdev);
- } else {
- /* FIXME: Is this a reasonable way to report this error? */
-- MESSAGE ("Unknown file system: %s", ent->mnt_type);
-+ MESSAGE ("Unknown file system: %s", ent->fs_type);
- }
-
- if (mounted) {
-@@ -794,13 +799,13 @@
+-
++
+ if (nautilus_str_has_prefix (ent->mnt_fsname, FLOPPY_DEVICE_PATH_PREFIX)) {
+@@ -993,2 +1036,3 @@
}
-
- static gboolean
--mntent_is_removable_fs (struct mntent *ent)
-+mntent_is_removable_fs (struct fstab *ent)
- {
-- if (strcmp (ent->mnt_type, MOUNT_TYPE_ISO9660) == 0) {
-+ if (strcmp (ent->fs_type, MOUNT_TYPE_ISO9660) == 0) {
- return TRUE;
- }
-
-- if (strncmp (ent->mnt_fsname, "/dev/fd", strlen("/dev/fd")) == 0) {
-+ if (strncmp (ent->fs_file, "/dev/fd", strlen("/dev/fd")) == 0) {
- return TRUE;
- }
-
-@@ -833,14 +838,12 @@
- void
- nautilus_volume_monitor_find_mount_devices (NautilusVolumeMonitor *monitor)
++#endif /* __FreeBSD__ */
+ #endif /* HAVE_SYS_MNTTAB_H */
+@@ -1021,2 +1065,11 @@
{
-- FILE *mef;
-- struct mntent *ent;
++#ifdef __FreeBSD__
+ struct fstab *ent;
-
-- mef = setmntent (_PATH_MNTTAB, "r");
-- g_return_if_fail (mef);
++
+ setfsent ();
-
-- while ((ent = getmntent (mef))) {
-- MESSAGE ("Checking device %s", ent->mnt_fsname);
-+ while ((ent = getfsent ())) {
-+ MESSAGE ("Checking device %s", ent->fs_spec);
-
- #if 0
- /* Think some more about these checks */
-@@ -859,7 +862,7 @@
- }
-
-
-- endmntent (mef);
-+ endfsent ();
-
- g_list_foreach (monitor->details->devices, (GFunc) mount_device_set_state, monitor);
++ while ((ent = getfsent ()))
++ fstab_add_mount_volume (monitor, ent);
++ endfsent ();
++#else
++
+ FILE *mef;
+@@ -1055,2 +1108,4 @@
+ #endif
++
++#endif /* __FreeBSD__ */
diff --git a/x11-fm/nautilus2/files/patch-ad b/x11-fm/nautilus2/files/patch-ad
index 5f1fee5..bc6672a 100644
--- a/x11-fm/nautilus2/files/patch-ad
+++ b/x11-fm/nautilus2/files/patch-ad
@@ -1,30 +1,31 @@
---- components/rpmview/nautilus-rpm-view.c.orig Mon Aug 7 18:31:00 2000
-+++ components/rpmview/nautilus-rpm-view.c Tue Aug 22 18:21:25 2000
-@@ -52,6 +52,10 @@
- #include <libgnorba/gnorba.h>
- #include <limits.h>
+--- components/rpmview/nautilus-rpm-view.c.orig Tue Oct 3 01:33:39 2000
++++ components/rpmview/nautilus-rpm-view.c Fri Jan 12 10:04:04 2001
+@@ -57,2 +57,8 @@
-+#define FD_t int
-+#define fdOpen open
-+#define fdClose close
++#ifdef __FreeBSD__
++#define FD_t int
++#define fdOpen open
++#define fdClose close
++#endif
+
#ifdef EAZEL_SERVICES
- #include <libeazelinstall.h>
- #include "nautilus-rpm-view-install.h"
-@@ -399,7 +403,6 @@
- gint result = 0;
- gchar *version_ptr, *release_ptr;
+@@ -483,4 +489,5 @@
-- rpmReadConfigFiles (NULL, NULL);
+-
++#ifndef __FreeBSD__
+ rpmReadConfigFiles (NULL, NULL);
++#endif
rpm_result = rpmdbOpen ("", &rpm_db, O_RDONLY, 0644);
- if (rpm_result != 0) {
- g_message ("couldn't open package database: %d", rpm_result);
-@@ -467,7 +470,7 @@
-
- file_descriptor = fdOpen (path_name, O_RDONLY, 0644);
-
-- if (file_descriptor != NULL) {
-+ if (file_descriptor != -1) {
-
+@@ -571,4 +578,10 @@
+ g_free (path_name);
+-
+- if (file_descriptor != NULL) {
++
++ if (file_descriptor !=
++#ifdef __FreeBSD_
++ if (file_descriptor != -1)
++#else
++ if (file_descriptor != NULL)
++#endif
++ {
/* read out the appropriate fields, and set them up in the view */
- result = rpmReadPackageInfo (file_descriptor, &signature, &header_info);
diff --git a/x11-fm/nautilus2/files/patch-ae b/x11-fm/nautilus2/files/patch-ae
deleted file mode 100644
index 5feacc5..0000000
--- a/x11-fm/nautilus2/files/patch-ae
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/file-manager/fm-desktop-icon-view.c.orig Thu Aug 3 17:15:58 2000
-+++ src/file-manager/fm-desktop-icon-view.c Tue Aug 22 18:55:18 2000
-@@ -41,7 +41,6 @@
- #include <libnautilus-extensions/nautilus-link.h>
- #include <libnautilus-extensions/nautilus-volume-monitor.h>
- #include <limits.h>
--#include <mntent.h>
- #include <stddef.h>
- #include <stdio.h>
- #include <string.h>
diff --git a/x11-fm/nautilus2/files/patch-af b/x11-fm/nautilus2/files/patch-af
deleted file mode 100644
index f5c2357..0000000
--- a/x11-fm/nautilus2/files/patch-af
+++ /dev/null
@@ -1,11 +0,0 @@
---- tools/Makefile.in.orig Wed Aug 16 08:29:15 2000
-+++ tools/Makefile.in Thu Aug 24 10:35:27 2000
-@@ -154,7 +154,7 @@
-
- NULL =
-
--SUBDIRS = leak-checker $(NULL)
-+SUBDIRS = $(NULL)
-
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = ../config.h
diff --git a/x11-fm/nautilus2/files/patch-ag b/x11-fm/nautilus2/files/patch-ag
index b8000d5..d66452a 100644
--- a/x11-fm/nautilus2/files/patch-ag
+++ b/x11-fm/nautilus2/files/patch-ag
@@ -1,13 +1,9 @@
---- src/Makefile.in.orig Wed Aug 16 08:29:06 2000
-+++ src/Makefile.in Wed Aug 23 14:53:30 2000
-@@ -573,8 +573,8 @@
- $(mkinstalldirs) $(DESTDIR)/$(prefix)/bin
- @list='run-nautilus'; for p in $$list; do\
- if test -f $(srcdir)/$$p; then \
+--- src/Makefile.in.orig Tue Nov 7 08:30:29 2000
++++ src/Makefile.in Fri Jan 12 10:05:21 2001
+@@ -661,4 +661,4 @@
+ if test -f $$p; then \
- echo " $(INSTALL_PROGRAM) $(srcdir)/$$p $(DESTDIR)/$(prefix)/bin/$$p"; \
-- $(INSTALL_PROGRAM) $(srcdir)/$$p $(DESTDIR)/$(prefix)/bin/$$p; \
+- $(INSTALL_PROGRAM) $$p $(DESTDIR)/$(prefix)/bin/$$p; \
+ echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)/$(prefix)/bin/$$p"; \
-+ $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)/$(prefix)/bin/$$p; \
++ $(INSTALL_SCRIPT) $$p $(DESTDIR)/$(prefix)/bin/$$p; \
else :; fi; \
- done
-
diff --git a/x11-fm/nautilus2/files/patch-ah b/x11-fm/nautilus2/files/patch-ah
deleted file mode 100644
index a0bb2bb..0000000
--- a/x11-fm/nautilus2/files/patch-ah
+++ /dev/null
@@ -1,69 +0,0 @@
---- libnautilus-extensions/nautilus-preferences.c.orig Wed Jul 12 03:03:32 2000
-+++ libnautilus-extensions/nautilus-preferences.c Tue Oct 3 11:59:02 2000
-@@ -594,3 +594,3 @@
- if (!gconf_is_initialized ()) {
-- GConfError *error = NULL;
-+ GError *error = NULL;
- char *argv[] = { "nautilus", NULL };
-@@ -601,5 +601,5 @@
- /* FIXME bugzilla.eazel.com 672: Need better error reporting here */
-- g_warning ("GConf init failed:\n %s", error->str);
-+ g_warning ("GConf init failed:\n %s", error->message);
-
-- gconf_error_destroy (error);
-+ g_error_free (error);
-
---- libnautilus-extensions/nautilus-user-level-manager.c.orig Wed Jul 12 03:03:32 2000
-+++ libnautilus-extensions/nautilus-user-level-manager.c Tue Oct 3 12:06:04 2000
-@@ -111,3 +111,3 @@
- if (!gconf_is_initialized ()) {
-- GConfError *error = NULL;
-+ GError *error = NULL;
- char *argv[] = { "nautilus", NULL };
-@@ -118,5 +118,5 @@
- /* FIXME bugzilla.eazel.com 672: Need better error reporting here */
-- g_warning ("GConf init failed:\n %s", error->str);
-+ g_warning ("GConf init failed:\n %s", error->message);
-
-- gconf_error_destroy (error);
-+ g_error_free (error);
-
-@@ -245,3 +245,3 @@
-
-- gconf_value_destroy (value);
-+ gconf_value_free (value);
- }
-@@ -460,3 +460,3 @@
- if (value) {
-- gconf_value_destroy (value);
-+ gconf_value_free (value);
- }
-@@ -499,5 +499,5 @@
- case GCONF_VALUE_STRING:
-- result = (gconf_value_string (value_a)
-- && gconf_value_string (value_b)
-- && (strcmp (gconf_value_string (value_a), gconf_value_string (value_b)) == 0));
-+ result = (gconf_value_get_string (value_a)
-+ && gconf_value_get_string (value_b)
-+ && (strcmp (gconf_value_get_string (value_a), gconf_value_get_string (value_b)) == 0));
- break;
-@@ -505,3 +505,3 @@
- case GCONF_VALUE_INT:
-- result = (gconf_value_int (value_a) == gconf_value_int (value_b));
-+ result = (gconf_value_get_int (value_a) == gconf_value_get_int (value_b));
- break;
-@@ -509,3 +509,3 @@
- case GCONF_VALUE_BOOL:
-- result = (gconf_value_bool (value_a) == gconf_value_bool (value_b));
-+ result = (gconf_value_get_bool (value_a) == gconf_value_get_bool (value_b));
- break;
-@@ -522,3 +522,3 @@
- if (value_a) {
-- gconf_value_destroy (value_a);
-+ gconf_value_free (value_a);
- }
-@@ -526,3 +526,3 @@
- if (value_b) {
-- gconf_value_destroy (value_b);
-+ gconf_value_free (value_b);
- }
diff --git a/x11-fm/nautilus2/files/patch-ai b/x11-fm/nautilus2/files/patch-ai
new file mode 100644
index 0000000..ffa17f0
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-ai
@@ -0,0 +1,175 @@
+--- libnautilus-adapter/nautilus-adapter-factory.h.orig Tue Nov 7 08:30:23 2000
++++ libnautilus-adapter/nautilus-adapter-factory.h Fri Jan 12 11:15:24 2001
+@@ -91,3 +91,3 @@
+ #define Nautilus_ComponentAdapterFactory_unref Bonobo_Unknown_unref
+-#define Nautilus_ComponentAdapterFactory_query_interface Bonobo_Unknown_query_interface
++#define Nautilus_ComponentAdapterFactory_query_interface Bonobo_Unknown_queryInterface
+ Nautilus_View
+--- libnautilus/nautilus-distributed-undo.h.orig Tue Nov 7 08:30:22 2000
++++ libnautilus/nautilus-distributed-undo.h Fri Jan 12 11:16:13 2001
+@@ -262,3 +262,3 @@
+ #define Nautilus_Undo_Transaction_unref Bonobo_Unknown_unref
+-#define Nautilus_Undo_Transaction_query_interface Bonobo_Unknown_query_interface
++#define Nautilus_Undo_Transaction_query_interface Bonobo_Unknown_queryInterface
+ Nautilus_Undo_MenuItem
+@@ -279,3 +279,3 @@
+ #define Nautilus_Undo_Manager_unref Bonobo_Unknown_unref
+-#define Nautilus_Undo_Manager_query_interface Bonobo_Unknown_query_interface
++#define Nautilus_Undo_Manager_query_interface Bonobo_Unknown_queryInterface
+ void Nautilus_Undo_Manager_append(Nautilus_Undo_Manager _obj,
+@@ -290,3 +290,3 @@
+ #define Nautilus_Undo_Context_unref Bonobo_Unknown_unref
+-#define Nautilus_Undo_Context_query_interface Bonobo_Unknown_query_interface
++#define Nautilus_Undo_Context_query_interface Bonobo_Unknown_queryInterface
+ Nautilus_Undo_Manager
+--- libnautilus/nautilus-view-component.h.orig Tue Nov 7 08:30:21 2000
++++ libnautilus/nautilus-view-component.h Fri Jan 12 11:17:01 2001
+@@ -783,3 +783,3 @@
+ #define Nautilus_View_unref Bonobo_Unknown_unref
+-#define Nautilus_View_query_interface Bonobo_Unknown_query_interface
++#define Nautilus_View_query_interface Bonobo_Unknown_queryInterface
+ void Nautilus_View_load_location(Nautilus_View _obj,
+@@ -797,3 +797,3 @@
+ #define Nautilus_ViewFrame_unref Bonobo_Unknown_unref
+-#define Nautilus_ViewFrame_query_interface Bonobo_Unknown_query_interface
++#define Nautilus_ViewFrame_query_interface Bonobo_Unknown_queryInterface
+ void Nautilus_ViewFrame_open_location(Nautilus_ViewFrame _obj,
+@@ -831,3 +831,3 @@
+ #define Nautilus_Zoomable_unref Bonobo_Unknown_unref
+-#define Nautilus_Zoomable_query_interface Bonobo_Unknown_query_interface
++#define Nautilus_Zoomable_query_interface Bonobo_Unknown_queryInterface
+ CORBA_float Nautilus_Zoomable__get_zoom_level(Nautilus_Zoomable _obj,
+@@ -854,3 +854,3 @@
+ #define Nautilus_ZoomableFrame_unref Bonobo_Unknown_unref
+-#define Nautilus_ZoomableFrame_query_interface Bonobo_Unknown_query_interface
++#define Nautilus_ZoomableFrame_query_interface Bonobo_Unknown_queryInterface
+ void
+@@ -864,3 +864,3 @@
+ #define Nautilus_HistoryFrame_unref Bonobo_Unknown_unref
+-#define Nautilus_HistoryFrame_query_interface Bonobo_Unknown_query_interface
++#define Nautilus_HistoryFrame_query_interface Bonobo_Unknown_queryInterface
+ Nautilus_HistoryList
+--- libnautilus/nautilus-view.c.orig Thu Oct 5 18:47:43 2000
++++ libnautilus/nautilus-view.c Fri Jan 12 11:17:28 2001
+@@ -314,3 +314,3 @@
+
+- view_frame = Bonobo_Unknown_query_interface
++ view_frame = Bonobo_Unknown_queryInterface
+ (bonobo_control_get_control_frame (nautilus_view_get_bonobo_control (view)),
+--- libnautilus/nautilus-zoomable.c.orig Thu Sep 14 12:10:16 2000
++++ libnautilus/nautilus-zoomable.c Fri Jan 12 11:17:58 2001
+@@ -540,3 +540,3 @@
+ if (CORBA_Object_is_nil (view->details->zoomable_frame, &ev)) {
+- view->details->zoomable_frame = Bonobo_Unknown_query_interface
++ view->details->zoomable_frame = Bonobo_Unknown_queryInterface
+ (bonobo_control_get_control_frame
+--- src/nautilus-shell-interface.h.orig Tue Nov 7 08:30:27 2000
++++ src/nautilus-shell-interface.h Fri Jan 12 11:18:21 2001
+@@ -93,3 +93,3 @@
+ #define Nautilus_Shell_unref Bonobo_Unknown_unref
+-#define Nautilus_Shell_query_interface Bonobo_Unknown_query_interface
++#define Nautilus_Shell_query_interface Bonobo_Unknown_queryInterface
+ void Nautilus_Shell_open_windows(Nautilus_Shell _obj,
+--- libnautilus/nautilus-undo.c.orig Thu Oct 5 18:47:43 2000
++++ libnautilus/nautilus-undo.c Fri Jan 12 11:29:48 2001
+@@ -257,3 +257,3 @@
+ if (!CORBA_Object_is_nil (control_frame, &ev)) {
+- undo_context = Bonobo_Control_query_interface
++ undo_context = Bonobo_Control_queryInterface
+ (control_frame, "IDL:Nautilus/Undo/Context:1.0", &ev);
+--- src/nautilus-window.h.orig Fri Oct 6 19:34:52 2000
++++ src/nautilus-window.h Fri Jan 12 11:47:43 2001
+@@ -51,3 +51,3 @@
+ typedef struct {
+- BonoboWinClass parent_spot;
++ BonoboWindowClass parent_spot;
+ } NautilusWindowClass;
+@@ -66,3 +66,3 @@
+ struct NautilusWindow {
+- BonoboWin parent_object;
++ BonoboWindow parent_object;
+
+--- src/nautilus-window.c.orig Mon Nov 6 07:41:55 2000
++++ src/nautilus-window.c Fri Jan 12 11:51:20 2001
+@@ -127,3 +127,3 @@
+ nautilus_window,
+- BONOBO_TYPE_WIN)
++ BONOBO_TYPE_WINDOW)
+
+@@ -343,3 +343,3 @@
+ bonobo_ui_container_set_win (window->details->ui_container,
+- BONOBO_WIN (window));
++ BONOBO_WINDOW (window));
+
+@@ -422,3 +422,3 @@
+ gtk_widget_show (window->content_hbox);
+- bonobo_win_set_contents (BONOBO_WIN (window), window->content_hbox);
++ bonobo_window_set_contents (BONOBO_WINDOW (window), window->content_hbox);
+
+@@ -498,4 +498,4 @@
+ }
+- old_name = bonobo_win_get_name (BONOBO_WIN (object));
+- bonobo_win_set_name (BONOBO_WIN (object), GTK_VALUE_STRING (*arg));
++ old_name = bonobo_window_get_name (BONOBO_WINDOW (object));
++ bonobo_window_set_name (BONOBO_WINDOW (object), GTK_VALUE_STRING (*arg));
+ /* This hack of using the time when the name first
+@@ -523,3 +523,3 @@
+ case ARG_APP_ID:
+- GTK_VALUE_STRING (*arg) = bonobo_win_get_name (BONOBO_WIN (object));
++ GTK_VALUE_STRING (*arg) = bonobo_window_get_name (BONOBO_WINDOW (object));
+ break;
+--- components/adapter/nautilus-adapter-embed-strategy.c.orig Mon Oct 23 09:36:53 2000
++++ components/adapter/nautilus-adapter-embed-strategy.c Fri Jan 12 11:55:01 2001
+@@ -122,3 +122,3 @@
+
+- control = Bonobo_Unknown_query_interface (component,
++ control = Bonobo_Unknown_queryInterface (component,
+ "IDL:Bonobo/Control:1.0", &ev);
+@@ -132,3 +132,3 @@
+
+- embeddable = Bonobo_Unknown_query_interface (component,
++ embeddable = Bonobo_Unknown_queryInterface (component,
+ "IDL:Bonobo/Embeddable:1.0", &ev);
+--- components/adapter/nautilus-adapter-load-strategy.c.orig Mon Oct 2 23:12:50 2000
++++ components/adapter/nautilus-adapter-load-strategy.c Fri Jan 12 11:55:47 2001
+@@ -138,3 +138,3 @@
+
+- progressive_data_sink = Bonobo_Unknown_query_interface (component,
++ progressive_data_sink = Bonobo_Unknown_queryInterface (component,
+ "IDL:Bonobo/ProgressiveDataSink:1.0", &ev);
+@@ -149,3 +149,3 @@
+
+- persist_stream = Bonobo_Unknown_query_interface (component,
++ persist_stream = Bonobo_Unknown_queryInterface (component,
+ "IDL:Bonobo/PersistStream:1.0", &ev);
+@@ -159,3 +159,3 @@
+
+- persist_file = Bonobo_Unknown_query_interface (component,
++ persist_file = Bonobo_Unknown_queryInterface (component,
+ "IDL:Bonobo/PersistFile:1.0", &ev);
+--- components/adapter/nautilus-adapter-progressive-load-strategy.c.orig Fri Oct 20 03:45:48 2000
++++ components/adapter/nautilus-adapter-progressive-load-strategy.c Fri Jan 12 11:56:27 2001
+@@ -210,3 +210,3 @@
+ if (result == GNOME_VFS_OK && file_info.valid_fields | GNOME_VFS_FILE_INFO_FIELDS_SIZE) {
+- Bonobo_ProgressiveDataSink_set_size (strategy->details->progressive_data_sink,
++ Bonobo_ProgressiveDataSink_setSize (strategy->details->progressive_data_sink,
+ (long) file_info.size, &ev);
+@@ -221,3 +221,3 @@
+
+- Bonobo_ProgressiveDataSink_add_data (strategy->details->progressive_data_sink, iobuf, &ev);
++ Bonobo_ProgressiveDataSink_addData (strategy->details->progressive_data_sink, iobuf, &ev);
+
+--- components/history/nautilus-history-view.c.orig Thu Oct 5 18:47:34 2000
++++ components/history/nautilus-history-view.c Fri Jan 12 11:59:20 2001
+@@ -71,3 +71,3 @@
+ CORBA_exception_init (ev);
+- return Bonobo_Unknown_query_interface
++ return Bonobo_Unknown_queryInterface
+ (bonobo_control_get_control_frame (nautilus_view_get_bonobo_control (view)),
+--- components/image-viewer/nautilus-image-view.c.orig Mon Oct 23 20:13:27 2000
++++ components/image-viewer/nautilus-image-view.c Fri Jan 12 12:00:35 2001
+@@ -597,3 +597,3 @@
+ g_return_val_if_fail (this != NULL, NULL);
+- g_return_val_if_fail (this->goad_id != NULL, NULL);
++/* g_return_val_if_fail (this->goad_id != NULL, NULL);*/
+
diff --git a/x11-fm/nautilus2/files/patch-aj b/x11-fm/nautilus2/files/patch-aj
new file mode 100644
index 0000000..7f5c52a
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-aj
@@ -0,0 +1,10 @@
+--- librsvg/rsvg-ft.c.orig Sun Oct 22 05:24:29 2000
++++ librsvg/rsvg-ft.c Fri Jan 12 10:32:10 2001
+@@ -30,3 +30,7 @@
+
++#ifdef __FreeBSD__
++#include <freetype2/freetype/freetype.h>
++#else
+ #include <freetype/freetype.h>
++#endif
+
diff --git a/x11-fm/nautilus2/files/patch-ak b/x11-fm/nautilus2/files/patch-ak
new file mode 100644
index 0000000..f5aa845
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-ak
@@ -0,0 +1,10 @@
+--- libnautilus-extensions/nautilus-sound.c.orig Fri Oct 6 14:47:41 2000
++++ libnautilus-extensions/nautilus-sound.c Fri Jan 12 10:39:00 2001
+@@ -28,3 +28,7 @@
+ #include <signal.h>
++#ifdef __FreeBSD__
++#include <sys/wait.h>
++#else
+ #include <wait.h>
++#endif
+ #include <esd.h>
diff --git a/x11-fm/nautilus2/files/patch-al b/x11-fm/nautilus2/files/patch-al
new file mode 100644
index 0000000..6134eb8
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-al
@@ -0,0 +1,9 @@
+--- helper-scripts/Makefile.in.orig Fri Jan 12 12:04:47 2001
++++ helper-scripts/Makefile.in Fri Jan 12 12:24:05 2001
+@@ -267,4 +267,4 @@
+ if test -f $(srcdir)/$$p; then \
+- echo " $(INSTALL_PROGRAM) $(srcdir)/$$p $(DESTDIR)/$(prefix)/bin/$$p"; \
+- $(INSTALL_PROGRAM) $(srcdir)/$$p $(DESTDIR)/$(prefix)/bin/$$p; \
++ echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)/$(prefix)/bin/$$p"; \
++ $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)/$(prefix)/bin/$$p; \
+ else :; fi; \
OpenPOWER on IntegriCloud