mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
desktop/qtile: Updated for version 0.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
5ed6e7e52a
commit
baba4a93b6
6 changed files with 64 additions and 27 deletions
|
@ -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
|
||||
|
|
3
desktop/qtile/doinst.sh
Normal file
3
desktop/qtile/doinst.sh
Normal file
|
@ -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
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
30
desktop/qtile/xinitrc.qtile
Normal file
30
desktop/qtile/xinitrc.qtile
Normal file
|
@ -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
|
Loading…
Reference in a new issue