diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-wm/qtile |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/qtile')
-rw-r--r-- | x11-wm/qtile/Manifest | 9 | ||||
-rw-r--r-- | x11-wm/qtile/files/qtile-session | 89 | ||||
-rw-r--r-- | x11-wm/qtile/metadata.xml | 11 | ||||
-rw-r--r-- | x11-wm/qtile/qtile-0.10.5.ebuild | 55 | ||||
-rw-r--r-- | x11-wm/qtile/qtile-0.10.6.ebuild | 57 | ||||
-rw-r--r-- | x11-wm/qtile/qtile-9999.ebuild | 57 |
6 files changed, 278 insertions, 0 deletions
diff --git a/x11-wm/qtile/Manifest b/x11-wm/qtile/Manifest new file mode 100644 index 000000000000..dedb4817f4ee --- /dev/null +++ b/x11-wm/qtile/Manifest @@ -0,0 +1,9 @@ +AUX qtile-session 1854 SHA256 848ebde7357aa27e94c7b2e6d4f0eb670ce9ddf0528b58e8019944cada4f7131 SHA512 4d7418316f6baeaa28b254f341c74641004bd58444c425f626c92e44bff046ec108d128a9e91c10daae75b222c5758e8f0e8a5e3b778b2af36409f4d4b778cbe WHIRLPOOL fc591eb8c5ef8f3457f847e7577f915c8dbee381607760a556204114c6ea88ab0071624070d7dafd849b3888d7a930a77ff55bac1fcb267e9bab74d0fe5961bf +DIST qtile-0.10.5.tar.gz 325311 SHA256 1dd9512900d7c9eeb40c2d6bac400485e80eb5093083eea095f77b22fb126850 SHA512 00fbeaa17921eb2d4014c979bcd1f81f22e155606b13340f4653c262d7fde3b1f471a7f20e9a80b58435bdc1e5479c983a72e4be180b49df2ef4a5fe568b8631 WHIRLPOOL 63f7ba175683a3e3f2e1b18e1a33e7bffd1927ed4f6148cf044e9fb9ba603f001fc23950ce0d5e76474c64c5f7baf3430d96758bbe7e95bd953c55c7214040bb +DIST qtile-0.10.6.tar.gz 328892 SHA256 2b0f18d3bbe1da25cebc5172134c6c5f8fbe0d2b60d81ac2c2dfdf8a1e8b903a SHA512 39eef26358e1220ca766b030733396206df68677e3f23d6847d375f479952a4e2d47e0c3e59fab2e5046e899bad91d107a913bb25458fb66859dec3fa8c0e956 WHIRLPOOL 6bece67dfe39f0538a24791a862faf0ab0c902fb011c4a022a0e5699e332b92f458aae6a54ae438ec0fae0c57cb9d1916bdbff987485d984ecfc71840c815965 +EBUILD qtile-0.10.5.ebuild 1331 SHA256 036bfc6da3d23f7194a8c491b137bc556e026415c8ff703d3aa2bfb9a65acb4c SHA512 a515550e2b03034a774df7dee0863cdaa357c204871fc17e0ff2f154099f44855ca80c815b9f3289ef244c5a091905833eafb8874b71964585b46ac6976a2a69 WHIRLPOOL cf8880d955143ce5fa56cb860b97e76e2fb87a7c883d46c6f6ea9858908196cef830d2bf4517ccc0c0fc3726809d6f63511193c09175b6af10ab25f15b1ed048 +EBUILD qtile-0.10.6.ebuild 1354 SHA256 3348afb72d5f5fd619242a5d542d8ea24f09d6c0d169d8134d44f83fec3ac8c7 SHA512 5949738009c1fc7f7baa658d314c2cf17b43d1e4338df0772ae2c8d6d8b687a7f7b434029222eb2c675f8b32d35693521115d585d4bf146484d6f5cec7880e53 WHIRLPOOL 23304aa2098245d47e869bfe70d6dfae78727aba2ec8478d95c5916f23fb0d279b289aca2a49ea7e738cdf248b8ef47f4e29854d84741c229779ed932f9f9024 +EBUILD qtile-9999.ebuild 1354 SHA256 3348afb72d5f5fd619242a5d542d8ea24f09d6c0d169d8134d44f83fec3ac8c7 SHA512 5949738009c1fc7f7baa658d314c2cf17b43d1e4338df0772ae2c8d6d8b687a7f7b434029222eb2c675f8b32d35693521115d585d4bf146484d6f5cec7880e53 WHIRLPOOL 23304aa2098245d47e869bfe70d6dfae78727aba2ec8478d95c5916f23fb0d279b289aca2a49ea7e738cdf248b8ef47f4e29854d84741c229779ed932f9f9024 +MISC ChangeLog 3395 SHA256 af4ab126f66e5c2c83ab1f59bdf1c66156c0c934361605c0d260923242d536da SHA512 3bfd55359e5ca34bc5403d9c1ab5e0412069a6376fd75a44b82f6466429e698c3298973e57bb35df8146359231cb416e9933eaf16bc82ddeaa16807f4c51195a WHIRLPOOL 45b23bd7a592afe8fe90621d1575415e7c4608f695fbefa02764153dbbef3858e45da469d52971c7d04d4121f2b8564be10e114c99d8486377f22c0d904cc2e1 +MISC ChangeLog-2015 2866 SHA256 6f959805af5f80d73bf799ef558428993718fa3ab6d63c76d37c8cfa6d96595c SHA512 af108143fa29cc525f467fa957865c6d91a49a72b86cb7e0d65cdf8ec2c3f7fc0eb3a3b9532aadd684dbeb5785c74db293ac27c56ecd5d894ad1fb2fb3b308a2 WHIRLPOOL ca4dd5cb3d677f22bb6ef8bc2aaabfbc528c12102cc57b1a2235b78ef5b18c9b896c74aa734bd082570a9d77e94be6de3d7125fd8b86acfae69bdef1cbcb4991 +MISC metadata.xml 322 SHA256 167a9c02d0507ce690e00820a196215ad332a4268b004e00d65fb56d8316fb35 SHA512 2722b020cfc1260e907fccc5055ea5556435bd603fe362fbe0ceb0b3074ee20baf6ecc04d2afd6bd9c7b949d0ce0cc06f5c9234f77963374916924d6d7249564 WHIRLPOOL 2820e8fba8b8483457df70efef1711cfccd619c1a1b9eef0b953c69591dd21498d554479f927b78eb19c6ab0c48b51acc8b04fc06a36d3a50626274275ec7473 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..7055ada3bf93 --- /dev/null +++ b/x11-wm/qtile/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> + <upstream> + <remote-id type="github">qtile/qtile</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-wm/qtile/qtile-0.10.5.ebuild b/x11-wm/qtile/qtile-0.10.5.ebuild new file mode 100644 index 000000000000..b0eaff58e983 --- /dev/null +++ b/x11-wm/qtile/qtile-0.10.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 virtualx + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="https://github.com/qtile/qtile.git" + inherit git-r3 +else + SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A full-featured, hackable tiling window manager written in Python" +HOMEPAGE="http://qtile.org/" + +LICENSE="MIT" +SLOT="0" +IUSE="test" +# docs require sphinxcontrib-blockdiag and sphinxcontrib-seqdiag + +RDEPEND="x11-libs/pango + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/cairocffi-0.7[${PYTHON_USEDEP}] + >=dev-python/cffi-1.1.0[${PYTHON_USEDEP}] + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] + >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' 'python2*') +" +DEPEND="${RDEPEND} + test? ( + dev-python/nose[${PYTHON_USEDEP}] + x11-base/xorg-server[kdrive] + ) +" + +RESTRICT="test" + +python_test() { + VIRTUALX_COMMAND="nosetests" virtualmake +} + +python_install_all() { + local DOCS=( CHANGELOG README.rst ) + distutils-r1_python_install_all + + insinto /usr/share/xsessions + doins resources/qtile.desktop + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} +} diff --git a/x11-wm/qtile/qtile-0.10.6.ebuild b/x11-wm/qtile/qtile-0.10.6.ebuild new file mode 100644 index 000000000000..4133132c10db --- /dev/null +++ b/x11-wm/qtile/qtile-0.10.6.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 virtualx + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="https://github.com/qtile/qtile.git" + inherit git-r3 +else + SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A full-featured, hackable tiling window manager written in Python" +HOMEPAGE="http://qtile.org/" + +LICENSE="MIT" +SLOT="0" +IUSE="test" +# docs require sphinxcontrib-blockdiag and sphinxcontrib-seqdiag + +RDEPEND=" + x11-libs/cairo[xcb] + x11-libs/pango + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/cairocffi-0.7[${PYTHON_USEDEP}] + >=dev-python/cffi-1.1.0[${PYTHON_USEDEP}] + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] + >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' 'python2*') +" +DEPEND="${RDEPEND} + test? ( + dev-python/nose[${PYTHON_USEDEP}] + x11-base/xorg-server[kdrive] + ) +" + +RESTRICT="test" + +python_test() { + VIRTUALX_COMMAND="nosetests" virtualmake +} + +python_install_all() { + local DOCS=( CHANGELOG README.rst ) + distutils-r1_python_install_all + + 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..4133132c10db --- /dev/null +++ b/x11-wm/qtile/qtile-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 virtualx + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="https://github.com/qtile/qtile.git" + inherit git-r3 +else + SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A full-featured, hackable tiling window manager written in Python" +HOMEPAGE="http://qtile.org/" + +LICENSE="MIT" +SLOT="0" +IUSE="test" +# docs require sphinxcontrib-blockdiag and sphinxcontrib-seqdiag + +RDEPEND=" + x11-libs/cairo[xcb] + x11-libs/pango + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/cairocffi-0.7[${PYTHON_USEDEP}] + >=dev-python/cffi-1.1.0[${PYTHON_USEDEP}] + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] + >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' 'python2*') +" +DEPEND="${RDEPEND} + test? ( + dev-python/nose[${PYTHON_USEDEP}] + x11-base/xorg-server[kdrive] + ) +" + +RESTRICT="test" + +python_test() { + VIRTUALX_COMMAND="nosetests" virtualmake +} + +python_install_all() { + local DOCS=( CHANGELOG README.rst ) + distutils-r1_python_install_all + + insinto /usr/share/xsessions + doins resources/qtile.desktop + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} +} |