summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-11-13 05:03:12 +0000
committerTim Harder <radhermit@gentoo.org>2012-11-13 05:03:12 +0000
commit9ecce6542e16a41e9b1907f7b2b07069773e1f2b (patch)
tree2795864495d6cf57ef28e3f93fe080972cb340f7 /x11-wm
parentInitial import, ebuild by me (bug #442820). (diff)
downloadhistorical-9ecce6542e16a41e9b1907f7b2b07069773e1f2b.tar.gz
historical-9ecce6542e16a41e9b1907f7b2b07069773e1f2b.tar.bz2
historical-9ecce6542e16a41e9b1907f7b2b07069773e1f2b.zip
Initial import, ebuild by me (bug #442820).
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/qtile/Manifest20
-rw-r--r--x11-wm/qtile/files/qtile-session89
-rw-r--r--x11-wm/qtile/metadata.xml8
-rw-r--r--x11-wm/qtile/qtile-0.5.ebuild61
-rw-r--r--x11-wm/qtile/qtile-9999.ebuild62
5 files changed, 237 insertions, 3 deletions
diff --git a/x11-wm/qtile/Manifest b/x11-wm/qtile/Manifest
index 1e04cd2d7514..36f9ff5efee8 100644
--- a/x11-wm/qtile/Manifest
+++ b/x11-wm/qtile/Manifest
@@ -1,6 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX qtile-session 1854 SHA256 848ebde7357aa27e94c7b2e6d4f0eb670ce9ddf0528b58e8019944cada4f7131 SHA512 4d7418316f6baeaa28b254f341c74641004bd58444c425f626c92e44bff046ec108d128a9e91c10daae75b222c5758e8f0e8a5e3b778b2af36409f4d4b778cbe WHIRLPOOL fc591eb8c5ef8f3457f847e7577f915c8dbee381607760a556204114c6ea88ab0071624070d7dafd849b3888d7a930a77ff55bac1fcb267e9bab74d0fe5961bf
DIST qtile-0.5.tar.gz 317041 SHA256 f80cd73d6655ab53baa6ae11afb9561f724515052e4ba570e6e978abc78c1167 SHA512 2af8a13dcc355b4f556e77a7c78235eb39e9112631750d6680cc1d96c7895ffd3c8ac937ec8b796f4e3f841d39b10aafb930b440addfd8e2fc951e2010e3dc98 WHIRLPOOL d88f70906de570d129aae38ff9ca7a829aa1d9b6d61a179a0cf4ad798d9314c9364a905739168a60b9c37384c13034172920c76cef0981a26df04544e94fe472
-EBUILD qtile-0.5.ebuild 1275 SHA256 3e7c52a77740d7594bfa6b92908fc9c3e7315321f7d4a1b2e9ae8cc44aa70125 SHA512 08fb353746995904613f04ffc82426b5f25aaa45cbf7675e265603176c5c548b5a9370c263c4dd52100240a50b943dadc76356ec141c1cc0c29e2b9b839c6359 WHIRLPOOL ed43df1341417e06b367dda55b4a80b9fa85bb33b58fb339c8c33eaba5b740ad5bdc0f6b98a7c3d77ff910bedf78545dd40c60a6a16c0c670e453452c8938e8d
-EBUILD qtile-9999.ebuild 1229 SHA256 9284c610fb702a50e6a74efef2ace0cd064bf3cafb91e9fb44a84ca725fe8002 SHA512 c042820d041e495a0981c9acb64d8afa8f608a59d35b050dd120414167bdf47726c6270f60529b0c4affb1414705aa0b899b73e2002d87435483e76e0a6a417b WHIRLPOOL 8525eead892e9744bd581c0771d978471498e7d1ebc73302f84d8a44357a28c9ca628f24f8879ce48d921a69e89a9bfd661a7c3ea324ac0205eec11176b0be53
-MISC ChangeLog 339 SHA256 b0863665284eb5b5d2f491f209163829a2a167442634d1010aaf3d1f9568610b SHA512 fc88078a72a885db96bcbfce092efa7f1243fe8218a054b3414aa3ce73b92213bc2d1601b8c6f9fe1cfbdc7ed2776aecfb4d2d3b96f6f2e47ffd81ace0a3ec83 WHIRLPOOL 048e84e2ddfa6e5b7bbb3e21e661ef56fb8398701abfc4d072312b06dd9b473ae054b0496b64a2e821d536f216e7483c0f44be10466ce30b809cdd9cdadf1946
+EBUILD qtile-0.5.ebuild 1369 SHA256 b41e591c6b5ec90c6283a7f3e9127f15958d89f76f14334e0004675bfb878c26 SHA512 f871306688ef606785e042e749817448c7475662a6667571bd3d93df700c6b8a47898ea985c6c92f7c03614d2c84f72eb6557eae342f1ee69065c03c323f928e WHIRLPOOL 68c1759b4e232abd8cd306b9be9150616fbe2d8648a3f18aa67e70b0ae4c6a0daec2aabc6a4632a1b0d831fedf8e5acb19d9e5ab8ef015c54d6aa43cbe0a9ece
+EBUILD qtile-9999.ebuild 1324 SHA256 34f5fe4a67b1d682fb1aa8ebc0c4c96c3dc1c7afcd30084dfe67fa27b1e58b95 SHA512 38b79243085971773b614907ac7e5478fdff77c315d98afb512fa998347d589f089a7ef43bdd6d6bb609db5a5dc09a043fdd360d6f1256a48490ebdcc435b9bf WHIRLPOOL 37e4e952752926d1c6213bcd60949a9412cfcd4c75275f7b0457fc74476b345d02428ddb7624d2be06cad704572c41089d423a97be1b761a9cfd61842341d565
+MISC ChangeLog 426 SHA256 35ee2b78401ca138026af292e65651f2828fa76901ceeb4103b6a3543d38e4d2 SHA512 9f70c8857060119e9c3210813e4f5f16fab49305ab6f153f9b5c208aaa0456ffe9adab33554956be9b8628024c7a37ebdaede636f52001a31700667254d55f35 WHIRLPOOL e32845f6014a92511704e642517e1b2a5210fd32738887def0e92ff97f47ac06bc0bc0170d5878b821377927acd0d1ea6f57686c4e86a10096b915f82d18be50
MISC metadata.xml 232 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a SHA512 6952f63da1c92a4ed7ddb87b5eb4003d123f0b7af6ffdbc9118159c97ddf18917e8ac7727285a42c07c64e52a40335bc2ef9f17261557617beb8c2226a391873 WHIRLPOOL 0a4441f075f8af01588da2aac3e03732f93463b8bea5e46749d37e1468452735d15f45243b930b3346c93734f8aa235a492030445fee471a95d2c5998f08e7de
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQodSPAAoJEEqz6FtPBkyjXloH/RtboMcPWK4JOuPHxw2hca0z
+EQgF0mew2qTKNfk98/7PrtBNJcC0Mj2C1z8zREOQ500KdY+i5+K9UiP+xoiJB7cg
+6CZSwaDj2V7QvyfDbpPgEQU0xSsuhyPrNp/virT6Kl/r2hU4fSVFwXFmGkhD945r
+pcR+Z77YNip7BIMaBVUWf/WnAH6NW+K1nfJhv+HsN+nHeQ1er83rBpPC0krQWHil
+shvaWeTiHbvQ7H5V6JV8sKh9mGSN8/BJhqf4fILFiuqhSQhzNsVlkvgxKFNHzTjd
+wzd9MkIi2GsqgZtswO6phUelcaK04LPBYcsEv/M5WnZZrd6Q5QYX/mok28RaAJI=
+=UX4Y
+-----END PGP SIGNATURE-----
diff --git a/x11-wm/qtile/files/qtile-session b/x11-wm/qtile/files/qtile-session
new file mode 100644
index 000000000000..56a96ddd79ea
--- /dev/null
+++ b/x11-wm/qtile/files/qtile-session
@@ -0,0 +1,89 @@
+#!/bin/sh
+# qtile Xsession starter, based on Xsession from x11-apps/xinit
+
+# redirect errors to a file in user's home directory if we can
+for errfile in "$HOME/.qtile-errors" "${TMPDIR-/tmp}/qtile-$USER" "/tmp/qtile-$USER"
+do
+ if ( cp /dev/null "$errfile" 2> /dev/null )
+ then
+ chmod 600 "$errfile"
+ exec > "$errfile" 2>&1
+ break
+ fi
+done
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+userxkbmap=$HOME/.Xkbmap
+
+sysresources=/etc/X11/Xresources
+sysmodmap=/etc/X11/Xmodmap
+sysxkbmap=/etc/X11/Xkbmap
+
+rh6sysresources=/etc/X11/xinit/Xresources
+rh6sysmodmap=/etc/X11/xinit/Xmodmap
+
+# merge in defaults
+if [ -f "$rh6sysresources" ]; then
+ xrdb -merge "$rh6sysresources"
+fi
+
+if [ -f "$sysresources" ]; then
+ xrdb -merge "$sysresources"
+fi
+
+if [ -f "$userresources" ]; then
+ xrdb -merge "$userresources"
+fi
+
+# merge in keymaps
+if [ -f "$sysxkbmap" ]; then
+ setxkbmap `cat "$sysxkbmap"`
+ XKB_IN_USE=yes
+fi
+
+if [ -f "$userxkbmap" ]; then
+ setxkbmap `cat "$userxkbmap"`
+ XKB_IN_USE=yes
+fi
+
+#
+# Eeek, this seems like too much magic here
+#
+if [ -z "$XKB_IN_USE" -a ! -L /etc/X11/X ]; then
+ if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f /etc/X11/XF86Config ]; then
+ xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[ ]*"\(.*\)".*$/\1/p' /etc/X11/XF86Config /etc/X11/xorg.conf`
+ if [ -n "$xkbsymbols" ]; then
+ setxkbmap -symbols "$xkbsymbols"
+ XKB_IN_USE=yes
+ fi
+ fi
+fi
+
+# xkb and xmodmap don't play nice together
+if [ -z "$XKB_IN_USE" ]; then
+ if [ -f "$rh6sysmodmap" ]; then
+ xmodmap "$rh6sysmodmap"
+ fi
+
+ if [ -f "$sysmodmap" ]; then
+ xmodmap "$sysmodmap"
+ fi
+
+ if [ -f "$usermodmap" ]; then
+ xmodmap "$usermodmap"
+ fi
+fi
+
+unset XKB_IN_USE
+
+# run all system xinitrc shell scripts.
+if [ -d /etc/X11/xinit/xinitrc.d ]; then
+ for i in /etc/X11/xinit/xinitrc.d/* ; do
+ if [ -x "$i" ]; then
+ . "$i"
+ fi
+ done
+fi
+
+exec /usr/bin/qtile
diff --git a/x11-wm/qtile/metadata.xml b/x11-wm/qtile/metadata.xml
new file mode 100644
index 000000000000..157326a7e891
--- /dev/null
+++ b/x11-wm/qtile/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-wm/qtile/qtile-0.5.ebuild b/x11-wm/qtile/qtile-0.5.ebuild
new file mode 100644
index 000000000000..1d3c029cc79d
--- /dev/null
+++ b/x11-wm/qtile/qtile-0.5.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/qtile/qtile-0.5.ebuild,v 1.1 2012/11/13 05:03:09 radhermit Exp $
+
+EAPI="5"
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_MODNAME="libqtile"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils vcs-snapshot virtualx
+
+DESCRIPTION="A full-featured, hackable tiling window manager written in Python"
+HOMEPAGE="http://qtile.org/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-python/pycairo-1.10.0-r3[xcb]
+ dev-python/pygtk:2
+ >=x11-libs/xpyb-1.3.1"
+DEPEND="doc? ( dev-python/sphinx )
+ test? (
+ ${RDEPEND}
+ dev-python/python-xlib
+ x11-base/xorg-server[kdrive]
+ )"
+
+# tests fail due to xauth errors from python-xlib
+RESTRICT="test"
+
+DOCS="TODO.rst"
+
+src_compile() {
+ distutils_src_compile
+ use doc && emake -C docs html
+}
+
+src_test() {
+ testing() {
+ VIRTUALX_COMMAND="nosetests"
+ PYTHONPATH="build-${PYTHON_ABI}/lib" virtualmake
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ use doc && dohtml -r docs/_build/html/*
+
+ insinto /usr/share/xsessions
+ doins resources/qtile.desktop
+
+ exeinto /etc/X11/Sessions
+ newexe "${FILESDIR}"/${PN}-session ${PN}
+}
diff --git a/x11-wm/qtile/qtile-9999.ebuild b/x11-wm/qtile/qtile-9999.ebuild
new file mode 100644
index 000000000000..1108acc1d020
--- /dev/null
+++ b/x11-wm/qtile/qtile-9999.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/qtile/qtile-9999.ebuild,v 1.1 2012/11/13 05:03:09 radhermit Exp $
+
+EAPI="5"
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_MODNAME="libqtile"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit git-2 distutils virtualx
+
+EGIT_REPO_URI="git://github.com/qtile/qtile.git"
+
+DESCRIPTION="A full-featured, hackable tiling window manager written in Python"
+HOMEPAGE="http://qtile.org/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc test"
+
+RDEPEND=">=dev-python/pycairo-1.10.0-r3[xcb]
+ dev-python/pygtk:2
+ >=x11-libs/xpyb-1.3.1"
+DEPEND="doc? ( dev-python/sphinx )
+ test? (
+ ${RDEPEND}
+ dev-python/python-xlib
+ x11-base/xorg-server[kdrive]
+ )"
+
+# tests fail due to xauth errors from python-xlib
+RESTRICT="test"
+
+DOCS="TODO.rst"
+
+src_compile() {
+ distutils_src_compile
+ use doc && emake -C docs html
+}
+
+src_test() {
+ testing() {
+ VIRTUALX_COMMAND="nosetests"
+ PYTHONPATH="build-${PYTHON_ABI}/lib" virtualmake
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ use doc && dohtml -r docs/_build/html/*
+
+ insinto /usr/share/xsessions
+ doins resources/qtile.desktop
+
+ exeinto /etc/X11/Sessions
+ newexe "${FILESDIR}"/${PN}-session ${PN}
+}