wok-next rev 20412

slim: change path to Xorg's binary; update all the slim-theme-*
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jan 07 18:54:12 2018 +0200 (2018-01-07)
parents f675dd6d4363
children 4f7bb0dba96f
files slim-theme-7legs/receipt slim-theme-cat/receipt slim-theme-cat/stuff/background.jpg slim-theme-clean/receipt slim-theme-control/receipt slim-theme-esperanza/receipt slim-theme-japan-art/receipt slim-theme-leaves/receipt slim-theme-mascot/receipt slim-theme-montanhoso/receipt slim-theme-pilar/receipt slim-theme-radarspider/receipt slim-theme-robotic/receipt slim-theme-sandfive/receipt slim/stuff/patches/slim-1.3.5.patch
line diff
     1.1 --- a/slim-theme-7legs/receipt	Sun Jan 07 16:38:36 2018 +0200
     1.2 +++ b/slim-theme-7legs/receipt	Sun Jan 07 18:54:12 2018 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="slim-theme-7legs"
     1.8  VERSION="20130527"
     1.9 @@ -8,35 +8,31 @@
    1.10  LICENSE="CC-BY"
    1.11  WEB_SITE="http://www.slitaz.org/"
    1.12  
    1.13 -DEPENDS="slim slitaz-configs-base"
    1.14 -BUILD_DEPENDS="inkscape optipng"
    1.15 +BUILD_DEPENDS="rsvg-convert"
    1.16 +COOKOPTS="!pngquant"
    1.17  
    1.18 -# Rules to configure and make the package.
    1.19 -compile_rules()
    1.20 -{
    1.21 -	mkdir -p $install
    1.22 -	inkscape -f $stuff/7_legged_spider.svg -e $install/panel.png
    1.23 -	optipng -zc1-9 -zm1-9 -zs0-3 -f0-5 $install/panel.png
    1.24 +compile_rules() {
    1.25 +	theme="$install/usr/share/slim/themes/7_legged_spider"
    1.26 +	mkdir -p $theme
    1.27 +
    1.28 +	# convert vector art to bitmap
    1.29 +	rsvg-convert $stuff/7_legged_spider.svg -o $theme/panel.png
    1.30 +
    1.31 +	# link SLiM background to SliTaz desktop background; system is almost here...
    1.32 +	cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg
    1.33 +
    1.34 +	cp $stuff/slim.theme $theme
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	theme=$fs/usr/share/slim/themes/7_legged_spider
    1.41 -	mkdir -p $theme
    1.42 -	# link SLiM background to SliTaz desktop background;
    1.43 -	# system is almost here...
    1.44 -	cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg
    1.45 -	cp -a $install/panel.png $theme
    1.46 -	cp -a $stuff/slim.theme $theme
    1.47 +genpkg_rules() {
    1.48 +	copy @std
    1.49 +	DEPENDS="slim slitaz-configs-base"
    1.50  }
    1.51  
    1.52 -post_install()
    1.53 -{
    1.54 +post_install() {
    1.55  	chroot "$1/" slim-theme -s7_legged_spider
    1.56  }
    1.57  
    1.58 -pre_remove()
    1.59 -{
    1.60 +pre_remove() {
    1.61  	chroot "$1/" slim-theme -f7_legged_spider
    1.62  }
     2.1 --- a/slim-theme-cat/receipt	Sun Jan 07 16:38:36 2018 +0200
     2.2 +++ b/slim-theme-cat/receipt	Sun Jan 07 18:54:12 2018 +0200
     2.3 @@ -1,42 +1,35 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="slim-theme-cat"
     2.8 -VERSION="20130524"
     2.9 +VERSION="20180107"
    2.10  CATEGORY="customization"
    2.11  SHORT_DESC="Cat and Spider - theme for SLiM"
    2.12  MAINTAINER="al.bobylev@gmail.com"
    2.13  LICENSE="CC-BY"
    2.14  WEB_SITE="http://www.slitaz.org/"
    2.15  
    2.16 -DEPENDS="slim slitaz-configs-base"
    2.17 -BUILD_DEPENDS="inkscape optipng"
    2.18 +BUILD_DEPENDS="rsvg-convert"
    2.19 +COOKOPTS="!pngquant"
    2.20  
    2.21 -# Rules to configure and make the package.
    2.22 -compile_rules()
    2.23 -{
    2.24 -	mkdir -p $install
    2.25 -	inkscape -f $stuff/cat_and_spider.svg -e $install/panel.png
    2.26 -	optipng -zc1-9 -zm1-9 -zs0-3 -f0-5 $install/panel.png
    2.27 +compile_rules() {
    2.28 +	theme="$install/usr/share/slim/themes/cat_and_spider"
    2.29 +	mkdir -p $theme
    2.30 +
    2.31 +	# convert vector art to bitmap
    2.32 +	rsvg-convert $stuff/cat_and_spider.svg -o $theme/panel.png
    2.33 +
    2.34 +	cp $stuff/slim.theme $stuff/background.jpg $theme
    2.35  }
    2.36  
    2.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.38 -genpkg_rules()
    2.39 -{
    2.40 -	theme=$fs/usr/share/slim/themes/cat_and_spider
    2.41 -	mkdir -p $theme
    2.42 -	# link SLiM background to SliTaz desktop background;
    2.43 -	# system is almost here...
    2.44 -	cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg
    2.45 -	cp -a $install/panel.png $theme
    2.46 -	cp -a $stuff/slim.theme $theme
    2.47 +genpkg_rules() {
    2.48 +	copy @std
    2.49 +	DEPENDS="slim slitaz-configs-base"
    2.50  }
    2.51  
    2.52 -post_install()
    2.53 -{
    2.54 +post_install() {
    2.55  	chroot "$1/" slim-theme -s cat_and_spider
    2.56  }
    2.57  
    2.58 -pre_remove()
    2.59 -{
    2.60 +pre_remove() {
    2.61  	chroot "$1/" slim-theme -fcat_and_spider
    2.62  }
     3.1 Binary file slim-theme-cat/stuff/background.jpg has changed
     4.1 --- a/slim-theme-clean/receipt	Sun Jan 07 16:38:36 2018 +0200
     4.2 +++ b/slim-theme-clean/receipt	Sun Jan 07 18:54:12 2018 +0200
     4.3 @@ -1,4 +1,4 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="slim-theme-clean"
     4.8  VERSION="20150602"
     4.9 @@ -6,39 +6,29 @@
    4.10  SHORT_DESC="Clean - theme for SLiM"
    4.11  MAINTAINER="al.bobylev@gmail.com"
    4.12  LICENSE="PublicDomain"
    4.13 -WEB_SITE="http://desktopstylish.tumblr.com/post/120566561330/clean-slim-theme-download"
    4.14 +WEB_SITE="http://desktopstylish.tumblr.com/post/120566561330/clean-slim-theme-download"		# missing
    4.15 +
    4.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.17  WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqlczlac2tXa01wbTQ"
    4.18 -TAGS="hackdorte slim"
    4.19  
    4.20 -DEPENDS="slim"
    4.21 -BUILD_DEPENDS="imagemagick"
    4.22 +COOKOPTS="!pngquant"
    4.23  
    4.24 -# Rules to configure and make the package.
    4.25 -compile_rules()
    4.26 -{
    4.27 -	mkdir -p $install/usr/share/slim/themes/Clean
    4.28 -	cp -a $src/* $install/usr/share/slim/themes/Clean
    4.29 -	(
    4.30 -		cd $install/usr/share/slim/themes/Clean
    4.31 -		convert background.png background.jpg
    4.32 -		rm background.png
    4.33 -	)
    4.34 -	chown -R root:root $install
    4.35 +compile_rules() {
    4.36 +	theme="$install/usr/share/slim/themes/Clean"
    4.37 +	mkdir -p $theme
    4.38 +	cp -r $src/* $theme
    4.39  }
    4.40  
    4.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.42 -genpkg_rules()
    4.43 -{
    4.44 -	cp -a $install/* $fs
    4.45 +genpkg_rules() {
    4.46 +	copy @std
    4.47 +	DEPENDS="slim"
    4.48 +	TAGS="hackdorte slim"
    4.49  }
    4.50  
    4.51 -post_install()
    4.52 -{
    4.53 +post_install() {
    4.54  	chroot "$1/" slim-theme -s Clean
    4.55  }
    4.56  
    4.57 -pre_remove()
    4.58 -{
    4.59 +pre_remove() {
    4.60  	chroot "$1/" slim-theme -f Clean
    4.61  }
     5.1 --- a/slim-theme-control/receipt	Sun Jan 07 16:38:36 2018 +0200
     5.2 +++ b/slim-theme-control/receipt	Sun Jan 07 18:54:12 2018 +0200
     5.3 @@ -1,4 +1,4 @@
     5.4 -# SliTaz package receipt.
     5.5 +# SliTaz package receipt v2.
     5.6  
     5.7  PACKAGE="slim-theme-control"
     5.8  VERSION="1.0-20130609"
     5.9 @@ -8,23 +8,23 @@
    5.10  LICENSE="CC-BY"
    5.11  WEB_SITE="http://www.slitaz.org/"
    5.12  
    5.13 -DEPENDS="slim slitaz-configs-base"
    5.14 -BUILD_DEPENDS=""
    5.15 +COOKOPTS="!pngquant"
    5.16  
    5.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.18 -genpkg_rules()
    5.19 -{
    5.20 -	theme=$fs/usr/share/slim/themes/control
    5.21 +compile_rules() {
    5.22 +	theme="$install/usr/share/slim/themes/control"
    5.23  	mkdir -p $theme
    5.24 -	cp -a $stuff/* $theme
    5.25 +	cp -r $stuff/* $theme
    5.26  }
    5.27  
    5.28 -post_install()
    5.29 -{
    5.30 +genpkg_rules() {
    5.31 +	copy @std
    5.32 +	DEPENDS="slim slitaz-configs-base"
    5.33 +}
    5.34 +
    5.35 +post_install() {
    5.36  	chroot "$1/" slim-theme -scontrol
    5.37  }
    5.38  
    5.39 -pre_remove()
    5.40 -{
    5.41 +pre_remove() {
    5.42  	chroot "$1/" slim-theme -fcontrol
    5.43  }
     6.1 --- a/slim-theme-esperanza/receipt	Sun Jan 07 16:38:36 2018 +0200
     6.2 +++ b/slim-theme-esperanza/receipt	Sun Jan 07 18:54:12 2018 +0200
     6.3 @@ -1,4 +1,4 @@
     6.4 -# SliTaz package receipt.
     6.5 +# SliTaz package receipt v2.
     6.6  
     6.7  PACKAGE="slim-theme-esperanza"
     6.8  VERSION="20150602"
     6.9 @@ -6,34 +6,29 @@
    6.10  SHORT_DESC="Esperanza - theme for SLiM"
    6.11  MAINTAINER="al.bobylev@gmail.com"
    6.12  LICENSE="PublicDomain"
    6.13 -WEB_SITE="http://desktopstylish.tumblr.com/post/120505013200/esperanza-slim-theme-download"
    6.14 +WEB_SITE="http://desktopstylish.tumblr.com/post/120505013200/esperanza-slim-theme-download"		# missing
    6.15 +
    6.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.17  WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqldmFkeEcyXzRpLVk"
    6.18 -TAGS="hackdorte slim"
    6.19  
    6.20 -DEPENDS="slim"
    6.21 -BUILD_DEPENDS=""
    6.22 +COOKOPTS="!pngquant"
    6.23  
    6.24 -# Rules to configure and make the package.
    6.25 -compile_rules()
    6.26 -{
    6.27 -	mkdir -p $install/usr/share/slim/themes/Esperanza
    6.28 -	cp -a $src/* $install/usr/share/slim/themes/Esperanza
    6.29 -	chown -R root:root $install
    6.30 +compile_rules() {
    6.31 +	theme="$install/usr/share/slim/themes/Esperanza"
    6.32 +	mkdir -p $theme
    6.33 +	cp -r $src/* $theme
    6.34  }
    6.35  
    6.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.37 -genpkg_rules()
    6.38 -{
    6.39 -	cp -a $install/* $fs
    6.40 +genpkg_rules() {
    6.41 +	copy @std
    6.42 +	DEPENDS="slim"
    6.43 +	TAGS="hackdorte slim"
    6.44  }
    6.45  
    6.46 -post_install()
    6.47 -{
    6.48 +post_install() {
    6.49  	chroot "$1/" slim-theme -s Esperanza
    6.50  }
    6.51  
    6.52 -pre_remove()
    6.53 -{
    6.54 +pre_remove() {
    6.55  	chroot "$1/" slim-theme -f Esperanza
    6.56  }
     7.1 --- a/slim-theme-japan-art/receipt	Sun Jan 07 16:38:36 2018 +0200
     7.2 +++ b/slim-theme-japan-art/receipt	Sun Jan 07 18:54:12 2018 +0200
     7.3 @@ -1,4 +1,4 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="slim-theme-japan-art"
     7.8  VERSION="20150603"
     7.9 @@ -6,34 +6,29 @@
    7.10  SHORT_DESC="Japan Art - theme for SLiM"
    7.11  MAINTAINER="al.bobylev@gmail.com"
    7.12  LICENSE="PublicDomain"
    7.13 -WEB_SITE="http://desktopstylish.tumblr.com/post/120590949085/japan-art-slim-theme-download"
    7.14 +WEB_SITE="http://desktopstylish.tumblr.com/post/120590949085/japan-art-slim-theme-download"		# missing
    7.15 +
    7.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    7.17  WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqlUkJHVDJrXzVFRUk"
    7.18 -TAGS="hackdorte slim"
    7.19  
    7.20 -DEPENDS="slim"
    7.21 -BUILD_DEPENDS=""
    7.22 +COOKOPTS="!pngquant"
    7.23  
    7.24 -# Rules to configure and make the package.
    7.25 -compile_rules()
    7.26 -{
    7.27 -	mkdir -p $install/usr/share/slim/themes/JapanArt
    7.28 -	cp -a $src/* $install/usr/share/slim/themes/JapanArt
    7.29 -	chown -R root:root $install
    7.30 +compile_rules() {
    7.31 +	theme="$install/usr/share/slim/themes/JapanArt"
    7.32 +	mkdir -p $theme
    7.33 +	cp -r $src/* $theme
    7.34  }
    7.35  
    7.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.37 -genpkg_rules()
    7.38 -{
    7.39 -	cp -a $install/* $fs
    7.40 +genpkg_rules() {
    7.41 +	copy @std
    7.42 +	DEPENDS="slim"
    7.43 +	TAGS="hackdorte slim"
    7.44  }
    7.45  
    7.46 -post_install()
    7.47 -{
    7.48 +post_install() {
    7.49  	chroot "$1/" slim-theme -s JapanArt
    7.50  }
    7.51  
    7.52 -pre_remove()
    7.53 -{
    7.54 +pre_remove() {
    7.55  	chroot "$1/" slim-theme -f JapanArt
    7.56  }
     8.1 --- a/slim-theme-leaves/receipt	Sun Jan 07 16:38:36 2018 +0200
     8.2 +++ b/slim-theme-leaves/receipt	Sun Jan 07 18:54:12 2018 +0200
     8.3 @@ -1,4 +1,4 @@
     8.4 -# SliTaz package receipt.
     8.5 +# SliTaz package receipt v2.
     8.6  
     8.7  PACKAGE="slim-theme-leaves"
     8.8  VERSION="20150602"
     8.9 @@ -6,39 +6,29 @@
    8.10  SHORT_DESC="Leaves - theme for SLiM"
    8.11  MAINTAINER="al.bobylev@gmail.com"
    8.12  LICENSE="PublicDomain"
    8.13 -WEB_SITE="http://desktopstylish.tumblr.com/post/120510224250/leaves-slim-theme-download"
    8.14 +WEB_SITE="http://desktopstylish.tumblr.com/post/120510224250/leaves-slim-theme-download"		# missing
    8.15 +
    8.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    8.17  WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqldkFkbmRCRFZVQ0k"
    8.18 -TAGS="hackdorte slim"
    8.19  
    8.20 -DEPENDS="slim"
    8.21 -BUILD_DEPENDS="imagemagick"
    8.22 +COOKOPTS="!pngquant"
    8.23  
    8.24 -# Rules to configure and make the package.
    8.25 -compile_rules()
    8.26 -{
    8.27 -	mkdir -p $install/usr/share/slim/themes/Leaves
    8.28 -	cp -a $src/* $install/usr/share/slim/themes/Leaves
    8.29 -	(
    8.30 -		cd $install/usr/share/slim/themes/Leaves
    8.31 -		convert background.png background.jpg
    8.32 -		rm background.png
    8.33 -	)
    8.34 -	chown -R root:root $install
    8.35 +compile_rules() {
    8.36 +	theme="$install/usr/share/slim/themes/Leaves"
    8.37 +	mkdir -p $theme
    8.38 +	cp -r $src/* $theme
    8.39  }
    8.40  
    8.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.42 -genpkg_rules()
    8.43 -{
    8.44 -	cp -a $install/* $fs
    8.45 +genpkg_rules() {
    8.46 +	copy @std
    8.47 +	DEPENDS="slim"
    8.48 +	TAGS="hackdorte slim"
    8.49  }
    8.50  
    8.51 -post_install()
    8.52 -{
    8.53 +post_install() {
    8.54  	chroot "$1/" slim-theme -s Leaves
    8.55  }
    8.56  
    8.57 -pre_remove()
    8.58 -{
    8.59 +pre_remove() {
    8.60  	chroot "$1/" slim-theme -f Leaves
    8.61  }
     9.1 --- a/slim-theme-mascot/receipt	Sun Jan 07 16:38:36 2018 +0200
     9.2 +++ b/slim-theme-mascot/receipt	Sun Jan 07 18:54:12 2018 +0200
     9.3 @@ -1,4 +1,4 @@
     9.4 -# SliTaz package receipt.
     9.5 +# SliTaz package receipt v2.
     9.6  
     9.7  PACKAGE="slim-theme-mascot"
     9.8  VERSION="20130527"
     9.9 @@ -8,35 +8,31 @@
    9.10  LICENSE="CC-BY"
    9.11  WEB_SITE="http://www.slitaz.org/"
    9.12  
    9.13 -DEPENDS="slim slitaz-configs-base"
    9.14 -BUILD_DEPENDS="inkscape optipng"
    9.15 +BUILD_DEPENDS="rsvg-convert"
    9.16 +COOKOPTS="!pngquant"
    9.17  
    9.18 -# Rules to configure and make the package.
    9.19 -compile_rules()
    9.20 -{
    9.21 -	mkdir -p $install
    9.22 -	inkscape -f $stuff/slitaz_spider.svg -e $install/panel.png
    9.23 -	optipng -zc1-9 -zm1-9 -zs0-3 -f0-5 $install/panel.png
    9.24 +compile_rules() {
    9.25 +	theme="$install/usr/share/slim/themes/mascot"
    9.26 +	mkdir -p $theme
    9.27 +
    9.28 +	# convert vector art to bitmap
    9.29 +	rsvg-convert $stuff/slitaz_spider.svg -o $theme/panel.png
    9.30 +
    9.31 +	# link SLiM background to SliTaz desktop background; system is almost here...
    9.32 +	cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg
    9.33 +
    9.34 +	cp $stuff/slim.theme $theme
    9.35  }
    9.36  
    9.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.38 -genpkg_rules()
    9.39 -{
    9.40 -	theme=$fs/usr/share/slim/themes/mascot
    9.41 -	mkdir -p $theme
    9.42 -	# link SLiM background to SliTaz desktop background;
    9.43 -	# system is almost here...
    9.44 -	cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg
    9.45 -	cp -a $install/panel.png $theme
    9.46 -	cp -a $stuff/slim.theme $theme
    9.47 +genpkg_rules() {
    9.48 +	copy @std
    9.49 +	DEPENDS="slim slitaz-configs-base"
    9.50  }
    9.51  
    9.52 -post_install()
    9.53 -{
    9.54 +post_install() {
    9.55  	chroot "$1/" slim-theme -smascot
    9.56  }
    9.57  
    9.58 -pre_remove()
    9.59 -{
    9.60 +pre_remove() {
    9.61  	chroot "$1/" slim-theme -fmascot
    9.62  }
    10.1 --- a/slim-theme-montanhoso/receipt	Sun Jan 07 16:38:36 2018 +0200
    10.2 +++ b/slim-theme-montanhoso/receipt	Sun Jan 07 18:54:12 2018 +0200
    10.3 @@ -1,4 +1,4 @@
    10.4 -# SliTaz package receipt.
    10.5 +# SliTaz package receipt v2.
    10.6  
    10.7  PACKAGE="slim-theme-montanhoso"
    10.8  VERSION="20150526"
    10.9 @@ -6,34 +6,29 @@
   10.10  SHORT_DESC="Montanhoso - theme for SLiM"
   10.11  MAINTAINER="al.bobylev@gmail.com"
   10.12  LICENSE="PublicDomain"
   10.13 -WEB_SITE="http://desktopstylish.tumblr.com/post/120406192590/montanhoso-theme-for-the-slim-login-manager"
   10.14 +WEB_SITE="http://desktopstylish.tumblr.com/post/120406192590/montanhoso-theme-for-the-slim-login-manager"		# missing
   10.15 +
   10.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   10.17  WGET_URL="https://drive.google.com/uc?export=download&id=0B4Re2DvqOMqlTXZZRDJWaFI4NkE"
   10.18 -TAGS="hackdorte slim"
   10.19  
   10.20 -DEPENDS="slim"
   10.21 -BUILD_DEPENDS=""
   10.22 +COOKOPTS="!pngquant"
   10.23  
   10.24 -# Rules to configure and make the package.
   10.25 -compile_rules()
   10.26 -{
   10.27 -	mkdir -p $install/usr/share/slim/themes/Montanhoso
   10.28 -	cp -a $src/* $install/usr/share/slim/themes/Montanhoso
   10.29 -	chown -R root:root $install
   10.30 +compile_rules() {
   10.31 +	theme="$install/usr/share/slim/themes/Montanhoso"
   10.32 +	mkdir -p $theme
   10.33 +	cp -r $src/* $theme
   10.34  }
   10.35  
   10.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.37 -genpkg_rules()
   10.38 -{
   10.39 -	cp -a $install/* $fs
   10.40 +genpkg_rules() {
   10.41 +	copy @std
   10.42 +	DEPENDS="slim"
   10.43 +	TAGS="hackdorte slim"
   10.44  }
   10.45  
   10.46 -post_install()
   10.47 -{
   10.48 +post_install() {
   10.49  	chroot "$1/" slim-theme -s Montanhoso
   10.50  }
   10.51  
   10.52 -pre_remove()
   10.53 -{
   10.54 +pre_remove() {
   10.55  	chroot "$1/" slim-theme -f Montanhoso
   10.56  }
    11.1 --- a/slim-theme-pilar/receipt	Sun Jan 07 16:38:36 2018 +0200
    11.2 +++ b/slim-theme-pilar/receipt	Sun Jan 07 18:54:12 2018 +0200
    11.3 @@ -1,4 +1,4 @@
    11.4 -# SliTaz package receipt.
    11.5 +# SliTaz package receipt v2.
    11.6  
    11.7  PACKAGE="slim-theme-pilar"
    11.8  VERSION="1.0-20130609"
    11.9 @@ -8,23 +8,23 @@
   11.10  LICENSE="CC-BY"
   11.11  WEB_SITE="http://www.slitaz.org/"
   11.12  
   11.13 -DEPENDS="slim slitaz-configs-base"
   11.14 -BUILD_DEPENDS=""
   11.15 +COOKOPTS="!pngquant"
   11.16  
   11.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.18 -genpkg_rules()
   11.19 -{
   11.20 -	theme=$fs/usr/share/slim/themes/pilar
   11.21 +compile_rules() {
   11.22 +	theme="$install/usr/share/slim/themes/pilar"
   11.23  	mkdir -p $theme
   11.24 -	cp -a $stuff/* $theme
   11.25 +	cp -r $stuff/* $theme
   11.26  }
   11.27  
   11.28 -post_install()
   11.29 -{
   11.30 +genpkg_rules() {
   11.31 +	copy @std
   11.32 +	DEPENDS="slim slitaz-configs-base"
   11.33 +}
   11.34 +
   11.35 +post_install() {
   11.36  	chroot "$1/" slim-theme -spilar
   11.37  }
   11.38  
   11.39 -pre_remove()
   11.40 -{
   11.41 +pre_remove() {
   11.42  	chroot "$1/" slim-theme -fpilar
   11.43  }
    12.1 --- a/slim-theme-radarspider/receipt	Sun Jan 07 16:38:36 2018 +0200
    12.2 +++ b/slim-theme-radarspider/receipt	Sun Jan 07 18:54:12 2018 +0200
    12.3 @@ -1,4 +1,4 @@
    12.4 -# SliTaz package receipt.
    12.5 +# SliTaz package receipt v2.
    12.6  
    12.7  PACKAGE="slim-theme-radarspider"
    12.8  VERSION="1.0-20130609"
    12.9 @@ -8,23 +8,23 @@
   12.10  LICENSE="CC-BY"
   12.11  WEB_SITE="http://www.slitaz.org/"
   12.12  
   12.13 -DEPENDS="slim slitaz-configs-base"
   12.14 -BUILD_DEPENDS=""
   12.15 +COOKOPTS="!pngquant"
   12.16  
   12.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.18 -genpkg_rules()
   12.19 -{
   12.20 -	theme=$fs/usr/share/slim/themes/radarspider
   12.21 +compile_rules() {
   12.22 +	theme="$install/usr/share/slim/themes/radarspider"
   12.23  	mkdir -p $theme
   12.24 -	cp -a $stuff/* $theme
   12.25 +	cp -r $stuff/* $theme
   12.26  }
   12.27  
   12.28 -post_install()
   12.29 -{
   12.30 +genpkg_rules() {
   12.31 +	copy @std
   12.32 +	DEPENDS="slim slitaz-configs-base"
   12.33 +}
   12.34 +
   12.35 +post_install() {
   12.36  	chroot "$1/" slim-theme -sradarspider
   12.37  }
   12.38  
   12.39 -pre_remove()
   12.40 -{
   12.41 +pre_remove() {
   12.42  	chroot "$1/" slim-theme -fradarspider
   12.43  }
    13.1 --- a/slim-theme-robotic/receipt	Sun Jan 07 16:38:36 2018 +0200
    13.2 +++ b/slim-theme-robotic/receipt	Sun Jan 07 18:54:12 2018 +0200
    13.3 @@ -1,4 +1,4 @@
    13.4 -# SliTaz package receipt.
    13.5 +# SliTaz package receipt v2.
    13.6  
    13.7  PACKAGE="slim-theme-robotic"
    13.8  VERSION="1.0-20130609"
    13.9 @@ -8,23 +8,23 @@
   13.10  LICENSE="CC-BY"
   13.11  WEB_SITE="http://www.slitaz.org/"
   13.12  
   13.13 -DEPENDS="slim slitaz-configs-base"
   13.14 -BUILD_DEPENDS=""
   13.15 +COOKOPTS="!pngquant"
   13.16  
   13.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.18 -genpkg_rules()
   13.19 -{
   13.20 -	theme=$fs/usr/share/slim/themes/robotic
   13.21 +compile_rules() {
   13.22 +	theme="$install/usr/share/slim/themes/robotic"
   13.23  	mkdir -p $theme
   13.24 -	cp -a $stuff/* $theme
   13.25 +	cp -r $stuff/* $theme
   13.26  }
   13.27  
   13.28 -post_install()
   13.29 -{
   13.30 +genpkg_rules() {
   13.31 +	copy @std
   13.32 +	DEPENDS="slim slitaz-configs-base"
   13.33 +}
   13.34 +
   13.35 +post_install() {
   13.36  	chroot "$1/" slim-theme -srobotic
   13.37  }
   13.38  
   13.39 -pre_remove()
   13.40 -{
   13.41 +pre_remove() {
   13.42  	chroot "$1/" slim-theme -frobotic
   13.43  }
    14.1 --- a/slim-theme-sandfive/receipt	Sun Jan 07 16:38:36 2018 +0200
    14.2 +++ b/slim-theme-sandfive/receipt	Sun Jan 07 18:54:12 2018 +0200
    14.3 @@ -1,4 +1,4 @@
    14.4 -# SliTaz package receipt.
    14.5 +# SliTaz package receipt v2.
    14.6  
    14.7  PACKAGE="slim-theme-sandfive"
    14.8  VERSION="1.0-20140601"
    14.9 @@ -8,23 +8,23 @@
   14.10  LICENSE="CC-BY"
   14.11  WEB_SITE="http://www.slitaz.org/"
   14.12  
   14.13 -DEPENDS="slim slitaz-configs-base"
   14.14 -BUILD_DEPENDS=""
   14.15 +COOKOPTS="!pngquant"
   14.16  
   14.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.18 -genpkg_rules()
   14.19 -{
   14.20 -	theme=$fs/usr/share/slim/themes/sandfive
   14.21 +compile_rules() {
   14.22 +	theme="$install/usr/share/slim/themes/sandfive"
   14.23  	mkdir -p $theme
   14.24 -	cp -a $stuff/* $theme
   14.25 +	cp -r $stuff/* $theme
   14.26  }
   14.27  
   14.28 -post_install()
   14.29 -{
   14.30 +genpkg_rules() {
   14.31 +	copy @std
   14.32 +	DEPENDS="slim slitaz-configs-base"
   14.33 +}
   14.34 +
   14.35 +post_install() {
   14.36  	chroot "$1/" slim-theme -ssandfive
   14.37  }
   14.38  
   14.39 -pre_remove()
   14.40 -{
   14.41 +pre_remove() {
   14.42  	chroot "$1/" slim-theme -fsandfive
   14.43  }
    15.1 --- a/slim/stuff/patches/slim-1.3.5.patch	Sun Jan 07 16:38:36 2018 +0200
    15.2 +++ b/slim/stuff/patches/slim-1.3.5.patch	Sun Jan 07 18:54:12 2018 +0200
    15.3 @@ -38,7 +38,7 @@
    15.4  -	options.insert(option("default_path","/bin:/usr/bin:/usr/local/bin"));
    15.5  -	options.insert(option("default_xserver","/usr/bin/X"));
    15.6  +	options.insert(option("default_path","/sbin:/bin:/usr/sbin:/usr/bin"));
    15.7 -+	options.insert(option("default_xserver","/usr/bin/Xorg"));
    15.8 ++	options.insert(option("default_xserver","/usr/libexec/Xorg.wrap"));
    15.9   	options.insert(option("xserver_arguments",""));
   15.10   	options.insert(option("numlock",""));
   15.11   	options.insert(option("daemon",""));
   15.12 @@ -95,7 +95,7 @@
   15.13  -default_path        /bin:/usr/bin:/usr/local/bin
   15.14  -default_xserver     /usr/bin/X
   15.15  +default_path        ./:/bin:/usr/bin:/usr/local/bin
   15.16 -+default_xserver     /usr/bin/Xorg
   15.17 ++default_xserver     /usr/libexec/Xorg.wrap
   15.18   #xserver_arguments   -dpi 75
   15.19   
   15.20   # Commands for halt, login, etc.