wok rev 19005

Fix xdotool
author Lucas Levrel <llevrel@yahoo.fr>
date Fri Mar 25 21:32:05 2016 +0100 (2016-03-25)
parents a3a6d7f1c72f
children 7e2db92cc0f5
files xdotool/receipt xsnow/stuff/xsnow.sh
line diff
     1.1 --- a/xdotool/receipt	Fri Mar 25 01:09:42 2016 +0200
     1.2 +++ b/xdotool/receipt	Fri Mar 25 21:32:05 2016 +0100
     1.3 @@ -3,7 +3,7 @@
     1.4  PACKAGE="xdotool"
     1.5  VERSION="2.20110530.1"
     1.6  CATEGORY="misc"
     1.7 -SHORT_DESC="fake key emulator"
     1.8 +SHORT_DESC="Fake keyboard/mouse input, window management, and more"
     1.9  MAINTAINER="jozee@slitaz.org"
    1.10  LICENSE="BSD"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 @@ -17,12 +17,12 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	make xdotool
    1.17 +	make && make PREFIX=/usr DESTDIR=$DESTDIR install
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	mkdir -p $fs/usr/bin
    1.24 -	cp -a $src/xdotool $fs/usr/bin
    1.25 +	mkdir -p $fs/usr
    1.26 +	cp -a $install/usr/bin $install/usr/lib $fs/usr
    1.27  }
     2.1 --- a/xsnow/stuff/xsnow.sh	Fri Mar 25 01:09:42 2016 +0200
     2.2 +++ b/xsnow/stuff/xsnow.sh	Fri Mar 25 21:32:05 2016 +0100
     2.3 @@ -21,15 +21,14 @@
     2.4  	--field="Check this if snow layering doesn't work":CHK \
     2.5  	--field="Duration (min) (0 = unlimited)":NUM \
     2.6  	-- '100!1..1000' "$colors" 'true' SkyBlue3\!"$colors" \
     2.7 -	chartreuse\!"${colors/chartreuse/}" '2!0..2' '-1!-1..inf' '3!1..inf' \
     2.8 -	50 true 3 2 '10!1..inf' true 30 15 50 0 true true true true true false 0)
     2.9 +	chartreuse\!"${colors/chartreuse!/}" '2!0..2' '-1!-1..inf' '3!1..inf' \
    2.10 +	50 true '3!1..inf' 2 10 true 30 15 50 0 true true true true true false 0)
    2.11  [ $? -eq 0 ] || exit 1
    2.12  pid1=$(pgrep -fl 'spacefm --desktop'|cut -f1 -d' ')
    2.13  pid2=$(pgrep -fl 'pcmanfm --desktop'|cut -f1 -d' ')
    2.14 -[ -n "$pid1" -o -n "$pid2" ] && yad --title=Warning $icon \
    2.15 +[ -n "$pid1" -o -n "$pid2" ] && { yad --title=Warning $icon \
    2.16  	--text="Your file manager windows will be closed, and your desktop icons \
    2.17 -temporarily removed. Continue?"
    2.18 -[ $? -eq 0 ] || exit 2
    2.19 +temporarily removed. Continue?" || exit 2 ;}
    2.20  [ -n "$pid1" ] && kill $pid1
    2.21  [ -n "$pid2" ] && kill $pid2
    2.22  # add dummy var to gobble last |