summaryrefslogtreecommitdiffstats
path: root/devel/gnome-vfs1
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnome-vfs1')
-rw-r--r--devel/gnome-vfs1/Makefile54
-rw-r--r--devel/gnome-vfs1/distinfo3
-rw-r--r--devel/gnome-vfs1/files/patch-aa65
-rw-r--r--devel/gnome-vfs1/files/patch-ab42
-rw-r--r--devel/gnome-vfs1/files/patch-ac40
-rw-r--r--devel/gnome-vfs1/files/patch-ag11
-rw-r--r--devel/gnome-vfs1/files/patch-libgnomevfs-gnome-vfs-private-utils.c11
-rw-r--r--devel/gnome-vfs1/files/patch-libgnomevfs-gnome-vfs-process.c11
-rw-r--r--devel/gnome-vfs1/files/patch-libgnomevfs-pthread::Makefile.in14
-rw-r--r--devel/gnome-vfs1/files/patch-libgnomevfs::Makefile.in14
-rw-r--r--devel/gnome-vfs1/files/patch-libgnomevfs::libcharset::Makefile.in20
-rw-r--r--devel/gnome-vfs1/files/patch-ltmain.sh45
-rw-r--r--devel/gnome-vfs1/files/patch-modules::file-method.c11
-rw-r--r--devel/gnome-vfs1/files/patch-modules_cdda-method.c26
-rw-r--r--devel/gnome-vfs1/files/patch-modules_default-modules.conf12
-rw-r--r--devel/gnome-vfs1/files/patch-po::Makefile.in.in14
-rw-r--r--devel/gnome-vfs1/files/patch-vfsConf.sh.in13
-rw-r--r--devel/gnome-vfs1/pkg-descr12
-rw-r--r--devel/gnome-vfs1/pkg-plist99
19 files changed, 517 insertions, 0 deletions
diff --git a/devel/gnome-vfs1/Makefile b/devel/gnome-vfs1/Makefile
new file mode 100644
index 000000000..9b77d351c
--- /dev/null
+++ b/devel/gnome-vfs1/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: gnomevfs
+# Date created: 28th June 2000
+# Whom: Ade Lovett <ade@FreeBSD.org>
+#
+# $FreeBSD: ports/devel/gnome-vfs1/Makefile,v 1.54 2007/02/04 22:39:10 marcus Exp $
+#
+
+PORTNAME= gnome-vfs
+PORTVERSION= 1.0.5
+PORTREVISION= 9
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gnome-vfs/1.0
+DISTNAME= gnome-vfs-${PORTVERSION}
+DIST_SUBDIR= gnome
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= GNOME Virtual File System
+
+USE_ICONV= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix glib12 libxml gtk12 orbit gconf \
+ gnomemimedata gnomelibs
+USE_GETTEXT= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib" \
+ BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
+
+LATEST_LINK= gnome-vfs1
+
+.if exists(${LOCALBASE}/lib/libcdda_paranoia.a)
+WITH_CDPARANOIA= yes
+.endif
+
+.if defined(WITH_CDPARANOIA)
+LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
+PLIST_SUB+= CDPARANOIA=""
+.else
+PLIST_SUB+= CDPARANOIA="@comment "
+.endif
+
+post-patch:
+ @${FIND} ${WRKSRC} -name 'xml-i18n-*' | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|/usr/local/bin/perl|${PERL}|g'
+ @${REINPLACE_CMD} -e 's|\%\%LOCALBASE\%\%|${LOCALBASE}|g' \
+ ${WRKSRC}/libgnomevfs/libcharset/Makefile.in
+ @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/devel/gnome-vfs1/distinfo b/devel/gnome-vfs1/distinfo
new file mode 100644
index 000000000..f4926b796
--- /dev/null
+++ b/devel/gnome-vfs1/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome/gnome-vfs-1.0.5.tar.bz2) = e2a17a6b178f54c43968241258f3e729
+SHA256 (gnome/gnome-vfs-1.0.5.tar.bz2) = 656b31d8351ec2d8b266cb1201354a53b79dd02230c8c7a8235e745f2a712ba8
+SIZE (gnome/gnome-vfs-1.0.5.tar.bz2) = 781057
diff --git a/devel/gnome-vfs1/files/patch-aa b/devel/gnome-vfs1/files/patch-aa
new file mode 100644
index 000000000..7ee2454b2
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-aa
@@ -0,0 +1,65 @@
+
+$FreeBSD: ports/devel/gnome-vfs1/files/patch-aa,v 1.13 2002/03/18 17:30:04 sobomax Exp $
+
+--- configure.orig Sun Mar 17 15:24:47 2002
++++ configure Sun Mar 17 15:25:13 2002
+@@ -5953,7 +5953,7 @@
+ VFS_GNOME_LIBS="`gnome-config --libs gnome`"
+ VFS_GNOMEUI_LIBS="`gnome-config --libs gnome gnomeui`"
+ VFS_GNOMEGNORBA_LIBS="`gnome-config --libs gnome gnomeui gnorba`"
+-VFS_GLIB_CONFIG="glib-config"
++VFS_GLIB_CONFIG="$GLIB_CONFIG"
+
+
+
+@@ -9856,8 +9856,8 @@
+ done
+ fi
+
+-echo $ac_n "checking for bzCompressInit in -lbz2""... $ac_c" 1>&6
+-echo "configure:9861: checking for bzCompressInit in -lbz2" >&5
++echo $ac_n "checking for BZ2_bzCompressInit in -lbz2""... $ac_c" 1>&6
++echo "configure:9861: checking for BZ2_bzCompressInit in -lbz2" >&5
+ ac_lib_var=`echo bz2'_'bzCompressInit | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+@@ -9870,10 +9870,10 @@
+ /* 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 bzCompressInit();
++char BZ2_bzCompressInit();
+
+ int main() {
+-bzCompressInit()
++BZ2_bzCompressInit()
+ ; return 0; }
+ EOF
+ if { (eval echo configure:9880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+@@ -10103,7 +10103,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+
+- LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto -ldl"
++ LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcryptofoo"
+ cat > conftest.$ac_ext <<EOF
+ #line 10109 "configure"
+ #include "confdefs.h"
+@@ -10137,7 +10137,7 @@
+ EOF
+
+ msg_openssl="yes"
+- OPENSSL_LDFLAGS="-L$with_openssl_libs -lssl -lcrypto -ldl"
++ OPENSSL_LDFLAGS="-L$with_openssl_libs -lssl -lcryptofoo"
+
+
+ if true; then
+@@ -10897,7 +10897,7 @@
+ s%@GTK_CFLAGS@%$GTK_CFLAGS%g
+ s%@GTK_LIBS@%$GTK_LIBS%g
+ s%@cflags_set@%$cflags_set%g
+-s%@PTHREAD_LIB@%$PTHREAD_LIB%g
++s%@PTHREAD_LIB@%$BSD_PTHREAD_LIBS%g
+ s%@ALLOCA@%$ALLOCA%g
+ s%@USE_NLS@%$USE_NLS%g
+ s%@MSGFMT@%$MSGFMT%g
diff --git a/devel/gnome-vfs1/files/patch-ab b/devel/gnome-vfs1/files/patch-ab
new file mode 100644
index 000000000..400cf3e2d
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-ab
@@ -0,0 +1,42 @@
+
+$FreeBSD: ports/devel/gnome-vfs1/files/patch-ab,v 1.9 2002/03/17 16:08:33 sobomax Exp $
+
+--- Makefile.in.orig Sun Mar 17 16:04:01 2002
++++ Makefile.in Sun Mar 17 16:14:05 2002
+@@ -187,10 +187,10 @@
+ cflags_set = @cflags_set@
+ cxxflags_set = @cxxflags_set@
+ l = @l@
+-@PLATFORM_GNOME_2_TRUE@SUBDIRS_GNOME = doc
+-@PLATFORM_GNOME_2_FALSE@SUBDIRS_GNOME = doc test
++@PLATFORM_GNOME_2_TRUE@SUBDIRS_GNOME =
++@PLATFORM_GNOME_2_FALSE@SUBDIRS_GNOME =
+
+-SUBDIRS = libgnomevfs libgnomevfs-pthread idl modules devel-docs $(SUBDIRS_GNOME) po
++SUBDIRS = libgnomevfs libgnomevfs-pthread idl modules $(SUBDIRS_GNOME) po
+
+
+ EXTRA_DIST = HACKING TODO autogen.sh gnome-vfs.spec vfsConf.sh.in xml-i18n-extract.in xml-i18n-merge.in xml-i18n-update.in gnome-vfs-config.in
+@@ -198,7 +198,7 @@
+
+ bin_SCRIPTS = $(top_builddir)/gnome-vfs-config
+
+-confexecdir = $(libdir)
++confexecdir = $(sysconfdir)
+ confexec_DATA = vfsConf.sh
+
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+@@ -537,11 +537,13 @@
+ -e 's?\@VFS_INCLUDEDIR\@?$(VFS_INCLUDEDIR)?g' \
+ -e 's?\@VERSION\@?$(VERSION)?g' \
+ -e 's?\@VFS_LIBS\@?$(VFS_LIBS)?g' \
++ -e 's?\@PTHREAD_LIB\@?$(PTHREAD_LIB)?g' \
+ < $(srcdir)/vfsConf.sh.in > vfsConf.tmp \
+ && mv vfsConf.tmp vfsConf.sh
+
+ gnome-vfs-config: gnome-vfs-config.in Makefile
+ sed -e 's?\@LIBDIR\@?$(libdir)?g' \
++ -e 's?\@SYSCONFDIR\@?$(sysconfdir)?g' \
+ -e 's?\@VFS_LIBDIR\@?$(VFS_LIBDIR)?g' \
+ -e 's?\@VFS_INCLUDEDIR\@?$(VFS_INCLUDEDIR)?g' \
+ -e 's?\@VERSION\@?$(VERSION)?g' \
diff --git a/devel/gnome-vfs1/files/patch-ac b/devel/gnome-vfs1/files/patch-ac
new file mode 100644
index 000000000..53175ace8
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-ac
@@ -0,0 +1,40 @@
+--- modules/Makefile.in.orig Thu Aug 26 21:10:36 2004
++++ modules/Makefile.in Thu Aug 26 21:11:07 2004
+@@ -189,7 +189,7 @@
+ l = @l@
+
+ NULL =
+-SUBDIRS = extfs
++SUBDIRS =
+
+ INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/libgnomevfs -I$(top_builddir)/libgnomevfs -I$(top_srcdir)/intl -I$(top_builddir)/intl $(GLIB_CFLAGS) $(XML_CFLAGS) $(LIBEFS_CFLAGS) $(GCONF_CFLAGS) $(VFS_GNOME_CFLAGS) $(VFS_CFLAGS) $(WERROR) -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DSYSCONFDIR=\"$(sysconfdir)\" -DPREFIX=\"$(prefix)\" -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+
+@@ -199,10 +199,10 @@
+ @HAVE_CDDA_TRUE@CDDA_LTLIBS = libcdda.la
+ @HAVE_CDDA_FALSE@CDDA_LTLIBS =
+
+-module_flags = -export_dynamic -avoid-version
++module_flags = -export_dynamic -avoid-version -module $(PTHREAD_LIB)
+ modulesdir = $(libdir)/vfs/modules
+
+-modules_LTLIBRARIES = $(CDDA_LTLIBS) libextfs.la libfile.la libvfs-test.la $(HTTP_LTLIBS) libbzip2.la libgzip.la libftp.la libnntp.la libvfs-pipe.la libvfs-translate.la libdesktop.la $(NULL)
++modules_LTLIBRARIES = $(CDDA_LTLIBS) libfile.la libvfs-test.la $(HTTP_LTLIBS) libbzip2.la libgzip.la libftp.la libnntp.la libvfs-pipe.la libvfs-translate.la libdesktop.la $(NULL)
+
+
+ # Disabled for now
+@@ -218,15 +218,8 @@
+
+ libcdda_la_SOURCES = cdda-method.c cdda-method.h cdda-cddb.c cdda-cddb.h cdda-cdrom-extensions.h
+
+-
+ libcdda_la_LDFLAGS = $(module_flags)
+ libcdda_la_LIBADD = -L/gnome/lib -lcdda_paranoia -lcdda_interface
+-
+-### `extfs' method
+-
+-libextfs_la_SOURCES = extfs-method.c extfs-method.h
+-
+-libextfs_la_LDFLAGS = $(module_flags)
+
+ ### `file' method
+
diff --git a/devel/gnome-vfs1/files/patch-ag b/devel/gnome-vfs1/files/patch-ag
new file mode 100644
index 000000000..da795f940
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-ag
@@ -0,0 +1,11 @@
+--- gnome-vfs-config.in.orig Thu Aug 31 14:32:38 2000
++++ gnome-vfs-config.in Wed Nov 29 15:04:43 2000
+@@ -3,7 +3,7 @@
+ usage="\
+ Usage: gnome-vfs-config [--version] [--config] [--cflags] [--libs]"
+
+-config_file="@LIBDIR@/vfsConf.sh"
++config_file="@SYSCONFDIR@/vfsConf.sh"
+ . $config_file
+
+ if test $# -eq 0; then
diff --git a/devel/gnome-vfs1/files/patch-libgnomevfs-gnome-vfs-private-utils.c b/devel/gnome-vfs1/files/patch-libgnomevfs-gnome-vfs-private-utils.c
new file mode 100644
index 000000000..6ba85e4fc
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-libgnomevfs-gnome-vfs-private-utils.c
@@ -0,0 +1,11 @@
+--- libgnomevfs/gnome-vfs-private-utils.c.orig Mon Jul 16 20:21:07 2001
++++ libgnomevfs/gnome-vfs-private-utils.c Sat Aug 14 00:00:56 2004
+@@ -263,7 +263,7 @@
+ *
+ * Return value:
+ **/
+-GnomeVFSProcessResult
++GnomeVFSProcessRunResult
+ gnome_vfs_process_run_cancellable (const gchar *file_name,
+ const gchar * const argv[],
+ GnomeVFSProcessOptions options,
diff --git a/devel/gnome-vfs1/files/patch-libgnomevfs-gnome-vfs-process.c b/devel/gnome-vfs1/files/patch-libgnomevfs-gnome-vfs-process.c
new file mode 100644
index 000000000..8fb98a428
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-libgnomevfs-gnome-vfs-process.c
@@ -0,0 +1,11 @@
+--- libgnomevfs/gnome-vfs-process.c.orig Mon Jul 16 20:21:07 2001
++++ libgnomevfs/gnome-vfs-process.c Sat Aug 14 00:13:06 2004
+@@ -258,7 +258,7 @@
+ *
+ * Return value: A numeric value reporting the result of the operation.
+ **/
+-GnomeVFSProcessRunResult
++GnomeVFSProcessResult
+ gnome_vfs_process_signal (GnomeVFSProcess *process,
+ guint signal_number)
+ {
diff --git a/devel/gnome-vfs1/files/patch-libgnomevfs-pthread::Makefile.in b/devel/gnome-vfs1/files/patch-libgnomevfs-pthread::Makefile.in
new file mode 100644
index 000000000..f5f0d3e4f
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-libgnomevfs-pthread::Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/devel/gnome-vfs1/files/patch-libgnomevfs-pthread::Makefile.in,v 1.1 2002/01/24 15:09:56 sobomax Exp $
+
+--- libgnomevfs-pthread/Makefile.in 2002/01/24 08:42:41 1.1
++++ libgnomevfs-pthread/Makefile.in 2002/01/24 08:43:37
+@@ -207,7 +207,7 @@
+
+ DEFS = @DEFS@ -I. -I$(srcdir) -I..
+ LIBS = @LIBS@
+-libgnomevfs_pthread_la_LIBADD =
++libgnomevfs_pthread_la_LIBADD = $(PTHREAD_LIB)
+ libgnomevfs_pthread_la_OBJECTS = gnome-vfs-pthread.lo \
+ gnome-vfs-thread-pool.lo gnome-vfs-async-job-map.lo \
+ gnome-vfs-async-ops.lo gnome-vfs-job-slave.lo gnome-vfs-job.lo
diff --git a/devel/gnome-vfs1/files/patch-libgnomevfs::Makefile.in b/devel/gnome-vfs1/files/patch-libgnomevfs::Makefile.in
new file mode 100644
index 000000000..f02f39aaa
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-libgnomevfs::Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/devel/gnome-vfs1/files/patch-libgnomevfs::Makefile.in,v 1.2 2002/03/17 16:08:33 sobomax Exp $
+
+--- libgnomevfs/Makefile.in.orig Sun Mar 17 16:04:01 2002
++++ libgnomevfs/Makefile.in Sun Mar 17 16:26:57 2002
+@@ -215,7 +215,7 @@
+
+
+ # Platform specific includes
+-libgnomevfsplatofrmincludedir = $(libdir)/gnome-vfs-1.0/include
++libgnomevfsplatofrmincludedir = $(includedir)/gnome-vfs-1.0/libgnomevfs
+ libgnomevfsplatofrminclude_HEADERS = gnome-vfs-file-size.h
+
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/devel/gnome-vfs1/files/patch-libgnomevfs::libcharset::Makefile.in b/devel/gnome-vfs1/files/patch-libgnomevfs::libcharset::Makefile.in
new file mode 100644
index 000000000..b28eeb05f
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-libgnomevfs::libcharset::Makefile.in
@@ -0,0 +1,20 @@
+--- libgnomevfs/libcharset/Makefile.in.orig Mon May 6 15:14:48 2002
++++ libgnomevfs/libcharset/Makefile.in Mon May 6 15:33:22 2002
+@@ -188,7 +188,7 @@
+ cxxflags_set = @cxxflags_set@
+ l = @l@
+
+-INCLUDES = -DLIBDIR=\"$(libdir)\"
++INCLUDES = -DLIBDIR=\"%%LOCALBASE%%/libdata\"
+
+
+ noinst_LTLIBRARIES = libcharset.la
+@@ -351,7 +351,7 @@
+ check: check-am
+ installcheck-am:
+ installcheck: installcheck-am
+-install-exec-am: install-exec-local
++install-exec-am:
+ install-exec: install-exec-am
+
+ install-data-am:
diff --git a/devel/gnome-vfs1/files/patch-ltmain.sh b/devel/gnome-vfs1/files/patch-ltmain.sh
new file mode 100644
index 000000000..c2418c758
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-ltmain.sh
@@ -0,0 +1,45 @@
+
+$FreeBSD: ports/devel/gnome-vfs1/files/patch-ltmain.sh,v 1.8 2002/02/03 07:16:38 sobomax Exp $
+
+--- ltmain.sh.orig Wed Jan 23 11:38:40 2002
++++ ltmain.sh Sun Feb 3 01:44:17 2002
+@@ -1037,8 +1037,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+
+@@ -2412,6 +2420,9 @@
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test "$build_libtool_need_lc" = "yes"; then
+@@ -4179,10 +4190,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/devel/gnome-vfs1/files/patch-modules::file-method.c b/devel/gnome-vfs1/files/patch-modules::file-method.c
new file mode 100644
index 000000000..1786e41ad
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-modules::file-method.c
@@ -0,0 +1,11 @@
+--- modules/file-method.c.orig Fri Nov 9 12:02:38 2001
++++ modules/file-method.c Fri Nov 9 12:02:52 2001
+@@ -46,7 +46,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <limits.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <unistd.h>
diff --git a/devel/gnome-vfs1/files/patch-modules_cdda-method.c b/devel/gnome-vfs1/files/patch-modules_cdda-method.c
new file mode 100644
index 000000000..d1692cc03
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-modules_cdda-method.c
@@ -0,0 +1,26 @@
+--- modules/cdda-method.c.orig Wed Jan 22 13:54:31 2003
++++ modules/cdda-method.c Wed Jan 22 13:54:33 2003
+@@ -623,7 +623,11 @@
+ // Check and see if we already have opened and stashed this drive
+ if (!use_base) {
+ if (global_context != NULL) {
++#ifdef Linux
+ if (strcmp (drive->cdda_device_name, global_context->drive->cdda_device_name) == 0) {
++#elif defined(__FreeBSD__)
++ if (strcmp (drive->dev->device_path, global_context->drive->dev->device_path) == 0) {
++#endif
+ use_cache = TRUE;
+ cdda_close (drive);
+ gnome_vfs_file_info_copy (file_info, global_context->file_info);
+@@ -709,7 +713,11 @@
+ if (!use_base) {
+ // Check for cache
+ if (global_context != NULL) {
++#ifdef Linux
+ if (strcmp (drive->cdda_device_name, global_context->drive->cdda_device_name) != 0) {
++#elif defined(__FreeBSD__)
++ if (strcmp (drive->dev->device_path, global_context->drive->dev->device_path) != 0) {
++#endif
+ // Clear old cache
+ cdda_context_free (global_context);
+ global_context = cdda_context_new (drive, uri);
diff --git a/devel/gnome-vfs1/files/patch-modules_default-modules.conf b/devel/gnome-vfs1/files/patch-modules_default-modules.conf
new file mode 100644
index 000000000..33830491e
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-modules_default-modules.conf
@@ -0,0 +1,12 @@
+--- modules/default-modules.conf.orig Thu Aug 26 21:11:40 2004
++++ modules/default-modules.conf Thu Aug 26 21:11:47 2004
+@@ -30,9 +30,6 @@
+
+ ssh: ssh
+
+-# The various access methods implemented by the extfs system.
+-a ar arj cpio deb hp48 lha mailfs patchfs rar rpm rpms trpm zip zoo: extfs
+-
+ # and the desktop module
+ preferences: libdesktop.so
+ system-settings: libdesktop.so
diff --git a/devel/gnome-vfs1/files/patch-po::Makefile.in.in b/devel/gnome-vfs1/files/patch-po::Makefile.in.in
new file mode 100644
index 000000000..3cd3df7c7
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-po::Makefile.in.in
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/devel/gnome-vfs1/files/patch-po::Makefile.in.in,v 1.1 2001/10/01 06:37:30 sobomax Exp $
+
+--- po/Makefile.in.in 2001/09/17 14:26:57 1.1
++++ po/Makefile.in.in 2001/09/17 14:27:14
+@@ -106,7 +106,7 @@
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+- lang=`echo $$cat | sed 's/\.gmo$$//'`; \
++ lang=`echo $$cat | sed 's/\.mo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(mkinstalldirs) $(DESTDIR)$$dir; \
+ if test -r $$cat; then \
diff --git a/devel/gnome-vfs1/files/patch-vfsConf.sh.in b/devel/gnome-vfs1/files/patch-vfsConf.sh.in
new file mode 100644
index 000000000..5b4b5eab0
--- /dev/null
+++ b/devel/gnome-vfs1/files/patch-vfsConf.sh.in
@@ -0,0 +1,13 @@
+
+$FreeBSD: ports/devel/gnome-vfs1/files/patch-vfsConf.sh.in,v 1.1 2001/10/01 06:37:30 sobomax Exp $
+
+--- vfsConf.sh.in 2001/09/28 11:13:40 1.1
++++ vfsConf.sh.in 2001/09/28 11:15:11
+@@ -2,6 +2,6 @@
+ # Configuration file for using the gnome-vfs library
+ #
+ VFS_LIBDIR="@VFS_LIBDIR@"
+-VFS_LIBS="@VFS_LIBS@"
++VFS_LIBS="@VFS_LIBS@ @PTHREAD_LIB@"
+ VFS_INCLUDEDIR="@VFS_INCLUDEDIR@"
+ MODULE_VERSION="gnome-vfs-@VERSION@"
diff --git a/devel/gnome-vfs1/pkg-descr b/devel/gnome-vfs1/pkg-descr
new file mode 100644
index 000000000..ec339735e
--- /dev/null
+++ b/devel/gnome-vfs1/pkg-descr
@@ -0,0 +1,12 @@
+This is the GNOME Virtual File System.
+
+GnomeVFS is a filesystem abstraction library allowing applications
+plugable transparent access to a variety of "real" filesystems, from
+WebDAV to digital cameras, to the local filesystem. It also contains a
+number of other convenient file utilities such as a comphrehensive MIME
+database / Application registry, and a copy engine. Use of GnomeVFS
+ensures that an application or component will be usable by Nautilus or
+other GnomeVFS applications for handling the display of data from
+various URIs, as well.
+
+WWW: http://www.gnome.org/
diff --git a/devel/gnome-vfs1/pkg-plist b/devel/gnome-vfs1/pkg-plist
new file mode 100644
index 000000000..7c2b57abc
--- /dev/null
+++ b/devel/gnome-vfs1/pkg-plist
@@ -0,0 +1,99 @@
+bin/gnome-vfs-config
+%%CDPARANOIA%%etc/vfs/modules/cdda-module.conf
+etc/vfs/modules/default-modules.conf
+etc/vfsConf.sh
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-application-registry.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-async-ops.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-backend.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-cancellable-ops.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-cancellation.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-configuration.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-context.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-directory-filter.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-directory.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-file-info.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-file-size.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-find-directory.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-handle.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-inet-connection.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-init.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-iobuf.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-messages.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-method.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-mime-handlers.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-mime-info.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-mime-magic.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-mime-monitor.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-mime-sniff-buffer.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-mime.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-module-callback-module-api.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-module-callback.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-module-shared.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-module.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-ops.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-parse-ls.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-private-utils.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-private.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-regexp-filter.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-result.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-seekable.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-shellpattern-filter.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-socket-buffer.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-socket.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-ssl-private.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-ssl.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-standard-callbacks.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-transform.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-types.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-uri.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-utils.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs-xfer.h
+include/gnome-vfs-1.0/libgnomevfs/gnome-vfs.h
+lib/libgnomevfs-pthread.so
+lib/libgnomevfs.a
+lib/libgnomevfs.so
+lib/libgnomevfs.so.0
+lib/vfs/modules/libbzip2.so
+%%CDPARANOIA%%lib/vfs/modules/libcdda.so
+lib/vfs/modules/libdesktop.so
+lib/vfs/modules/libfile.so
+lib/vfs/modules/libftp.so
+lib/vfs/modules/libgzip.so
+lib/vfs/modules/libhttp.so
+lib/vfs/modules/libnntp.so
+lib/vfs/modules/libvfs-pipe.so
+lib/vfs/modules/libvfs-test.so
+lib/vfs/modules/libvfs-translate.so
+share/locale/az/LC_MESSAGES/gnome-vfs.mo
+share/locale/ca/LC_MESSAGES/gnome-vfs.mo
+share/locale/da/LC_MESSAGES/gnome-vfs.mo
+share/locale/de/LC_MESSAGES/gnome-vfs.mo
+share/locale/el/LC_MESSAGES/gnome-vfs.mo
+share/locale/es/LC_MESSAGES/gnome-vfs.mo
+share/locale/eu/LC_MESSAGES/gnome-vfs.mo
+share/locale/fi/LC_MESSAGES/gnome-vfs.mo
+share/locale/fr/LC_MESSAGES/gnome-vfs.mo
+share/locale/ga/LC_MESSAGES/gnome-vfs.mo
+share/locale/gl/LC_MESSAGES/gnome-vfs.mo
+share/locale/hu/LC_MESSAGES/gnome-vfs.mo
+share/locale/it/LC_MESSAGES/gnome-vfs.mo
+share/locale/ja/LC_MESSAGES/gnome-vfs.mo
+share/locale/ko/LC_MESSAGES/gnome-vfs.mo
+share/locale/lt/LC_MESSAGES/gnome-vfs.mo
+share/locale/nl/LC_MESSAGES/gnome-vfs.mo
+share/locale/nn/LC_MESSAGES/gnome-vfs.mo
+share/locale/no/LC_MESSAGES/gnome-vfs.mo
+share/locale/pl/LC_MESSAGES/gnome-vfs.mo
+share/locale/pt/LC_MESSAGES/gnome-vfs.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-vfs.mo
+share/locale/ro/LC_MESSAGES/gnome-vfs.mo
+share/locale/ru/LC_MESSAGES/gnome-vfs.mo
+share/locale/sk/LC_MESSAGES/gnome-vfs.mo
+share/locale/sl/LC_MESSAGES/gnome-vfs.mo
+share/locale/sv/LC_MESSAGES/gnome-vfs.mo
+share/locale/tr/LC_MESSAGES/gnome-vfs.mo
+share/locale/uk/LC_MESSAGES/gnome-vfs.mo
+share/locale/wa/LC_MESSAGES/gnome-vfs.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-vfs.mo
+@dirrm include/gnome-vfs-1.0/libgnomevfs
+@dirrm include/gnome-vfs-1.0