wok rev 24657

updated icewm (1.6.4 -> 2.9.6)
author Hans-G?nter Theisgen
date Fri Mar 11 07:48:38 2022 +0100 (2022-03-11)
parents 33e6950ad273
children 997c40094d11
files icewm-lang/receipt icewm/description.txt icewm/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/icewm-lang/receipt	Fri Mar 11 07:48:38 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="icewm-lang"
     1.7 +VERSION="2.9.6"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Ice Window Manager - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://www.ice-wm.org/"
    1.13 +
    1.14 +WANTED="icewm"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/icewm/description.txt	Fri Mar 11 07:48:38 2022 +0100
     2.3 @@ -0,0 +1,13 @@
     2.4 +IceWM is a window manager for the X Window System.
     2.5 +The goal of IceWM is speed, simplicity, and not getting in the
     2.6 +user's way. It comes with a taskbar with pager, global and
     2.7 +per-window keybindings and a dynamic menu system.
     2.8 +Application windows can be managed by keyboard and mouse.
     2.9 +Windows can be iconified to the taskbar, to the tray, to the
    2.10 +desktop or be made hidden. They are controllable by a quick
    2.11 +switch window (Alt+Tab) and in a window list.
    2.12 +A handful of configurable focus models are menu-selectable.
    2.13 +Setups with multiple monitors are supported by RandR and Xinerama.
    2.14 +IceWM is very configurable, themeable and well documented.
    2.15 +It includes an optional external background wallpaper manager with
    2.16 +transparency support, a simple session manager and a system tray.
     3.1 --- a/icewm/receipt	Fri Mar 11 07:18:43 2022 +0100
     3.2 +++ b/icewm/receipt	Fri Mar 11 07:48:38 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="icewm"
     3.7 -VERSION="1.6.4"
     3.8 +VERSION="2.9.6"
     3.9  CATEGORY="x-window"
    3.10  TAGS="window-manager"
    3.11  SHORT_DESC="Ice Window Manager with Themes."
    3.12 @@ -12,15 +12,15 @@
    3.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.14  WGET_URL="https://github.com/ice-wm/$PACKAGE/archive/$VERSION.tar.gz"
    3.15  
    3.16 -DEPENDS="freetype gcc83-lib-base gdk-pixbuf gettext-base imlib xorg-libICE 
    3.17 -	xorg-libSM xorg-libX11 xorg-libXext xorg-libXft xorg-libXinerama 
    3.18 -	xorg-libXpm xorg-libXrandr xorg-libXrender"
    3.19 -BUILD_DEPENDS="asciidoc autoconf automake fontconfig-dev freetype-dev gcc83 
    3.20 -	gdk-pixbuf-dev gettext giflib-dev imlib-dev libtool pkg-config 
    3.21 -	util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev 
    3.22 -	xorg-libXext-dev xorg-libXft-dev xorg-libXinerama-dev xorg-libXpm-dev 
    3.23 -	xorg-libXrandr-dev xorg-libXrender-dev xorg-randrproto xorg-xextproto 
    3.24 -	xorg-xproto xz"
    3.25 +DEPENDS="freetype fribidi gcc83-lib-base gdk-pixbuf gettext-base imlib2
    3.26 +	libxml2 xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXft
    3.27 +	xorg-libXinerama xorg-libXpm xorg-libXrandr xorg-libXrender"
    3.28 +BUILD_DEPENDS="asciidoc autoconf automake fontconfig-dev freetype-dev
    3.29 +	fribidi-dev gcc83 gdk-pixbuf-dev gettext giflib-dev imlib2-dev
    3.30 +	libtool libxml2-dev pkg-config util-linux-uuid-dev xorg-libICE-dev
    3.31 +	xorg-libSM-dev xorg-libX11-dev xorg-libXext-dev xorg-libXft-dev
    3.32 +	xorg-libXinerama-dev xorg-libXpm-dev xorg-libXrandr-dev
    3.33 +	xorg-libXrender-dev xorg-randrproto xorg-xproto xorg-xextproto"
    3.34  
    3.35  current_version()
    3.36  {
    3.37 @@ -51,14 +51,38 @@
    3.38  	sed -i '/--errors="none"/d; /--nourls/d; /--poderrors/d' \
    3.39  		man/Makefile &&
    3.40  	make &&
    3.41 -	make DESTDIR=$DESTDIR install
    3.42 +	make install DESTDIR=$DESTDIR
    3.43  }
    3.44  
    3.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.46  genpkg_rules()
    3.47  {
    3.48 -	mkdir -p $fs/usr
    3.49 +	cook_copy_folders	bin
    3.50 +	cook_copy_folders	share
    3.51 +	rm -rf			$fs/usr/share/doc
    3.52 +	rm -rf			$fs/usr/share/locale
    3.53 +	rm -rf			$fs/usr/share/man
    3.54 +}
    3.55  
    3.56 -	cp -a $install/usr/bin		$fs/usr
    3.57 -	cp -a $install/usr/share	$fs/usr
    3.58 +post_install()
    3.59 +{
    3.60 +	# Add WM to SLIM available sessions.
    3.61 +	res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//)
    3.62 +	if ! echo "$res" | grep -q $PACKAGE
    3.63 +	  then
    3.64 +		echo -n "Adding $PACKAGE to /etc/slim.conf..."
    3.65 +		sed -i "s/^sessions.*/sessions            ${res},$PACKAGE/" \
    3.66 +			"$1/etc/slim.conf"
    3.67 +		status
    3.68 +	fi
    3.69 +	true
    3.70  }
    3.71 +
    3.72 +post_remove()
    3.73 +{
    3.74 +	# Remove WM from SLIM available sessions.
    3.75 +	if grep -q $PACKAGE "$1/etc/slim.conf"
    3.76 +	  then
    3.77 +		sed -i s/,$PACKAGE// "$1/etc/slim.conf"
    3.78 +	fi
    3.79 +}