From 2ff7a6fdbf7c0dbc24e41bccd90e0e48ad959d60 Mon Sep 17 00:00:00 2001 From: LEVAI Daniel Date: Sat, 23 Aug 2014 23:22:00 +0700 Subject: [PATCH] desktop/spectrwm: Updated for version 2.6.0. Signed-off-by: Willy Sudiarto Raharjo --- desktop/spectrwm/doinst.sh | 2 ++ desktop/spectrwm/examples/spectrwm.conf | 1 + desktop/spectrwm/spectrwm.SlackBuild | 19 ++++--------------- desktop/spectrwm/spectrwm.info | 6 +++--- 4 files changed, 10 insertions(+), 18 deletions(-) diff --git a/desktop/spectrwm/doinst.sh b/desktop/spectrwm/doinst.sh index 5fb28930db..365e691611 100644 --- a/desktop/spectrwm/doinst.sh +++ b/desktop/spectrwm/doinst.sh @@ -1,3 +1,5 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +[ -x /sbin/ldconfig ] && /sbin/ldconfig 2>/dev/null diff --git a/desktop/spectrwm/examples/spectrwm.conf b/desktop/spectrwm/examples/spectrwm.conf index 385f383d66..d70ec89718 100644 --- a/desktop/spectrwm/examples/spectrwm.conf +++ b/desktop/spectrwm/examples/spectrwm.conf @@ -17,6 +17,7 @@ title_name_enabled = 1 # current window's title title_class_enabled = 1 # current window's class name window_name_enabled = 1 # current window's name urgent_enabled = 1 # information about the workspace's urgency hints +urgent_collapse = 1 # don't show placeholders for workspaces without urgent notifications iconic_enabled = 1 # show the number of iconified windows on the workspace verbose_layout = 0 # workspace's master and stack values diff --git a/desktop/spectrwm/spectrwm.SlackBuild b/desktop/spectrwm/spectrwm.SlackBuild index 90b88d0c47..39c5b4a17e 100644 --- a/desktop/spectrwm/spectrwm.SlackBuild +++ b/desktop/spectrwm/spectrwm.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=spectrwm -VERSION=${VERSION:-2.5.1} +VERSION=${VERSION:-2.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,7 +68,7 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; cd linux CFLAGS="$SLKCFLAGS" make \ @@ -87,19 +87,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr rm -f $PKG/usr/bin/scrotwm -# Fixup the manpages -( cd $PKG/usr/man - for lang in es it ru pt; do - mkdir -p $lang/man1 - mv man1/spectrwm_$lang.1 $lang/man1/spectrwm.1 - done - find . -type f -exec gzip -9 {} \; -) - -( cd $PKG/usr/lib$LIBDIRSUFFIX - ln -sf libswmhack.so.0.0 libswmhack.so - ln -sf libswmhack.so.0.0 libswmhack.so.0 -) +# Compress the manpages +( cd $PKG/usr/man; find . -type f -exec gzip -9 {} \; ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples/keybindings install -m0644 -oroot -groot initscreen.sh $CWD/examples/* \ diff --git a/desktop/spectrwm/spectrwm.info b/desktop/spectrwm/spectrwm.info index 22b48514ae..06ab6b147e 100644 --- a/desktop/spectrwm/spectrwm.info +++ b/desktop/spectrwm/spectrwm.info @@ -1,8 +1,8 @@ PRGNAM="spectrwm" -VERSION="2.5.1" +VERSION="2.6.0" HOMEPAGE="https://opensource.conformal.com/wiki/spectrwm" -DOWNLOAD="https://opensource.conformal.com/snapshots/spectrwm/spectrwm-2.5.1.tgz" -MD5SUM="d9aec3342920e31cbe60f1032571043a" +DOWNLOAD="https://opensource.conformal.com/snapshots/spectrwm/spectrwm-2.6.0.tgz" +MD5SUM="278acafe23d2fa2b1d7a3705bcbe95de" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""