aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-fm/nautilus/Makefile10
-rw-r--r--x11-fm/nautilus/distinfo2
-rw-r--r--x11-fm/nautilus/files/patch-aa24
-rw-r--r--x11-fm/nautilus/files/patch-ab46
-rw-r--r--x11-fm/nautilus/files/patch-al21
-rw-r--r--x11-fm/nautilus/files/patch-libnautilus-private::nautilus-desktop-file-loader.c62
-rw-r--r--x11-fm/nautilus/files/patch-libnautilus-private::nautilus-volume-monitor.c190
-rw-r--r--x11-fm/nautilus/files/patch-ltmain.sh18
-rw-r--r--x11-fm/nautilus/pkg-plist57
-rw-r--r--x11-fm/nautilus2/Makefile10
-rw-r--r--x11-fm/nautilus2/distinfo2
-rw-r--r--x11-fm/nautilus2/files/patch-aa24
-rw-r--r--x11-fm/nautilus2/files/patch-ab46
-rw-r--r--x11-fm/nautilus2/files/patch-al21
-rw-r--r--x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-desktop-file-loader.c62
-rw-r--r--x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-volume-monitor.c190
-rw-r--r--x11-fm/nautilus2/files/patch-ltmain.sh18
-rw-r--r--x11-fm/nautilus2/pkg-plist57
18 files changed, 696 insertions, 164 deletions
diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile
index e91aaec78ced..b2fe3c87b777 100644
--- a/x11-fm/nautilus/Makefile
+++ b/x11-fm/nautilus/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nautilus
-PORTVERSION= 1.0.4
+PORTVERSION= 1.0.5
CATEGORIES= x11-fm gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/nautilus
@@ -19,11 +19,9 @@ LIB_DEPENDS= medusa.0:${PORTSDIR}/sysutils/medusa \
freetype.7:${PORTSDIR}/print/freetype2 \
eel.0:${PORTSDIR}/x11-toolkits/eel
-WITHOUT_MOZILLA= "Doesn't build with recent Mozilla"
-
.if !defined(WITHOUT_MOZILLA)
MOZILLA= mozilla-embedded
-BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
+BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkembedmoz/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
.endif
@@ -31,10 +29,10 @@ RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZIL
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= yes
-USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -fno-rtti -fno-exceptions" \
- LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib" \
+ LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib -lgiconv" \
LIBPNG="-L${LOCALBASE}/lib -lpng -lz ${MOZILLA_LIBS}" \
MSGFMT=${LOCALBASE}/bin/msgfmt-new \
XGETTEXT=${LOCALBASE}/bin/xgettext-new
diff --git a/x11-fm/nautilus/distinfo b/x11-fm/nautilus/distinfo
index 7d251fcb0595..1cb5750dc95d 100644
--- a/x11-fm/nautilus/distinfo
+++ b/x11-fm/nautilus/distinfo
@@ -1 +1 @@
-MD5 (nautilus-1.0.4.tar.gz) = e024b3d994838c4469ddbd8c1fbb4e28
+MD5 (nautilus-1.0.5.tar.gz) = 91363a618f48b55d2fd15fe511ddf419
diff --git a/x11-fm/nautilus/files/patch-aa b/x11-fm/nautilus/files/patch-aa
index 81828dcd4400..e5ec45d581c1 100644
--- a/x11-fm/nautilus/files/patch-aa
+++ b/x11-fm/nautilus/files/patch-aa
@@ -1,36 +1,36 @@
$FreeBSD$
---- configure.orig Tue May 22 15:47:27 2001
-+++ configure Tue May 22 15:55:11 2001
-@@ -3433,7 +3433,7 @@
+--- configure.orig Thu Oct 25 18:17:31 2001
++++ configure Thu Oct 25 18:18:56 2001
+@@ -7003,7 +7003,7 @@
CC="$_save_cc"
-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"
+ _mozilla_gtk_super_win_libs=
echo $ac_n "checking for gdk_superwin_get_type in -lgtksuperwin""... $ac_c" 1>&6
- echo "configure:3439: checking for gdk_superwin_get_type in -lgtksuperwin" >&5
- ac_lib_var=`echo gtksuperwin'_'gdk_superwin_get_type | sed 'y%./+-%__p_%'`
-@@ -3475,7 +3475,7 @@
+ echo "configure:7010: checking for gdk_superwin_get_type in -lgtksuperwin" >&5
+@@ -7046,7 +7046,7 @@
fi
-LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtkembedmoz $_mozilla_xpcom_libs"
-+LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtkembedmoz -lgtksuperwin $_mozilla_xpcom_libs"
++LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lstdc++ -lgtkembedmoz $_mozilla_xpcom_libs"
+ _mozilla_gtk_moz_embed_libs=
echo $ac_n "checking for gtk_moz_embed_get_type in -lgtkembedmoz""... $ac_c" 1>&6
- echo "configure:3481: checking for gtk_moz_embed_get_type in -lgtkembedmoz" >&5
- ac_lib_var=`echo gtkembedmoz'_'gtk_moz_embed_get_type | sed 'y%./+-%__p_%'`
-@@ -3483,7 +3483,7 @@
+ echo "configure:7053: checking for gtk_moz_embed_get_type in -lgtkembedmoz" >&5
+@@ -7055,7 +7055,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lgtkembedmoz $LIBS"
+LIBS="-lgtkembedmoz -lgtksuperwin $LIBS"
cat > conftest.$ac_ext <<EOF
- #line 3489 "configure"
+ #line 7061 "configure"
#include "confdefs.h"
-@@ -5472,7 +5472,7 @@
+@@ -9018,7 +9018,7 @@
fi
if test x$SCROLLKEEPER_CONFIG = xno; then
diff --git a/x11-fm/nautilus/files/patch-ab b/x11-fm/nautilus/files/patch-ab
index 97f5bd09e83e..2592dcf58891 100644
--- a/x11-fm/nautilus/files/patch-ab
+++ b/x11-fm/nautilus/files/patch-ab
@@ -1,37 +1,25 @@
$FreeBSD$
---- Makefile.in.orig Mon May 14 16:45:52 2001
-+++ Makefile.in Mon May 14 16:45:53 2001
-@@ -675,8 +675,8 @@
- $(mkinstalldirs) $(DESTDIR)/$(prefix)/bin
+--- Makefile.in.orig Mon Oct 29 11:36:40 2001
++++ Makefile.in Mon Oct 29 12:16:14 2001
+@@ -243,7 +243,7 @@
+
+ bin_SCRIPTS = $(top_builddir)/nautilus-config
+
+-confexecdir = $(libdir)
++confexecdir = $(sysconfdir)
+ confexec_DATA = nautilusConf.sh $(NULL)
+
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+@@ -684,8 +684,8 @@
+ $(mkinstalldirs) $(DESTDIR)$(prefix)/bin
@list='nautilus-clean.sh'; for p in $$list; do\
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; \
+- 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; \
done
-@@ -688,16 +688,16 @@
- @list='$(EAZEL_LOGOS_ICONS)'; \
- for i in $$list; \
- do \
-- echo $(INSTALL_PROGRAM) $$i $(icondir)/`basename $$i`; \
-- $(INSTALL_PROGRAM) $$i $(icondir)/`basename $$i`; \
-+ echo $(INSTALL_DATA) $$i $(icondir)/`basename $$i`; \
-+ $(INSTALL_DATA) $$i $(icondir)/`basename $$i`; \
- done
-
- $(mkinstalldirs) $(throbberdir)
- @list='$(EAZEL_LOGOS_THROBBER)'; \
- for i in $$list; \
- do \
-- echo $(INSTALL_PROGRAM) $$i $(throbberdir)/`basename $$i`; \
-- $(INSTALL_PROGRAM) $$i $(throbberdir)/`basename $$i`; \
-+ echo $(INSTALL_DATA) $$i $(throbberdir)/`basename $$i`; \
-+ $(INSTALL_DATA) $$i $(throbberdir)/`basename $$i`; \
- done
-
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/x11-fm/nautilus/files/patch-al b/x11-fm/nautilus/files/patch-al
index 6134eb8abee3..f1c8b076a299 100644
--- a/x11-fm/nautilus/files/patch-al
+++ b/x11-fm/nautilus/files/patch-al
@@ -1,9 +1,16 @@
---- 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 @@
+
+$FreeBSD$
+
+--- helper-scripts/Makefile.in.orig Thu Oct 25 18:21:43 2001
++++ helper-scripts/Makefile.in Thu Oct 25 18:22:45 2001
+@@ -328,8 +328,8 @@
+ $(mkinstalldirs) $(DESTDIR)$(prefix)/bin
+ @list='nautilus-verify-rpm.sh nautilus-restore-settings-to-default.sh'; for p in $$list; do\
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; \
+- 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; \
+ done
+
diff --git a/x11-fm/nautilus/files/patch-libnautilus-private::nautilus-desktop-file-loader.c b/x11-fm/nautilus/files/patch-libnautilus-private::nautilus-desktop-file-loader.c
new file mode 100644
index 000000000000..96681a3d1fe9
--- /dev/null
+++ b/x11-fm/nautilus/files/patch-libnautilus-private::nautilus-desktop-file-loader.c
@@ -0,0 +1,62 @@
+
+$FreeBSD$
+
+--- libnautilus-private/nautilus-desktop-file-loader.c.orig Wed Sep 26 16:37:15 2001
++++ libnautilus-private/nautilus-desktop-file-loader.c Tue Oct 30 09:33:26 2001
+@@ -38,8 +38,10 @@
+ #include <errno.h>
+ #include <ctype.h>
+ #include <locale.h>
+-#include <iconv.h>
++#include <giconv.h>
++#if (defined __FreeBSD__) && (__FreeBSD_version > 500000)
+ #include <langinfo.h>
++#endif
+
+ typedef struct NautilusDesktopFileSection NautilusDesktopFileSection;
+ typedef struct NautilusDesktopFileAddition NautilusDesktopFileAddition;
+@@ -117,6 +119,44 @@
+ const char *value);
+ static void addition_free (NautilusDesktopFileAddition *addition);
+
++#if (defined __FreeBSD__) && (__FreeBSD_version < 500000)
++/* Quick and dirty implementation of nl_langinfo(CODESET) */
++static char *
++nl_langinfo(void) {
++ char *ret, *s, *cs;
++ static char *cset = NULL;
++
++ ret = "";
++ if ((s = setlocale(LC_CTYPE, NULL)) != NULL) {
++ if ((cs = strchr(s, '.')) != NULL) {
++ ret = cs + 1;
++ if (strncmp(ret, "ISO_", 4) == 0) {
++ int slen = strlen(ret);
++
++ if ((cset = reallocf(cset, slen)) != NULL) {
++ strcpy(cset, "ISO");
++ strcat(cset, ret + 4);
++ ret = cset;
++ } else
++ ret = "";
++ } else if (strcmp(ret, "EUC") == 0) {
++ if (strncmp(s, "ja_JP", 5) == 0)
++ ret = "eucJP";
++ else if (strncmp(s, "ko_KR", 5) == 0)
++ ret = "eucKR";
++ else if (strncmp(s, "zh_CN", 5) == 0)
++ ret = "eucCN";
++ } else if (strcmp(ret, "ASCII") == 0)
++ ret = "US-ASCII";
++ } else if (strcmp(s, "C") == 0 ||
++ strcmp(s, "POSIX") == 0
++ || strstr(s, "ASCII") != NULL)
++ ret = "US-ASCII";
++ }
++ return ret;
++}
++#define nl_langinfo(x) nl_langinfo()
++#endif
+
+ static NautilusDesktopFile*
+ nautilus_desktop_file_new (void)
diff --git a/x11-fm/nautilus/files/patch-libnautilus-private::nautilus-volume-monitor.c b/x11-fm/nautilus/files/patch-libnautilus-private::nautilus-volume-monitor.c
new file mode 100644
index 000000000000..0ae5844f5f55
--- /dev/null
+++ b/x11-fm/nautilus/files/patch-libnautilus-private::nautilus-volume-monitor.c
@@ -0,0 +1,190 @@
+
+$FreeBSD$
+
+--- libnautilus-private/nautilus-volume-monitor.c 2001/10/26 06:06:21 1.1
++++ libnautilus-private/nautilus-volume-monitor.c 2001/10/26 07:39:01
+@@ -60,6 +60,18 @@
+ #include <sys/types.h>
+ #include <unistd.h>
+
++#ifdef __FreeBSD__
++#include <sys/param.h>
++#include <sys/ucred.h>
++#include <sys/mount.h>
++
++#define HAVE_GETMNTINFO
++#define HAVE_SETFSENT
++#define HAVE_FSTAB_H
++#define FREEBSD_MNT
++#define setmntent(f,m) setfsent()
++#endif
++
+ #ifdef HAVE_SYS_VFSTAB_H
+ #include <sys/vfstab.h>
+ #else
+@@ -104,7 +116,7 @@
+ #define MNTOPT_RO "ro"
+ #endif
+
+-#ifndef HAVE_SETMNTENT
++#if !defined(HAVE_SETMNTENT) && !defined(HAVE_SETFSENT)
+ #define setmntent(f,m) fopen(f,m)
+ #endif
+
+@@ -495,6 +507,11 @@
+ return TRUE;
+ }
+ #endif
++#ifdef __FreeBSD__
++ if (eel_str_has_prefix (ent->f_mntonname, "/.amd_mnt/")) {
++ return TRUE;
++ }
++#endif
+
+ return FALSE;
+ }
+@@ -510,16 +527,18 @@
+ static GList *
+ get_removable_volumes (NautilusVolumeMonitor *monitor)
+ {
++#ifndef HAVE_SETFSENT
+ FILE *file;
+- GList *volumes;
+- MountTableEntry *ent;
+- NautilusVolume *volume;
++#else
++ int file;
++ struct fstab *fsent;
++#endif
++ GList *volumes = NULL;
++ MountTableEntry *ent = NULL;
++ NautilusVolume *volume = NULL;
+ #ifdef HAVE_SYS_MNTTAB_H
+ MountTableEntry ent_storage;
+ #endif
+- ent = NULL;
+- volume = NULL;
+- volumes = NULL;
+
+ #ifdef HAVE_GETMNTINFO
+ int count, index;
+@@ -529,16 +548,20 @@
+ for (index = 0; index < count; index++) {
+ if (has_removable_mntent_options (ent + 1)) {
+ volume = create_volume (ent[index].f_mntfromname,
+- ent[index].f_mntoname);
++ ent[index].f_mntonname);
+ volume->is_removable = TRUE;
+ volumes = finish_creating_volume_and_prepend
+- (monitor, volume, ent[index].f_fstyename, volumes);
++ (monitor, volume, ent[index].f_fstypename, volumes);
+ }
+ }
+ #endif
+
+ file = setmntent (MOUNT_TABLE_PATH, "r");
++#ifndef HAVE_SETFSENT
+ if (file == NULL) {
++#else
++ if (file == 0) {
++#endif
+ return NULL;
+ }
+
+@@ -560,9 +583,21 @@
+ (monitor, volume, ent->mnt_type, volumes);
+ }
+ }
++#elif defined (HAVE_SETFSENT)
++ while ((fsent = getfsent ()) != NULL) {
++ if (strstr (fsent->fs_mntops, "noauto") == 0) {
++ volume = create_volume (fsent->fs_spec, fsent->fs_file);
++ volumes = finish_creating_volume_and_prepend
++ (monitor, volume, fsent->fs_vfstype, volumes);
++ }
++ }
+ #endif
+
++#ifndef HAVE_SETFSENT
+ fclose (file);
++#else
++ endfsent();
++#endif
+
+ #ifdef HAVE_CDDA
+ volume = create_volume (CD_AUDIO_PATH, CD_AUDIO_PATH);
+@@ -575,7 +610,7 @@
+ return g_list_sort (g_list_reverse (volumes), (GCompareFunc) floppy_sort);
+ }
+
+-#ifndef SOLARIS_MNT
++#if !defined(SOLARIS_MNT) && !defined(FREEBSD_MNT)
+
+ static gboolean
+ volume_is_removable (const NautilusVolume *volume)
+@@ -907,23 +942,33 @@
+
+
+
+-#ifdef SOLARIS_MNT
++#if defined(SOLARIS_MNT) || defined(FREEBSD_MNT)
+
+ static GList *
+ get_mount_list (NautilusVolumeMonitor *monitor)
+ {
+- FILE *fh;
+ GList *volumes;
++#ifndef HAVE_SETFSENT
++ FILE *fh;
+ MountTableEntry ent;
++#else
++ int fh;
++ struct fstab *ent;
++#endif
+ NautilusVolume *volume;
+
+ volumes = NULL;
+
+ fh = setmntent (MOUNT_TABLE_PATH, "r");
++#ifndef HAVE_SETFSENT
+ if (fh == NULL) {
++#else
++ if (fh == 0) {
++#endif
+ return NULL;
+ }
+
++#ifndef HAVE_SETFSENT
+ while (! getmntent(fh, &ent)) {
+ volume = create_volume (ent.mnt_special, ent.mnt_mountp);
+ volume->is_removable = has_removable_mntent_options (&ent);
+@@ -932,6 +977,20 @@
+ }
+
+ fclose (fh);
++#else
++ while ((ent = getfsent ()) != NULL) {
++ volume = create_volume (ent->fs_spec, ent->fs_file);
++ if (strstr (ent->fs_mntops, "noauto") == 0)
++ volume->is_removable = TRUE;
++ else
++ volume->is_removable = FALSE;
++ volumes = finish_creating_volume_and_prepend
++ (monitor, volume, ent->fs_vfstype, volumes);
++ }
++
++ endfsent();
++#endif
++
+
+ return volumes;
+ }
+@@ -1668,7 +1727,7 @@
+ for (node = volume_list; node != NULL; node = node->next) {
+ volume = node->data;
+
+-#ifndef SOLARIS_MNT
++#if !defined(SOLARIS_MNT) && !defined(FREEBSD_MNT)
+ /* These are set up by get_current_mount_list for Solaris. */
+ volume->is_removable = volume_is_removable (volume);
+ #endif
diff --git a/x11-fm/nautilus/files/patch-ltmain.sh b/x11-fm/nautilus/files/patch-ltmain.sh
new file mode 100644
index 000000000000..33bc7983f107
--- /dev/null
+++ b/x11-fm/nautilus/files/patch-ltmain.sh
@@ -0,0 +1,18 @@
+
+$FreeBSD$
+
+--- ltmain.sh 2001/08/27 09:51:26 1.1
++++ ltmain.sh 2001/08/27 09:51:42
+@@ -4175,10 +4175,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/x11-fm/nautilus/pkg-plist b/x11-fm/nautilus/pkg-plist
index 1b2dd61c865b..8edef6940fd2 100644
--- a/x11-fm/nautilus/pkg-plist
+++ b/x11-fm/nautilus/pkg-plist
@@ -28,6 +28,15 @@ bin/nautilus-xml-migrate
bin/run-nautilus
etc/CORBA/servers/nautilus-launcher-applet.gnorba
etc/CORBA/servers/nautilus-preferences-applet.gnorba
+etc/X11/serverconfig/.directory
+etc/X11/starthere/.directory
+etc/X11/starthere/favorites.desktop
+etc/X11/starthere/preferences.desktop
+etc/X11/starthere/programs.desktop
+etc/X11/starthere/serverconfig.desktop
+etc/X11/starthere/sysconfig.desktop
+etc/X11/sysconfig/.directory
+etc/nautilusConf.sh
etc/vfs/modules/help-methods.conf
include/libnautilus/libnautilus.h
include/libnautilus/nautilus-bonobo-ui.h
@@ -48,9 +57,10 @@ lib/libnautilus-tree-view.so
lib/libnautilus-tree-view.so.0
lib/libnautilus.so
lib/libnautilus.so.0
-lib/nautilusConf.sh
lib/vfs/modules/libvfs-help.so
+share/gnome/apps/Applications/nautilus-help.desktop
share/gnome/apps/Applications/nautilus.desktop
+share/gnome/apps/nautilus-help.desktop
share/gnome/help/gnufdl/C/gnufdl.sgml
share/gnome/help/gnugpl/C/gnugpl.sgml
share/gnome/help/nautilus-quick-reference/C/figures/backgrounds_nqr.png
@@ -264,6 +274,7 @@ share/gnome/nautilus/emblems/ohno.png
share/gnome/nautilus/emblems/personal.png
share/gnome/nautilus/emblems/special.png
share/gnome/nautilus/emblems/urgent.png
+share/gnome/nautilus/filesystem-attributes.xml
share/gnome/nautilus/linksets/apps.xml
share/gnome/nautilus/linksets/desktop.xml
share/gnome/nautilus/linksets/home.xml
@@ -306,6 +317,8 @@ share/gnome/nautilus/patterns/terracotta.png
share/gnome/nautilus/patterns/wavy_white.png
share/gnome/nautilus/services/text/google.xml
share/gnome/nautilus/services/text/webster.xml
+share/gnome/nautilus/starthere-link.desktop
+share/gnome/nautilus/starthere.desktop
share/gnome/nautilus/static_bookmarks.xml
share/gnome/oaf/Nautilus_ComponentAdapterFactory_std.oaf
share/gnome/oaf/Nautilus_Control_throbber.oaf
@@ -332,6 +345,8 @@ share/gnome/omf/nautilus/nautilus-release-notes-C.omf
share/gnome/omf/nautilus/nautilus-user-manual-C.omf
share/gnome/omf/nautilus/nautilus-user-manual-es.omf
share/gnome/omf/nautilus/nautilus-user-manual-ko.omf
+share/gnome/pixmaps/gnome-starthere-96.png
+share/gnome/pixmaps/gnome-starthere.png
share/gnome/pixmaps/nautilus-launch-icon.png
share/gnome/pixmaps/nautilus/About_Image.png
share/gnome/pixmaps/nautilus/Back.png
@@ -556,28 +571,6 @@ share/gnome/pixmaps/nautilus/default.xml
share/gnome/pixmaps/nautilus/druid_header.png
share/gnome/pixmaps/nautilus/druid_header_stretch.png
share/gnome/pixmaps/nautilus/druid_sidebar.png
-share/gnome/pixmaps/nautilus/eazel-logos/About_Image.png
-share/gnome/pixmaps/nautilus/eazel-logos/LICENSE
-share/gnome/pixmaps/nautilus/eazel-logos/about_background.png
-share/gnome/pixmaps/nautilus/eazel-logos/default.xml
-share/gnome/pixmaps/nautilus/eazel-logos/druid_header.png
-share/gnome/pixmaps/nautilus/eazel-logos/eazel-logo-right-side-logo.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/001.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/002.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/003.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/004.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/005.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/006.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/007.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/008.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/009.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/010.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/011.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/012.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/013.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/014.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/015.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/rest.png
share/gnome/pixmaps/nautilus/emblem-OK.svg
share/gnome/pixmaps/nautilus/emblem-broken-link.png
share/gnome/pixmaps/nautilus/emblem-certified.svg
@@ -1064,7 +1057,6 @@ share/gnome/ui/nautilus-icon-view-ui.xml
%%MOZILLA:%%share/gnome/ui/nautilus-mozilla-ui.xml
share/gnome/ui/nautilus-sample-content-view-ui.xml
share/gnome/ui/nautilus-search-list-view-ui.xml
-share/gnome/ui/nautilus-service-ui.xml
share/gnome/ui/nautilus-shell-ui.xml
share/gnome/ui/nautilus-sidebar-loser-ui.xml
share/gnome/ui/nautilus-text-view-ui.xml
@@ -1085,10 +1077,12 @@ share/locale/it/LC_MESSAGES/nautilus.mo
share/locale/ja/LC_MESSAGES/nautilus.mo
share/locale/ko/LC_MESSAGES/nautilus.mo
share/locale/lt/LC_MESSAGES/nautilus.mo
+share/locale/lv/LC_MESSAGES/nautilus.mo
share/locale/nl/LC_MESSAGES/nautilus.mo
share/locale/nn/LC_MESSAGES/nautilus.mo
share/locale/no/LC_MESSAGES/nautilus.mo
share/locale/pl/LC_MESSAGES/nautilus.mo
+share/locale/pt/LC_MESSAGES/nautilus.mo
share/locale/pt_BR/LC_MESSAGES/nautilus.mo
share/locale/ro/LC_MESSAGES/nautilus.mo
share/locale/ru/LC_MESSAGES/nautilus.mo
@@ -1098,7 +1092,14 @@ share/locale/sv/LC_MESSAGES/nautilus.mo
share/locale/ta/LC_MESSAGES/nautilus.mo
share/locale/tr/LC_MESSAGES/nautilus.mo
share/locale/uk/LC_MESSAGES/nautilus.mo
-share/locale/zh_TW.Big5/LC_MESSAGES/nautilus.mo
+share/locale/zh_TW/LC_MESSAGES/nautilus.mo
+@dirrm share/gnome/sgml/docbook/xsl-stylesheets-1.29/lib
+@dirrm share/gnome/sgml/docbook/xsl-stylesheets-1.29/html
+@dirrm share/gnome/sgml/docbook/xsl-stylesheets-1.29/common
+@dirrm share/gnome/sgml/docbook/xsl-stylesheets-1.29
+@dirrm share/gnome/sgml/docbook/gnome-customization-0.1
+@dirrm share/gnome/sgml/docbook
+@dirrm share/gnome/sgml
@dirrm share/gnome/pixmaps/nautilus/throbber
@dirrm share/gnome/pixmaps/nautilus/tahoe
@dirrm share/gnome/pixmaps/nautilus/sierra
@@ -1106,8 +1107,6 @@ share/locale/zh_TW.Big5/LC_MESSAGES/nautilus.mo
@dirrm share/gnome/pixmaps/nautilus/gnome/throbber
@dirrm share/gnome/pixmaps/nautilus/gnome/sidebar_tab_pieces
@dirrm share/gnome/pixmaps/nautilus/gnome
-@dirrm share/gnome/pixmaps/nautilus/eazel-logos/throbber
-@dirrm share/gnome/pixmaps/nautilus/eazel-logos
@dirrm share/gnome/pixmaps/nautilus/crux_teal/throbber
@dirrm share/gnome/pixmaps/nautilus/crux_teal/sidebar_tab_pieces
@dirrm share/gnome/pixmaps/nautilus/crux_teal/backgrounds
@@ -1161,3 +1160,7 @@ share/locale/zh_TW.Big5/LC_MESSAGES/nautilus.mo
@dirrm share/gnome/help/gnufdl/C
@dirrm share/gnome/help/gnufdl
@dirrm include/libnautilus
+@dirrm etc/X11/sysconfig
+@dirrm etc/X11/starthere
+@dirrm etc/X11/serverconfig
+@dirrm etc/X11
diff --git a/x11-fm/nautilus2/Makefile b/x11-fm/nautilus2/Makefile
index e91aaec78ced..b2fe3c87b777 100644
--- a/x11-fm/nautilus2/Makefile
+++ b/x11-fm/nautilus2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nautilus
-PORTVERSION= 1.0.4
+PORTVERSION= 1.0.5
CATEGORIES= x11-fm gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/nautilus
@@ -19,11 +19,9 @@ LIB_DEPENDS= medusa.0:${PORTSDIR}/sysutils/medusa \
freetype.7:${PORTSDIR}/print/freetype2 \
eel.0:${PORTSDIR}/x11-toolkits/eel
-WITHOUT_MOZILLA= "Doesn't build with recent Mozilla"
-
.if !defined(WITHOUT_MOZILLA)
MOZILLA= mozilla-embedded
-BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
+BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkembedmoz/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
.endif
@@ -31,10 +29,10 @@ RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZIL
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= yes
-USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -fno-rtti -fno-exceptions" \
- LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib" \
+ LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib -lgiconv" \
LIBPNG="-L${LOCALBASE}/lib -lpng -lz ${MOZILLA_LIBS}" \
MSGFMT=${LOCALBASE}/bin/msgfmt-new \
XGETTEXT=${LOCALBASE}/bin/xgettext-new
diff --git a/x11-fm/nautilus2/distinfo b/x11-fm/nautilus2/distinfo
index 7d251fcb0595..1cb5750dc95d 100644
--- a/x11-fm/nautilus2/distinfo
+++ b/x11-fm/nautilus2/distinfo
@@ -1 +1 @@
-MD5 (nautilus-1.0.4.tar.gz) = e024b3d994838c4469ddbd8c1fbb4e28
+MD5 (nautilus-1.0.5.tar.gz) = 91363a618f48b55d2fd15fe511ddf419
diff --git a/x11-fm/nautilus2/files/patch-aa b/x11-fm/nautilus2/files/patch-aa
index 81828dcd4400..e5ec45d581c1 100644
--- a/x11-fm/nautilus2/files/patch-aa
+++ b/x11-fm/nautilus2/files/patch-aa
@@ -1,36 +1,36 @@
$FreeBSD$
---- configure.orig Tue May 22 15:47:27 2001
-+++ configure Tue May 22 15:55:11 2001
-@@ -3433,7 +3433,7 @@
+--- configure.orig Thu Oct 25 18:17:31 2001
++++ configure Thu Oct 25 18:18:56 2001
+@@ -7003,7 +7003,7 @@
CC="$_save_cc"
-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"
+ _mozilla_gtk_super_win_libs=
echo $ac_n "checking for gdk_superwin_get_type in -lgtksuperwin""... $ac_c" 1>&6
- echo "configure:3439: checking for gdk_superwin_get_type in -lgtksuperwin" >&5
- ac_lib_var=`echo gtksuperwin'_'gdk_superwin_get_type | sed 'y%./+-%__p_%'`
-@@ -3475,7 +3475,7 @@
+ echo "configure:7010: checking for gdk_superwin_get_type in -lgtksuperwin" >&5
+@@ -7046,7 +7046,7 @@
fi
-LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtkembedmoz $_mozilla_xpcom_libs"
-+LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtkembedmoz -lgtksuperwin $_mozilla_xpcom_libs"
++LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lstdc++ -lgtkembedmoz $_mozilla_xpcom_libs"
+ _mozilla_gtk_moz_embed_libs=
echo $ac_n "checking for gtk_moz_embed_get_type in -lgtkembedmoz""... $ac_c" 1>&6
- echo "configure:3481: checking for gtk_moz_embed_get_type in -lgtkembedmoz" >&5
- ac_lib_var=`echo gtkembedmoz'_'gtk_moz_embed_get_type | sed 'y%./+-%__p_%'`
-@@ -3483,7 +3483,7 @@
+ echo "configure:7053: checking for gtk_moz_embed_get_type in -lgtkembedmoz" >&5
+@@ -7055,7 +7055,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lgtkembedmoz $LIBS"
+LIBS="-lgtkembedmoz -lgtksuperwin $LIBS"
cat > conftest.$ac_ext <<EOF
- #line 3489 "configure"
+ #line 7061 "configure"
#include "confdefs.h"
-@@ -5472,7 +5472,7 @@
+@@ -9018,7 +9018,7 @@
fi
if test x$SCROLLKEEPER_CONFIG = xno; then
diff --git a/x11-fm/nautilus2/files/patch-ab b/x11-fm/nautilus2/files/patch-ab
index 97f5bd09e83e..2592dcf58891 100644
--- a/x11-fm/nautilus2/files/patch-ab
+++ b/x11-fm/nautilus2/files/patch-ab
@@ -1,37 +1,25 @@
$FreeBSD$
---- Makefile.in.orig Mon May 14 16:45:52 2001
-+++ Makefile.in Mon May 14 16:45:53 2001
-@@ -675,8 +675,8 @@
- $(mkinstalldirs) $(DESTDIR)/$(prefix)/bin
+--- Makefile.in.orig Mon Oct 29 11:36:40 2001
++++ Makefile.in Mon Oct 29 12:16:14 2001
+@@ -243,7 +243,7 @@
+
+ bin_SCRIPTS = $(top_builddir)/nautilus-config
+
+-confexecdir = $(libdir)
++confexecdir = $(sysconfdir)
+ confexec_DATA = nautilusConf.sh $(NULL)
+
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+@@ -684,8 +684,8 @@
+ $(mkinstalldirs) $(DESTDIR)$(prefix)/bin
@list='nautilus-clean.sh'; for p in $$list; do\
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; \
+- 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; \
done
-@@ -688,16 +688,16 @@
- @list='$(EAZEL_LOGOS_ICONS)'; \
- for i in $$list; \
- do \
-- echo $(INSTALL_PROGRAM) $$i $(icondir)/`basename $$i`; \
-- $(INSTALL_PROGRAM) $$i $(icondir)/`basename $$i`; \
-+ echo $(INSTALL_DATA) $$i $(icondir)/`basename $$i`; \
-+ $(INSTALL_DATA) $$i $(icondir)/`basename $$i`; \
- done
-
- $(mkinstalldirs) $(throbberdir)
- @list='$(EAZEL_LOGOS_THROBBER)'; \
- for i in $$list; \
- do \
-- echo $(INSTALL_PROGRAM) $$i $(throbberdir)/`basename $$i`; \
-- $(INSTALL_PROGRAM) $$i $(throbberdir)/`basename $$i`; \
-+ echo $(INSTALL_DATA) $$i $(throbberdir)/`basename $$i`; \
-+ $(INSTALL_DATA) $$i $(throbberdir)/`basename $$i`; \
- done
-
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/x11-fm/nautilus2/files/patch-al b/x11-fm/nautilus2/files/patch-al
index 6134eb8abee3..f1c8b076a299 100644
--- a/x11-fm/nautilus2/files/patch-al
+++ b/x11-fm/nautilus2/files/patch-al
@@ -1,9 +1,16 @@
---- 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 @@
+
+$FreeBSD$
+
+--- helper-scripts/Makefile.in.orig Thu Oct 25 18:21:43 2001
++++ helper-scripts/Makefile.in Thu Oct 25 18:22:45 2001
+@@ -328,8 +328,8 @@
+ $(mkinstalldirs) $(DESTDIR)$(prefix)/bin
+ @list='nautilus-verify-rpm.sh nautilus-restore-settings-to-default.sh'; for p in $$list; do\
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; \
+- 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; \
+ done
+
diff --git a/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-desktop-file-loader.c b/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-desktop-file-loader.c
new file mode 100644
index 000000000000..96681a3d1fe9
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-desktop-file-loader.c
@@ -0,0 +1,62 @@
+
+$FreeBSD$
+
+--- libnautilus-private/nautilus-desktop-file-loader.c.orig Wed Sep 26 16:37:15 2001
++++ libnautilus-private/nautilus-desktop-file-loader.c Tue Oct 30 09:33:26 2001
+@@ -38,8 +38,10 @@
+ #include <errno.h>
+ #include <ctype.h>
+ #include <locale.h>
+-#include <iconv.h>
++#include <giconv.h>
++#if (defined __FreeBSD__) && (__FreeBSD_version > 500000)
+ #include <langinfo.h>
++#endif
+
+ typedef struct NautilusDesktopFileSection NautilusDesktopFileSection;
+ typedef struct NautilusDesktopFileAddition NautilusDesktopFileAddition;
+@@ -117,6 +119,44 @@
+ const char *value);
+ static void addition_free (NautilusDesktopFileAddition *addition);
+
++#if (defined __FreeBSD__) && (__FreeBSD_version < 500000)
++/* Quick and dirty implementation of nl_langinfo(CODESET) */
++static char *
++nl_langinfo(void) {
++ char *ret, *s, *cs;
++ static char *cset = NULL;
++
++ ret = "";
++ if ((s = setlocale(LC_CTYPE, NULL)) != NULL) {
++ if ((cs = strchr(s, '.')) != NULL) {
++ ret = cs + 1;
++ if (strncmp(ret, "ISO_", 4) == 0) {
++ int slen = strlen(ret);
++
++ if ((cset = reallocf(cset, slen)) != NULL) {
++ strcpy(cset, "ISO");
++ strcat(cset, ret + 4);
++ ret = cset;
++ } else
++ ret = "";
++ } else if (strcmp(ret, "EUC") == 0) {
++ if (strncmp(s, "ja_JP", 5) == 0)
++ ret = "eucJP";
++ else if (strncmp(s, "ko_KR", 5) == 0)
++ ret = "eucKR";
++ else if (strncmp(s, "zh_CN", 5) == 0)
++ ret = "eucCN";
++ } else if (strcmp(ret, "ASCII") == 0)
++ ret = "US-ASCII";
++ } else if (strcmp(s, "C") == 0 ||
++ strcmp(s, "POSIX") == 0
++ || strstr(s, "ASCII") != NULL)
++ ret = "US-ASCII";
++ }
++ return ret;
++}
++#define nl_langinfo(x) nl_langinfo()
++#endif
+
+ static NautilusDesktopFile*
+ nautilus_desktop_file_new (void)
diff --git a/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-volume-monitor.c b/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-volume-monitor.c
new file mode 100644
index 000000000000..0ae5844f5f55
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-libnautilus-private::nautilus-volume-monitor.c
@@ -0,0 +1,190 @@
+
+$FreeBSD$
+
+--- libnautilus-private/nautilus-volume-monitor.c 2001/10/26 06:06:21 1.1
++++ libnautilus-private/nautilus-volume-monitor.c 2001/10/26 07:39:01
+@@ -60,6 +60,18 @@
+ #include <sys/types.h>
+ #include <unistd.h>
+
++#ifdef __FreeBSD__
++#include <sys/param.h>
++#include <sys/ucred.h>
++#include <sys/mount.h>
++
++#define HAVE_GETMNTINFO
++#define HAVE_SETFSENT
++#define HAVE_FSTAB_H
++#define FREEBSD_MNT
++#define setmntent(f,m) setfsent()
++#endif
++
+ #ifdef HAVE_SYS_VFSTAB_H
+ #include <sys/vfstab.h>
+ #else
+@@ -104,7 +116,7 @@
+ #define MNTOPT_RO "ro"
+ #endif
+
+-#ifndef HAVE_SETMNTENT
++#if !defined(HAVE_SETMNTENT) && !defined(HAVE_SETFSENT)
+ #define setmntent(f,m) fopen(f,m)
+ #endif
+
+@@ -495,6 +507,11 @@
+ return TRUE;
+ }
+ #endif
++#ifdef __FreeBSD__
++ if (eel_str_has_prefix (ent->f_mntonname, "/.amd_mnt/")) {
++ return TRUE;
++ }
++#endif
+
+ return FALSE;
+ }
+@@ -510,16 +527,18 @@
+ static GList *
+ get_removable_volumes (NautilusVolumeMonitor *monitor)
+ {
++#ifndef HAVE_SETFSENT
+ FILE *file;
+- GList *volumes;
+- MountTableEntry *ent;
+- NautilusVolume *volume;
++#else
++ int file;
++ struct fstab *fsent;
++#endif
++ GList *volumes = NULL;
++ MountTableEntry *ent = NULL;
++ NautilusVolume *volume = NULL;
+ #ifdef HAVE_SYS_MNTTAB_H
+ MountTableEntry ent_storage;
+ #endif
+- ent = NULL;
+- volume = NULL;
+- volumes = NULL;
+
+ #ifdef HAVE_GETMNTINFO
+ int count, index;
+@@ -529,16 +548,20 @@
+ for (index = 0; index < count; index++) {
+ if (has_removable_mntent_options (ent + 1)) {
+ volume = create_volume (ent[index].f_mntfromname,
+- ent[index].f_mntoname);
++ ent[index].f_mntonname);
+ volume->is_removable = TRUE;
+ volumes = finish_creating_volume_and_prepend
+- (monitor, volume, ent[index].f_fstyename, volumes);
++ (monitor, volume, ent[index].f_fstypename, volumes);
+ }
+ }
+ #endif
+
+ file = setmntent (MOUNT_TABLE_PATH, "r");
++#ifndef HAVE_SETFSENT
+ if (file == NULL) {
++#else
++ if (file == 0) {
++#endif
+ return NULL;
+ }
+
+@@ -560,9 +583,21 @@
+ (monitor, volume, ent->mnt_type, volumes);
+ }
+ }
++#elif defined (HAVE_SETFSENT)
++ while ((fsent = getfsent ()) != NULL) {
++ if (strstr (fsent->fs_mntops, "noauto") == 0) {
++ volume = create_volume (fsent->fs_spec, fsent->fs_file);
++ volumes = finish_creating_volume_and_prepend
++ (monitor, volume, fsent->fs_vfstype, volumes);
++ }
++ }
+ #endif
+
++#ifndef HAVE_SETFSENT
+ fclose (file);
++#else
++ endfsent();
++#endif
+
+ #ifdef HAVE_CDDA
+ volume = create_volume (CD_AUDIO_PATH, CD_AUDIO_PATH);
+@@ -575,7 +610,7 @@
+ return g_list_sort (g_list_reverse (volumes), (GCompareFunc) floppy_sort);
+ }
+
+-#ifndef SOLARIS_MNT
++#if !defined(SOLARIS_MNT) && !defined(FREEBSD_MNT)
+
+ static gboolean
+ volume_is_removable (const NautilusVolume *volume)
+@@ -907,23 +942,33 @@
+
+
+
+-#ifdef SOLARIS_MNT
++#if defined(SOLARIS_MNT) || defined(FREEBSD_MNT)
+
+ static GList *
+ get_mount_list (NautilusVolumeMonitor *monitor)
+ {
+- FILE *fh;
+ GList *volumes;
++#ifndef HAVE_SETFSENT
++ FILE *fh;
+ MountTableEntry ent;
++#else
++ int fh;
++ struct fstab *ent;
++#endif
+ NautilusVolume *volume;
+
+ volumes = NULL;
+
+ fh = setmntent (MOUNT_TABLE_PATH, "r");
++#ifndef HAVE_SETFSENT
+ if (fh == NULL) {
++#else
++ if (fh == 0) {
++#endif
+ return NULL;
+ }
+
++#ifndef HAVE_SETFSENT
+ while (! getmntent(fh, &ent)) {
+ volume = create_volume (ent.mnt_special, ent.mnt_mountp);
+ volume->is_removable = has_removable_mntent_options (&ent);
+@@ -932,6 +977,20 @@
+ }
+
+ fclose (fh);
++#else
++ while ((ent = getfsent ()) != NULL) {
++ volume = create_volume (ent->fs_spec, ent->fs_file);
++ if (strstr (ent->fs_mntops, "noauto") == 0)
++ volume->is_removable = TRUE;
++ else
++ volume->is_removable = FALSE;
++ volumes = finish_creating_volume_and_prepend
++ (monitor, volume, ent->fs_vfstype, volumes);
++ }
++
++ endfsent();
++#endif
++
+
+ return volumes;
+ }
+@@ -1668,7 +1727,7 @@
+ for (node = volume_list; node != NULL; node = node->next) {
+ volume = node->data;
+
+-#ifndef SOLARIS_MNT
++#if !defined(SOLARIS_MNT) && !defined(FREEBSD_MNT)
+ /* These are set up by get_current_mount_list for Solaris. */
+ volume->is_removable = volume_is_removable (volume);
+ #endif
diff --git a/x11-fm/nautilus2/files/patch-ltmain.sh b/x11-fm/nautilus2/files/patch-ltmain.sh
new file mode 100644
index 000000000000..33bc7983f107
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-ltmain.sh
@@ -0,0 +1,18 @@
+
+$FreeBSD$
+
+--- ltmain.sh 2001/08/27 09:51:26 1.1
++++ ltmain.sh 2001/08/27 09:51:42
+@@ -4175,10 +4175,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/x11-fm/nautilus2/pkg-plist b/x11-fm/nautilus2/pkg-plist
index 1b2dd61c865b..8edef6940fd2 100644
--- a/x11-fm/nautilus2/pkg-plist
+++ b/x11-fm/nautilus2/pkg-plist
@@ -28,6 +28,15 @@ bin/nautilus-xml-migrate
bin/run-nautilus
etc/CORBA/servers/nautilus-launcher-applet.gnorba
etc/CORBA/servers/nautilus-preferences-applet.gnorba
+etc/X11/serverconfig/.directory
+etc/X11/starthere/.directory
+etc/X11/starthere/favorites.desktop
+etc/X11/starthere/preferences.desktop
+etc/X11/starthere/programs.desktop
+etc/X11/starthere/serverconfig.desktop
+etc/X11/starthere/sysconfig.desktop
+etc/X11/sysconfig/.directory
+etc/nautilusConf.sh
etc/vfs/modules/help-methods.conf
include/libnautilus/libnautilus.h
include/libnautilus/nautilus-bonobo-ui.h
@@ -48,9 +57,10 @@ lib/libnautilus-tree-view.so
lib/libnautilus-tree-view.so.0
lib/libnautilus.so
lib/libnautilus.so.0
-lib/nautilusConf.sh
lib/vfs/modules/libvfs-help.so
+share/gnome/apps/Applications/nautilus-help.desktop
share/gnome/apps/Applications/nautilus.desktop
+share/gnome/apps/nautilus-help.desktop
share/gnome/help/gnufdl/C/gnufdl.sgml
share/gnome/help/gnugpl/C/gnugpl.sgml
share/gnome/help/nautilus-quick-reference/C/figures/backgrounds_nqr.png
@@ -264,6 +274,7 @@ share/gnome/nautilus/emblems/ohno.png
share/gnome/nautilus/emblems/personal.png
share/gnome/nautilus/emblems/special.png
share/gnome/nautilus/emblems/urgent.png
+share/gnome/nautilus/filesystem-attributes.xml
share/gnome/nautilus/linksets/apps.xml
share/gnome/nautilus/linksets/desktop.xml
share/gnome/nautilus/linksets/home.xml
@@ -306,6 +317,8 @@ share/gnome/nautilus/patterns/terracotta.png
share/gnome/nautilus/patterns/wavy_white.png
share/gnome/nautilus/services/text/google.xml
share/gnome/nautilus/services/text/webster.xml
+share/gnome/nautilus/starthere-link.desktop
+share/gnome/nautilus/starthere.desktop
share/gnome/nautilus/static_bookmarks.xml
share/gnome/oaf/Nautilus_ComponentAdapterFactory_std.oaf
share/gnome/oaf/Nautilus_Control_throbber.oaf
@@ -332,6 +345,8 @@ share/gnome/omf/nautilus/nautilus-release-notes-C.omf
share/gnome/omf/nautilus/nautilus-user-manual-C.omf
share/gnome/omf/nautilus/nautilus-user-manual-es.omf
share/gnome/omf/nautilus/nautilus-user-manual-ko.omf
+share/gnome/pixmaps/gnome-starthere-96.png
+share/gnome/pixmaps/gnome-starthere.png
share/gnome/pixmaps/nautilus-launch-icon.png
share/gnome/pixmaps/nautilus/About_Image.png
share/gnome/pixmaps/nautilus/Back.png
@@ -556,28 +571,6 @@ share/gnome/pixmaps/nautilus/default.xml
share/gnome/pixmaps/nautilus/druid_header.png
share/gnome/pixmaps/nautilus/druid_header_stretch.png
share/gnome/pixmaps/nautilus/druid_sidebar.png
-share/gnome/pixmaps/nautilus/eazel-logos/About_Image.png
-share/gnome/pixmaps/nautilus/eazel-logos/LICENSE
-share/gnome/pixmaps/nautilus/eazel-logos/about_background.png
-share/gnome/pixmaps/nautilus/eazel-logos/default.xml
-share/gnome/pixmaps/nautilus/eazel-logos/druid_header.png
-share/gnome/pixmaps/nautilus/eazel-logos/eazel-logo-right-side-logo.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/001.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/002.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/003.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/004.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/005.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/006.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/007.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/008.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/009.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/010.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/011.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/012.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/013.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/014.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/015.png
-share/gnome/pixmaps/nautilus/eazel-logos/throbber/rest.png
share/gnome/pixmaps/nautilus/emblem-OK.svg
share/gnome/pixmaps/nautilus/emblem-broken-link.png
share/gnome/pixmaps/nautilus/emblem-certified.svg
@@ -1064,7 +1057,6 @@ share/gnome/ui/nautilus-icon-view-ui.xml
%%MOZILLA:%%share/gnome/ui/nautilus-mozilla-ui.xml
share/gnome/ui/nautilus-sample-content-view-ui.xml
share/gnome/ui/nautilus-search-list-view-ui.xml
-share/gnome/ui/nautilus-service-ui.xml
share/gnome/ui/nautilus-shell-ui.xml
share/gnome/ui/nautilus-sidebar-loser-ui.xml
share/gnome/ui/nautilus-text-view-ui.xml
@@ -1085,10 +1077,12 @@ share/locale/it/LC_MESSAGES/nautilus.mo
share/locale/ja/LC_MESSAGES/nautilus.mo
share/locale/ko/LC_MESSAGES/nautilus.mo
share/locale/lt/LC_MESSAGES/nautilus.mo
+share/locale/lv/LC_MESSAGES/nautilus.mo
share/locale/nl/LC_MESSAGES/nautilus.mo
share/locale/nn/LC_MESSAGES/nautilus.mo
share/locale/no/LC_MESSAGES/nautilus.mo
share/locale/pl/LC_MESSAGES/nautilus.mo
+share/locale/pt/LC_MESSAGES/nautilus.mo
share/locale/pt_BR/LC_MESSAGES/nautilus.mo
share/locale/ro/LC_MESSAGES/nautilus.mo
share/locale/ru/LC_MESSAGES/nautilus.mo
@@ -1098,7 +1092,14 @@ share/locale/sv/LC_MESSAGES/nautilus.mo
share/locale/ta/LC_MESSAGES/nautilus.mo
share/locale/tr/LC_MESSAGES/nautilus.mo
share/locale/uk/LC_MESSAGES/nautilus.mo
-share/locale/zh_TW.Big5/LC_MESSAGES/nautilus.mo
+share/locale/zh_TW/LC_MESSAGES/nautilus.mo
+@dirrm share/gnome/sgml/docbook/xsl-stylesheets-1.29/lib
+@dirrm share/gnome/sgml/docbook/xsl-stylesheets-1.29/html
+@dirrm share/gnome/sgml/docbook/xsl-stylesheets-1.29/common
+@dirrm share/gnome/sgml/docbook/xsl-stylesheets-1.29
+@dirrm share/gnome/sgml/docbook/gnome-customization-0.1
+@dirrm share/gnome/sgml/docbook
+@dirrm share/gnome/sgml
@dirrm share/gnome/pixmaps/nautilus/throbber
@dirrm share/gnome/pixmaps/nautilus/tahoe
@dirrm share/gnome/pixmaps/nautilus/sierra
@@ -1106,8 +1107,6 @@ share/locale/zh_TW.Big5/LC_MESSAGES/nautilus.mo
@dirrm share/gnome/pixmaps/nautilus/gnome/throbber
@dirrm share/gnome/pixmaps/nautilus/gnome/sidebar_tab_pieces
@dirrm share/gnome/pixmaps/nautilus/gnome
-@dirrm share/gnome/pixmaps/nautilus/eazel-logos/throbber
-@dirrm share/gnome/pixmaps/nautilus/eazel-logos
@dirrm share/gnome/pixmaps/nautilus/crux_teal/throbber
@dirrm share/gnome/pixmaps/nautilus/crux_teal/sidebar_tab_pieces
@dirrm share/gnome/pixmaps/nautilus/crux_teal/backgrounds
@@ -1161,3 +1160,7 @@ share/locale/zh_TW.Big5/LC_MESSAGES/nautilus.mo
@dirrm share/gnome/help/gnufdl/C
@dirrm share/gnome/help/gnufdl
@dirrm include/libnautilus
+@dirrm etc/X11/sysconfig
+@dirrm etc/X11/starthere
+@dirrm etc/X11/serverconfig
+@dirrm etc/X11