From da711b86de52d552d75083bf055ce505c981af29 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 31 May 2016 22:25:37 +0100 Subject: [PATCH] desktop/qtile: Fix manpages, note deps. Signed-off-by: David Spencer --- desktop/qtile/README | 3 +++ desktop/qtile/qtile.SlackBuild | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/desktop/qtile/README b/desktop/qtile/README index ced42e39e5..3971c94b04 100644 --- a/desktop/qtile/README +++ b/desktop/qtile/README @@ -2,3 +2,6 @@ Qtile is simple, small, and extensible. It's easy to write your own layouts, widgets, and built-in commands. Qtile is written and configured entirely in Python, which means you can leverage the full power and flexibility of the language to make it fit your needs. + +You will need to build cairocffi with its optional python-xcffib +dependency. diff --git a/desktop/qtile/qtile.SlackBuild b/desktop/qtile/qtile.SlackBuild index e75e5ff806..1571312dbe 100644 --- a/desktop/qtile/qtile.SlackBuild +++ b/desktop/qtile/qtile.SlackBuild @@ -74,6 +74,10 @@ python setup.py install --root=$PKG 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 +mv $PKG/usr/share/man $PKG/usr/man +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 an xinitrc script mkdir -p $PKG/etc/X11/xinit install -m 0755 $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/xinitrc.$PRGNAM