summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-15 14:12:29 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-15 14:12:29 +0800
commitf64f66d5c9025c686caabbf86cb023280f542721 (patch)
tree3a60c610f3b0cd9fa417a26f532ba315a5170a53 /devel
parenta58c17a8c02d69361cf01c45a2b18965725a5202 (diff)
downloadmarcuscom-ports-f64f66d5c9025c686caabbf86cb023280f542721.tar
marcuscom-ports-f64f66d5c9025c686caabbf86cb023280f542721.tar.gz
marcuscom-ports-f64f66d5c9025c686caabbf86cb023280f542721.tar.bz2
marcuscom-ports-f64f66d5c9025c686caabbf86cb023280f542721.tar.lz
marcuscom-ports-f64f66d5c9025c686caabbf86cb023280f542721.tar.xz
marcuscom-ports-f64f66d5c9025c686caabbf86cb023280f542721.tar.zst
marcuscom-ports-f64f66d5c9025c686caabbf86cb023280f542721.zip
Update to 2.13.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5141 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r--devel/gnome-vfs/Makefile91
-rw-r--r--devel/gnome-vfs/distinfo3
-rw-r--r--devel/gnome-vfs/files/patch-Makefile.in10
-rw-r--r--devel/gnome-vfs/files/patch-aa89
-rw-r--r--devel/gnome-vfs/files/patch-ac11
-rw-r--r--devel/gnome-vfs/files/patch-devel-docs::Makefile.in15
-rw-r--r--devel/gnome-vfs/files/patch-gnome-vfs-2.0.pc.in9
-rw-r--r--devel/gnome-vfs/files/patch-gnome-vfs-module-2.0.pc.in9
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs::Makefile.in11
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs::gnome-vfs-application-registry.c26
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c15
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-utils.c10
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs_xdgmime.c11
-rw-r--r--devel/gnome-vfs/files/patch-modules_file-method.c12
-rw-r--r--devel/gnome-vfs/files/patch-modules_sftp-method.c12
-rw-r--r--devel/gnome-vfs/pkg-deinstall.in20
-rw-r--r--devel/gnome-vfs/pkg-descr7
-rw-r--r--devel/gnome-vfs/pkg-install.in20
-rw-r--r--devel/gnome-vfs/pkg-plist226
-rw-r--r--devel/gnomevfs2/Makefile91
-rw-r--r--devel/gnomevfs2/distinfo3
-rw-r--r--devel/gnomevfs2/files/patch-Makefile.in10
-rw-r--r--devel/gnomevfs2/files/patch-aa89
-rw-r--r--devel/gnomevfs2/files/patch-ac11
-rw-r--r--devel/gnomevfs2/files/patch-devel-docs::Makefile.in15
-rw-r--r--devel/gnomevfs2/files/patch-gnome-vfs-2.0.pc.in9
-rw-r--r--devel/gnomevfs2/files/patch-gnome-vfs-module-2.0.pc.in9
-rw-r--r--devel/gnomevfs2/files/patch-libgnomevfs::Makefile.in11
-rw-r--r--devel/gnomevfs2/files/patch-libgnomevfs::gnome-vfs-application-registry.c26
-rw-r--r--devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c15
-rw-r--r--devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c10
-rw-r--r--devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c11
-rw-r--r--devel/gnomevfs2/files/patch-modules_file-method.c12
-rw-r--r--devel/gnomevfs2/files/patch-modules_sftp-method.c12
-rw-r--r--devel/gnomevfs2/pkg-deinstall.in20
-rw-r--r--devel/gnomevfs2/pkg-descr7
-rw-r--r--devel/gnomevfs2/pkg-install.in20
-rw-r--r--devel/gnomevfs2/pkg-plist226
38 files changed, 1214 insertions, 0 deletions
diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile
new file mode 100644
index 000000000..763ab53f2
--- /dev/null
+++ b/devel/gnome-vfs/Makefile
@@ -0,0 +1,91 @@
+# New ports collection makefile for: gnomevfs2
+# Date created: 28th June 2000
+# Whom: Ade Lovett <ade@FreeBSD.org>
+#
+# $FreeBSD: ports/devel/gnomevfs2/Makefile,v 1.102 2005/11/05 04:53:17 marcus Exp $
+# $MCom: ports/devel/gnomevfs2/Makefile,v 1.115 2005/10/31 00:12:01 marcus Exp $
+#
+
+PORTNAME= gnomevfs2
+PORTVERSION= 2.13.1
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gnome-vfs/2.13
+DISTNAME= gnome-vfs-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= GNOME Virtual File System
+
+RUN_DEPENDS= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+USE_GNOME= gnomeprefix gnomehack intlhack gnomemimedata gconf2 \
+ libbonobo ltverhack
+USE_REINPLACE= yes
+USE_AUTOTOOLS= libtool:15
+INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --enable-openssl \
+ --disable-gnutls
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
+ BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
+
+PKGINSTALL= ${WRKDIR}/pkg-install
+PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
+
+GCONF_SCHEMAS= desktop_default_applications.schemas \
+ desktop_gnome_url_handlers.schemas system_dns_sd.schemas \
+ system_http_proxy.schemas system_smb.schemas \
+ system_storage.schemas
+
+OPTIONS= SAMBA "Enable SMB volume support" on \
+ MDNS "Enable Bonjour/Rendezvous support" on
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libfam.so) || !defined(WITHOUT_FAM)
+USE_FAM= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libkrb5.so)
+LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
+.endif
+
+.if !defined(WITHOUT_SAMBA)
+LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient
+PLIST_SUB+= SAMBA=""
+.else
+PLIST_SUB+= SAMBA="@comment "
+CONFIGURE_ARGS+=--disable-samba
+.endif
+
+.if !defined(WITHOUT_MDNS)
+LIB_DEPENDS+= howl:${PORTSDIR}/net/howl
+.else
+CONFIGURE_ARGS+=--disable-howl
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ ${WRKSRC}/libgnomevfs/Makefile.in
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
+ s|%%X11BASE%%|${X11BASE}|g' \
+ ${WRKSRC}/libgnomevfs/xdgmime.c
+ @${SED} -e 's|%%X11BASE%%|${X11BASE}|g' \
+ < ${MASTERDIR}/pkg-install.in > ${PKGINSTALL}
+ @${SED} -e 's|%%X11BASE%%|${X11BASE}|g' \
+ < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
+
+pre-configure:
+ @if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]' 2> /dev/null`" ]; then \
+ ${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
+ ${FALSE}; \
+ fi
+
+post-install:
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.post.mk>
diff --git a/devel/gnome-vfs/distinfo b/devel/gnome-vfs/distinfo
new file mode 100644
index 000000000..0e57c1704
--- /dev/null
+++ b/devel/gnome-vfs/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/gnome-vfs-2.13.1.tar.bz2) = 8d960dbfe1eb8d920a13f4f24d7add86
+SHA256 (gnome2/gnome-vfs-2.13.1.tar.bz2) = 35ff58900e29c633fa268fe3eb79a215e4daa1d136bc15efd10678d0d41c3999
+SIZE (gnome2/gnome-vfs-2.13.1.tar.bz2) = 1759057
diff --git a/devel/gnome-vfs/files/patch-Makefile.in b/devel/gnome-vfs/files/patch-Makefile.in
new file mode 100644
index 000000000..8c0d2a131
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-Makefile.in
@@ -0,0 +1,10 @@
+--- Makefile.in.orig Tue Nov 30 02:05:26 2004
++++ Makefile.in Tue Nov 30 02:05:34 2004
+@@ -230,7 +230,6 @@
+ devel-docs \
+ doc \
+ programs \
+- test \
+ monikers \
+ po
+
diff --git a/devel/gnome-vfs/files/patch-aa b/devel/gnome-vfs/files/patch-aa
new file mode 100644
index 000000000..caf6411ff
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-aa
@@ -0,0 +1,89 @@
+--- configure.orig Tue Jun 1 03:53:13 2004
++++ configure Tue Jun 1 03:53:13 2004
+@@ -22815,6 +22815,8 @@
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
++ ac_check_lib_save_LIBS=$LIBS
++ LIBS="-lintl $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -22897,6 +22899,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
+ fi
+ echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+@@ -22904,6 +22907,7 @@
+ cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+ _ACEOF
++ LIBS="-lintl $LIBS"
+ have_ngettext=yes
+ else
+ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
+@@ -26876,8 +26880,8 @@
+ done
+ fi
+
+-echo "$as_me:$LINENO: checking for bzCompressInit in -lbz2" >&5
+-echo $ECHO_N "checking for bzCompressInit in -lbz2... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for BZ2_bzCompressInit in -lbz2" >&5
++echo $ECHO_N "checking for BZ2_bzCompressInit in -lbz2... $ECHO_C" >&6
+ if test "${ac_cv_lib_bz2_bzCompressInit+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+@@ -26896,11 +26900,11 @@
+ #endif
+ /* 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;
+ }
+@@ -28031,7 +28035,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+
+- LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto -ldl"
++ LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -29660,6 +29664,9 @@
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
+ #include <sys/statfs.h>
+ #include <sys/fstyp.h>
+ _ACEOF
+@@ -29700,6 +29707,9 @@
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
+ #include <sys/statfs.h>
+ #include <sys/vmount.h>
+ _ACEOF
+@@ -31338,6 +31348,7 @@
+ s,@ORBIT_IDL@,$ORBIT_IDL,;t t
+ s,@BONOBO_IDLDIR@,$BONOBO_IDLDIR,;t t
+ s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
++s,@PTHREAD_LIB@,$BSD_PTHREAD_LIBS,;t t
+ s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
+ s,@USE_NLS@,$USE_NLS,;t t
+ s,@MSGFMT@,$MSGFMT,;t t
diff --git a/devel/gnome-vfs/files/patch-ac b/devel/gnome-vfs/files/patch-ac
new file mode 100644
index 000000000..383987654
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-ac
@@ -0,0 +1,11 @@
+--- modules/Makefile.in.orig Mon Oct 3 11:55:14 2005
++++ modules/Makefile.in Mon Oct 3 11:55:55 2005
+@@ -465,7 +465,7 @@
+ @HAVE_SAMBA_TRUE@SMB_LTLIBS = libsmb.la
+ @OS_WIN32_FALSE@PLATFROM_SPECIFIC_LTLIBS = libdns-sd.la libnetwork.la libnntp.la libsftp.la $(HTTP_LTLIBS) libftp.la
+ @OS_WIN32_TRUE@PLATFROM_SPECIFIC_LTLIBS =
+-module_flags = -export_dynamic -avoid-version -module -no-undefined
++module_flags = -export_dynamic -avoid-version -module -no-undefined $(PTHREAD_LIB)
+ modulesdir = $(libdir)/gnome-vfs-2.0/modules
+ modules_LTLIBRARIES = \
+ $(CDDA_LTLIBS) \
diff --git a/devel/gnome-vfs/files/patch-devel-docs::Makefile.in b/devel/gnome-vfs/files/patch-devel-docs::Makefile.in
new file mode 100644
index 000000000..734e1ff86
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-devel-docs::Makefile.in
@@ -0,0 +1,15 @@
+
+$FreeBSD: ports/devel/gnomevfs2/files/patch-devel-docs::Makefile.in,v 1.7 2005/11/05 04:53:18 marcus Exp $
+ $MCom: ports/devel/gnomevfs2/files/patch-devel-docs::Makefile.in,v 1.18 2005/06/28 05:40:02 adamw Exp $
+
+--- devel-docs/Makefile.in 2002/02/16 16:44:53 1.1
++++ devel-docs/Makefile.in 2002/02/16 16:45:47
+@@ -168,7 +168,7 @@
+ TEXT_FILES = gnome-vfs-mime-type-handling.txt
+
+
+-docdir = $(prefix)/doc
++docdir = $(prefix)/share/doc
+ doc_DATA =
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
diff --git a/devel/gnome-vfs/files/patch-gnome-vfs-2.0.pc.in b/devel/gnome-vfs/files/patch-gnome-vfs-2.0.pc.in
new file mode 100644
index 000000000..088433c51
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-gnome-vfs-2.0.pc.in
@@ -0,0 +1,9 @@
+--- gnome-vfs-2.0.pc.in.orig Wed Sep 14 05:30:25 2005
++++ gnome-vfs-2.0.pc.in Mon Oct 3 12:00:02 2005
+@@ -8,5 +8,5 @@
+ Description: The GNOME virtual file-system libraries
+ Version: @VERSION@
+ Requires: bonobo-activation-2.0 libbonobo-2.0 gconf-2.0 gthread-2.0 gmodule-no-export-2.0 gobject-2.0
+-Libs: -L${libdir} -lgnomevfs-2
++Libs: -L${libdir} -lgnomevfs-2 @PTHREAD_LIB@
+ Cflags: -I${includedir}/gnome-vfs-2.0 -I${libdir}/gnome-vfs-2.0/include
diff --git a/devel/gnome-vfs/files/patch-gnome-vfs-module-2.0.pc.in b/devel/gnome-vfs/files/patch-gnome-vfs-module-2.0.pc.in
new file mode 100644
index 000000000..c3f0d2c30
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-gnome-vfs-module-2.0.pc.in
@@ -0,0 +1,9 @@
+--- gnome-vfs-module-2.0.pc.in.orig Wed Sep 14 05:30:25 2005
++++ gnome-vfs-module-2.0.pc.in Mon Oct 3 12:01:04 2005
+@@ -8,5 +8,5 @@
+ Description: The GNOME virtual file-system module include info
+ Version: @VERSION@
+ Requires: bonobo-activation-2.0 libbonobo-2.0 gconf-2.0 gthread-2.0 gmodule-no-export-2.0 gobject-2.0
+-Libs: -L${libdir} -lgnomevfs-2
++Libs: -L${libdir} -lgnomevfs-2 @PTHREAD_LIB@
+ Cflags: -I${includedir}/gnome-vfs-2.0 -I${includedir}/gnome-vfs-module-2.0 -I${libdir}/gnome-vfs-2.0/include
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs::Makefile.in b/devel/gnome-vfs/files/patch-libgnomevfs::Makefile.in
new file mode 100644
index 000000000..063376961
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-libgnomevfs::Makefile.in
@@ -0,0 +1,11 @@
+--- libgnomevfs/Makefile.in.orig Wed Oct 22 01:11:11 2003
++++ libgnomevfs/Makefile.in Wed Oct 22 01:12:00 2003
+@@ -429,7 +429,7 @@
+ # CLEANFILES = $(BUILT_SOURCES)
+
+ # Platform specific includes
+-libgnomevfsplatformincludedir = $(libdir)/gnome-vfs-2.0/include
++libgnomevfsplatformincludedir = $(includedir)/gnome-vfs-2.0/include
+ libgnomevfsplatforminclude_HEADERS = \
+ gnome-vfs-file-size.h
+
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs::gnome-vfs-application-registry.c b/devel/gnome-vfs/files/patch-libgnomevfs::gnome-vfs-application-registry.c
new file mode 100644
index 000000000..2747466f7
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-libgnomevfs::gnome-vfs-application-registry.c
@@ -0,0 +1,26 @@
+--- libgnomevfs/gnome-vfs-application-registry.c.orig Sun May 22 23:09:39 2005
++++ libgnomevfs/gnome-vfs-application-registry.c Sun May 22 23:14:22 2005
+@@ -943,6 +943,8 @@ load_application_info (void)
+ static void
+ gnome_vfs_application_registry_init (void)
+ {
++ gchar *tmp;
++
+ if (gnome_vfs_application_registry_initialized)
+ return;
+
+@@ -963,6 +965,14 @@ gnome_vfs_application_registry_init (voi
+ "application-registry",
+ NULL);
+ gnome_registry_dir.system_dir = TRUE;
++
++ tmp = g_strconcat (g_get_home_dir(), "/.gnome", NULL);
++ if (mkdir (tmp, 0700) &&
++ errno != EEXIST) {
++ g_warning("Could not create per-user GNOME configuration directory: %s",
++ tmp);
++ }
++ g_free(tmp);
+
+ user_registry_dir.dirname = g_build_filename (g_get_home_dir(),
+ ".gnome",
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c
new file mode 100644
index 000000000..6e3660c84
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c
@@ -0,0 +1,15 @@
+--- libgnomevfs/gnome-vfs-resolve.c.orig Tue Apr 19 07:54:52 2005
++++ libgnomevfs/gnome-vfs-resolve.c Sun May 22 23:25:22 2005
+@@ -171,10 +171,12 @@ _gnome_vfs_result_from_gai_error (int er
+ switch (error) {
+
+ case EAI_NONAME: return GNOME_VFS_ERROR_HOST_NOT_FOUND;
++#ifdef EAI_NODATA
+ #ifdef EAI_ADDRFAMILY
+ case EAI_ADDRFAMILY:
+ #endif
+ case EAI_NODATA: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS;
++#endif
+ #ifdef EAI_SYSTEM
+ case EAI_SYSTEM: return gnome_vfs_result_from_errno ();
+ #endif
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-utils.c b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-utils.c
new file mode 100644
index 000000000..068d1773a
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-utils.c
@@ -0,0 +1,10 @@
+--- libgnomevfs/gnome-vfs-utils.c.orig Thu Sep 15 07:02:53 2005
++++ libgnomevfs/gnome-vfs-utils.c Sat Oct 22 02:12:32 2005
+@@ -839,6 +839,7 @@ gnome_vfs_icon_path_from_filename (const
+ for (temp_paths = paths; *temp_paths != NULL; temp_paths++) {
+ full_filename = g_build_filename (*temp_paths,
+ "share",
++ "gnome",
+ "pixmaps",
+ relative_filename,
+ NULL);
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_xdgmime.c b/devel/gnome-vfs/files/patch-libgnomevfs_xdgmime.c
new file mode 100644
index 000000000..37cc69f1e
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-libgnomevfs_xdgmime.c
@@ -0,0 +1,11 @@
+--- libgnomevfs/xdgmime.c.orig Wed Aug 24 16:52:03 2005
++++ libgnomevfs/xdgmime.c Wed Aug 24 16:52:47 2005
+@@ -234,7 +234,7 @@
+
+ xdg_data_dirs = getenv ("XDG_DATA_DIRS");
+ if (xdg_data_dirs == NULL)
+- xdg_data_dirs = "/usr/local/share/:/usr/share/";
++ xdg_data_dirs = "%%X11BASE%%/share/gnome/:/usr/local/share/gnome/:%%X11BASE%%/share/:/usr/local/share/:/usr/share/";
+
+ ptr = xdg_data_dirs;
+
diff --git a/devel/gnome-vfs/files/patch-modules_file-method.c b/devel/gnome-vfs/files/patch-modules_file-method.c
new file mode 100644
index 000000000..dbb237226
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-modules_file-method.c
@@ -0,0 +1,12 @@
+--- modules/file-method.c.orig Sun May 22 23:30:16 2005
++++ modules/file-method.c Sun May 22 23:31:08 2005
+@@ -66,6 +66,9 @@
+ #if HAVE_SYS_VFS_H
+ #include <sys/vfs.h>
+ #elif HAVE_SYS_MOUNT_H
++#if HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
+ #include <sys/mount.h>
+ #endif
+
diff --git a/devel/gnome-vfs/files/patch-modules_sftp-method.c b/devel/gnome-vfs/files/patch-modules_sftp-method.c
new file mode 100644
index 000000000..e1255db17
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-modules_sftp-method.c
@@ -0,0 +1,12 @@
+--- modules/sftp-method.c.orig Tue May 11 01:53:30 2004
++++ modules/sftp-method.c Tue May 11 01:54:07 2004
+@@ -1081,7 +1081,9 @@
+ if (io_status == G_IO_STATUS_NORMAL) {
+ buffer[len] = 0;
+ if (g_str_has_suffix (buffer, "password: ") ||
++ g_str_has_suffix (buffer, "password:") ||
+ g_str_has_suffix (buffer, "Password: ") ||
++ g_str_has_suffix (buffer, "Password:") ||
+ g_str_has_prefix (buffer, "Enter passphrase for key")) {
+ if (invoke_full_auth (uri, done_auth, buffer, &password) && password != NULL) {
+ g_io_channel_write_chars (tty_channel, password, -1, &len, NULL);
diff --git a/devel/gnome-vfs/pkg-deinstall.in b/devel/gnome-vfs/pkg-deinstall.in
new file mode 100644
index 000000000..2a8fe844d
--- /dev/null
+++ b/devel/gnome-vfs/pkg-deinstall.in
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# $FreeBSD: ports/devel/gnomevfs2/pkg-deinstall.in,v 1.3 2005/11/05 04:53:17 marcus Exp $
+# $MCom: ports/devel/gnomevfs2/pkg-deinstall.in,v 1.5 2005/06/28 05:40:01 adamw Exp $
+#
+# Restore gconf keys of libgnome.
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+SCHEMAS=%%X11BASE%%/etc/gconf/schemas/desktop_gnome_applications_terminal.schemas
+
+if [ -f ${SCHEMAS} ]; then
+ env GCONF_CONFIG_SOURCE=xml::%%X11BASE%%/etc/gconf/gconf.xml.defaults \
+ %%X11BASE%%/bin/gconftool-2 --makefile-install-rule ${SCHEMAS} \
+ > /dev/null || /usr/bin/true
+fi
+
+exit 0
diff --git a/devel/gnome-vfs/pkg-descr b/devel/gnome-vfs/pkg-descr
new file mode 100644
index 000000000..03cbc07f6
--- /dev/null
+++ b/devel/gnome-vfs/pkg-descr
@@ -0,0 +1,7 @@
+The GNOME Virtual File System allows applications and users to treat
+any number of file system concepts as a part of the local filesystem.
+With GnomeVFS, filesystems across the internet, on connected devices,
+and in multiple formats are as simple to access (and write code for)
+as any directory on the local machine.
+
+WWW: http://www.gnome.org/
diff --git a/devel/gnome-vfs/pkg-install.in b/devel/gnome-vfs/pkg-install.in
new file mode 100644
index 000000000..671d6cd3f
--- /dev/null
+++ b/devel/gnome-vfs/pkg-install.in
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# $FreeBSD: ports/devel/gnomevfs2/pkg-install.in,v 1.3 2005/11/05 04:53:17 marcus Exp $
+# $MCom: ports/devel/gnomevfs2/pkg-install.in,v 1.5 2005/06/28 05:40:01 adamw Exp $
+#
+# Restore gconf keys of libgnome.
+
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+SCHEMAS=%%X11BASE%%/etc/gconf/schemas/desktop_gnome_applications_terminal.schemas
+
+if [ -f ${SCHEMAS} ]; then
+ env GCONF_CONFIG_SOURCE=xml::%%X11BASE%%/etc/gconf/gconf.xml.defaults \
+ %%X11BASE%%/bin/gconftool-2 --makefile-install-rule ${SCHEMAS} \
+ > /dev/null || /usr/bin/true
+fi
+
+exit 0
diff --git a/devel/gnome-vfs/pkg-plist b/devel/gnome-vfs/pkg-plist
new file mode 100644
index 000000000..e3505b507
--- /dev/null
+++ b/devel/gnome-vfs/pkg-plist
@@ -0,0 +1,226 @@
+bin/gnomevfs-cat
+bin/gnomevfs-copy
+bin/gnomevfs-info
+bin/gnomevfs-ls
+bin/gnomevfs-mkdir
+bin/gnomevfs-monitor
+bin/gnomevfs-mv
+bin/gnomevfs-rm
+etc/gnome-vfs-2.0/modules/default-modules.conf
+%%SAMBA%%etc/gnome-vfs-2.0/modules/smb-module.conf
+etc/gnome-vfs-2.0/modules/ssl-modules.conf
+include/gnome-vfs-2.0/include/gnome-vfs-file-size.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-address.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-application-registry.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-async-ops.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-cancellation.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-context.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-directory.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-dns-sd.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-drive.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-enum-types.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-size.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-find-directory.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-handle.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-init.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-job-limit.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-mime-deprecated.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-mime-handlers.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-mime-info-cache.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-mime-monitor.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-mime-utils.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-module-callback.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-monitor.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-ops.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-resolve.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-result.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-standard-callbacks.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-types.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-uri.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-utils.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-volume-monitor.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-volume.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-xfer.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-cancellable-ops.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-inet-connection.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-method.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-mime-info.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-mime.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-module-callback-module-api.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-module-shared.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-module.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-parse-ls.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-socket-buffer.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-socket.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-ssl.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-transform.h
+lib/bonobo/monikers/libmoniker_gnome_vfs_std.so
+lib/gnome-vfs-2.0/modules/libbzip2.so
+lib/gnome-vfs-2.0/modules/libcomputer.so
+lib/gnome-vfs-2.0/modules/libdns-sd.so
+lib/gnome-vfs-2.0/modules/libfile.so
+lib/gnome-vfs-2.0/modules/libftp.so
+lib/gnome-vfs-2.0/modules/libgzip.so
+lib/gnome-vfs-2.0/modules/libhttp.so
+lib/gnome-vfs-2.0/modules/libnetwork.so
+lib/gnome-vfs-2.0/modules/libnntp.so
+lib/gnome-vfs-2.0/modules/libsftp.so
+%%SAMBA%%lib/gnome-vfs-2.0/modules/libsmb.so
+lib/gnome-vfs-2.0/modules/libtar.so
+lib/gnome-vfs-2.0/modules/libvfs-test.so
+lib/libgnomevfs-2.a
+lib/libgnomevfs-2.so
+lib/libgnomevfs-2.so.0
+libdata/bonobo/servers/GNOME_VFS_Daemon.server
+libdata/bonobo/servers/GNOME_VFS_Moniker_std.server
+libdata/pkgconfig/gnome-vfs-2.0.pc
+libdata/pkgconfig/gnome-vfs-module-2.0.pc
+libexec/gnome-vfs-daemon
+share/doc/gnome-vfs-2.0/about.html
+share/doc/gnome-vfs-2.0/advanced-operations.html
+share/doc/gnome-vfs-2.0/data-types.html
+share/doc/gnome-vfs-2.0/gnome-vfs-2.0.devhelp
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-application-registry.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-async-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-cancellation.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-context.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-directory-basic-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-directory-find-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-directory-list-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-dns-sd.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-drive.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-advanced-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-basic-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-info-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-info.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-rw-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-size.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-trunc-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-inet-connection.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-init.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-method.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime-database-deprecated.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime-database.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime-monitor.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module-callback-module-api.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module-callback.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module-shared.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-monitor.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-parse-ls.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-resolve.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-result.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-socket-buffer.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-socket.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-ssl.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-standard-callbacks.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-transform.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-uri.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-utils.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-volume-monitor.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-volume.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-xfer.html
+share/doc/gnome-vfs-2.0/gnome-vfs-directory-operations.html
+share/doc/gnome-vfs-2.0/gnome-vfs-file-and-dirs-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-first-steps.html
+share/doc/gnome-vfs-2.0/gnome-vfs-writing-modules.html
+share/doc/gnome-vfs-2.0/home.png
+share/doc/gnome-vfs-2.0/index.html
+share/doc/gnome-vfs-2.0/index.sgml
+share/doc/gnome-vfs-2.0/left.png
+share/doc/gnome-vfs-2.0/mime-registry.html
+share/doc/gnome-vfs-2.0/modules.html
+share/doc/gnome-vfs-2.0/networking.html
+share/doc/gnome-vfs-2.0/right.png
+share/doc/gnome-vfs-2.0/style.css
+share/doc/gnome-vfs-2.0/up.png
+share/doc/gnome-vfs-2.0/volumes.html
+share/locale/af/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/am/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ar/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/az/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/be/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/bg/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/bn/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/bs/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ca/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/cs/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/cy/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/da/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/de/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/el/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/en_CA/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/en_GB/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/eo/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/es/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/et/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/eu/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/fa/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/fi/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/fr/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ga/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/gl/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/gu/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/he/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/hi/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/hr/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/hu/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/id/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/is/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/it/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ja/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ko/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/li/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/lt/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/lv/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/mk/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ml/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/mn/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/mr/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ms/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/nb/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ne/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/nl/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/nn/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/no/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/nso/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/pa/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/pl/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/pt/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ro/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ru/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/rw/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sk/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sl/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sq/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sr/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sr@Latn/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sr@ije/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sv/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ta/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/th/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/tr/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/uk/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/vi/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/wa/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/xh/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/yi/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/zh_CN/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/zu/LC_MESSAGES/gnome-vfs-2.0.mo
+@dirrm share/doc/gnome-vfs-2.0
+@dirrm include/gnome-vfs-module-2.0/libgnomevfs
+@dirrm include/gnome-vfs-module-2.0
+@dirrm include/gnome-vfs-2.0/libgnomevfs
+@dirrm include/gnome-vfs-2.0/include
+@dirrm include/gnome-vfs-2.0
+@unexec rmdir %D/share/locale/zu/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/zu 2> /dev/null || true
+@unexec rmdir %D/share/locale/xh/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/xh 2> /dev/null || true
+@unexec rmdir %D/share/locale/rw/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/rw 2> /dev/null || true
diff --git a/devel/gnomevfs2/Makefile b/devel/gnomevfs2/Makefile
new file mode 100644
index 000000000..763ab53f2
--- /dev/null
+++ b/devel/gnomevfs2/Makefile
@@ -0,0 +1,91 @@
+# New ports collection makefile for: gnomevfs2
+# Date created: 28th June 2000
+# Whom: Ade Lovett <ade@FreeBSD.org>
+#
+# $FreeBSD: ports/devel/gnomevfs2/Makefile,v 1.102 2005/11/05 04:53:17 marcus Exp $
+# $MCom: ports/devel/gnomevfs2/Makefile,v 1.115 2005/10/31 00:12:01 marcus Exp $
+#
+
+PORTNAME= gnomevfs2
+PORTVERSION= 2.13.1
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gnome-vfs/2.13
+DISTNAME= gnome-vfs-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= GNOME Virtual File System
+
+RUN_DEPENDS= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+USE_GNOME= gnomeprefix gnomehack intlhack gnomemimedata gconf2 \
+ libbonobo ltverhack
+USE_REINPLACE= yes
+USE_AUTOTOOLS= libtool:15
+INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --enable-openssl \
+ --disable-gnutls
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
+ BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
+
+PKGINSTALL= ${WRKDIR}/pkg-install
+PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
+
+GCONF_SCHEMAS= desktop_default_applications.schemas \
+ desktop_gnome_url_handlers.schemas system_dns_sd.schemas \
+ system_http_proxy.schemas system_smb.schemas \
+ system_storage.schemas
+
+OPTIONS= SAMBA "Enable SMB volume support" on \
+ MDNS "Enable Bonjour/Rendezvous support" on
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libfam.so) || !defined(WITHOUT_FAM)
+USE_FAM= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libkrb5.so)
+LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
+.endif
+
+.if !defined(WITHOUT_SAMBA)
+LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient
+PLIST_SUB+= SAMBA=""
+.else
+PLIST_SUB+= SAMBA="@comment "
+CONFIGURE_ARGS+=--disable-samba
+.endif
+
+.if !defined(WITHOUT_MDNS)
+LIB_DEPENDS+= howl:${PORTSDIR}/net/howl
+.else
+CONFIGURE_ARGS+=--disable-howl
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ ${WRKSRC}/libgnomevfs/Makefile.in
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
+ s|%%X11BASE%%|${X11BASE}|g' \
+ ${WRKSRC}/libgnomevfs/xdgmime.c
+ @${SED} -e 's|%%X11BASE%%|${X11BASE}|g' \
+ < ${MASTERDIR}/pkg-install.in > ${PKGINSTALL}
+ @${SED} -e 's|%%X11BASE%%|${X11BASE}|g' \
+ < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
+
+pre-configure:
+ @if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]' 2> /dev/null`" ]; then \
+ ${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
+ ${FALSE}; \
+ fi
+
+post-install:
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.post.mk>
diff --git a/devel/gnomevfs2/distinfo b/devel/gnomevfs2/distinfo
new file mode 100644
index 000000000..0e57c1704
--- /dev/null
+++ b/devel/gnomevfs2/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/gnome-vfs-2.13.1.tar.bz2) = 8d960dbfe1eb8d920a13f4f24d7add86
+SHA256 (gnome2/gnome-vfs-2.13.1.tar.bz2) = 35ff58900e29c633fa268fe3eb79a215e4daa1d136bc15efd10678d0d41c3999
+SIZE (gnome2/gnome-vfs-2.13.1.tar.bz2) = 1759057
diff --git a/devel/gnomevfs2/files/patch-Makefile.in b/devel/gnomevfs2/files/patch-Makefile.in
new file mode 100644
index 000000000..8c0d2a131
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-Makefile.in
@@ -0,0 +1,10 @@
+--- Makefile.in.orig Tue Nov 30 02:05:26 2004
++++ Makefile.in Tue Nov 30 02:05:34 2004
+@@ -230,7 +230,6 @@
+ devel-docs \
+ doc \
+ programs \
+- test \
+ monikers \
+ po
+
diff --git a/devel/gnomevfs2/files/patch-aa b/devel/gnomevfs2/files/patch-aa
new file mode 100644
index 000000000..caf6411ff
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-aa
@@ -0,0 +1,89 @@
+--- configure.orig Tue Jun 1 03:53:13 2004
++++ configure Tue Jun 1 03:53:13 2004
+@@ -22815,6 +22815,8 @@
+ if eval "test \"\${$as_ac_var+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
++ ac_check_lib_save_LIBS=$LIBS
++ LIBS="-lintl $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -22897,6 +22899,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
++LIBS=$ac_check_lib_save_LIBS
+ fi
+ echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
+ echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
+@@ -22904,6 +22907,7 @@
+ cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+ _ACEOF
++ LIBS="-lintl $LIBS"
+ have_ngettext=yes
+ else
+ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
+@@ -26876,8 +26880,8 @@
+ done
+ fi
+
+-echo "$as_me:$LINENO: checking for bzCompressInit in -lbz2" >&5
+-echo $ECHO_N "checking for bzCompressInit in -lbz2... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for BZ2_bzCompressInit in -lbz2" >&5
++echo $ECHO_N "checking for BZ2_bzCompressInit in -lbz2... $ECHO_C" >&6
+ if test "${ac_cv_lib_bz2_bzCompressInit+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+@@ -26896,11 +26900,11 @@
+ #endif
+ /* 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;
+ }
+@@ -28031,7 +28035,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+
+- LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto -ldl"
++ LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -29660,6 +29664,9 @@
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
+ #include <sys/statfs.h>
+ #include <sys/fstyp.h>
+ _ACEOF
+@@ -29700,6 +29707,9 @@
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
+ #include <sys/statfs.h>
+ #include <sys/vmount.h>
+ _ACEOF
+@@ -31338,6 +31348,7 @@
+ s,@ORBIT_IDL@,$ORBIT_IDL,;t t
+ s,@BONOBO_IDLDIR@,$BONOBO_IDLDIR,;t t
+ s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
++s,@PTHREAD_LIB@,$BSD_PTHREAD_LIBS,;t t
+ s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
+ s,@USE_NLS@,$USE_NLS,;t t
+ s,@MSGFMT@,$MSGFMT,;t t
diff --git a/devel/gnomevfs2/files/patch-ac b/devel/gnomevfs2/files/patch-ac
new file mode 100644
index 000000000..383987654
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-ac
@@ -0,0 +1,11 @@
+--- modules/Makefile.in.orig Mon Oct 3 11:55:14 2005
++++ modules/Makefile.in Mon Oct 3 11:55:55 2005
+@@ -465,7 +465,7 @@
+ @HAVE_SAMBA_TRUE@SMB_LTLIBS = libsmb.la
+ @OS_WIN32_FALSE@PLATFROM_SPECIFIC_LTLIBS = libdns-sd.la libnetwork.la libnntp.la libsftp.la $(HTTP_LTLIBS) libftp.la
+ @OS_WIN32_TRUE@PLATFROM_SPECIFIC_LTLIBS =
+-module_flags = -export_dynamic -avoid-version -module -no-undefined
++module_flags = -export_dynamic -avoid-version -module -no-undefined $(PTHREAD_LIB)
+ modulesdir = $(libdir)/gnome-vfs-2.0/modules
+ modules_LTLIBRARIES = \
+ $(CDDA_LTLIBS) \
diff --git a/devel/gnomevfs2/files/patch-devel-docs::Makefile.in b/devel/gnomevfs2/files/patch-devel-docs::Makefile.in
new file mode 100644
index 000000000..734e1ff86
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-devel-docs::Makefile.in
@@ -0,0 +1,15 @@
+
+$FreeBSD: ports/devel/gnomevfs2/files/patch-devel-docs::Makefile.in,v 1.7 2005/11/05 04:53:18 marcus Exp $
+ $MCom: ports/devel/gnomevfs2/files/patch-devel-docs::Makefile.in,v 1.18 2005/06/28 05:40:02 adamw Exp $
+
+--- devel-docs/Makefile.in 2002/02/16 16:44:53 1.1
++++ devel-docs/Makefile.in 2002/02/16 16:45:47
+@@ -168,7 +168,7 @@
+ TEXT_FILES = gnome-vfs-mime-type-handling.txt
+
+
+-docdir = $(prefix)/doc
++docdir = $(prefix)/share/doc
+ doc_DATA =
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
diff --git a/devel/gnomevfs2/files/patch-gnome-vfs-2.0.pc.in b/devel/gnomevfs2/files/patch-gnome-vfs-2.0.pc.in
new file mode 100644
index 000000000..088433c51
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-gnome-vfs-2.0.pc.in
@@ -0,0 +1,9 @@
+--- gnome-vfs-2.0.pc.in.orig Wed Sep 14 05:30:25 2005
++++ gnome-vfs-2.0.pc.in Mon Oct 3 12:00:02 2005
+@@ -8,5 +8,5 @@
+ Description: The GNOME virtual file-system libraries
+ Version: @VERSION@
+ Requires: bonobo-activation-2.0 libbonobo-2.0 gconf-2.0 gthread-2.0 gmodule-no-export-2.0 gobject-2.0
+-Libs: -L${libdir} -lgnomevfs-2
++Libs: -L${libdir} -lgnomevfs-2 @PTHREAD_LIB@
+ Cflags: -I${includedir}/gnome-vfs-2.0 -I${libdir}/gnome-vfs-2.0/include
diff --git a/devel/gnomevfs2/files/patch-gnome-vfs-module-2.0.pc.in b/devel/gnomevfs2/files/patch-gnome-vfs-module-2.0.pc.in
new file mode 100644
index 000000000..c3f0d2c30
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-gnome-vfs-module-2.0.pc.in
@@ -0,0 +1,9 @@
+--- gnome-vfs-module-2.0.pc.in.orig Wed Sep 14 05:30:25 2005
++++ gnome-vfs-module-2.0.pc.in Mon Oct 3 12:01:04 2005
+@@ -8,5 +8,5 @@
+ Description: The GNOME virtual file-system module include info
+ Version: @VERSION@
+ Requires: bonobo-activation-2.0 libbonobo-2.0 gconf-2.0 gthread-2.0 gmodule-no-export-2.0 gobject-2.0
+-Libs: -L${libdir} -lgnomevfs-2
++Libs: -L${libdir} -lgnomevfs-2 @PTHREAD_LIB@
+ Cflags: -I${includedir}/gnome-vfs-2.0 -I${includedir}/gnome-vfs-module-2.0 -I${libdir}/gnome-vfs-2.0/include
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs::Makefile.in b/devel/gnomevfs2/files/patch-libgnomevfs::Makefile.in
new file mode 100644
index 000000000..063376961
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-libgnomevfs::Makefile.in
@@ -0,0 +1,11 @@
+--- libgnomevfs/Makefile.in.orig Wed Oct 22 01:11:11 2003
++++ libgnomevfs/Makefile.in Wed Oct 22 01:12:00 2003
+@@ -429,7 +429,7 @@
+ # CLEANFILES = $(BUILT_SOURCES)
+
+ # Platform specific includes
+-libgnomevfsplatformincludedir = $(libdir)/gnome-vfs-2.0/include
++libgnomevfsplatformincludedir = $(includedir)/gnome-vfs-2.0/include
+ libgnomevfsplatforminclude_HEADERS = \
+ gnome-vfs-file-size.h
+
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs::gnome-vfs-application-registry.c b/devel/gnomevfs2/files/patch-libgnomevfs::gnome-vfs-application-registry.c
new file mode 100644
index 000000000..2747466f7
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-libgnomevfs::gnome-vfs-application-registry.c
@@ -0,0 +1,26 @@
+--- libgnomevfs/gnome-vfs-application-registry.c.orig Sun May 22 23:09:39 2005
++++ libgnomevfs/gnome-vfs-application-registry.c Sun May 22 23:14:22 2005
+@@ -943,6 +943,8 @@ load_application_info (void)
+ static void
+ gnome_vfs_application_registry_init (void)
+ {
++ gchar *tmp;
++
+ if (gnome_vfs_application_registry_initialized)
+ return;
+
+@@ -963,6 +965,14 @@ gnome_vfs_application_registry_init (voi
+ "application-registry",
+ NULL);
+ gnome_registry_dir.system_dir = TRUE;
++
++ tmp = g_strconcat (g_get_home_dir(), "/.gnome", NULL);
++ if (mkdir (tmp, 0700) &&
++ errno != EEXIST) {
++ g_warning("Could not create per-user GNOME configuration directory: %s",
++ tmp);
++ }
++ g_free(tmp);
+
+ user_registry_dir.dirname = g_build_filename (g_get_home_dir(),
+ ".gnome",
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c
new file mode 100644
index 000000000..6e3660c84
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c
@@ -0,0 +1,15 @@
+--- libgnomevfs/gnome-vfs-resolve.c.orig Tue Apr 19 07:54:52 2005
++++ libgnomevfs/gnome-vfs-resolve.c Sun May 22 23:25:22 2005
+@@ -171,10 +171,12 @@ _gnome_vfs_result_from_gai_error (int er
+ switch (error) {
+
+ case EAI_NONAME: return GNOME_VFS_ERROR_HOST_NOT_FOUND;
++#ifdef EAI_NODATA
+ #ifdef EAI_ADDRFAMILY
+ case EAI_ADDRFAMILY:
+ #endif
+ case EAI_NODATA: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS;
++#endif
+ #ifdef EAI_SYSTEM
+ case EAI_SYSTEM: return gnome_vfs_result_from_errno ();
+ #endif
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c
new file mode 100644
index 000000000..068d1773a
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-utils.c
@@ -0,0 +1,10 @@
+--- libgnomevfs/gnome-vfs-utils.c.orig Thu Sep 15 07:02:53 2005
++++ libgnomevfs/gnome-vfs-utils.c Sat Oct 22 02:12:32 2005
+@@ -839,6 +839,7 @@ gnome_vfs_icon_path_from_filename (const
+ for (temp_paths = paths; *temp_paths != NULL; temp_paths++) {
+ full_filename = g_build_filename (*temp_paths,
+ "share",
++ "gnome",
+ "pixmaps",
+ relative_filename,
+ NULL);
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c b/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c
new file mode 100644
index 000000000..37cc69f1e
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-libgnomevfs_xdgmime.c
@@ -0,0 +1,11 @@
+--- libgnomevfs/xdgmime.c.orig Wed Aug 24 16:52:03 2005
++++ libgnomevfs/xdgmime.c Wed Aug 24 16:52:47 2005
+@@ -234,7 +234,7 @@
+
+ xdg_data_dirs = getenv ("XDG_DATA_DIRS");
+ if (xdg_data_dirs == NULL)
+- xdg_data_dirs = "/usr/local/share/:/usr/share/";
++ xdg_data_dirs = "%%X11BASE%%/share/gnome/:/usr/local/share/gnome/:%%X11BASE%%/share/:/usr/local/share/:/usr/share/";
+
+ ptr = xdg_data_dirs;
+
diff --git a/devel/gnomevfs2/files/patch-modules_file-method.c b/devel/gnomevfs2/files/patch-modules_file-method.c
new file mode 100644
index 000000000..dbb237226
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-modules_file-method.c
@@ -0,0 +1,12 @@
+--- modules/file-method.c.orig Sun May 22 23:30:16 2005
++++ modules/file-method.c Sun May 22 23:31:08 2005
+@@ -66,6 +66,9 @@
+ #if HAVE_SYS_VFS_H
+ #include <sys/vfs.h>
+ #elif HAVE_SYS_MOUNT_H
++#if HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
+ #include <sys/mount.h>
+ #endif
+
diff --git a/devel/gnomevfs2/files/patch-modules_sftp-method.c b/devel/gnomevfs2/files/patch-modules_sftp-method.c
new file mode 100644
index 000000000..e1255db17
--- /dev/null
+++ b/devel/gnomevfs2/files/patch-modules_sftp-method.c
@@ -0,0 +1,12 @@
+--- modules/sftp-method.c.orig Tue May 11 01:53:30 2004
++++ modules/sftp-method.c Tue May 11 01:54:07 2004
+@@ -1081,7 +1081,9 @@
+ if (io_status == G_IO_STATUS_NORMAL) {
+ buffer[len] = 0;
+ if (g_str_has_suffix (buffer, "password: ") ||
++ g_str_has_suffix (buffer, "password:") ||
+ g_str_has_suffix (buffer, "Password: ") ||
++ g_str_has_suffix (buffer, "Password:") ||
+ g_str_has_prefix (buffer, "Enter passphrase for key")) {
+ if (invoke_full_auth (uri, done_auth, buffer, &password) && password != NULL) {
+ g_io_channel_write_chars (tty_channel, password, -1, &len, NULL);
diff --git a/devel/gnomevfs2/pkg-deinstall.in b/devel/gnomevfs2/pkg-deinstall.in
new file mode 100644
index 000000000..2a8fe844d
--- /dev/null
+++ b/devel/gnomevfs2/pkg-deinstall.in
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# $FreeBSD: ports/devel/gnomevfs2/pkg-deinstall.in,v 1.3 2005/11/05 04:53:17 marcus Exp $
+# $MCom: ports/devel/gnomevfs2/pkg-deinstall.in,v 1.5 2005/06/28 05:40:01 adamw Exp $
+#
+# Restore gconf keys of libgnome.
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+SCHEMAS=%%X11BASE%%/etc/gconf/schemas/desktop_gnome_applications_terminal.schemas
+
+if [ -f ${SCHEMAS} ]; then
+ env GCONF_CONFIG_SOURCE=xml::%%X11BASE%%/etc/gconf/gconf.xml.defaults \
+ %%X11BASE%%/bin/gconftool-2 --makefile-install-rule ${SCHEMAS} \
+ > /dev/null || /usr/bin/true
+fi
+
+exit 0
diff --git a/devel/gnomevfs2/pkg-descr b/devel/gnomevfs2/pkg-descr
new file mode 100644
index 000000000..03cbc07f6
--- /dev/null
+++ b/devel/gnomevfs2/pkg-descr
@@ -0,0 +1,7 @@
+The GNOME Virtual File System allows applications and users to treat
+any number of file system concepts as a part of the local filesystem.
+With GnomeVFS, filesystems across the internet, on connected devices,
+and in multiple formats are as simple to access (and write code for)
+as any directory on the local machine.
+
+WWW: http://www.gnome.org/
diff --git a/devel/gnomevfs2/pkg-install.in b/devel/gnomevfs2/pkg-install.in
new file mode 100644
index 000000000..671d6cd3f
--- /dev/null
+++ b/devel/gnomevfs2/pkg-install.in
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# $FreeBSD: ports/devel/gnomevfs2/pkg-install.in,v 1.3 2005/11/05 04:53:17 marcus Exp $
+# $MCom: ports/devel/gnomevfs2/pkg-install.in,v 1.5 2005/06/28 05:40:01 adamw Exp $
+#
+# Restore gconf keys of libgnome.
+
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+SCHEMAS=%%X11BASE%%/etc/gconf/schemas/desktop_gnome_applications_terminal.schemas
+
+if [ -f ${SCHEMAS} ]; then
+ env GCONF_CONFIG_SOURCE=xml::%%X11BASE%%/etc/gconf/gconf.xml.defaults \
+ %%X11BASE%%/bin/gconftool-2 --makefile-install-rule ${SCHEMAS} \
+ > /dev/null || /usr/bin/true
+fi
+
+exit 0
diff --git a/devel/gnomevfs2/pkg-plist b/devel/gnomevfs2/pkg-plist
new file mode 100644
index 000000000..e3505b507
--- /dev/null
+++ b/devel/gnomevfs2/pkg-plist
@@ -0,0 +1,226 @@
+bin/gnomevfs-cat
+bin/gnomevfs-copy
+bin/gnomevfs-info
+bin/gnomevfs-ls
+bin/gnomevfs-mkdir
+bin/gnomevfs-monitor
+bin/gnomevfs-mv
+bin/gnomevfs-rm
+etc/gnome-vfs-2.0/modules/default-modules.conf
+%%SAMBA%%etc/gnome-vfs-2.0/modules/smb-module.conf
+etc/gnome-vfs-2.0/modules/ssl-modules.conf
+include/gnome-vfs-2.0/include/gnome-vfs-file-size.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-address.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-application-registry.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-async-ops.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-cancellation.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-context.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-directory.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-dns-sd.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-drive.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-enum-types.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-info.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-file-size.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-find-directory.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-handle.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-init.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-job-limit.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-mime-deprecated.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-mime-handlers.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-mime-info-cache.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-mime-monitor.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-mime-utils.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-module-callback.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-monitor.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-ops.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-resolve.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-result.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-standard-callbacks.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-types.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-uri.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-utils.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-volume-monitor.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-volume.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-xfer.h
+include/gnome-vfs-2.0/libgnomevfs/gnome-vfs.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-cancellable-ops.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-inet-connection.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-method.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-mime-info.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-mime.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-module-callback-module-api.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-module-shared.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-module.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-parse-ls.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-socket-buffer.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-socket.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-ssl.h
+include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-transform.h
+lib/bonobo/monikers/libmoniker_gnome_vfs_std.so
+lib/gnome-vfs-2.0/modules/libbzip2.so
+lib/gnome-vfs-2.0/modules/libcomputer.so
+lib/gnome-vfs-2.0/modules/libdns-sd.so
+lib/gnome-vfs-2.0/modules/libfile.so
+lib/gnome-vfs-2.0/modules/libftp.so
+lib/gnome-vfs-2.0/modules/libgzip.so
+lib/gnome-vfs-2.0/modules/libhttp.so
+lib/gnome-vfs-2.0/modules/libnetwork.so
+lib/gnome-vfs-2.0/modules/libnntp.so
+lib/gnome-vfs-2.0/modules/libsftp.so
+%%SAMBA%%lib/gnome-vfs-2.0/modules/libsmb.so
+lib/gnome-vfs-2.0/modules/libtar.so
+lib/gnome-vfs-2.0/modules/libvfs-test.so
+lib/libgnomevfs-2.a
+lib/libgnomevfs-2.so
+lib/libgnomevfs-2.so.0
+libdata/bonobo/servers/GNOME_VFS_Daemon.server
+libdata/bonobo/servers/GNOME_VFS_Moniker_std.server
+libdata/pkgconfig/gnome-vfs-2.0.pc
+libdata/pkgconfig/gnome-vfs-module-2.0.pc
+libexec/gnome-vfs-daemon
+share/doc/gnome-vfs-2.0/about.html
+share/doc/gnome-vfs-2.0/advanced-operations.html
+share/doc/gnome-vfs-2.0/data-types.html
+share/doc/gnome-vfs-2.0/gnome-vfs-2.0.devhelp
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-application-registry.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-async-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-cancellation.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-context.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-directory-basic-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-directory-find-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-directory-list-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-dns-sd.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-drive.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-advanced-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-basic-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-info-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-info.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-rw-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-size.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-file-trunc-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-inet-connection.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-init.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-method.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime-database-deprecated.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime-database.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime-monitor.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module-callback-module-api.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module-callback.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module-shared.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-module.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-monitor.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-parse-ls.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-resolve.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-result.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-socket-buffer.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-socket.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-ssl.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-standard-callbacks.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-transform.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-uri.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-utils.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-volume-monitor.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-volume.html
+share/doc/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-xfer.html
+share/doc/gnome-vfs-2.0/gnome-vfs-directory-operations.html
+share/doc/gnome-vfs-2.0/gnome-vfs-file-and-dirs-ops.html
+share/doc/gnome-vfs-2.0/gnome-vfs-first-steps.html
+share/doc/gnome-vfs-2.0/gnome-vfs-writing-modules.html
+share/doc/gnome-vfs-2.0/home.png
+share/doc/gnome-vfs-2.0/index.html
+share/doc/gnome-vfs-2.0/index.sgml
+share/doc/gnome-vfs-2.0/left.png
+share/doc/gnome-vfs-2.0/mime-registry.html
+share/doc/gnome-vfs-2.0/modules.html
+share/doc/gnome-vfs-2.0/networking.html
+share/doc/gnome-vfs-2.0/right.png
+share/doc/gnome-vfs-2.0/style.css
+share/doc/gnome-vfs-2.0/up.png
+share/doc/gnome-vfs-2.0/volumes.html
+share/locale/af/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/am/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ar/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/az/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/be/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/bg/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/bn/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/bs/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ca/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/cs/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/cy/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/da/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/de/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/el/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/en_CA/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/en_GB/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/eo/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/es/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/et/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/eu/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/fa/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/fi/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/fr/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ga/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/gl/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/gu/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/he/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/hi/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/hr/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/hu/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/id/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/is/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/it/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ja/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ko/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/li/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/lt/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/lv/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/mk/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ml/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/mn/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/mr/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ms/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/nb/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ne/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/nl/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/nn/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/no/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/nso/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/pa/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/pl/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/pt/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ro/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ru/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/rw/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sk/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sl/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sq/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sr/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sr@Latn/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sr@ije/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/sv/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/ta/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/th/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/tr/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/uk/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/vi/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/wa/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/xh/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/yi/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/zh_CN/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-vfs-2.0.mo
+share/locale/zu/LC_MESSAGES/gnome-vfs-2.0.mo
+@dirrm share/doc/gnome-vfs-2.0
+@dirrm include/gnome-vfs-module-2.0/libgnomevfs
+@dirrm include/gnome-vfs-module-2.0
+@dirrm include/gnome-vfs-2.0/libgnomevfs
+@dirrm include/gnome-vfs-2.0/include
+@dirrm include/gnome-vfs-2.0
+@unexec rmdir %D/share/locale/zu/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/zu 2> /dev/null || true
+@unexec rmdir %D/share/locale/xh/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/xh 2> /dev/null || true
+@unexec rmdir %D/share/locale/rw/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/rw 2> /dev/null || true