# HG changeset patch # User Hans-G?nter Theisgen # Date 1646981318 -3600 # Node ID 750eba330f9cbfd8b5cb4429dcd2eb2f4b9dae38 # Parent 33e6950ad2732f37c59f6b39fecd6e2e615ede46 updated icewm (1.6.4 -> 2.9.6) diff -r 33e6950ad273 -r 750eba330f9c icewm-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/icewm-lang/receipt Fri Mar 11 07:48:38 2022 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="icewm-lang" +VERSION="2.9.6" +CATEGORY="localization" +SHORT_DESC="Ice Window Manager - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://www.ice-wm.org/" + +WANTED="icewm" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders locale +} diff -r 33e6950ad273 -r 750eba330f9c icewm/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/icewm/description.txt Fri Mar 11 07:48:38 2022 +0100 @@ -0,0 +1,13 @@ +IceWM is a window manager for the X Window System. +The goal of IceWM is speed, simplicity, and not getting in the +user's way. It comes with a taskbar with pager, global and +per-window keybindings and a dynamic menu system. +Application windows can be managed by keyboard and mouse. +Windows can be iconified to the taskbar, to the tray, to the +desktop or be made hidden. They are controllable by a quick +switch window (Alt+Tab) and in a window list. +A handful of configurable focus models are menu-selectable. +Setups with multiple monitors are supported by RandR and Xinerama. +IceWM is very configurable, themeable and well documented. +It includes an optional external background wallpaper manager with +transparency support, a simple session manager and a system tray. diff -r 33e6950ad273 -r 750eba330f9c icewm/receipt --- a/icewm/receipt Fri Mar 11 07:18:43 2022 +0100 +++ b/icewm/receipt Fri Mar 11 07:48:38 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="icewm" -VERSION="1.6.4" +VERSION="2.9.6" CATEGORY="x-window" TAGS="window-manager" SHORT_DESC="Ice Window Manager with Themes." @@ -12,15 +12,15 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/ice-wm/$PACKAGE/archive/$VERSION.tar.gz" -DEPENDS="freetype gcc83-lib-base gdk-pixbuf gettext-base imlib xorg-libICE - xorg-libSM xorg-libX11 xorg-libXext xorg-libXft xorg-libXinerama - xorg-libXpm xorg-libXrandr xorg-libXrender" -BUILD_DEPENDS="asciidoc autoconf automake fontconfig-dev freetype-dev gcc83 - gdk-pixbuf-dev gettext giflib-dev imlib-dev libtool pkg-config - util-linux-uuid-dev xorg-libICE-dev xorg-libSM-dev xorg-libX11-dev - xorg-libXext-dev xorg-libXft-dev xorg-libXinerama-dev xorg-libXpm-dev - xorg-libXrandr-dev xorg-libXrender-dev xorg-randrproto xorg-xextproto - xorg-xproto xz" +DEPENDS="freetype fribidi gcc83-lib-base gdk-pixbuf gettext-base imlib2 + libxml2 xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXft + xorg-libXinerama xorg-libXpm xorg-libXrandr xorg-libXrender" +BUILD_DEPENDS="asciidoc autoconf automake fontconfig-dev freetype-dev + fribidi-dev gcc83 gdk-pixbuf-dev gettext giflib-dev imlib2-dev + libtool libxml2-dev pkg-config util-linux-uuid-dev xorg-libICE-dev + xorg-libSM-dev xorg-libX11-dev xorg-libXext-dev xorg-libXft-dev + xorg-libXinerama-dev xorg-libXpm-dev xorg-libXrandr-dev + xorg-libXrender-dev xorg-randrproto xorg-xproto xorg-xextproto" current_version() { @@ -51,14 +51,38 @@ sed -i '/--errors="none"/d; /--nourls/d; /--poderrors/d' \ man/Makefile && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr + cook_copy_folders bin + cook_copy_folders share + rm -rf $fs/usr/share/doc + rm -rf $fs/usr/share/locale + rm -rf $fs/usr/share/man +} - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share $fs/usr +post_install() +{ + # Add WM to SLIM available sessions. + res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) + if ! echo "$res" | grep -q $PACKAGE + then + echo -n "Adding $PACKAGE to /etc/slim.conf..." + sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" \ + "$1/etc/slim.conf" + status + fi + true } + +post_remove() +{ + # Remove WM from SLIM available sessions. + if grep -q $PACKAGE "$1/etc/slim.conf" + then + sed -i s/,$PACKAGE// "$1/etc/slim.conf" + fi +}