aboutsummaryrefslogtreecommitdiff
path: root/desktop/qtile
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-02-03 12:01:33 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-06 13:29:08 +0700
commit65831565aa94a8b39da5425c7f4d21f3447caad4 (patch)
treec04f4195969ae4b322429f2833190c651d42f3c4 /desktop/qtile
parent1b5d29f6c13082ea309eeca5784c9724354d9165 (diff)
desktop/qtile: Update for 0.20.0 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/qtile')
-rw-r--r--desktop/qtile/README2
-rw-r--r--desktop/qtile/qtile.SlackBuild14
-rw-r--r--desktop/qtile/qtile.info12
-rw-r--r--desktop/qtile/setup.patch18
4 files changed, 11 insertions, 35 deletions
diff --git a/desktop/qtile/README b/desktop/qtile/README
index 3971c94b04ed4..500af140c62b6 100644
--- a/desktop/qtile/README
+++ b/desktop/qtile/README
@@ -3,5 +3,5 @@ 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
+You will need to build cairocffi with its optional python3-xcffib
dependency.
diff --git a/desktop/qtile/qtile.SlackBuild b/desktop/qtile/qtile.SlackBuild
index 31acf70f96eb1..d5b1f4b3e3a03 100644
--- a/desktop/qtile/qtile.SlackBuild
+++ b/desktop/qtile/qtile.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for qtile
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qtile
-VERSION=${VERSION:-0.13.0}
+VERSION=${VERSION:-0.20.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,18 +80,11 @@ 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
+python3 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
diff --git a/desktop/qtile/qtile.info b/desktop/qtile/qtile.info
index dfc7920f81413..1f4c39c3bfe88 100644
--- a/desktop/qtile/qtile.info
+++ b/desktop/qtile/qtile.info
@@ -1,10 +1,10 @@
PRGNAM="qtile"
-VERSION="0.13.0"
+VERSION="0.20.0"
HOMEPAGE="http://qtile.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/7b/f8/ea37a6ccb503ffb37f38c107172da614aa29c248aeaa636d0b52013db263/qtile-0.13.0.tar.gz"
-MD5SUM="edf88379b66886d6ed351489773d7c44"
+DOWNLOAD="https://files.pythonhosted.org/packages/63/6a/0d39939183c02a328784a270b85b6b54fc55146a20b4f10164b50aa8d210/qtile-0.20.0.tar.gz"
+MD5SUM="f309d0bb77d2e12979dbabf0f7117e66"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-xcffib cairocffi trollius"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+REQUIRES="python3-xcffib cairocffi"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu1@isaacyu1.com"
diff --git a/desktop/qtile/setup.patch b/desktop/qtile/setup.patch
deleted file mode 100644
index 8de9f714219f6..0000000000000
--- a/desktop/qtile/setup.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- 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',