diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-04-23 16:56:58 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-04-27 12:18:14 -0500 |
commit | baba4a93b6738bdd0d69568b3dbf7fab08e6371f (patch) | |
tree | 46bf2be26140e3ca43b9b7d9540f35861b41cac1 /desktop | |
parent | 5ed6e7e52a9894fa554104ced1ae51ec1366ee08 (diff) | |
download | slackbuilds-baba4a93b6738bdd0d69568b3dbf7fab08e6371f.tar.gz |
desktop/qtile: Updated for version 0.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/qtile/README | 18 | ||||
-rw-r--r-- | desktop/qtile/doinst.sh | 3 | ||||
-rw-r--r-- | desktop/qtile/qtile.SlackBuild | 12 | ||||
-rw-r--r-- | desktop/qtile/qtile.info | 10 | ||||
-rw-r--r-- | desktop/qtile/slack-desc | 18 | ||||
-rw-r--r-- | desktop/qtile/xinitrc.qtile | 30 |
6 files changed, 64 insertions, 27 deletions
diff --git a/desktop/qtile/README b/desktop/qtile/README index 1bb1c70c73..0518e71b3b 100644 --- a/desktop/qtile/README +++ b/desktop/qtile/README @@ -1,12 +1,8 @@ -qtile is a full-featured, pure-Python tiling window manager: -- it's simple, small and extensible. -- it's easy to write you own layouts, widgets and commands. -- it's configured in Python. -- it has a command shell that allows all aspects of Qtile to be - managed and inspected. -- complete remote scriptability - write scripts to set up workspaces, - manipulate windows, update status bar widgets and more: this makes - it one of the most thoroughly unit-tested window mangers around. +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. -NOTE: for this to run you need to rebuild Slackware's pycairo with -the additional configure option --enable-xcb. +NOTE: requiring rebuild Slackware's pycairo with +additional configure option --enable-xcb. +http://mirrors.slackware.com/slackware/slackware64-14.1/source/l/pycairo diff --git a/desktop/qtile/doinst.sh b/desktop/qtile/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/desktop/qtile/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/desktop/qtile/qtile.SlackBuild b/desktop/qtile/qtile.SlackBuild index 6ec3544025..58c7536dd6 100644 --- a/desktop/qtile/qtile.SlackBuild +++ b/desktop/qtile/qtile.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qtile -VERSION=${VERSION:-0.6} +VERSION=${VERSION:-0.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,12 +74,20 @@ 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 +# Install an xinitrc script +mkdir -p $PKG/etc/X11/xinit +install -m 0755 $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/xinitrc.$PRGNAM + +# example for default config file maybe installed ~/$USER/.config/qtile +CONFIG="libqtile/resources/default_config.py" + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst LICENSE INSTALL.rst MANIFEST.in CHANGELOG $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst LICENSE INSTALL.rst CHANGELOG $CONFIG $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} diff --git a/desktop/qtile/qtile.info b/desktop/qtile/qtile.info index 7504acc307..a756f3d6b8 100644 --- a/desktop/qtile/qtile.info +++ b/desktop/qtile/qtile.info @@ -1,10 +1,10 @@ PRGNAM="qtile" -VERSION="0.6" -HOMEPAGE="http://qtile.org/" -DOWNLOAD="https://github.com/qtile/qtile/archive/v0.6.tar.gz" -MD5SUM="76489384fa3e6a3bea7a05268456a91f" +VERSION="0.7.0" +HOMEPAGE="http://qtile.org" +DOWNLOAD="https://github.com/qtile/qtile/archive/v0.7.0.tar.gz" +MD5SUM="c957948fd52f835dda540710b9a351f3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="%README% pygtksourceview pysetuptools" +REQUIRES="pysetuptools" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" diff --git a/desktop/qtile/slack-desc b/desktop/qtile/slack-desc index bfb27e4f49..32b9a0b3e1 100644 --- a/desktop/qtile/slack-desc +++ b/desktop/qtile/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| qtile: qtile (tiling window manager) qtile: -qtile: qtile is a full-featured, pure-Python tiling window manager: -qtile: - it's simple, small and extensible. -qtile: - it's easy to write you own layouts, widgets and commands. -qtile: - it's configured in Python. -qtile: - it has a command shell that allows all aspects of Qtile to be -qtile: managed and inspected. -qtile: - complete remote scriptability - write scripts to set up workspaces, -qtile: manipulate windows, update status bar widgets and more: this makes -qtile: it one of the most thoroughly unit-tested window mangers around. +qtile: Qtile is simple, small, and extensible. It's easy to write your own +qtile: layouts, widgets, and built-in commands. Qtile is written and +qtile: configured entirely in Python, which means you can leverage the full +qtile: power and flexibility of the language to make it fit your needs. +qtile: +qtile: Homepage: http://qtile.org +qtile: +qtile: +qtile: diff --git a/desktop/qtile/xinitrc.qtile b/desktop/qtile/xinitrc.qtile new file mode 100644 index 0000000000..a2c7cde278 --- /dev/null +++ b/desktop/qtile/xinitrc.qtile @@ -0,0 +1,30 @@ +#!/bin/sh + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# Merge in defaults and keymaps +if [ -f $sysresources ]; then + xrdb -merge $sysresources +fi + +if [ -f $sysmodmap ]; then + xmodmap $sysmodmap +fi + +if [ -f $userresources ]; then + xrdb -merge $userresources +fi + +if [ -f $usermodmap ]; then + xmodmap $usermodmap +fi + +# Start qtile +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then + exec ck-launch-session qtile +else + exec qtile +fi |