wok-current rev 14125

udisks: move to udisks2
author ernia <monghitri@aruba.it>
date Wed Feb 27 15:14:08 2013 +0000 (2013-02-27)
parents ad01f9bff3ea
children 1c6c5080d008
files gvfs/receipt ntfs-3g/receipt udisks-dev/receipt udisks/receipt udisks/stuff/org.freedesktop.udisks2.pkla udisks2-dev/receipt udisks2/receipt udisks2/stuff/org.freedesktop.udisks2.pkla
line diff
     1.1 --- a/gvfs/receipt	Wed Feb 27 06:08:22 2013 +0000
     1.2 +++ b/gvfs/receipt	Wed Feb 27 15:14:08 2013 +0000
     1.3 @@ -8,9 +8,9 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
     1.5  WEB_SITE="http://www.gnome.org/"
     1.6  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
     1.7 -DEPENDS="dbus glib udev libgudev fuse udisks"
     1.8 +DEPENDS="dbus glib udev libgudev fuse udisks2"
     1.9  BUILD_DEPENDS="dbus-dev glib-dev udev-dev libgudev-dev fuse-dev \
    1.10 -udisks-dev samba-dev smbclient"
    1.11 +udisks2-dev samba-dev smbclient"
    1.12  SUGGESTED="gvfs-smb"
    1.13  #gvfs-smb enables samba support
    1.14  
     2.1 --- a/ntfs-3g/receipt	Wed Feb 27 06:08:22 2013 +0000
     2.2 +++ b/ntfs-3g/receipt	Wed Feb 27 15:14:08 2013 +0000
     2.3 @@ -36,7 +36,7 @@
     2.4  	cp -a $install/usr/lib/*-3g.so* $fs/usr/lib
     2.5  	cp -a $install/usr/bin/*-3g* $fs/usr/bin
     2.6  	touch $fs/etc/filesystems
     2.7 -	#this link allow udisks to use ntfs-3g
     2.8 +	#this link allow udisks2 to use ntfs-3g
     2.9  	cd $fs/sbin
    2.10  	ln -s mount.ntfs-3g mount.ntfs
    2.11  	
     3.1 --- a/udisks-dev/receipt	Wed Feb 27 06:08:22 2013 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,18 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="udisks-dev"
     3.7 -VERSION="1.94.0"
     3.8 -CATEGORY="development"
     3.9 -SHORT_DESC="The Udisks devel files."
    3.10 -MAINTAINER="pankso@slitaz.org"
    3.11 -WANTED="udisks"
    3.12 -WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
    3.13 -
    3.14 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.15 -genpkg_rules()
    3.16 -{
    3.17 -	mkdir -p $fs/usr/lib
    3.18 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    3.19 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.20 -	cp -a $install/usr/include $fs/usr
    3.21 -}
     4.1 --- a/udisks/receipt	Wed Feb 27 06:08:22 2013 +0000
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,50 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="udisks"
     4.7 -VERSION="1.94.0"
     4.8 -CATEGORY="system-tools"
     4.9 -SHORT_DESC="D-Bus interfaces to query and manipulate storage devices."
    4.10 -MAINTAINER="pankso@slitaz.org"
    4.11 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.12 -WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
    4.13 -WGET_URL="http://udisks.freedesktop.org/releases/$TARBALL"
    4.14 -
    4.15 -DEPENDS="expat libatasmart libxslt udev libgudev polkit dbus util-linux-mount \
    4.16 -dbus-helper"
    4.17 -BUILD_DEPENDS="expat-dev libatasmart-dev libxslt-dev udev-dev libgudev-dev \
    4.18 -polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev"
    4.19 -
    4.20 -# Rules to configure and make the package.
    4.21 -compile_rules()
    4.22 -{
    4.23 -	cd $src
    4.24 -	./configure \
    4.25 -		--sysconfdir=/etc \
    4.26 -		--localstatedir=/var \
    4.27 -		--disable-static \
    4.28 -		--disable-gtk-doc \
    4.29 -		$CONFIGURE_ARGS &&
    4.30 -	# Build fails when build doc even with docbook-xsl installed.
    4.31 -	sed -i s'/SUBDIRS =.*/SUBDIRS = data udisks src tools po/' Makefile &&
    4.32 -	make && make install
    4.33 -}
    4.34 -
    4.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.36 -genpkg_rules()
    4.37 -{
    4.38 -	mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
    4.39 -		$fs/usr/lib $fs/usr/share
    4.40 -	cp -a $install/etc/dbus-1 $fs/etc
    4.41 -	cp -a $install/lib/udev $fs/etc
    4.42 -	cp -a $install/usr/bin $fs/usr
    4.43 -	cp -a $install/usr/sbin $fs/usr
    4.44 -	cp -a $install/usr/lib/udisks2 $fs/usr/lib
    4.45 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.46 -	cp -a $install/usr/share/*-1 $fs/usr/share
    4.47 -	cp -a $install/var $fs
    4.48 -	#we don't have consolekit and don't want systemd so we need
    4.49 -	#a rule to give disk group complete access to udisks2
    4.50 -	#methods without password.
    4.51 -	cp $stuff/org.freedesktop.udisks2.pkla \
    4.52 -		$fs/etc/polkit-1/localauthority/90-mandatory.d
    4.53 -}
     5.1 --- a/udisks/stuff/org.freedesktop.udisks2.pkla	Wed Feb 27 06:08:22 2013 +0000
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,4 +0,0 @@
     5.4 -[No password required for disk group]
     5.5 -Identity=unix-group:disk
     5.6 -Action=org.freedesktop.udisks2.*
     5.7 -ResultAny=yes
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/udisks2-dev/receipt	Wed Feb 27 15:14:08 2013 +0000
     6.3 @@ -0,0 +1,18 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="udisks2-dev"
     6.7 +VERSION="1.94.0"
     6.8 +CATEGORY="development"
     6.9 +SHORT_DESC="The Udisks devel files."
    6.10 +MAINTAINER="pankso@slitaz.org"
    6.11 +WANTED="udisks2"
    6.12 +WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
    6.13 +
    6.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.15 +genpkg_rules()
    6.16 +{
    6.17 +	mkdir -p $fs/usr/lib
    6.18 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    6.19 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    6.20 +	cp -a $install/usr/include $fs/usr
    6.21 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/udisks2/receipt	Wed Feb 27 15:14:08 2013 +0000
     7.3 @@ -0,0 +1,51 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="udisks2"
     7.7 +VERSION="1.94.0"
     7.8 +CATEGORY="system-tools"
     7.9 +SHORT_DESC="D-Bus interfaces to query and manipulate storage devices."
    7.10 +MAINTAINER="pankso@slitaz.org"
    7.11 +SOURCE="udisks"
    7.12 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    7.13 +WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
    7.14 +WGET_URL="http://udisks.freedesktop.org/releases/$TARBALL"
    7.15 +
    7.16 +DEPENDS="expat libatasmart libxslt udev libgudev polkit dbus util-linux-mount \
    7.17 +dbus-helper"
    7.18 +BUILD_DEPENDS="expat-dev libatasmart-dev libxslt-dev udev-dev libgudev-dev \
    7.19 +polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev"
    7.20 +
    7.21 +# Rules to configure and make the package.
    7.22 +compile_rules()
    7.23 +{
    7.24 +	cd $src
    7.25 +	./configure \
    7.26 +		--sysconfdir=/etc \
    7.27 +		--localstatedir=/var \
    7.28 +		--disable-static \
    7.29 +		--disable-gtk-doc \
    7.30 +		$CONFIGURE_ARGS &&
    7.31 +	# Build fails when build doc even with docbook-xsl installed.
    7.32 +	sed -i s'/SUBDIRS =.*/SUBDIRS = data udisks src tools po/' Makefile &&
    7.33 +	make && make install
    7.34 +}
    7.35 +
    7.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.37 +genpkg_rules()
    7.38 +{
    7.39 +	mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \
    7.40 +		$fs/usr/lib $fs/usr/share $fs/etc/udev
    7.41 +	cp -a $install/etc/dbus-1 $fs/etc
    7.42 +	cp -a $install/lib/udev $fs/etc
    7.43 +	cp -a $install/usr/bin $fs/usr
    7.44 +	cp -a $install/usr/sbin $fs/usr
    7.45 +	cp -a $install/usr/lib/udisks2 $fs/usr/lib
    7.46 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    7.47 +	cp -a $install/usr/share/*-1 $fs/usr/share
    7.48 +	cp -a $install/var $fs
    7.49 +	#we don't have consolekit and don't want systemd so we need
    7.50 +	#a rule to give disk group complete access to udisks2
    7.51 +	#methods without password.
    7.52 +	cp $stuff/org.freedesktop.udisks2.pkla \
    7.53 +		$fs/etc/polkit-1/localauthority/90-mandatory.d
    7.54 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/udisks2/stuff/org.freedesktop.udisks2.pkla	Wed Feb 27 15:14:08 2013 +0000
     8.3 @@ -0,0 +1,4 @@
     8.4 +[No password required for disk group]
     8.5 +Identity=unix-group:disk
     8.6 +Action=org.freedesktop.udisks2.*
     8.7 +ResultAny=yes