wok-next rev 18541

Add slitaz-icons-faenza-dark; plus various small fixes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 05 21:30:50 2015 +0200 (2015-11-05)
parents f77621cc853f
children 07285fa0ddec
files alarm-clock/receipt alsa-tools/receipt libboost-chrono-dev/receipt make-slitaz-icons/receipt make-slitaz-icons/stuff/mksit.sh slitaz-icons-faenza-dark/receipt slitaz-icons-faenza-dark/stuff/filelist slitaz-icons-faenza-dark/stuff/index.theme slitaz-icons-faenza/receipt slitaz-icons-faenza/stuff/start-here-slitaz-48.png xarchiver/stuff/xarchiver.cgi
line diff
     1.1 --- a/alarm-clock/receipt	Tue Nov 03 11:20:58 2015 +0100
     1.2 +++ b/alarm-clock/receipt	Thu Nov 05 21:30:50 2015 +0200
     1.3 @@ -5,13 +5,13 @@
     1.4  CATEGORY="utilities"
     1.5  SHORT_DESC="Simple GTK alarm clock"
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -LICENSE="GPL3"	
     1.8 +LICENSE="GPL3"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10 -# There's no more website for it. Keep it anyway???
    1.11 -#WEB_SITE="http://www.alarm-clock.pl/"
    1.12 -WEB_SITE="http://www.alarm-clock.pl/"
    1.13 +# There's no more website for it. Using wayback machine...
    1.14 +WEB_SITE="https://web.archive.org/web/20100209072308/http://www.alarm-clock.pl/"
    1.15  #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
    1.16  WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
    1.17 +TAGS="clock reminder"
    1.18  
    1.19  DEPENDS="gtk+ libunique libnotify gstreamer"
    1.20  BUILD_DEPENDS="$DEPENDS gtk+-dev libunique-dev libnotify-dev gstreamer-dev \
     2.1 --- a/alsa-tools/receipt	Tue Nov 03 11:20:58 2015 +0100
     2.2 +++ b/alsa-tools/receipt	Thu Nov 05 21:30:50 2015 +0200
     2.3 @@ -9,8 +9,9 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     2.5  WEB_SITE="http://www.alsa-project.org/"
     2.6  WGET_URL="http://alsa.cybermirror.org/tools/$TARBALL"
     2.7 +GENERIC_MENUS="no"
     2.8  
     2.9 -# We dont want all card mixer as dep.
    2.10 +# We don't want all card mixer as dep.
    2.11  DEPENDS="alsa-lib alsa-tools-ac3dec"
    2.12  BUILD_DEPENDS="alsa-lib-dev gtk+-dev fltk-dev autoconf automake"
    2.13  
     3.1 --- a/libboost-chrono-dev/receipt	Tue Nov 03 11:20:58 2015 +0100
     3.2 +++ b/libboost-chrono-dev/receipt	Thu Nov 05 21:30:50 2015 +0200
     3.3 @@ -10,7 +10,7 @@
     3.4  LICENSE="MIT"
     3.5  WEB_SITE="http://www.boost.org/"
     3.6  
     3.7 -DEPENDS="libboost-system-dev"
     3.8 +DEPENDS="libboost-chrono libboost-system-dev"
     3.9  WANTED="libboost-dev"
    3.10  SOURCE="boost"
    3.11  
     4.1 --- a/make-slitaz-icons/receipt	Tue Nov 03 11:20:58 2015 +0100
     4.2 +++ b/make-slitaz-icons/receipt	Thu Nov 05 21:30:50 2015 +0200
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="make-slitaz-icons"
     4.7 -VERSION="150506"
     4.8 +VERSION="151105"
     4.9  CATEGORY="development"
    4.10  SHORT_DESC="Make SliTaz icon theme"
    4.11  MAINTAINER="al.bobylev@gmail.com"
     5.1 --- a/make-slitaz-icons/stuff/mksit.sh	Tue Nov 03 11:20:58 2015 +0100
     5.2 +++ b/make-slitaz-icons/stuff/mksit.sh	Thu Nov 05 21:30:50 2015 +0200
     5.3 @@ -3,7 +3,7 @@
     5.4  # Aleksej Bobylev <al.bobylev@gmail.com>, 2014-2015
     5.5  # (Started in November 2014)
     5.6  
     5.7 -VERSION="150506"
     5.8 +VERSION="151105"
     5.9  
    5.10  . /lib/libtaz.sh
    5.11  
    5.12 @@ -103,7 +103,7 @@
    5.13  # Maybe copy stock icon
    5.14  
    5.15  s() {
    5.16 -	if [ "$BASED_ON" != "Faenza" ]; then
    5.17 +	if [ "${BASED_ON%%-*}" != "Faenza" ]; then
    5.18  		c $@
    5.19  	else
    5.20  		echo ". $1"
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/slitaz-icons-faenza-dark/receipt	Thu Nov 05 21:30:50 2015 +0200
     6.3 @@ -0,0 +1,37 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="slitaz-icons-faenza-dark"
     6.7 +VERSION="1.3"
     6.8 +CATEGORY="misc"
     6.9 +SHORT_DESC="SliTaz icon set based on the Faenza-Dark icons"
    6.10 +MAINTAINER="al.bobylev@gmail.com"
    6.11 +LICENSE="GPL3"
    6.12 +WEB_SITE="http://www.slitaz.org/"
    6.13 +
    6.14 +WANTED="faenza-icon-theme"
    6.15 +DEPENDS="slitaz-icons-faenza"
    6.16 +BUILD_DEPENDS="make-slitaz-icons"
    6.17 +
    6.18 +# Rules to compile and makethe package.
    6.19 +compile_rules() {
    6.20 +	mksit.sh \
    6.21 +		-f $install/usr/share/icons/Faenza-Dark \
    6.22 +		-t $fs/usr/share/icons/SliTaz-Faenza-Dark \
    6.23 +		-opmax -nocolor
    6.24 +}
    6.25 +
    6.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.27 +genpkg_rules()
    6.28 +{
    6.29 +	f="$fs/usr/share/icons/SliTaz-Faenza-Dark"
    6.30 +
    6.31 +	for i in $(find $f \( -type f -o -type l \)); do
    6.32 +		bn=$(basename $i .png)
    6.33 +		if ! grep -q "^$bn$" $stuff/filelist; then
    6.34 +			rm $i
    6.35 +		fi
    6.36 +	done
    6.37 +
    6.38 +	for d in 16x16/status 48x48; do rm -r $f/$d; done
    6.39 +	cp -f $stuff/index.theme $f
    6.40 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/slitaz-icons-faenza-dark/stuff/filelist	Thu Nov 05 21:30:50 2015 +0200
     7.3 @@ -0,0 +1,45 @@
     7.4 +system-shutdown-panel-restart
     7.5 +system-shutdown
     7.6 +system-log-out
     7.7 +appointment-missed
     7.8 +appointment-soon
     7.9 +audio-volume-high
    7.10 +audio-volume-low
    7.11 +audio-volume-medium
    7.12 +audio-volume-muted
    7.13 +gnome-netstatus-0-24
    7.14 +gnome-netstatus-25-49
    7.15 +gnome-netstatus-50-74
    7.16 +gnome-netstatus-75-100
    7.17 +gnome-netstatus-txrx
    7.18 +gnome-netstatus-disconn
    7.19 +gnome-netstatus-error
    7.20 +gnome-netstatus-idle
    7.21 +gnome-netstatus-rx
    7.22 +gnome-netstatus-tx
    7.23 +network-error
    7.24 +network-idle
    7.25 +network-offline
    7.26 +network-receive
    7.27 +network-transmit
    7.28 +network-transmit-receive
    7.29 +printer-error
    7.30 +printer-printing
    7.31 +software-update-available
    7.32 +software-update-urgent
    7.33 +system-shutdown-restart-panel
    7.34 +user-available
    7.35 +user-away
    7.36 +user-idle
    7.37 +user-offline
    7.38 +weather-clear-night
    7.39 +weather-clear
    7.40 +weather-few-clouds-night
    7.41 +weather-few-clouds
    7.42 +weather-fog
    7.43 +weather-overcast
    7.44 +weather-severe-alert
    7.45 +weather-showers-scattered
    7.46 +weather-showers
    7.47 +weather-snow
    7.48 +weather-storm
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/slitaz-icons-faenza-dark/stuff/index.theme	Thu Nov 05 21:30:50 2015 +0200
     8.3 @@ -0,0 +1,19 @@
     8.4 +[Icon Theme]
     8.5 +Name=SliTaz-Faenza-Dark
     8.6 +Inherits=SliTaz-Faenza
     8.7 +Directories=16x16/actions,16x16/apps,22x22/status
     8.8 +
     8.9 +[16x16/actions]
    8.10 +Size=16
    8.11 +Context=Actions
    8.12 +Type=Threshold
    8.13 +
    8.14 +[16x16/apps]
    8.15 +Size=16
    8.16 +Context=Applications
    8.17 +Type=Threshold
    8.18 +
    8.19 +[22x22/status]
    8.20 +Size=22
    8.21 +Context=Status
    8.22 +Type=Threshold
     9.1 --- a/slitaz-icons-faenza/receipt	Tue Nov 03 11:20:58 2015 +0100
     9.2 +++ b/slitaz-icons-faenza/receipt	Thu Nov 05 21:30:50 2015 +0200
     9.3 @@ -22,5 +22,6 @@
     9.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     9.5  genpkg_rules()
     9.6  {
     9.7 -	:
     9.8 +	cp -f $stuff/start-here-slitaz-48.png \
     9.9 +		$fs/usr/share/icons/SliTaz-Faenza/48x48/places/start-here.png
    9.10  }
    10.1 Binary file slitaz-icons-faenza/stuff/start-here-slitaz-48.png has changed
    11.1 --- a/xarchiver/stuff/xarchiver.cgi	Tue Nov 03 11:20:58 2015 +0100
    11.2 +++ b/xarchiver/stuff/xarchiver.cgi	Thu Nov 05 21:30:50 2015 +0200
    11.3 @@ -33,7 +33,7 @@
    11.4  	</style>
    11.5  	<script type="text/javascript">
    11.6  	function inst(actpkg) {
    11.7 -		document.getElementById("installer").src = "http://localhost:82/pkgs.cgi?do=" + actpkg
    11.8 +		document.getElementById("installer").src = "http://127.0.0.1:82/user/pkgs.cgi?do=" + actpkg
    11.9  	}
   11.10  	function on_load(iframe) {
   11.11  		if (iframe.src !== "http://localhost/cgi-bin/xarchiver.cgi") {location.reload(false)}
   11.12 @@ -63,7 +63,7 @@
   11.13  			else
   11.14  				img=not; act=Install; desc="$(_ Install)"
   11.15  			fi
   11.16 -			echo "<tr><td><img src=\"?img=$img\" /> $pkg</td></td><td><button type=\"submit\" onclick='inst(\"${act}&${pkg2}\")'>$desc</button></td></tr>"
   11.17 +			echo "<tr><td><img src=\"?img=$img\" /> $pkg</td></td><td><button type=\"submit\" onclick='inst(\"${act}&pkg=${pkg2}\")'>$desc</button></td></tr>"
   11.18  		done
   11.19  		cat << EOT
   11.20  	</tbody>