diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-wm/stumpwm | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-wm/stumpwm')
-rw-r--r-- | x11-wm/stumpwm/Manifest | 1 | ||||
-rw-r--r-- | x11-wm/stumpwm/files/70stumpwm-gentoo.el | 2 | ||||
-rw-r--r-- | x11-wm/stumpwm/files/README.Gentoo | 56 | ||||
-rw-r--r-- | x11-wm/stumpwm/metadata.xml | 30 | ||||
-rw-r--r-- | x11-wm/stumpwm/stumpwm-0.9.9.ebuild | 83 | ||||
-rw-r--r-- | x11-wm/stumpwm/stumpwm-9999.ebuild | 48 |
6 files changed, 220 insertions, 0 deletions
diff --git a/x11-wm/stumpwm/Manifest b/x11-wm/stumpwm/Manifest new file mode 100644 index 000000000000..5f1e6b28b51a --- /dev/null +++ b/x11-wm/stumpwm/Manifest @@ -0,0 +1 @@ +DIST stumpwm-0.9.9.tar.gz 189516 SHA256 7dfcb31f3c248a454b892ae98a186f43681f6e8e62b7c77d7858b34f645c0abb SHA512 b114f0dc9091e6704acd4f6d16183b15d956b0f27abec800bca8cfdf966636e7e96c036678fe9c2ca9266d794eabb48c4d66dd62c52c1d26e42ab54abb7ff05b WHIRLPOOL 599bed139c5b058c61b89f01750179f9d9dd5db5fa65737e06f65990c96547042331845aa7d8ce137b0a9357c6e063b6663f7c8c66dab3e74553abedd56b6736 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..9b985df13ff0 --- /dev/null +++ b/x11-wm/stumpwm/metadata.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>nimiux@gentoo.org</email> + <name>Chema Alonso</name> +</maintainer> +<longdescription> + 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> +<use> + <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> +</pkgmetadata> diff --git a/x11-wm/stumpwm/stumpwm-0.9.9.ebuild b/x11-wm/stumpwm/stumpwm-0.9.9.ebuild new file mode 100644 index 000000000000..5bb5608619a2 --- /dev/null +++ b/x11-wm/stumpwm/stumpwm-0.9.9.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit common-lisp-3 eutils elisp-common autotools + +DESCRIPTION="Stumpwm is a tiling, keyboard driven X11 Window Manager written entirely in Common Lisp." +HOMEPAGE="http://www.nongnu.org/stumpwm/" +SRC_URI="http://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="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.4 ) + !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 )" + +SITEFILE=70${PN}-gentoo.el + +get_lisp() { + local lisp + + for lisp in "$@" ; do + use ${lisp} && echo ${lisp} && return + done +} + +do_doc() { + 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() { + # Upstream didn't change the version before packaging + sed -i "${S}/${PN}.asd" -e 's/:version "0.9.8"/:version "0.9.9"/' || die + # Bug 534592. Does not build with asdf:oos, using require to load the package + sed -i "${S}/load-${PN}.lisp.in" -e "s/asdf:oos 'asdf:load-op/require/" || die + eautoreconf +} + +src_configure() { + 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 ${PN}.asd + use doc && do_doc +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/x11-wm/stumpwm/stumpwm-9999.ebuild b/x11-wm/stumpwm/stumpwm-9999.ebuild new file mode 100644 index 000000000000..cf73b6f39232 --- /dev/null +++ b/x11-wm/stumpwm/stumpwm-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools common-lisp-3 git-2 + +DESCRIPTION="Stumpwm is a tiling, keyboard driven X11 Window Manager written entirely in Common Lisp." +HOMEPAGE="http://www.nongnu.org/stumpwm/index.html" +EGIT_REPO_URI="git://github.com/stumpwm/stumpwm" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc clisp emacs +sbcl" + +DEPEND="dev-lisp/common-lisp-controller + virtual/commonlisp + dev-lisp/cl-ppcre + doc? ( virtual/texi2dvi )" + +RDEPEND="${DEPEND} + emacs? ( app-emacs/slime ) + !clisp? ( !sbcl? ( !amd64? ( dev-lisp/cmucl ) ) ) + clisp? ( >=dev-lisp/clisp-2.38-r2[X,-new-clx] ) + sbcl? ( >=dev-lisp/sbcl-1.1.15 dev-lisp/clx )" + +do_doc() { + local pdffile="${PN}.pdf" + + dodoc AUTHORS NEWS README.md + texi2pdf -o "${pdffile}" "${PN}.texi.in" && dodoc "${pdffile}" || die +} + +src_prepare() { + eautoreconf +} + +src_compile() { + emake -j1 +} + +src_install() { + common-lisp-install-sources *.lisp + common-lisp-install-asdf + dobin "${PN}" + use doc && do_doc +} |