hello, please test the patch and comment. i accessed windows file shares on i386 with this modification.
also, the port before and after this patch gives me problems with --enable-cdda. the configure script says it's not recommended. here's the error: checking cdda_interface.h usability... yes checking cdda_interface.h presence... yes checking for cdda_interface.h... yes checking cdda_paranoia.h usability... no checking cdda_paranoia.h presence... yes configure: WARNING: cdda_paranoia.h: present but cannot be compiled configure: WARNING: cdda_paranoia.h: check for missing prerequisite headers? configure: WARNING: cdda_paranoia.h: see the Autoconf documentation configure: WARNING: cdda_paranoia.h: section "Present But Cannot Be Compiled" configure: WARNING: cdda_paranoia.h: proceeding with the preprocessor's result configure: WARNING: cdda_paranoia.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for cdda_paranoia.h... yes ... Gnome VFS configuration summary: IPv6 support: yes SSL support: yes Avahi support: no Howl support: no HAL support: no Enable gnome-vfs-daemon: yes SELinux support: no File ACL backends: Gtk Doc: no FS monitor backends: fam Samba method: no CDDA method: yes Enable profiler: no -brad walker
diff -rup vfs2.orig/Makefile vfs2/Makefile --- vfs2.orig/Makefile Wed Jun 27 22:53:35 2007 +++ vfs2/Makefile Thu Jun 28 00:20:26 2007 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.23 2007/06/11 13:12:51 martynas Exp $ +# $OpenBSD: $ SHARED_ONLY= Yes @@ -44,9 +44,17 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \ --enable-cdda \ --disable-avahi \ --disable-howl \ - --disable-samba CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" + +FLAVORS= samba +FLAVOR?= + +.if ${FLAVOR:L:Msamba} +LIB_DEPENDS+= smbclient::net/samba +.else +CONFIGURE_ARGS+= --disable-samba +.endif pre-build: perl -pi -e "s,/usr/local,${LOCALBASE},g" ${WRKSRC}/libgnomevfs/xdgmime.c diff -rup vfs2.orig/pkg/DESCR vfs2/pkg/DESCR --- vfs2.orig/pkg/DESCR Wed Jun 27 22:53:35 2007 +++ vfs2/pkg/DESCR Wed Jun 27 23:50:27 2007 @@ -2,3 +2,7 @@ This is the GNOME Virtual File System. GNOME VFS is currently used as one of the foundations of the Nautilus file manager. + +Available flavors: + +samba Enable file sharing via SMB (Windows) diff -rup vfs2.orig/pkg/PLIST vfs2/pkg/PLIST --- vfs2.orig/pkg/PLIST Wed Jun 27 22:53:35 2007 +++ vfs2/pkg/PLIST Wed Jun 27 23:23:23 2007 @@ -99,6 +99,9 @@ lib/gnome-vfs-2.0/modules/libnntp.so lib/gnome-vfs-2.0/modules/libsftp.a lib/gnome-vfs-2.0/modules/libsftp.la lib/gnome-vfs-2.0/modules/libsftp.so +lib/gnome-vfs-2.0/modules/libsmb.a +lib/gnome-vfs-2.0/modules/libsmb.la +lib/gnome-vfs-2.0/modules/libsmb.so lib/gnome-vfs-2.0/modules/libtar.a lib/gnome-vfs-2.0/modules/libtar.la lib/gnome-vfs-2.0/modules/libtar.so @@ -122,6 +125,8 @@ share/examples/gnome-vfs2/gnome-vfs-2.0/modules/cdda-m @sample ${SYSCONFDIR}/gnome/gnome-vfs-2.0/modules/cdda-module.conf share/examples/gnome-vfs2/gnome-vfs-2.0/modules/default-modules.conf @sample ${SYSCONFDIR}/gnome/gnome-vfs-2.0/modules/default-modules.conf +share/examples/gnome-vfs2/gnome-vfs-2.0/modules/smb-module.conf [EMAIL PROTECTED] ${SYSCONFDIR}/gnome/gnome-vfs-2.0/modules/smb-module.conf share/examples/gnome-vfs2/gnome-vfs-2.0/modules/ssl-modules.conf @sample ${SYSCONFDIR}/gnome/gnome-vfs-2.0/modules/ssl-modules.conf share/gtk-doc/html/gnome-vfs-2.0/ @@ -229,14 +234,10 @@ share/locale/ku/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/mg/ -share/locale/mg/LC_MESSAGES/ share/locale/mg/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/ -share/locale/mr/LC_MESSAGES/ 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 @@ -272,6 +273,7 @@ share/locale/zh_HK/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 @unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/share/schemas/gnome-vfs2/*.schemas > /dev/null +share/nls/pl_PL.ISO_8859-2/ share/schemas/ share/schemas/gnome-vfs2/ share/schemas/gnome-vfs2/desktop_default_applications.schemas