summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2018-03-04 19:09:05 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-06 02:04:10 +0700
commit38e94eb56cd47cb2548fd5e83bca8c92575ac9d4 (patch)
treed1a989e14908f5c8df54407956e71fae0383f48b
parent450fa1c011433c19e5347c7b70df19eee14070be (diff)
downloadslackbuilds-38e94eb56cd47cb2548fd5e83bca8c92575ac9d4.tar.gz
desktop/qtile: Updated for version 0.11.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--desktop/qtile/qtile.SlackBuild9
-rw-r--r--desktop/qtile/qtile.info6
-rw-r--r--desktop/qtile/setup.patch18
3 files changed, 27 insertions, 6 deletions
diff --git a/desktop/qtile/qtile.SlackBuild b/desktop/qtile/qtile.SlackBuild
index 16eb08eff9..14c17b6ccb 100644
--- a/desktop/qtile/qtile.SlackBuild
+++ b/desktop/qtile/qtile.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for qtile
-# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qtile
-VERSION=${VERSION:-0.10.7}
+VERSION=${VERSION:-0.11.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,6 +69,9 @@ 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 {} \;
+# Fix setup install for Slackware
+patch -p1 < $CWD/setup.patch
+
python setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/desktop/qtile/qtile.info b/desktop/qtile/qtile.info
index 3ceec242aa..7bca9d3e51 100644
--- a/desktop/qtile/qtile.info
+++ b/desktop/qtile/qtile.info
@@ -1,8 +1,8 @@
PRGNAM="qtile"
-VERSION="0.10.7"
+VERSION="0.11.1"
HOMEPAGE="http://qtile.org"
-DOWNLOAD="https://github.com/qtile/qtile/archive/v0.10.7.tar.gz"
-MD5SUM="27c8d7dd20e153a5ae15906a3bb907db"
+DOWNLOAD="https://pypi.python.org/packages/15/c1/8aabcfa7fef59a5c18b99c77f692f525d78a3509e9784ac68c16e496664f/qtile-0.11.1.tar.gz"
+MD5SUM="88a4819b9f62ce6cb68aaa2ad8a82cfa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python-xcffib cairocffi trollius"
diff --git a/desktop/qtile/setup.patch b/desktop/qtile/setup.patch
new file mode 100644
index 0000000000..8de9f71421
--- /dev/null
+++ b/desktop/qtile/setup.patch
@@ -0,0 +1,18 @@
+--- qtile-0.11.1/setup.py.orig 2018-03-04 19:04:35.588264201 +0100
++++ qtile-0.11.1/setup.py 2018-03-04 19:05:20.151265263 +0100
+@@ -121,7 +121,6 @@
+ url="http://qtile.org",
+ license="MIT",
+ install_requires=dependencies,
+- setup_requires=dependencies,
+ extras_require={
+ 'ipython': ["ipykernel", "jupyter_console"],
+ },
+@@ -155,7 +154,6 @@
+ data_files=[
+ ('share/man/man1', ['resources/qtile.1',
+ 'resources/qshell.1'])],
+- cmdclass={'install': CheckCairoXcb},
+ cffi_modules=[
+ 'libqtile/ffi_build.py:pango_ffi',
+ 'libqtile/ffi_build.py:xcursors_ffi',