the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gvfs
Version: 1.4.3
Revision: 2
Description: GNOME Virtual FileSystem
License: LGPL
Maintainer: The Gnome Core Team
Depends: <<
dbus (>= 1.2.1-1),
dbus1.3-shlibs,
gconf2-shlibs (>= 2.28.0-1),
glib2-shlibs (>= 2.22.0-1),
libavahi-client3-shlibs,
libavahi-common3-shlibs,
libavahi-glib1-shlibs,
libgettext8-shlibs,
libhal1-shlibs,
libsoup-gnome2.4.1-shlibs (>= 2.28.0-1),
libsoup2.4.1-ssl-shlibs (>= 2.28.0-1),
libxml2-shlibs
<<
BuildDepends: <<
dbus1.3-dev,
fink (>= 0.28),
fink-package-precedence,
gconf2-dev (>= 2.28.0-1),
glib2-dev (>= 2.22.0-1),
intltool40,
libavahi-client3-dev,
libavahi-common3-dev,
libavahi-glib1-dev,
libgettext8-dev,
libhal1-dev,
libiconv-dev,
libsoup-gnome2.4.1 (>= 2.28.0-1),
libsoup2.4.1-ssl (>= 2.28.0-1),
libxml2,
pkgconfig (>= 0.23)
<<
Source: mirror:gnome:sources/gvfs/1.4/%n-%v.tar.bz2
Source-MD5: 2624e5e7d45efd6b742e90bfde24cd20
PatchFile: %n.patch
PatchFile-MD5: 1ba2c0b11113a647c57a1b939c941cce
ConfigureParams: <<
--enable-dependency-tracking \
--libdir=%p/lib/%n --libexecdir=%p/lib/%n \
--with-bash-completion-dir=%p/etc/bash-completion.d \
PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH" \
--disable-udev \
--disable-fuse \
--disable-gdu \
--disable-gudev \
--disable-cdda \
--disable-obexftp \
--disable-gphoto2 \
--disable-keyring \
--disable-samba \
--disable-archive
<<
CompileScript: <<
%{default_script}
fink-package-precedence --prohibit-bdep %n-client-dev .
<<
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: AUTHORS COPYING ChangeLog* po/ChangeLog:ChangeLog.po MAINTAINERS NEWS README* TODO
Shlibs: <<
! %p/lib/%n/libgvfscommon.0.dylib
! %p/lib/%n/libgvfscommon-dnssd.0.dylib
<<
SplitOff: <<
Package: %N-client-dev
Depends: <<
%N (>= %v-%r)
<<
BuildDependsOnly: True
DocFiles: AUTHORS COPYING ChangeLog* po/ChangeLog:ChangeLog.po MAINTAINERS NEWS README* TODO
Files: <<
include
<<
Description: Headers for writing gvfs clients
<<
Homepage: http://www.gnome.org
DescDetail: <<
Replacement for libgnomevfs2 implemented as gio modules. These allow
transparent/automatic access to various types of servers and other
non-local-filesystems.
<<
DescUsage: <<
Install this package to help cure "Operation not supported" errors
when gtk-based apps try to open URL and (along with "yelp") to make
the Help menu in many gnome apps work.
<<
DescPackaging: <<
Disable some back-ends that are for less-common types that
require large dep trees or aren't built because we or os x
don't have the deps available at this time, or because it just
hasn't been tested by $maintainer.
Volume-monitoring doesn't seem to work. Not sure why.
Sits on top of gconf which sits on top of gtk, so cannot be a
dependency of gtk.
<<
DescPort: <<
Fix typo in variable-name. See:
https://bugzilla.gnome.org/show_bug.cgi?id=622159
Recent glib doesn't publish -lintl, so pass it directly.
Needed by lots of programs, so just push it globally. Not
needed by .dylib, so will want to restrict from them if we
make them public to avoid pushing inherited build
dependencies.
Interrogate gio to find its expected modules dir instead of
trying to predict it. See:
https://bugzilla.gnome.org/show_bug.cgi?id=543064
<<
diff -Nurd -x'*~' gvfs-1.4.3.orig/common/Makefile.in gvfs-1.4.3/common/Makefile.in
--- gvfs-1.4.3.orig/common/Makefile.in 2009-12-14 03:35:46.000000000 -0500
+++ gvfs-1.4.3/common/Makefile.in 2010-06-20 06:30:19.000000000 -0400
@@ -82,7 +82,7 @@
libgvfscommon_dnssd_la_OBJECTS = $(am_libgvfscommon_dnssd_la_OBJECTS)
libgvfscommon_dnssd_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) \
- $(libgvfscommon_dnssd_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
+ $(libgvfscommon_dnssd_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) -no-undefined \
$(LDFLAGS) -o $@
@HAVE_AVAHI_TRUE@am_libgvfscommon_dnssd_la_rpath = -rpath $(libdir)
libgvfscommon_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
diff -Nurd -x'*~' gvfs-1.4.3.orig/configure gvfs-1.4.3/configure
--- gvfs-1.4.3.orig/configure 2009-12-14 03:35:49.000000000 -0500
+++ gvfs-1.4.3/configure 2010-06-20 06:48:06.000000000 -0400
@@ -14062,6 +14062,7 @@
$as_echo "yes" >&6; }
:
fi
+GLIB_LIBS="$GLIB_LIBS \$(INTLLIBS)"
@@ -14188,7 +14189,7 @@
DBUS_SERVICE_DIR=$with_dbus_service_dir
-giomodulesdir=$libdir/gio/modules
+giomodulesdir=`$PKG_CONFIG gio-2.0 --variable giomoduledir`
diff -Nurd -x'*~' gvfs-1.4.3.orig/daemon/gvfsftpdircache.c gvfs-1.4.3/daemon/gvfsftpdircache.c
--- gvfs-1.4.3.orig/daemon/gvfsftpdircache.c 2009-12-01 05:26:50.000000000 -0500
+++ gvfs-1.4.3/daemon/gvfsftpdircache.c 2010-06-20 05:52:46.000000000 -0400
@@ -586,7 +586,7 @@
type == 'l' ? G_FILE_TYPE_SYMBOLIC_LINK :
G_FILE_TYPE_DIRECTORY);
- if (unix)
+ if (is_unix)
g_file_info_set_is_hidden (info, result.fe_fnlen > 0 &&
result.fe_fname[0] == '.');