desktop/pekwm: Updated for version 0.1.17, new maintainer.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Eugene M 2013-07-16 14:11:42 -05:00 committed by Erik Hanson
parent dac0f6f419
commit 2dc04d561f
7 changed files with 126 additions and 39 deletions

View file

@ -1,2 +1,11 @@
This window manager doesn't require any packages that aren't The Pek Window Manager a lightweight window manager with tabs
already provided by Slackware. Just run the SlackBuild and have fun :) based on aewm++.
-grouping windows in a single frame (tabbed windows);
-keychains (multi-level keybindings);
-mouse actions;
-root- and window-menus and keybindings for all menus;
-dynamic menus that regenerate on every view from a script output;
-multi-screen support via both XRandR and Xinerama;
-support for window placement;
-theming support with images, shaping and configurable buttons.

View file

@ -11,10 +11,15 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider... # Otherwise, we leave the .new copy for the admin to consider...
} }
config etc/pekwm/config.new
config etc/pekwm/start.new
config etc/pekwm/autoproperties.new config etc/pekwm/autoproperties.new
config etc/pekwm/mouse.new config etc/pekwm/autoproperties_typerules.new
config etc/pekwm/vars.new config etc/pekwm/config.new
config etc/pekwm/menu.new config etc/pekwm/config_system.new
config etc/pekwm/keys.new config etc/pekwm/keys.new
config etc/pekwm/menu.new
config etc/pekwm/mouse.new
config etc/pekwm/mouse_click.new
config etc/pekwm/mouse_sloppy.new
config etc/pekwm/mouse_system.new
config etc/pekwm/start.new
config etc/pekwm/vars.new

View file

@ -2,12 +2,32 @@
# Slackware build script for pekwm # Slackware build script for pekwm
# Written by Eugene Suter <easuter at gmail.com> # Copyright 2012, Eugene Suter, <easuter at gmail dot com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Eugene M. <damagedone at gmx dot com>
PRGNAM=pekwm PRGNAM=pekwm
VERSION=${VERSION:-0.1.11} VERSION=${VERSION:-0.1.17}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on: # Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -20,9 +40,9 @@ if [ -z "$ARCH" ]; then
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@ -67,24 +87,31 @@ CXXFLAGS="$SLKCFLAGS" \
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man find $PKG/usr/man -type f -exec gzip -9 {} \;
find . -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION find $PKG -name perllocal.pod \
cp -a \ -o -name ".packlist" \
AUTHORS LICENSE ChangeLog README NEWS \ -o -name "*.bs" \
$PKG/usr/doc/$PRGNAM-$VERSION | xargs rm -f
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
install -D -m0755 $CWD/xinitrc.pekwm $PKG/etc/X11/xinit/xinitrc.pekwm
install -D -m0644 $CWD/pekwm.desktop $PKG/usr/share/xsessions/pekwm.desktop
install -D -m0644 $CWD/pekwm.desktop $PKG/usr/share/apps/kdm/sessions/pekwm.desktop
for CONF in $PKG/etc/pekwm/* ; do for CONF in $PKG/etc/pekwm/* ; do
mv $CONF $CONF.new mv $CONF $CONF.new
done done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS ChangeLog INSTALL LICENSE NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/doinst.sh > $PKG/install/doinst.sh

View file

@ -0,0 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Name=PekWM
Comment= Lightweight window manager
Exec=/usr/bin/pekwm
Type=XSession

View file

@ -1,10 +1,10 @@
PRGNAM="pekwm" PRGNAM="pekwm"
VERSION="0.1.11" VERSION="0.1.17"
HOMEPAGE="http://pekwm.org/projects/pekwm" HOMEPAGE="https://pekwm.org"
DOWNLOAD="http://www.pekwm.org/projects/pekwm/files/pekwm-0.1.11.tar.bz2" DOWNLOAD="https://www.pekwm.org/projects/pekwm/files/pekwm-0.1.17.tar.bz2"
MD5SUM="79df6d01c48e6eb1907dcd3a8246410c" MD5SUM="514c04ff1c6123635c00e57443b5e86f"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""
MAINTAINER="nobody" MAINTAINER="Eugene M."
EMAIL="nobody" EMAIL="damagedone@gmx.com"

View file

@ -1,11 +1,19 @@
pekwm: Lightweight window manager for X # HOW TO EDIT THIS FILE:
pekwm: # The "handy ruler" below makes it easier to edit a package description. Line
pekwm: pekwm is a window manager that once up on a time was based # up the first '|' above the ':' following the base package name, and the '|'
pekwm: on the aewm++ window manager, but it has evolved enough that it # on the right side marks the last column you can put a character in. You must
pekwm: no longer resembles aewm++ at all. It has a much expanded # make exactly 11 lines for the formatting to be correct. It's also
pekwm: feature-set, including window grouping (similar to ion, pwm, # customary to leave one space after the ':' except on otherwise blank lines.
pekwm: or fluxbox), autoproperties, xinerama, keygrabber that supports
pekwm: keychains, and much more. |-----handy-ruler------------------------------------------------------|
pekwm: pekwm: pekwm (Lightweight window manager for X)
pekwm: Website: http://pekwm.org/projects/pekwm pekwm:
pekwm: License: GNU General Public License (v2) pekwm: The code is based on aewm++ wm, but it has evolved enough that it no
pekwm: longer resembles aewm++ at all. It also has an expanded feature-set,
pekwm: including window grouping, auto properties, xinerama and keygrabber
pekwm: that supports keychains, and much more.
pekwm:
pekwm:
pekwm: Homepage: https://www.pekwm.org
pekwm:
pekwm:

View file

@ -0,0 +1,32 @@
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session dbus-launch --exit-with-session /usr/bin/pekwm
else
exec /usr/bin/pekwm
fi