wok rev 25120
updated pekwm (0.1.17 -> 0.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 26 10:18:40 2022 +0100 (2022-06-26) |
parents | ee5fb3889f59 |
children | 59f9785240b0 |
files | pekwm/description.txt pekwm/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pekwm/description.txt Sun Jun 26 10:18:40 2022 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +Pekwm, a window manager written by Claes Nästén that was once 1.5 +based on the aewm++ window manager, but has since evolved enough 1.6 +that it no longer resembles aewm++ at all. 1.7 +It also has an expanded feature-set, including window grouping 1.8 +(similar to ion, pwm, or fluxbox), auto properties, Xinerama 1.9 +support and keygrabber that supports keychains, and much more. 1.10 + 1.11 +Here's a short list of some of the features included in pekwm: 1.12 + 1.13 +- Possibility to group windows in a single frame 1.14 +- Configurable keygrabber that supports keychains 1.15 +- Configurable mouse actions 1.16 +- Configurable root- and window-menus and keybindings for all menus 1.17 +- Dynamic menus that regenerate on every view from a script output 1.18 +- Multi-screen support both via RandR and Xinerama 1.19 +- Configurable window placement 1.20 +- Theming support with images, shaping and configurable buttons. 1.21 +- Autoproperties (Automatic properties such as a window's sticky 1.22 + state, etc.)
2.1 --- a/pekwm/receipt Sun Jun 26 09:56:47 2022 +0100 2.2 +++ b/pekwm/receipt Sun Jun 26 10:18:40 2022 +0100 2.3 @@ -1,20 +1,20 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="pekwm" 2.7 -VERSION="0.1.17" 2.8 +VERSION="0.2.1" 2.9 CATEGORY="x-window" 2.10 TAGS="window-manager" 2.11 SHORT_DESC="Very light, configurable and themable window manager for X." 2.12 MAINTAINER="jozee@slitaz.org" 2.13 LICENSE="GPL2" 2.14 -WEB_SITE="https://www.pekwm.org/" 2.15 +WEB_SITE="https://www.pekwm.se/" 2.16 2.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.18 WGET_URL="https://github.com/pekdon/$PACKAGE/archive/release-$VERSION.tar.gz" 2.19 2.20 -SUGGESTED="hsetroot tint2 lxpanel wbar xorg-xprop xorg-xev xdotool wmctrl" 2.21 -DEPENDS="xorg-libX11 xorg-libXinerama xorg-libXft xorg-libXrandr xorg-libXpm" 2.22 -BUILD_DEPENDS="libtool xorg-dev xorg-dev-proto zlib-dev automake" 2.23 +SUGGESTED="hsetroot lxpanel tint2 wbar wmctrl xdotool xorg-xev xorg-xprop" 2.24 +DEPENDS="xorg-libX11 xorg-libXft xorg-libXinerama xorg-libXpm xorg-libXrandr" 2.25 +BUILD_DEPENDS="cmake xorg-dev xorg-dev-proto zlib-dev" 2.26 2.27 current_version() 2.28 { 2.29 @@ -25,35 +25,32 @@ 2.30 # Rules to configure and make the package. 2.31 compile_rules() 2.32 { 2.33 - ./autogen.sh && 2.34 - ./configure \ 2.35 - --prefix=/usr \ 2.36 - --sysconfdir=/etc \ 2.37 - $CONFIGURE_ARGS && 2.38 + mkdir _build 2.39 + cd _build 2.40 + cmake .. \ 2.41 + -D CMAKE_INSTALL_PREFIX=/usr && 2.42 make && 2.43 - make DESTDIR=$DESTDIR install 2.44 + make install DESTDIR=$DESTDIR 2.45 } 2.46 2.47 # Rules to gen a SliTaz package suitable for Tazpkg. 2.48 genpkg_rules() 2.49 { 2.50 - mkdir -p $fs/usr/bin 2.51 - mkdir -p $fs/usr/share/pekwm 2.52 - mkdir -p $fs/etc 2.53 + mkdir -p $fs/usr/share 2.54 2.55 + cp -a $install/etc $fs 2.56 cp -a $install/usr/bin $fs/usr 2.57 cp -a $install/usr/share/pekwm $fs/usr/share 2.58 - cp -a $install/etc $fs 2.59 2.60 # Custom configuration files and scripts 2.61 cp -a $stuff/etc $fs 2.62 cp -a $stuff/scripts $fs/usr/share/pekwm 2.63 2.64 # Set permissions 2.65 - chown -R root.root $fs 2.66 - chmod +x $fs/etc/pekwm/start 2.67 - chmod +x $fs/usr/share/pekwm/scripts/* 2.68 - chmod 0755 $fs/usr/bin/pekwm 2.69 + chown -R root.root $fs 2.70 + chmod +x $fs/etc/pekwm/start 2.71 + chmod +x $fs/usr/share/pekwm/scripts/* 2.72 + chmod 0755 $fs/usr/bin/pekwm 2.73 } 2.74 2.75 post_install() 2.76 @@ -61,26 +58,30 @@ 2.77 # Pekwm searches for default font path (100dpi folder) for xserver to render 2.78 # menus; either manually set it in .xinitrc or fake 100dpi folder fonts 2.79 # by linking to ttf-dejavu 2.80 - if [ ! -d "$1/usr/share/fonts/X11/100dpi/" ]; then 2.81 + if [ ! -d "$1/usr/share/fonts/X11/100dpi/" ] 2.82 + then 2.83 mkdir -p "$1/usr/share/fonts/X11/100dpi" 2.84 cd "$1/usr/share/fonts/X11/100dpi" 2.85 ln -s ../../truetype/ttf-dejavu/* . 2.86 fi 2.87 - 2.88 + 2.89 res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) 2.90 - # Adding WM to SLIM available sessions. 2.91 - if ! echo "$res" | grep -q $PACKAGE; then 2.92 + # Adding window manager to SLIM available sessions. 2.93 + if ! echo "$res" | grep -q $PACKAGE 2.94 + then 2.95 echo 2.96 echo -n "Adding $PACKAGE to /etc/slim.conf..." 2.97 - sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" "$1/etc/slim.conf" 2.98 + sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" \ 2.99 + "$1/etc/slim.conf" 2.100 status 2.101 fi 2.102 } 2.103 2.104 post_remove() 2.105 { 2.106 - # Remove WM from SLIM available sessions. 2.107 - if grep -q $PACKAGE "$1/etc/slim.conf"; then 2.108 + # Remove window manager from SLIM available sessions. 2.109 + if grep -q $PACKAGE "$1/etc/slim.conf" 2.110 + then 2.111 sed -i s/,$PACKAGE// "$1/etc/slim.conf" 2.112 fi 2.113 }