summaryrefslogtreecommitdiff
path: root/x11-wm/stumpwm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-wm/stumpwm
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-wm/stumpwm')
-rw-r--r--x11-wm/stumpwm/Manifest7
-rw-r--r--x11-wm/stumpwm/files/70stumpwm-gentoo.el2
-rw-r--r--x11-wm/stumpwm/files/README.Gentoo56
-rw-r--r--x11-wm/stumpwm/metadata.xml61
-rw-r--r--x11-wm/stumpwm/stumpwm-1.0.0.ebuild86
5 files changed, 212 insertions, 0 deletions
diff --git a/x11-wm/stumpwm/Manifest b/x11-wm/stumpwm/Manifest
new file mode 100644
index 000000000000..f076be13c83e
--- /dev/null
+++ b/x11-wm/stumpwm/Manifest
@@ -0,0 +1,7 @@
+AUX 70stumpwm-gentoo.el 84 SHA256 45683a3c00460e54243ac2489cc78ff394f2d5818ec7b2fe72ca5ffc33b2e1a2 SHA512 2e67f51dd6840f850aa1c0e3f2e8c2453203603f174f3ce97feacd2658cf6168bf557eb6ee83499b8c60fb107fdd527caccdda7ab5692646a33f96ad1350bcd1 WHIRLPOOL 8b494c5df00f07f753580bbcb009920de4eabb7d561719b8b3fd4c9cf2d41f9e31c863a241113b361c24e332fe774c38c3bdb65d0d0b8b6f25bd9fe7046e2698
+AUX README.Gentoo 1894 SHA256 a708ee3f7fba6862ae2685daa4707c5a58f500c07862da0dafb92c17bf78b82c SHA512 c187fcc12bbb4c10718e708a4b17a9adc89f1268270f231e8b5feeea881149482d8b70ac0f5eb78b7e0b93700d6cd5133bf7d844f97736bee793405de9a25a09 WHIRLPOOL a4adb14ed13157619a1efcd7a2974c19dac6270f373994311eba2bf2e5b83f38ede7dafa9289d09b2953948670687cdfdd97a7fbd25be67ee88edff14301b49d
+DIST stumpwm-1.0.0.tar.gz 200794 SHA256 31fcb6fb34af20bf4857bb4621ab4b2c9bd6bec92bfd9ddaf88a18f850ba5dd5 SHA512 eb5bf48a5d185d982e8a9ec7639958f14fd912e0f4c89da205f0bcb0c10a61c3953bce5029c2a301fdcd29fe05c505601d4db30fc50b34b7082ce69bd25b43ac WHIRLPOOL 7049299b1c5db42f7379f3f741de8d87e3322deac6787494fb09c553130e0c2c79de93fdcb33beabb80f44f5b29a03f25bc61bfdcb3755043b4937627a3658fc
+EBUILD stumpwm-1.0.0.ebuild 2000 SHA256 5744f862070f0d77be62b94af5c0fe524b65a06790545827e2934d96892a6548 SHA512 5ef81d50b544bb0df49e14dec44d3b88573b8938efddb870d8522329e2929a1d766453d8e0d537fae17b42ee430295afe106672982a44226d90b6ef8d2986f89 WHIRLPOOL b423c9b66bac2cebbf295db279b573217fa2c74f5debca5352ca6168a0614cdd04f1b63f9d86b752d34255904562097ba33e57a231736d345a3ca6a0e64c2267
+MISC ChangeLog 4202 SHA256 4cb6f95ee88f1a3f9a972f4eec281e05dd7e2aa0ad124bebf36f370ca34bc38b SHA512 f9371fd5906d25ae8d036831248d3db72c56b157fb6b54727ec28bd37a2964a45f87734aab1cd38f91fe72620206b1bba38535c7cad7b005d8e4980c296eb9a0 WHIRLPOOL 10c6ab0711f3d6e51839c3061a45da1ade001545b76996da6f5dcee162f108ed53ad57355e7efae233089db777f826a532e830545fd08c308be1a55fbe1a7f7d
+MISC ChangeLog-2015 1987 SHA256 f5eae5e51be2f68ac25698c140f367ef9975023120cca8e7c2a3b003ebf77d1b SHA512 4b1a93c67e72eeabb75a459eec64758e1326a7a2b0f1d3ce124536e11d91f624dbc23bfa0b4cea56e32f15c01d540da6822a76134dce3fbdf8fad32d394de0eb WHIRLPOOL fb5cd0394ae822d7117a1d95a4c37ebb0b50a1895a910399771edac8886f56d94c6550c34ead08ddc4e3cf4263e2ca80bb8bd06896e92b6bdced8ca62918a167
+MISC metadata.xml 2521 SHA256 afe4d1bbea8fa28f84e35c3c1a43d4c8871b1bc5218e86fb3a6e720d4c44aa2a SHA512 98a39ff560bb2317766cdd3b3360a55542c9d1ca4c7f8d814863f133744636c300cea4622886dd8318390d17b75ba2a42151ad5e9273bfb7054e4581f9d33e89 WHIRLPOOL 28f5106b8bf8a44130ce843cc13fda5b998fe0254b35b6547475304eb70f76b0e465b2caa3192e46c86a52746ececdbf6c9cc605c15106ed845d867f9f86657e
diff --git a/x11-wm/stumpwm/files/70stumpwm-gentoo.el b/x11-wm/stumpwm/files/70stumpwm-gentoo.el
new file mode 100644
index 000000000000..c07bdf2de499
--- /dev/null
+++ b/x11-wm/stumpwm/files/70stumpwm-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'stumpwm-mode "stumpwm-mode" nil t)
diff --git a/x11-wm/stumpwm/files/README.Gentoo b/x11-wm/stumpwm/files/README.Gentoo
new file mode 100644
index 000000000000..7277305dcda1
--- /dev/null
+++ b/x11-wm/stumpwm/files/README.Gentoo
@@ -0,0 +1,56 @@
+
+This file is installed in /usr/share/doc/stumpwm-cvs-*/README.Gentoo.gz
+
+Stumpwm notes for Gentoo
+------------------------
+
+As always with CVS ebuilds, DO NOT report problems to upstream.
+Always report problems to the Gentoo Bugzilla at
+http://bugs.gentoo.org/.
+
+This is a live CVS port of Stumpwm therefore every time you emerge
+x11-wm/stumpwm-cvs you will be installing the most recent Stumpwm.
+You may not always get a working Stumpwm. The ebuild supports setting
+ECVS_BRANCH from outside the ebuild so you can select Stumpwm CVS
+source from the past.
+
+Starting Stumpwm
+----------------
+
+For the moment, actually starting Stumpwm is left as an exercise for
+the user. Some users may prefer to load SLIME (via SWANK) support
+into the image with Stumpwm and some users may prefer not to.
+Deciding on SLIME TCP port numbers is also a user decision. Users may
+wish to experiment with Stumpwm in different Common Lisp
+implementations or just use a particular implementation.
+
+Here are some hints to get you started:
+
+ (asdf:oos 'asdf:load-op :stumpwm)
+
+Start a SLIME listener:
+
+ (asdf:oos 'asdf:load-op :swank)
+ (swank:create-swank-server 4005 :spawn)
+
+Then you can connect your Emacs to the Stumpwm image later using the
+following from Emacs:
+
+ M-x slime-connect RET 127.0.0.1 RET 4005 RET
+
+Isn't SLIME wonderful?. You might consider app-misc/detachtty or
+app-misc/screen for recovering the REPL if not using SLIME.
+
+Start Stumpwm:
+
+ (stumpwm:stumpwm ":0")
+
+You might also consider dev-lisp/cl-launch which is an excellent way
+to wrap up Common Lisp systems into a single, portable shell script.
+For example, the following creates a ~/bin/mystumpwm script which will
+try to load the stumpwm system definition into SBCL. If that fails,
+it will try CLISP:
+
+ cl-launch --output ~/bin/mystumpwm --lisp "sbcl clisp" \
+ --system stumpwm --init '(stumpwm:stumpwm ":0")'
+
diff --git a/x11-wm/stumpwm/metadata.xml b/x11-wm/stumpwm/metadata.xml
new file mode 100644
index 000000000000..280080d2f50a
--- /dev/null
+++ b/x11-wm/stumpwm/metadata.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nimiux@gentoo.org</email>
+ <name>Chema Alonso</name>
+ </maintainer>
+ <longdescription lang="en">
+ Stumpwm is a tiling, keyboard driven X11 Window Manager written entirely in
+ Common Lisp.
+
+ If you're tired of flipping through themes like channel-surfing, and going
+ from one perfect-except-for-just-one-thing window manager to another
+ even-more-broken-in-some-other-way then perhaps Stumpwm can help.
+
+ Stumpwm attempts to be customizable yet visually minimal. There are no
+ window decorations, no icons, and no buttons.
+ It does have various hooks to attach your personal customizations, and
+ variables to tweak.
+
+ * Hack the good hack
+ * debug your good hack
+ * customize your window manager
+
+ while it's running. That's right. With a 100% Common Lisp window manager
+ there's no stopping the hacks. Just re-eval and GO!
+ </longdescription>
+ <longdescription lang="es">
+ Stumpwm es un gestor de ventanas estilo mosaico gestionado por teclado
+ escrito completamente en Common Lisp.
+
+ Si está cansado de cambiar de temas como navegación por canales y vagar
+ de un gestor de ventanas perfecto excepto por esa pequeña característica
+ a otro incluso más roto de alguna otra forma, entonces quizá Stumpwm
+ pueda ser de ayuda.
+
+ Stumpwm persigue ser personalizable a la vez que mínimo. No hay
+ decoración en las ventanas, ni iconos ni botones.
+ Dispone de varios enganches para realizar nuestras propias configuraciones
+ personales y variables que podemos ajustar a nuestras necesidades para:
+
+ * Cacharrear de forma correcta
+ * Depurar nuestro propio cacharreo
+ * Personalizar nuestro gestor de ventanas
+
+ mientras está corriendo. Eso está bien. Con un gestor de ventanas escrito
+ al 100% en Common Lisp no hay forma de detener el cacharreo. ¡Simplemente
+ reevalúe y CONTINÚE!
+ </longdescription>
+ <use>
+ <flag name="contrib">Install contrib modules</flag>
+ <flag name="doc">Include documentation</flag>
+ <flag name="emacs">Add support for GNU Emacs</flag>
+ <flag name="clisp">Use CLISP for the runtime</flag>
+ <flag name="ecl">Use SCL for the runtime</flag>
+ <flag name="sbcl">Use SBCL for the runtime</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">stumpwm/stumpwm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-wm/stumpwm/stumpwm-1.0.0.ebuild b/x11-wm/stumpwm/stumpwm-1.0.0.ebuild
new file mode 100644
index 000000000000..ebb4b56c5712
--- /dev/null
+++ b/x11-wm/stumpwm/stumpwm-1.0.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit common-lisp-3 autotools elisp-common xdg-utils
+
+DESCRIPTION="Stumpwm is a Window Manager written entirely in Common Lisp."
+HOMEPAGE="https://stumpwm.github.io/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="contrib doc emacs clisp ecl +sbcl"
+
+RESTRICT="strip mirror"
+
+RDEPEND="dev-lisp/cl-ppcre
+ sbcl? ( >=dev-lisp/sbcl-1.0.32 )
+ sbcl? ( >=dev-lisp/clx-0.7.3 )
+ !sbcl? ( !clisp? ( !ecl? ( >=dev-lisp/sbcl-1.0.32 ) ) )
+ !sbcl? ( !clisp? ( ecl? ( >=dev-lisp/ecls-10.4.1 ) ) )
+ !sbcl? ( clisp? ( >=dev-lisp/clisp-2.44[X,new-clx] ) )
+ emacs? ( virtual/emacs app-emacs/slime )"
+DEPEND="${RDEPEND}
+ sys-apps/texinfo
+ doc? ( virtual/texi2dvi )"
+
+PDEPEND="contrib? ( x11-wm/stumpwm-contrib )"
+
+SITEFILE=70${PN}-gentoo.el
+CLPKGDIR="${CLSOURCEROOT}/${CLPACKAGE}"
+
+get_lisp() {
+ local lisp
+
+ for lisp in "$@" ; do
+ use ${lisp} && echo ${lisp} && return
+ done
+}
+
+install_docs() {
+ local pdffile="${PN}.pdf"
+
+ texi2pdf -o "${pdffile}" "${PN}.texi.in" && dodoc "${pdffile}" || die
+ cp "${FILESDIR}/README.Gentoo" . && sed -i "s:@VERSION@:${PV}:" README.Gentoo || die
+ dodoc AUTHORS NEWS README.md README.Gentoo
+ doinfo "${PN}.info"
+ docinto examples ; dodoc sample-stumpwmrc.lisp
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ xdg_environment_reset
+ econf --with-lisp=$(get_lisp sbcl clisp ecl)
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ common-lisp-export-impl-args $(get_lisp sbcl clisp ecl)
+ dobin stumpwm
+ make_session_desktop StumpWM /usr/bin/stumpwm
+
+ common-lisp-install-sources *.lisp
+ common-lisp-install-asdf
+ # Fix ASDF dir
+ sed -i -e "/(:directory/c\ (:directory \"${CLPKGDIR}\")" \
+ "${D}${CLPKGDIR}/load-stumpwm.lisp" || die
+ use doc && install_docs
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}