summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2006-04-06 16:11:36 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2006-04-06 16:11:36 +0000
commite84a80e3064b4a004c4fc01d89e7484ee098f3f4 (patch)
treea6549fa916953025808b4885f6cded45abf252a2 /x11-wm/stumpwm-cvs
parentguess what! vlogin fixes! + cleanup (diff)
downloadgentoo-2-e84a80e3064b4a004c4fc01d89e7484ee098f3f4.tar.gz
gentoo-2-e84a80e3064b4a004c4fc01d89e7484ee098f3f4.tar.bz2
gentoo-2-e84a80e3064b4a004c4fc01d89e7484ee098f3f4.zip
Initial port. Ebuild contributed by Xavier Maillard <zedek@gnu.org>; Resolves Bug #127463.
(Portage version: 2.1_pre7-r1)
Diffstat (limited to 'x11-wm/stumpwm-cvs')
-rw-r--r--x11-wm/stumpwm-cvs/ChangeLog11
-rw-r--r--x11-wm/stumpwm-cvs/Manifest12
-rw-r--r--x11-wm/stumpwm-cvs/files/README.Gentoo56
-rw-r--r--x11-wm/stumpwm-cvs/metadata.xml28
-rw-r--r--x11-wm/stumpwm-cvs/stumpwm-cvs-0.ebuild72
5 files changed, 179 insertions, 0 deletions
diff --git a/x11-wm/stumpwm-cvs/ChangeLog b/x11-wm/stumpwm-cvs/ChangeLog
new file mode 100644
index 000000000000..4ce0e5762431
--- /dev/null
+++ b/x11-wm/stumpwm-cvs/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for x11-wm/stumpwm-cvs
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/stumpwm-cvs/ChangeLog,v 1.1 2006/04/06 16:11:36 mkennedy Exp $
+
+*stumpwm-cvs-0 (06 Apr 2006)
+
+ 06 Apr 2006; Matthew Kennedy <mkennedy@gentoo.org> +metadata.xml,
+ +stumpwm-cvs-0.ebuild:
+ Initial port. Ebuild contributed by Xavier Maillard <zedek@gnu.org>;
+ Resolves Bug #127463.
+
diff --git a/x11-wm/stumpwm-cvs/Manifest b/x11-wm/stumpwm-cvs/Manifest
new file mode 100644
index 000000000000..d1935ed38b72
--- /dev/null
+++ b/x11-wm/stumpwm-cvs/Manifest
@@ -0,0 +1,12 @@
+MD5 5700473db4014b7e6beee055b93f4644 ChangeLog 338
+RMD160 ffa59cc89ba422cd7deff420d6be2acd88d354fa ChangeLog 338
+SHA256 9ae652dcd153b49dc1479d7228ff7d9df329687d26f58bbe2030fe2960be7bdc ChangeLog 338
+MD5 dda0e51f5a5563c753027bde684e0166 files/README.Gentoo 1894
+RMD160 4ec1cd9ef1062fe4d5d03a3cba789f7ed2a22260 files/README.Gentoo 1894
+SHA256 a708ee3f7fba6862ae2685daa4707c5a58f500c07862da0dafb92c17bf78b82c files/README.Gentoo 1894
+MD5 036fafee9e02c3c0116e1892cab8e012 metadata.xml 973
+RMD160 916bcec76c9d5aa440e7b6293d5b82a1f5cddab0 metadata.xml 973
+SHA256 baeefbe3daa237d133d1ffde92559fb1de5067f56ef4c59661daf534108e7435 metadata.xml 973
+MD5 86e36ed0020ea0644a5fa3380b77fcfa stumpwm-cvs-0.ebuild 1787
+RMD160 d31a7f300b3d72a2ff18840b15202017ebc02294 stumpwm-cvs-0.ebuild 1787
+SHA256 bf05a46b2aaa1de6a2dc66d14eff29dc72ac1385bc1378582f464c15f4b2879a stumpwm-cvs-0.ebuild 1787
diff --git a/x11-wm/stumpwm-cvs/files/README.Gentoo b/x11-wm/stumpwm-cvs/files/README.Gentoo
new file mode 100644
index 000000000000..7277305dcda1
--- /dev/null
+++ b/x11-wm/stumpwm-cvs/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-cvs/metadata.xml b/x11-wm/stumpwm-cvs/metadata.xml
new file mode 100644
index 000000000000..d3ccb2e26a0b
--- /dev/null
+++ b/x11-wm/stumpwm-cvs/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>common-lisp</herd>
+<longdescription>
+From the Stump Window Manager homepage:
+
+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>
+</pkgmetadata>
+
diff --git a/x11-wm/stumpwm-cvs/stumpwm-cvs-0.ebuild b/x11-wm/stumpwm-cvs/stumpwm-cvs-0.ebuild
new file mode 100644
index 000000000000..c915f7394da9
--- /dev/null
+++ b/x11-wm/stumpwm-cvs/stumpwm-cvs-0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/stumpwm-cvs/stumpwm-cvs-0.ebuild,v 1.1 2006/04/06 16:11:36 mkennedy Exp $
+
+inherit common-lisp cvs eutils
+
+ECVS_SERVER="cvs.savannah.nongnu.org:/sources/stumpwm"
+
+if [ -z "${ECVS_BRANCH}" ]; then
+ ECVS_BRANCH="HEAD"
+fi
+
+ECVS_MODULE="stumpwm"
+ECVS_USER="anonymous"
+ECVS_PASS=""
+ECVS_CVS_OPTIONS="-dP -z3"
+
+DESCRIPTION="Stumpwm is a tiling, keyboard driven X11 Window Manager written entirely in Common Lisp."
+HOMEPAGE="http://www.nongnu.org/stumpwm/index.html"
+SRC_URI=""
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="sbcl clisp emacs doc"
+
+CLPACKAGE="stumpwm"
+
+DEPEND="dev-lisp/common-lisp-controller
+ virtual/commonlisp
+ doc? ( sys-apps/texinfo )"
+
+# If clisp is selected, we need at least dev-lisp/clisp-2.38-r2
+
+RDEPEND="${DEPEND}
+ emacs? ( || ( app-emacs/slime app-emacs/slime-cvs ) )
+ !clisp? ( !sbcl? ( !amd64? ( dev-lisp/cmucl ) ) )
+ clisp? ( >=dev-lisp/clisp-2.38-r2 )
+ sbcl? ( dev-lisp/sbcl dev-lisp/cl-clx )"
+
+S=${WORKDIR}/${ECVS_MODULE}
+
+pkg_setup() {
+ if use clisp; then
+ if built_with_use dev-lisp/clisp X; then
+ if built_with_use dev-lisp/clisp new-clx; then
+ while read line; do ewarn "$line"; done <<'EOF'
+CLISP needs MIT-CLX support built-in to work with StumpWM. Your CLISP
+has been built with support for NEW-CLX which may not work properly
+with StumpWM. Emerge dev-lisp/clisp with "X -new-clx" in USE.
+EOF
+ fi
+ else
+ die "You need to build dev-lisp/clisp with USE='X -new-clx'"
+ fi
+ fi
+}
+
+src_compile() {
+ use doc && makeinfo stumpwm.texi
+}
+
+src_install() {
+ common-lisp-install *.lisp stumpwm.asd
+ common-lisp-system-symlink
+ dodoc COPYING README NEWS ChangeLog ${FILESDIR}/README.Gentoo
+ use doc && doinfo stumpwm.info
+}
+
+pkg_postinst() {
+ common-lisp_pkg_postinst
+ cat ${FILESDIR}/README.Gentoo
+} \ No newline at end of file