mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
desktop/bspwm: Updated for version 0.8.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
581b0ac67e
commit
f714a15f4b
7 changed files with 4730 additions and 1655 deletions
|
@ -1,10 +1,5 @@
|
|||
bspwm (Binary space partitioning window manager)
|
||||
|
||||
bspwm is a tiling window manager that represents windows as the
|
||||
leaves of a full binary tree. It is controlled and configured
|
||||
via bspc.
|
||||
|
||||
before launching it, you need some configuration files: you can
|
||||
can find some example ones in /usr/doc/bspwm-$VERSION/examples:
|
||||
- bspwmrc, should go to ~/.config/bspwm/bspwmrc
|
||||
- sxhkdrc, should go to ~/.config/sxhkd/sxhkdrc
|
||||
|
||||
dmenu is an optional dependency.
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=bspwm
|
||||
VERSION=${VERSION:-0.8.7}
|
||||
VERSION=${VERSION:-0.8.8}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -69,10 +69,8 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# patch to git commit 8eb599400a
|
||||
patch -p1 < $CWD/patches/bspwm-0.8.7_8eb599400a.patch
|
||||
|
||||
sed -i "s|/lib$|/lib$LIBDIRSUFFIX|" Makefile
|
||||
# patch to git commit 0ca5bf31 (use -l due to major spaces to tabs conversion in Jan 2014)
|
||||
patch -l -p1 < $CWD/patches/bspwm-0.8.8_0ca5bf3.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -85,18 +83,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
|
|||
find $PKG/usr/man -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
|
||||
|
||||
# install a xinitrc file
|
||||
install -m 0755 -D $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/xinitrc.$PRGNAM.new
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
LICENSE doc/*.md doc/*.txt contrib examples \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a LICENSE doc/*.md doc/*.txt contrib examples $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="bspwm"
|
||||
VERSION="0.8.7"
|
||||
VERSION="0.8.8"
|
||||
HOMEPAGE="https://github.com/baskerville/bspwm"
|
||||
DOWNLOAD="https://github.com/baskerville/bspwm/archive/0.8.7.tar.gz"
|
||||
MD5SUM="8d9521b449ad9fc77cefbe0ecba9e2ae"
|
||||
DOWNLOAD="https://github.com/baskerville/bspwm/archive/0.8.8.tar.gz"
|
||||
MD5SUM="3f9fa85c48282605b54321e042eeaabf"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="%README% sxhkd"
|
||||
REQUIRES="sxhkd"
|
||||
MAINTAINER="John Vogel"
|
||||
EMAIL="jvogel4@stny.rr.com"
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
config() {
|
||||
NEW="$1"
|
||||
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
||||
# If there's no config file by that name, mv it over:
|
||||
if [ ! -r $OLD ]; then
|
||||
mv $NEW $OLD
|
||||
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
|
||||
# toss the redundant copy
|
||||
rm $NEW
|
||||
fi
|
||||
# Otherwise, we leave the .new copy for the admin to consider...
|
||||
}
|
||||
|
||||
config etc/X11/xinit/xinitrc.bspwm.new
|
File diff suppressed because it is too large
Load diff
4719
desktop/bspwm/patches/bspwm-0.8.8_0ca5bf3.patch
Normal file
4719
desktop/bspwm/patches/bspwm-0.8.8_0ca5bf3.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -12,7 +12,7 @@ bspwm: bspwm is a tiling window manager that represents windows as the
|
|||
bspwm: leaves of a full binary tree. It is controlled and configured
|
||||
bspwm: via bspc.
|
||||
bspwm:
|
||||
bspwm: homepage: https://github.com/baskerville/bspwm
|
||||
bspwm:
|
||||
bspwm:
|
||||
bspwm:
|
||||
bspwm:
|
||||
|
|
Loading…
Reference in a new issue