wok-next rev 14122

gvfs:add samba support splitting it in gvfs-smb
author ernia <monghitri@aruba.it>
date Mon Feb 25 18:42:40 2013 +0000 (2013-02-25)
parents cfa40764d70e
children 6350ac2e125f
files gvfs-smb/receipt gvfs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gvfs-smb/receipt	Mon Feb 25 18:42:40 2013 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gvfs-smb"
     1.7 +VERSION="1.13.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Userspace virtual filesystem designed to work with gio."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WEB_SITE="http://www.gnome.org/"
    1.12 +DEPENDS="gvfs smbclient"
    1.13 +WANTED="gvfs"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib/gvfs $fs/usr/share/gvfs/mounts \
    1.19 +		$fs/usr/share/glib-2.0/schemas
    1.20 +	cp -a $install/usr/lib/gvfs/gvfsd-smb* $fs/usr/lib/gvfs
    1.21 +	cp -a $install/usr/share/gvfs/mounts/smb* $fs/usr/share/gvfs/mounts
    1.22 +	cp -a $install/usr/share/glib-2.0/schemas/*smb* $fs/usr/share/glib-2.0/schemas
    1.23 +}
     2.1 --- a/gvfs/receipt	Mon Feb 25 18:25:38 2013 +0100
     2.2 +++ b/gvfs/receipt	Mon Feb 25 18:42:40 2013 +0000
     2.3 @@ -8,9 +8,11 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
     2.5  WEB_SITE="http://www.gnome.org/"
     2.6  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
     2.7 -
     2.8  DEPENDS="dbus glib udev libgudev fuse udisks"
     2.9 -BUILD_DEPENDS="dbus-dev glib-dev udev-dev libgudev-dev fuse-dev udisks-dev"
    2.10 +BUILD_DEPENDS="dbus-dev glib-dev udev-dev libgudev-dev fuse-dev \
    2.11 +udisks-dev samba-dev smbclient"
    2.12 +SUGGESTED="gvfs-smb"
    2.13 +#gvfs-smb enables samba support
    2.14  
    2.15  # Rules to configure and make the package.
    2.16  compile_rules()
    2.17 @@ -23,6 +25,8 @@
    2.18  		--disable-gphoto2 \
    2.19  		--disable-avahi \
    2.20  		--disable-keyring \
    2.21 +		--disable-hal \
    2.22 +		--disable-afp \
    2.23  		--disable-bash-completion &&
    2.24  	make && make install
    2.25  }
    2.26 @@ -37,4 +41,12 @@
    2.27  	cp -a $install/usr/share/gvfs $fs/usr/share
    2.28  	cp -a $install/usr/share/glib-* $fs/usr/share
    2.29  	rm -f $(find ${fs} -name *.*a)
    2.30 +	#following files are provided by gvfs-smb
    2.31 +	rm $fs/usr/lib/gvfs/gvfsd-smb*
    2.32 +	rm $fs/usr/share/gvfs/mounts/smb*
    2.33 +	rm $fs/usr/share/glib-2.0/schemas/*smb*
    2.34 +	##following files are provided by gvfs-udisks2
    2.35 +	#rm $fs/usr/lib/gvfs/gvfs-udisks2-volume-monitor
    2.36 +	#rm $fs/usr/share/dbus-1/services/org.gtk.Private.UDisks2VolumeMonitor.service
    2.37 +	#rm $fs/usr/share/gvfs/remote-volume-monitors/udisks2.monitor
    2.38  }