diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-02-20 06:20:25 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-02-20 06:20:25 +0800 |
commit | 52eb0c363dbd39ca18828556aa6e06a0f55cdad1 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /x11-fm/nautilus/files | |
parent | 02ae0012100b6d06fd4310bcc5e44198eaf8930e (diff) | |
download | marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.tar marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.tar.gz marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.tar.bz2 marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.tar.lz marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.tar.xz marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.tar.zst marcuscom-ports-52eb0c363dbd39ca18828556aa6e06a0f55cdad1.zip |
Remove the GNOME 2.1 ports. These have been merged into FreeBSD CVS
as GNOME 2.2....next up, GNOME 2.3.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@538 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fm/nautilus/files')
8 files changed, 0 insertions, 500 deletions
diff --git a/x11-fm/nautilus/files/patch-Makefile.in b/x11-fm/nautilus/files/patch-Makefile.in deleted file mode 100644 index 7fe0bcd6e..000000000 --- a/x11-fm/nautilus/files/patch-Makefile.in +++ /dev/null @@ -1,10 +0,0 @@ ---- Makefile.in.orig Tue Jan 7 12:28:34 2003 -+++ Makefile.in Tue Jan 7 12:29:48 2003 -@@ -153,7 +153,6 @@ - libnautilus-private \ - libnautilus-adapter \ - src \ -- test \ - components \ - po \ - data \ diff --git a/x11-fm/nautilus/files/patch-aa b/x11-fm/nautilus/files/patch-aa deleted file mode 100644 index bff0e4a65..000000000 --- a/x11-fm/nautilus/files/patch-aa +++ /dev/null @@ -1,68 +0,0 @@ ---- configure.orig Mon Jan 13 10:45:25 2003 -+++ configure Tue Jan 14 13:11:53 2003 -@@ -8294,6 +8294,7 @@ - - # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+$ac_aux_dir/ltconfig $LIBTOOL_DEPS - - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' -@@ -12661,7 +12662,7 @@ - - LIBNAUTILUS_LIBS="`$PKG_CONFIG --libs $LIBNAUTILUS_MODULES`" - --LIBNAUTILUS_IDL_INCLUDES="`$PKG_CONFIG --variable=idldir $LIBNAUTILUS_MODULES | $srcdir/add-include-prefix`" -+LIBNAUTILUS_IDL_INCLUDES="`$PKG_CONFIG --variable=idldir $LIBNAUTILUS_MODULES | xargs -n1 echo -n ' -I '`" - - - CORE_MODULES="eel-2.0 librsvg-2.0 bonobo-activation-2.0 libbonobo-2.0 libbonoboui-2.0 esound gnome-desktop-2.0 $EXTRA_CORE_MODULES" -@@ -12669,7 +12670,7 @@ - - CORE_LIBS="`$PKG_CONFIG --libs $CORE_MODULES` $CDDA_LIBS $LIBJPEG $x_libs" - --CORE_IDL_INCLUDES="`$PKG_CONFIG --variable=idldir $CORE_MODULES | $srcdir/add-include-prefix`" -+CORE_IDL_INCLUDES="`$PKG_CONFIG --variable=idldir $CORE_MODULES | xargs -n1 echo -n ' -I '`" - - - COMPONENT_MODULES="eel-2.0 libbonoboui-2.0 gnome-vfs-module-2.0 gnome-desktop-2.0" -@@ -13593,7 +13594,7 @@ - s,@LIBTOOL@,$LIBTOOL,;t t - s,@PKG_CONFIG@,$PKG_CONFIG,;t t - s,@ALL_CFLAGS@,$ALL_CFLAGS,;t t --s,@ALL_LIBS@,$ALL_LIBS,;t t -+s~@ALL_LIBS@~$ALL_LIBS~;t t - s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t - s,@ALLOCA@,$ALLOCA,;t t - s,@USE_NLS@,$USE_NLS,;t t -@@ -13643,25 +13644,25 @@ - s,@HAVE_JW_FALSE@,$HAVE_JW_FALSE,;t t - s,@HAVE_JW@,$HAVE_JW,;t t - s,@MEDUSA_CFLAGS@,$MEDUSA_CFLAGS,;t t --s,@MEDUSA_LIBS@,$MEDUSA_LIBS,;t t -+s~@MEDUSA_LIBS@~$MEDUSA_LIBS~;t t - s,@LIBJPEG@,$LIBJPEG,;t t - s,@GIMPHWRAPBOX_CFLAGS@,$GIMPHWRAPBOX_CFLAGS,;t t - s,@LIBEGG_CFLAGS@,$LIBEGG_CFLAGS,;t t - s,@LIBNAUTILUS_CFLAGS@,$LIBNAUTILUS_CFLAGS,;t t --s,@LIBNAUTILUS_LIBS@,$LIBNAUTILUS_LIBS,;t t -+s~@LIBNAUTILUS_LIBS@~$LIBNAUTILUS_LIBS~;t t - s,@LIBNAUTILUS_IDL_INCLUDES@,$LIBNAUTILUS_IDL_INCLUDES,;t t - s,@CORE_CFLAGS@,$CORE_CFLAGS,;t t --s,@CORE_LIBS@,$CORE_LIBS,;t t -+s~@CORE_LIBS@~$CORE_LIBS~;t t - s,@CORE_IDL_INCLUDES@,$CORE_IDL_INCLUDES,;t t - s,@COMPONENT_CFLAGS@,$COMPONENT_CFLAGS,;t t --s,@COMPONENT_LIBS@,$COMPONENT_LIBS,;t t -+s~@COMPONENT_LIBS@~$COMPONENT_LIBS~;t t - s,@EMBLEM_COMPONENT_CFLAGS@,$EMBLEM_COMPONENT_CFLAGS,;t t - s,@EMBLEM_COMPONENT_LIBS@,$EMBLEM_COMPONENT_LIBS,;t t - s,@DISABLE_DEPRECATED_CFLAGS@,$DISABLE_DEPRECATED_CFLAGS,;t t - s,@ENABLE_HARDWARE_VIEW_TRUE@,$ENABLE_HARDWARE_VIEW_TRUE,;t t - s,@ENABLE_HARDWARE_VIEW_FALSE@,$ENABLE_HARDWARE_VIEW_FALSE,;t t - s,@CAPPLET_CFLAGS@,$CAPPLET_CFLAGS,;t t --s,@CAPPLET_LIBS@,$CAPPLET_LIBS,;t t -+s~@CAPPLET_LIBS@~$CAPPLET_LIBS~;t t - s,@GCONFTOOL@,$GCONFTOOL,;t t - s,@GCONF_SCHEMA_CONFIG_SOURCE@,$GCONF_SCHEMA_CONFIG_SOURCE,;t t - s,@GCONF_SCHEMA_FILE_DIR@,$GCONF_SCHEMA_FILE_DIR,;t t diff --git a/x11-fm/nautilus/files/patch-data_static_bookmarks.xml b/x11-fm/nautilus/files/patch-data_static_bookmarks.xml deleted file mode 100644 index 54ea8ae37..000000000 --- a/x11-fm/nautilus/files/patch-data_static_bookmarks.xml +++ /dev/null @@ -1,84 +0,0 @@ ---- data/static_bookmarks.xml.orig Wed Jun 5 22:58:43 2002 -+++ data/static_bookmarks.xml Wed Jun 5 23:30:11 2002 -@@ -1,54 +1,44 @@ - <?xml version="1.0"?> - <bookmarks> - <folder _name="Software"> -- <bookmark _name="Allaire" icon_name="i-web" uri="http://www.allaire.com/Products/index.cfm"/> -- <bookmark _name="Borland" icon_name="i-web" uri="http://www.borland.com/kylix/"/> -- <bookmark _name="MandrakeSoft" icon_name="i-web" uri="http://mandrakesoft.com/"/> -- <bookmark _name="Netraverse" icon_name="i-web" uri="http://www.netraverse.com"/> -- <bookmark _name="Red Hat" icon_name="i-web" uri="http://www.redhat.com"/> -- <bookmark _name="SuSE" icon_name="i-web" uri="http://www.suse.com"/> -+ <bookmark _name="4Front Technologies" icon_name="i-web" uri="http://www.4front-tech.com"/> -+ <bookmark _name="BSD Mall" icon_name="i-web" uri="http://www.bsdmall.com/freebsd1.html"/> -+ <bookmark _name="FreeBSD" icon_name="i-web" uri="http://www.freebsd.org"/> -+ <bookmark _name="GNOME" icon_name="i-web" uri="http://www.gnome.org/"/> - <bookmark _name="Sun StarOffice" icon_name="i-web" uri="http://www.sun.com/products/staroffice/"/> - <bookmark _name="Ximian" icon_name="i-web" uri="http://www.ximian.com"/> -- <bookmark _name="Zero-Knowledge" icon_name="i-web" uri="http://www.zeroknowledge.com"/> - </folder> - <folder _name="Hardware"> -- <bookmark _name="Compaq" icon_name="i-web" uri="http://www.compaq.com/products/software/linux/"/> -- <bookmark _name="CNET Computers.com" icon_name="i-web" uri="http://computers.cnet.com/hardware/0-1016.html"/> -- <bookmark _name="Dell" icon_name="i-web" uri="http://www.dell.com/linux/"/> -- <bookmark _name="Penguin Computing" icon_name="i-web" uri="http://www.penguincomputing.com"/> -- <bookmark _name="ZDNet Linux Hardware Database" icon_name="i-web" uri="http://lhd.zdnet.com"/> -+ <bookmark _name="Adaptec" icon_name="i-web" uri="http://www.adaptec.com"/> -+ <bookmark _name="BSD Mall" icon_name="i-web" uri="http://www.bsdmall.com/hardware.html"/> -+ <bookmark _name="Cisco Systems, Inc" icon_name="i-web" uri="http://www.cisco.com"/> -+ <bookmark _name="Compaq" icon_name="i-web" uri="http://www.compaq.com"/> -+ <bookmark _name="Data Net Solutions" icon_name="i-web" uri="http://www.eclipse.com"/> -+ <bookmark _name="Dell" icon_name="i-web" uri="http://www.dell.com"/> - </folder> - <folder _name="News and Media"> -- <bookmark _name="Binary Freedom" icon_name="i-web" uri="http://www.binaryfreedom.com/"/> -- <bookmark _name="CNET Linux Center" icon_name="i-web" uri="http://linux.cnet.com/linux/0-1518529-7-3378110.html"/> -- <bookmark _name="LinuxOrbit.com" icon_name="i-web" uri="http://www.linuxorbit.com"/> -- <bookmark _name="Linux Weekly News" icon_name="i-web" uri="http://www.lwn.net"/> -+ <bookmark _name="BSD Today" icon_name="i-web" uri="http://www.bsdtoday.com"/> -+ <bookmark _name="Daily Daemon News" icon_name="i-web" uri="http://daily.daemonnews.org"/> -+ <bookmark _name="Daemon News" icon_name="i-web" uri="http://www.daemonnews.org"/> - <bookmark _name="O'Reilly" icon_name="i-web" uri="http://www.oreillynet.com"/> -- <bookmark _name="OSDN" icon_name="i-web" uri="http://www.osdn.com"/> -- <bookmark _name="ZDNet Linux Resource Center" icon_name="i-web" uri="http://linux.zdnet.com"/> - </folder> - <folder _name="Web Services"> -- <bookmark _name="CollabNet" icon_name="i-web" uri="http://www.collab.net/community/"/> -- <bookmark _name="Covalent" icon_name="i-web" uri="http://www.covalent.com"/> -- <bookmark _name="Rackspace" icon_name="i-web" uri="http://www.rackspace.com"/> -- <bookmark _name="Red Hat Network" icon_name="i-web" uri="http://www.redhat.com/network/"/> -+ <bookmark _name="FreeBSD Services, Ltd." icon_name="i-web" uri="http://www.freebsd-services.com"/> -+ <bookmark _name="JohnsCompanies Collocation Services" icon_name="i-web" uri="http://www.johncompanies.com/collocation"/> - <bookmark _name="SourceForge" icon_name="i-web" uri="http://www.sourceforge.net"/> - </folder> -- <folder _name="International"> -- <bookmark _name="Conectiva" icon_name="i-web" uri="http://en.conectiva.com/"/> -- <bookmark _name="Linux One" icon_name="i-web" uri="http://www.linuxone.co.kr/english2/eng/main.htm"/> -- <bookmark _name="Open Source Asia" icon_name="i-web" uri="http://www.opensourceasia.com"/> -- <bookmark _name="RedFlag Linux" icon_name="i-web" uri="http://www.redflag-linux.com/english/index.html"/> -- <bookmark _name="Sun Wah Linux" icon_name="i-web" uri="http://www.sw-linux.com/nonflash_front.htm"/> -- </folder> -- <folder _name="Linux Resources"> -- <bookmark _name="Debian.org" icon_name="i-web" uri="http://www.debian.org"/> -- <bookmark _name="Freshmeat.net" icon_name="i-web" uri="http://www.freshmeat.net"/> -- <bookmark _name="GNOME.org" icon_name="i-web" uri="http://www.gnome.org"/> -- <bookmark _name="GNU.org" icon_name="i-web" uri="http://www.gnu.org"/> -- <bookmark _name="Linux Online" icon_name="i-web" uri="http://www.linux.org"/> -- <bookmark _name="Linux Documentation Project" icon_name="i-web" uri="http://www.linuxdoc.org"/> -- <bookmark _name="LinuxNewbie.org" icon_name="i-web" uri="http://www.linuxnewbie.org"/> -+ <folder _name="FreeBSD Resources"> -+ <bookmark _name="BSD Apps" icon_name="i-web" uri="http://www.bsdapps.com"/> -+ <bookmark _name="BSD At Work" icon_name="i-web" uri="http://www.bsdatwork.com"/> -+ <bookmark _name="BSD Central" icon_name="i-web" uri="http://bsdcentral.com"/> -+ <bookmark _name="BSD Dev Center" icon_name="i-web" uri="http://www.onlamp.com/bsd/"/> -+ <bookmark _name="FreeBSD Diary" icon_name="i-web" uri="http://www.freebsddiary.org"/> -+ <bookmark _name="FreeBSD Forums" icon_name="i-web" uri="http://www.freebsdforums.org"/> -+ <bookmark _name="FreeBSD GNOME Project" icon_name="i-web" uri="http://www.freebsd.org/gnome"/> -+ <bookmark _name="FreeBSD Handbook" icon_name="i-web" uri="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html"/> -+ <bookmark _name="FreeBSD Security Information" icon_name="i-web" uri="http://www.freebsd.org/security/security.html"/> -+ <bookmark _name="Freshports" icon_name="i-web" uri="http://www.freshports.org"/> -+ <bookmark _name="Google's BSD Search Engine" icon_name="i-web" uri="http://www.google.com/bsd"/> - <bookmark _name="OpenOffice" icon_name="i-web" uri="http://www.openoffice.org"/> - </folder> - </bookmarks> diff --git a/x11-fm/nautilus/files/patch-libbackground_Makefile.in b/x11-fm/nautilus/files/patch-libbackground_Makefile.in deleted file mode 100644 index 835db3474..000000000 --- a/x11-fm/nautilus/files/patch-libbackground_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- libbackground/Makefile.in.orig Tue Jan 7 12:30:18 2003 -+++ libbackground/Makefile.in Tue Jan 7 12:30:58 2003 -@@ -141,7 +141,7 @@ - - INCLUDES = \ - -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ -- -DGNOME_ICONDIR=\""${prefix}/share/pixmaps"\" \ -+ -DGNOME_ICONDIR=\""${datadir}/pixmaps"\" \ - -DG_LOG_DOMAIN=\"capplet-common\" \ - -I$(top_srcdir)/ \ - @CAPPLET_CFLAGS@ diff --git a/x11-fm/nautilus/files/patch-libnautilus-extensions::nautilus-medusa-support.c b/x11-fm/nautilus/files/patch-libnautilus-extensions::nautilus-medusa-support.c deleted file mode 100644 index 68e98b154..000000000 --- a/x11-fm/nautilus/files/patch-libnautilus-extensions::nautilus-medusa-support.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- libnautilus-private/nautilus-medusa-support.c.orig Wed Apr 11 21:36:16 2001 -+++ libnautilus-private/nautilus-medusa-support.c Mon May 14 17:45:24 2001 -@@ -84,7 +84,7 @@ - */ - status = NAUTILUS_CRON_STATUS_OFF; - -- stat_file_name = g_strdup_printf ("/proc/%d/stat", process_number); -+ stat_file_name = g_strdup_printf ("/proc/%d/status", process_number); - stat_file = fopen (stat_file_name, "r"); - g_free (stat_file_name); - 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 deleted file mode 100644 index fbb9b3b47..000000000 --- a/x11-fm/nautilus/files/patch-libnautilus-private::nautilus-volume-monitor.c +++ /dev/null @@ -1,272 +0,0 @@ - -$FreeBSD$ - ---- libnautilus-private/nautilus-volume-monitor.c.orig Wed Aug 28 16:37:20 2002 -+++ libnautilus-private/nautilus-volume-monitor.c Wed Sep 11 16:39:15 2002 -@@ -59,6 +59,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 -@@ -103,7 +115,7 @@ - #define MNTOPT_RO "ro" - #endif - --#ifndef HAVE_SETMNTENT -+#if !defined(HAVE_SETMNTENT) && !defined(HAVE_SETFSENT) - #define setmntent(f,m) fopen(f,m) - #endif - -@@ -492,6 +504,9 @@ - static gboolean - has_removable_mntent_options (MountTableEntry *ent) - { -+#ifdef __FreeBSD__ -+ struct fstab *fsent; -+#endif - #ifdef HAVE_HASMNTOPT - /* Use "owner" or "user" or "users" as our way of determining a removable volume */ - if (hasmntopt (ent, "user") != NULL -@@ -501,6 +516,12 @@ - return TRUE; - } - #endif -+#ifdef __FreeBSD__ -+ fsent = getfsspec(ent->f_mntfromname); -+ if (fsent != NULL && strstr (fsent->fs_mntops, "noauto")) { -+ return TRUE; -+ } -+#endif - - #ifdef SOLARIS_MNT - if (eel_str_has_prefix (ent->mnt_special, "/vol/")) { -@@ -522,10 +543,15 @@ - 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; - char * fs_opt; - #ifdef HAVE_SYS_MNTTAB_H - MountTableEntry ent_storage; -@@ -533,26 +559,27 @@ - #ifdef HAVE_GETMNTINFO - int count, index; - #endif -- ent = NULL; -- volume = NULL; -- volumes = NULL; - - #ifdef HAVE_GETMNTINFO - count = getmntinfo (&ent, MNT_WAIT); - /* getmentinfo returns a pointer to static data. Do not free. */ - for (index = 0; index < count; index++) { -- if (has_removable_mntent_options (&ent[index])) { -+ if (has_removable_mntent_options (ent + index)) { - volume = create_volume (ent[index].f_mntfromname, - ent[index].f_mntonname); - volume->is_removable = TRUE; - volumes = finish_creating_volume_and_prepend -- (monitor, volume, ent[index].f_fstypename, 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; - } - -@@ -587,9 +614,21 @@ - (monitor, volume, ent->mnt_type, volumes); - } - } -+#elif defined (HAVE_SETFSENT) -+ while ((fsent = getfsent ()) != NULL) { -+ if (strstr (fsent->fs_mntops, "noauto") != NULL) { -+ 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); -@@ -619,7 +658,7 @@ - return result; - } - --#ifndef SOLARIS_MNT -+#if !defined(SOLARIS_MNT) && !defined(FREEBSD_MNT) - - static gboolean - volume_is_removable (const NautilusVolume *volume) -@@ -885,7 +924,7 @@ - char *command; - - if (path != NULL) { -- command = g_strdup_printf ("eject %s", path); -+ command = g_strdup_printf ("/usr/sbin/cdcontrol -f %s eject", path); - eel_gnome_shell_execute (command); - g_free (command); - } -@@ -963,23 +1002,34 @@ - - - --#ifdef SOLARIS_MNT -+#if defined(SOLARIS_MNT) || defined(FREEBSD_MNT) - - static GList * - get_mount_list (NautilusVolumeMonitor *monitor) - { -- FILE *fh; - GList *volumes; -+#ifndef HAVE_SETFSENT - MountTableEntry ent; -+ FILE *fh; -+#else -+ MountTableEntry *ent; -+ int fh, index; -+#endif - NautilusVolume *volume; - - volumes = NULL; - -+#ifndef HAVE_SETFSENT - fh = setmntent (MOUNT_TABLE_PATH, "r"); - if (fh == NULL) { -+#else -+ fh = getmntinfo (&ent, MNT_WAIT); -+ 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); -@@ -988,6 +1038,16 @@ - } - - fclose (fh); -+#else -+ /* getmentinfo returns a pointer to static data. Do not free. */ -+ for (index = 0; index < fh; index++) { -+ volume = create_volume (ent[index].f_mntfromname, -+ ent[index].f_mntonname); -+ volume->is_removable = has_removable_mntent_options (ent + index); -+ volumes = finish_creating_volume_and_prepend -+ (monitor, volume, ent[index].f_fstypename, volumes); -+ } -+#endif - - return volumes; - } -@@ -1214,9 +1274,38 @@ - static int - get_cdrom_type (const char *vol_dev_path, int* fd) - { --#ifndef SOLARIS_MNT -+#if !defined(SOLARIS_MNT) && !defined(FREEBSD_MNT) - *fd = open (vol_dev_path, O_RDONLY|O_NONBLOCK); - return ioctl (*fd, CDROM_DISC_STATUS, CDSL_CURRENT); -+#elif defined(FREEBSD_MNT) -+ struct ioc_toc_header header; -+ struct ioc_read_toc_single_entry entry; -+ int type; -+ -+ *fd = open (vol_dev_path, O_RDONLY|O_NONBLOCK); -+ if (*fd < 0) { -+ return CDS_DATA_1; -+ } -+ -+ if ( ioctl(*fd, CDIOREADTOCHEADER, &header) == 0) { -+ return CDS_DATA_1; -+ } -+ -+ type = CDS_DATA_1; -+ -+ for (entry.track = header.starting_track; -+ entry.track <= header.ending_track; -+ entry.track++) { -+ entry.address_format = CD_LBA_FORMAT; -+ if (ioctl (*fd, CDIOREADTOCENTRY, &entry) == 0) { -+ if (entry.entry.control & CDROM_DATA_TRACK) { -+ type = CDS_AUDIO; -+ break; -+ } -+ } -+ } -+ -+ return type; - #else - GString *new_dev_path; - struct cdrom_tocentry entry; -@@ -1765,7 +1854,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 -@@ -1794,7 +1883,7 @@ - ok = mount_volume_auto_add (volume); - } else if (strcmp (file_system_type_name, "cdda") == 0) { - ok = mount_volume_cdda_add (volume); -- } else if (strcmp (file_system_type_name, "iso9660") == 0) { -+ } else if (strcmp (file_system_type_name, "cd9660") == 0) { - ok = mount_volume_iso9660_add (volume); - } else if (strcmp (file_system_type_name, "nfs") == 0) { - ok = mount_volume_nfs_add (volume); -@@ -1823,8 +1912,8 @@ - } - - /* Identify device type */ -- if (eel_str_has_prefix (volume->mount_path, "/mnt/")) { -- name = volume->mount_path + strlen ("/mnt/"); -+ if (eel_str_has_prefix (volume->mount_path, "/")) { -+ name = volume->mount_path + strlen ("/"); - - if (eel_str_has_prefix (name, "cdrom") - || eel_str_has_prefix (name, "burn")) { diff --git a/x11-fm/nautilus/files/patch-libnautilus-private_filesystem-attributes.xml b/x11-fm/nautilus/files/patch-libnautilus-private_filesystem-attributes.xml deleted file mode 100644 index 81e3a2a71..000000000 --- a/x11-fm/nautilus/files/patch-libnautilus-private_filesystem-attributes.xml +++ /dev/null @@ -1,31 +0,0 @@ ---- libnautilus-private/filesystem-attributes.xml.orig Sat Sep 14 16:56:38 2002 -+++ libnautilus-private/filesystem-attributes.xml Sat Sep 14 17:01:31 2002 -@@ -3,10 +3,12 @@ - <filesystem name="affs" _default_volume_name="AFFS Volume"/> - <filesystem name="afs" _default_volume_name="AFS Network Volume"/> - <filesystem name="auto" _default_volume_name="Auto-detected Volume"/> -+ <filesystem name="cd9660" _default_volume_name="CDROM Volume"/> - <filesystem name="cdda" _default_volume_name="CD Digital Audio"/> - <filesystem name="cdrom" _default_volume_name="CD-ROM Drive"/> - <filesystem name="devfs" _default_volume_name="Hardware Device Volume"/> - <filesystem name="ext2" _default_volume_name="Ext2 Linux Volume" trash="yes"/> -+ <filesystem name="ext2fs" _default_volume_name="Ext2 Linux Volume" trash="yes"/> - <filesystem name="ext3" _default_volume_name="Ext3 Linux Volume" trash="yes"/> - <filesystem name="fat" _default_volume_name="MSDOS Volume" trash="yes"/> - <filesystem name="hfs" _default_volume_name="MacOS Volume" trash="yes"/> -@@ -15,10 +17,15 @@ - <filesystem name="hsfs" _default_volume_name="Hsfs CDROM Volume"/> - <filesystem name="jfs" _default_volume_name="JFS Volume" trash="yes"/> - <filesystem name="hpfs" _default_volume_name="Windows NT Volume"/> -+ <filesystem name="linprocfs" _default_volume_name="System Volume"/> -+ <filesystem name="mfs" _default_volume_name="Memory Volume" trash="yes"/> - <filesystem name="minix" _default_volume_name="Minix Volume"/> - <filesystem name="msdos" _default_volume_name="MSDOS Volume"/> - <filesystem name="nfs" _default_volume_name="NFS Network Volume" trash="yes"/> -+ <filesystem name="ntfs" _default_volume_name="Windows NT Volume"/> -+ <filesystem name="nwfs" _default_volume_name="Netware Volume"/> - <filesystem name="proc" _default_volume_name="System Volume"/> -+ <filesystem name="procfs" _default_volume_name="System Volume"/> - <filesystem name="reiserfs" _default_volume_name="ReiserFS Linux Volume" trash="yes"/> - <filesystem name="smbfs" _default_volume_name="Windows Shared Volume" trash="yes"/> - <filesystem name="supermount" _default_volume_name="SuperMount Volume" /> diff --git a/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-emblem-utils.c b/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-emblem-utils.c deleted file mode 100644 index 2d67d65e7..000000000 --- a/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-emblem-utils.c +++ /dev/null @@ -1,10 +0,0 @@ ---- libnautilus-private/nautilus-emblem-utils.c.orig Mon Oct 14 22:20:28 2002 -+++ libnautilus-private/nautilus-emblem-utils.c Mon Oct 14 22:20:56 2002 -@@ -24,6 +24,7 @@ - - #include <config.h> - -+#include <sys/types.h> - #include <utime.h> - #include <stdio.h> - #include <time.h> |