wok rev 13497

Up: spacefm (0.8.0) With an autostart desktop file to replace pcmanfm desktop handler and can automount media using the kernel polling (no udisks or gvfs)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Oct 13 10:49:28 2012 +0200 (2012-10-13)
parents 80ae10af897e
children d65b3051e86c
files spacefm/receipt spacefm/stuff/autostart/spacefm.desktop
line diff
     1.1 --- a/spacefm/receipt	Sat Oct 13 09:15:11 2012 +0100
     1.2 +++ b/spacefm/receipt	Sat Oct 13 10:49:28 2012 +0200
     1.3 @@ -1,18 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="spacefm"
     1.7 -VERSION="0.7.0"
     1.8 +VERSION="0.8.0"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Light, fast and easy to use file manager."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.13  WEB_SITE="http://spacefm.sourceforge.net/"
    1.14  WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
    1.15 +SUGGESTED="udevil"
    1.16  
    1.17  DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
    1.18 -gtk+ startup-notification dbus dbus-glib gdk-pixbuf"
    1.19 +gtk+ startup-notification dbus dbus-glib gdk-pixbuf udev"
    1.20  BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
    1.21 -libxcb-dev xcb-util-dev expat-dev gdk-pixbuf-dev intltool"
    1.22 +libxcb-dev xcb-util-dev expat-dev gdk-pixbuf-dev intltool udev-dev \
    1.23 +coreutils-file-special"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27 @@ -20,6 +22,7 @@
    1.28  	cd $src
    1.29  	./configure \
    1.30  		--with-preferable-sudo=/usr/bin/subox \
    1.31 +		--disable-pixmaps \
    1.32  		$CONFIGURE_ARGS &&
    1.33  	make && make install
    1.34  }
    1.35 @@ -27,11 +30,22 @@
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/usr/share $fs/etc/spacefm
    1.40 +	mkdir -p $fs/usr/share $fs/etc/spacefm $fs/etc/xdg/spacefm
    1.41  	cp -a $install/usr/bin $fs/usr
    1.42 -	for d in applications mime pixmaps spacefm
    1.43 +	for d in applications mime icons spacefm
    1.44  	do
    1.45  		cp -a $install/usr/share/$d $fs/usr/share
    1.46  	done
    1.47  	cp $stuff/spacefm.conf $fs/etc/spacefm
    1.48 +	cp -a $stuff/autostart $fs/etc/xdg
    1.49 +	# Faenza --> SliTaz
    1.50 +	mv $fs/usr/share/icons/Faenza $fs/usr/share/icons/SliTaz
    1.51  }
    1.52 +
    1.53 +# This will creat BIG icon cache file
    1.54 +#
    1.55 +#post_install()
    1.56 +#{
    1.57 +	#gtk-update-icon-cache -q -t -f $root/usr/share/icons/hicolor
    1.58 +    #gtk-update-icon-cache -q -t -f $root/usr/share/icons/Faenza
    1.59 +#}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/spacefm/stuff/autostart/spacefm.desktop	Sat Oct 13 10:49:28 2012 +0200
     2.3 @@ -0,0 +1,7 @@
     2.4 +[Desktop Entry]
     2.5 +Type=Application
     2.6 +Name=SpaceFM Desktop Manager
     2.7 +Name[fr]=Gestionnaire de bureau SpaceFM
     2.8 +Name[ru]=Менеджер рабочего стола SpaceFM
     2.9 +Exec=spacefm --desktop --daemon-mode
    2.10 +NotShowIn=XFCE;Razor;