diff options
Diffstat (limited to 'devel/gvfs')
-rw-r--r-- | devel/gvfs/Makefile | 25 | ||||
-rw-r--r-- | devel/gvfs/distinfo | 6 | ||||
-rw-r--r-- | devel/gvfs/files/patch-Makefile.in | 10 | ||||
-rw-r--r-- | devel/gvfs/files/patch-configure | 38 | ||||
-rw-r--r-- | devel/gvfs/files/patch-daemon_gvfsbackendcomputer.c | 10 | ||||
-rw-r--r-- | devel/gvfs/files/patch-daemon_gvfsmonitor.c | 14 | ||||
-rw-r--r-- | devel/gvfs/files/patch-daemon_gvfswritechannel.c | 10 | ||||
-rw-r--r-- | devel/gvfs/pkg-plist | 31 |
8 files changed, 128 insertions, 16 deletions
diff --git a/devel/gvfs/Makefile b/devel/gvfs/Makefile index 42bf3117f..8b508688c 100644 --- a/devel/gvfs/Makefile +++ b/devel/gvfs/Makefile @@ -3,26 +3,31 @@ # Whom: Michael Johnson <ahze@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/devel/gvfs/Makefile,v 1.2 2007/11/06 23:49:40 ahze Exp $ +# $MCom: ports/devel/gvfs/Makefile,v 1.3 2007/11/16 03:49:34 marcus Exp $ PORTNAME= gvfs -PORTVERSION= 0.0.2 +PORTVERSION= 0.1.1 CATEGORIES= devel gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME virtual file system -LIB_DEPENDS= gio.0:${PORTSDIR}/devel/gio-standalone \ - dbus-1.3:${PORTSDIR}/devel/dbus +LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus \ + hal.1:${PORTSDIR}/sysutils/hal +RUN_DEPENDS= gnome-mount:${PORTSDIR}/sysutils/gnome-mount USE_GNOME= glib20 gnomehack gnomeprefix -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" USE_GMAKE= yes +USE_GETTEXT= yes USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + OPTIONS= FUSE "Enable fuse" on \ SAMBA "Enable Samba" on +# CDDA "Enable CDDA" on .include <bsd.port.pre.mk> @@ -42,4 +47,12 @@ CONFIGURE_ARGS+= --disable-samba PLIST_SUB+= SMB="@comment " .endif +#.if defined(WITH_CDDA) +#LIB_DEPENDS+= cdio_paranoia.0:${PORTSDIR}/sysutils/libcdio +#PLIST_SUB+= CDDA="" +#.else +CONFIGURE_ARGS+= --disable-cdda +PLIST_SUB+= CDDA="@comment " +#.endif + .include <bsd.port.post.mk> diff --git a/devel/gvfs/distinfo b/devel/gvfs/distinfo index 0142d15ce..8cdd6529a 100644 --- a/devel/gvfs/distinfo +++ b/devel/gvfs/distinfo @@ -1,3 +1,3 @@ -MD5 (gvfs-0.0.2.tar.gz) = 36c0e17e6e3169278c237bd44c956da3 -SHA256 (gvfs-0.0.2.tar.gz) = 5befefc5960dea42db3a48ae107accbebdb684ccbcdd2906d059c206c85551a0 -SIZE (gvfs-0.0.2.tar.gz) = 563598 +MD5 (gvfs-0.1.1.tar.gz) = 38b266de43fc5f2ab8fa274f29a1f456 +SHA256 (gvfs-0.1.1.tar.gz) = 6c22fcb920a95c3587c17e1e0d1dee64a785222c4a8d4544937efb138ddcf3b1 +SIZE (gvfs-0.1.1.tar.gz) = 630884 diff --git a/devel/gvfs/files/patch-Makefile.in b/devel/gvfs/files/patch-Makefile.in new file mode 100644 index 000000000..e5bc9df26 --- /dev/null +++ b/devel/gvfs/files/patch-Makefile.in @@ -0,0 +1,10 @@ +--- Makefile.in.orig 2007-12-30 16:07:20.000000000 -0500 ++++ Makefile.in 2007-12-30 16:07:26.000000000 -0500 +@@ -220,7 +220,6 @@ SUBDIRS = \ + daemon \ + po \ + programs \ +- test \ + hal \ + $(NULL) + diff --git a/devel/gvfs/files/patch-configure b/devel/gvfs/files/patch-configure new file mode 100644 index 000000000..54743070b --- /dev/null +++ b/devel/gvfs/files/patch-configure @@ -0,0 +1,38 @@ +--- configure.orig 2007-12-22 18:32:00.000000000 -0500 ++++ configure 2007-12-22 18:32:13.000000000 -0500 +@@ -24091,7 +24091,7 @@ if test "x$enable_cdda" != "xno"; then + msg_cdda=yes + fi + +- if test "x$msg_cdda" == "xyes"; then ++ if test "x$msg_cdda" = "xyes"; then + + pkg_failed=no + { echo "$as_me:$LINENO: checking for CDDA" >&5 +@@ -24242,7 +24242,7 @@ if test "x$enable_fuse" != "xno"; then + msg_fuse=yes + fi + +- if test "x$msg_fuse" == "xyes"; then ++ if test "x$msg_fuse" = "xyes"; then + + pkg_failed=no + { echo "$as_me:$LINENO: checking for FUSE" >&5 +@@ -24394,7 +24394,7 @@ if test "x$enable_hal" != "xno"; then + msg_hal=yes + fi + +- if test "x$msg_hal" == "xyes"; then ++ if test "x$msg_hal" = "xyes"; then + + pkg_failed=no + { echo "$as_me:$LINENO: checking for HAL" >&5 +@@ -24576,7 +24576,7 @@ if test $ac_cv_lib_hal_libhal_get_all_de + have_hal_fast_init=yes + fi + +- if test "x$have_hal_fast_init" == "xyes"; then ++ if test "x$have_hal_fast_init" = "xyes"; then + + cat >>confdefs.h <<\_ACEOF + #define HAVE_HAL_FAST_INIT 1 diff --git a/devel/gvfs/files/patch-daemon_gvfsbackendcomputer.c b/devel/gvfs/files/patch-daemon_gvfsbackendcomputer.c new file mode 100644 index 000000000..0994b22d2 --- /dev/null +++ b/devel/gvfs/files/patch-daemon_gvfsbackendcomputer.c @@ -0,0 +1,10 @@ +--- daemon/gvfsbackendcomputer.c.orig 2008-01-09 03:12:26.000000000 -0500 ++++ daemon/gvfsbackendcomputer.c 2008-01-09 03:13:00.000000000 -0500 +@@ -417,6 +417,7 @@ recompute_files (GVfsBackendComputer *ba + file->icon = g_volume_get_icon (file->volume); + file->display_name = g_volume_get_name (file->volume); + file->can_mount = g_volume_can_mount (file->volume); ++ file->root = NULL; + file->can_eject = g_volume_can_eject (file->volume); + } + else /* drive */ diff --git a/devel/gvfs/files/patch-daemon_gvfsmonitor.c b/devel/gvfs/files/patch-daemon_gvfsmonitor.c new file mode 100644 index 000000000..de12e2ea7 --- /dev/null +++ b/devel/gvfs/files/patch-daemon_gvfsmonitor.c @@ -0,0 +1,14 @@ +--- daemon/gvfsmonitor.c.orig 2008-01-09 03:13:27.000000000 -0500 ++++ daemon/gvfsmonitor.c 2008-01-09 03:13:35.000000000 -0500 +@@ -223,9 +223,9 @@ g_vfs_monitor_new (GVfsDaemon *daemon) + vfs_monitor_message_callback, + monitor); + +- g_timeout_add (5000, ++/* g_timeout_add (5000, + vfs_monitor_initial_unref, +- monitor); ++ monitor);*/ + + return monitor; + } diff --git a/devel/gvfs/files/patch-daemon_gvfswritechannel.c b/devel/gvfs/files/patch-daemon_gvfswritechannel.c new file mode 100644 index 000000000..54c421687 --- /dev/null +++ b/devel/gvfs/files/patch-daemon_gvfswritechannel.c @@ -0,0 +1,10 @@ +--- daemon/gvfswritechannel.c.orig 2007-12-22 18:50:10.000000000 -0500 ++++ daemon/gvfswritechannel.c 2007-12-22 18:50:20.000000000 -0500 +@@ -30,6 +30,7 @@ + #include <sys/un.h> + #include <unistd.h> + #include <fcntl.h> ++#include <string.h> + + #include <glib.h> + #include <glib-object.h> diff --git a/devel/gvfs/pkg-plist b/devel/gvfs/pkg-plist index c24b391a9..9c9af41c8 100644 --- a/devel/gvfs/pkg-plist +++ b/devel/gvfs/pkg-plist @@ -1,16 +1,26 @@ -etc/gvfs/mounts/ftp.mount -etc/gvfs/mounts/sftp.mount -%%SMB%%etc/gvfs/mounts/smb-browse.mount -%%SMB%%etc/gvfs/mounts/smb.mount -etc/gvfs/mounts/trash.mount +bin/gvfs-cat +bin/gvfs-copy +bin/gvfs-info +bin/gvfs-less +bin/gvfs-ls +bin/gvfs-monitor-dir +bin/gvfs-monitor-file +bin/gvfs-mount +bin/gvfs-move +bin/gvfs-rm +bin/gvfs-save +bin/gvfs-trash include/gvfs-client/gvfs/gvfsurimapper.h include/gvfs-client/gvfs/gvfsuriutils.h +lib/gio/modules/libgiohal-volume-monitor.la +lib/gio/modules/libgiohal-volume-monitor.so lib/gio/modules/libgvfsdbus.la lib/gio/modules/libgvfsdbus.so lib/libgvfscommon.la lib/libgvfscommon.so lib/libgvfscommon.so.0 libexec/gvfsd +libexec/gvfsd-computer libexec/gvfsd-ftp libexec/gvfsd-sftp %%SMB%%libexec/gvfsd-smb @@ -18,7 +28,14 @@ libexec/gvfsd-sftp libexec/gvfsd-trash %%FUSE%%libexec/gvfs-fuse-daemon share/dbus-1/services/gvfs-daemon.service +share/gvfs/mounts/computer.mount +share/gvfs/mounts/ftp.mount +share/gvfs/mounts/sftp.mount +%%SMB%%share/gvfs/mounts/smb-browse.mount +%%SMB%%share/gvfs/mounts/smb.mount +share/gvfs/mounts/trash.mount +share/locale/it/LC_MESSAGES/gvfs.mo +@dirrm share/gvfs/mounts +@dirrm share/gvfs @dirrm include/gvfs-client/gvfs @dirrm include/gvfs-client -@dirrm etc/gvfs/mounts -@dirrm etc/gvfs |