summaryrefslogtreecommitdiff
path: root/x11-wm/subtle
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/subtle')
-rw-r--r--x11-wm/subtle/Manifest6
-rw-r--r--x11-wm/subtle/metadata.xml26
-rw-r--r--x11-wm/subtle/subtle-0.11.3244.ebuild88
-rw-r--r--x11-wm/subtle/subtle-9999.ebuild88
4 files changed, 208 insertions, 0 deletions
diff --git a/x11-wm/subtle/Manifest b/x11-wm/subtle/Manifest
new file mode 100644
index 000000000000..cb8facf5316e
--- /dev/null
+++ b/x11-wm/subtle/Manifest
@@ -0,0 +1,6 @@
+DIST subtle-0.11.3244.tar.gz 190549 SHA256 63f0a33ca187123f05f4f98b57fa05835d594ae9f018298e7e76e9a0be3f08b8 SHA512 3d6edd5cb1b5dcd058caeddf3ead024c7cce39684baca8bac9709683ce3130a5c8433cbe046d28dc7420637dd855a2b6775638097f78a5e701bb85e505e8167c WHIRLPOOL 1e555dbd211247c1c771dcd70a89fe0413bf4e0ad4255da0187c74dd05b22aeea738a299cf6b9eb0edb7801ab5b15e6e1f98d556fcd8ac654b3ed69a2a56dfbb
+EBUILD subtle-0.11.3244.ebuild 2038 SHA256 086f584ce8466c447364e42dc59efdfc87babc732223178e9bc43df85731b661 SHA512 fb62f9712d4b676255eccad5b49b5f9b6512b610dd8e0f5482274d1cd26d25e0e7f8f82752dc90c2bb66bfb489d9a737a5c30dc76a6b69b1ef539b09105a402e WHIRLPOOL d79c324815fe85b39a7eac53c83e88afd6ea3953ff13766969d07cc136d330522d9ca2eab01ab6de752c2a2e6dc695bb9acffa1675ee9a5642065769460219c4
+EBUILD subtle-9999.ebuild 2038 SHA256 086f584ce8466c447364e42dc59efdfc87babc732223178e9bc43df85731b661 SHA512 fb62f9712d4b676255eccad5b49b5f9b6512b610dd8e0f5482274d1cd26d25e0e7f8f82752dc90c2bb66bfb489d9a737a5c30dc76a6b69b1ef539b09105a402e WHIRLPOOL d79c324815fe85b39a7eac53c83e88afd6ea3953ff13766969d07cc136d330522d9ca2eab01ab6de752c2a2e6dc695bb9acffa1675ee9a5642065769460219c4
+MISC ChangeLog 2667 SHA256 fee733aedfa2096cb16666d07461a07904f6c558aeede4ef28c4b01e3d71f54c SHA512 5283d992790a09b61741900b05f9acedb4291b7a0fedf8796181693e3f4197edc7832ab8d96d25a02db9634582f5f729b85f08ff4ae50c1bccb4e7b4502e20cd WHIRLPOOL eb8d45b5bb72ef8528656c591a4301256abbe5016ce311df09124c218686adadcdc0d29a1eeaa0dc0ccbd75c4e2fde24e8ff25a5deb9987c8c3bb3e822b0b165
+MISC ChangeLog-2015 1352 SHA256 3704e56c103ad1a77ea51d50d079ff24903b49a6d96efa3eaca87d1f7c2fa0a1 SHA512 a05f3f85d0177f4e8ef8d8f679428a44b2c7b0669af60284433d1e6d1c22b17c3620d11a53d5b211b43a835fef17dfe0baae74ff31805d76f6976892bb87e481 WHIRLPOOL 83df48ca6fd47a1a001df5b0a5e77386a26aa93f18da8812cb29baaf8acbd9f04a37844b43bd46fdbfce0287f9fe20fce8238aa4e0c4b2876435730106b6a213
+MISC metadata.xml 1150 SHA256 68ae8ef225bf6bba1c69506bbe8f72e90d6996a3d0b65e550b933480cacee981 SHA512 842ba7afc25372e9bb6a5bef00c0ddc99acda3d8ac0d40b15a2b40f1bb9a32eaf77f2515a32090ed7468e8830ae67e34649e8f30b024278d29d4ac1446678637 WHIRLPOOL 40c4ab350527a99d15098fbc0f276621efac55f3929b8f5a18592e0e773bddeb67180032187a951f1be3fc85424f521c58f08d511b137f62f6709e839bbecd56
diff --git a/x11-wm/subtle/metadata.xml b/x11-wm/subtle/metadata.xml
new file mode 100644
index 000000000000..dbe1a9d351c1
--- /dev/null
+++ b/x11-wm/subtle/metadata.xml
@@ -0,0 +1,26 @@
+<?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>
+ <longdescription lang="en">
+ subtle is a manual tiling window manager with a rather uncommon approach
+ of tiling: Instead of relying on predefined layouts, subtle divides the
+ screen into a grid with customizeable slots (called gravities). For
+ better understanding, the default config uses a 3x3 grid and maps each
+ gravity to one key of the numpad. With those keys, windows can be moved
+ directly to the desired gravity - the same can be done with tagging
+ rules in the config.
+
+ Another unique concept is the strict tagging: Unlike other tiling window
+ managers, subtle doesn't allow weak tagging and always maps windows to
+ virtual desktops (called views) with matching tags, regardless of the
+ current active view.
+ </longdescription>
+ <use>
+ <flag name="xrandr">Enable support for the X RandR extension</flag>
+ <flag name="xtest">Enable support for the XTest extension</flag>
+ </use>
+</pkgmetadata>
diff --git a/x11-wm/subtle/subtle-0.11.3244.ebuild b/x11-wm/subtle/subtle-0.11.3244.ebuild
new file mode 100644
index 000000000000..6417ae23f9b2
--- /dev/null
+++ b/x11-wm/subtle/subtle-0.11.3244.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+USE_RUBY="ruby22 ruby23 ruby24"
+
+inherit ruby-ng toolchain-funcs
+
+if [[ ${PV} == "9999" ]]; then
+ EHG_REPO_URI="http://hg.subforge.org/subtle"
+ EHG_CHECKOUT_DIR=${S}/all
+ inherit mercurial
+else
+ SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A manual tiling window manager"
+HOMEPAGE="http://subforge.org/projects/subtle/wiki"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug doc +xft xinerama xpm +xrandr +xtest"
+
+RDEPEND="x11-libs/libX11
+ xft? ( x11-libs/libXft )
+ xinerama? ( x11-libs/libXinerama )
+ xpm? ( x11-libs/libXpm )
+ xtest? ( x11-libs/libXtst )
+ xrandr? ( x11-libs/libXrandr )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+ruby_add_rdepend "dev-ruby/archive-tar-minitar"
+ruby_add_bdepend "dev-ruby/rake doc? ( dev-ruby/rdoc )"
+
+all_ruby_unpack() {
+ if [[ ${PV} == "9999" ]]; then
+ mercurial_src_unpack
+ else
+ default
+ fi
+}
+
+each_ruby_configure() {
+ local myconf
+ use debug && myconf+=" debug=yes" || myconf+=" debug=no"
+ use xft && myconf+=" xft=yes" || myconf+=" xft=no"
+ use xinerama && myconf+=" xinerama=yes" || myconf+=" xinerama=no"
+ use xpm && myconf+=" xpm=yes" || myconf+=" xpm=no"
+ use xtest && myconf+=" xtest=yes" || myconf+=" xtest=no"
+ use xrandr && myconf+=" xrandr=yes" || myconf+=" xrandr=no"
+
+ ${RUBY} -S rake -v CC="$(tc-getCC)" destdir="${D}" ${myconf} config || die
+}
+
+each_ruby_compile() {
+ ${RUBY} -S rake -v build || die
+}
+
+all_ruby_compile() {
+ use doc && { rake rdoc || die ; }
+}
+
+each_ruby_install() {
+ ${RUBY} -S rake -v install || die
+}
+
+all_ruby_install() {
+ dodir /etc/X11/Sessions
+ cat <<-EOF > "${D}/etc/X11/Sessions/${PN}"
+ #!/bin/sh
+ exec /usr/bin/subtle
+ EOF
+ fperms a+x /etc/X11/Sessions/${PN}
+
+ insinto /usr/share/xsessions
+ doins data/${PN}.desktop
+
+ dodoc AUTHORS NEWS
+
+ use doc && dohtml -r html/*
+}
+
+pkg_postinst() {
+ elog "Note that surserver will currently not work since dev-ruby/datamapper"
+ elog "is not in the tree."
+}
diff --git a/x11-wm/subtle/subtle-9999.ebuild b/x11-wm/subtle/subtle-9999.ebuild
new file mode 100644
index 000000000000..6417ae23f9b2
--- /dev/null
+++ b/x11-wm/subtle/subtle-9999.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+USE_RUBY="ruby22 ruby23 ruby24"
+
+inherit ruby-ng toolchain-funcs
+
+if [[ ${PV} == "9999" ]]; then
+ EHG_REPO_URI="http://hg.subforge.org/subtle"
+ EHG_CHECKOUT_DIR=${S}/all
+ inherit mercurial
+else
+ SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A manual tiling window manager"
+HOMEPAGE="http://subforge.org/projects/subtle/wiki"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug doc +xft xinerama xpm +xrandr +xtest"
+
+RDEPEND="x11-libs/libX11
+ xft? ( x11-libs/libXft )
+ xinerama? ( x11-libs/libXinerama )
+ xpm? ( x11-libs/libXpm )
+ xtest? ( x11-libs/libXtst )
+ xrandr? ( x11-libs/libXrandr )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+ruby_add_rdepend "dev-ruby/archive-tar-minitar"
+ruby_add_bdepend "dev-ruby/rake doc? ( dev-ruby/rdoc )"
+
+all_ruby_unpack() {
+ if [[ ${PV} == "9999" ]]; then
+ mercurial_src_unpack
+ else
+ default
+ fi
+}
+
+each_ruby_configure() {
+ local myconf
+ use debug && myconf+=" debug=yes" || myconf+=" debug=no"
+ use xft && myconf+=" xft=yes" || myconf+=" xft=no"
+ use xinerama && myconf+=" xinerama=yes" || myconf+=" xinerama=no"
+ use xpm && myconf+=" xpm=yes" || myconf+=" xpm=no"
+ use xtest && myconf+=" xtest=yes" || myconf+=" xtest=no"
+ use xrandr && myconf+=" xrandr=yes" || myconf+=" xrandr=no"
+
+ ${RUBY} -S rake -v CC="$(tc-getCC)" destdir="${D}" ${myconf} config || die
+}
+
+each_ruby_compile() {
+ ${RUBY} -S rake -v build || die
+}
+
+all_ruby_compile() {
+ use doc && { rake rdoc || die ; }
+}
+
+each_ruby_install() {
+ ${RUBY} -S rake -v install || die
+}
+
+all_ruby_install() {
+ dodir /etc/X11/Sessions
+ cat <<-EOF > "${D}/etc/X11/Sessions/${PN}"
+ #!/bin/sh
+ exec /usr/bin/subtle
+ EOF
+ fperms a+x /etc/X11/Sessions/${PN}
+
+ insinto /usr/share/xsessions
+ doins data/${PN}.desktop
+
+ dodoc AUTHORS NEWS
+
+ use doc && dohtml -r html/*
+}
+
+pkg_postinst() {
+ elog "Note that surserver will currently not work since dev-ruby/datamapper"
+ elog "is not in the tree."
+}