From patchwork Tue Sep 27 04:15:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Patterson X-Patchwork-Id: 16033 Received: (qmail 45265 invoked by uid 89); 27 Sep 2016 04:16:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=popularity, Hx-languages-length:2497, customizable, Manager X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Sep 2016 04:16:04 +0000 Received: from localhost ([::1]:47903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bojoI-0001Bl-Pt for patchwork@sourceware.org; Tue, 27 Sep 2016 00:16:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bojo9-00018p-AU for guix-devel@gnu.org; Tue, 27 Sep 2016 00:15:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bojo7-0002tJ-1K for guix-devel@gnu.org; Tue, 27 Sep 2016 00:15:52 -0400 Received: from mailservices.uwaterloo.ca ([129.97.128.141]:45694 helo=minos.uwaterloo.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bojo6-0002t4-RH for guix-devel@gnu.org; Tue, 27 Sep 2016 00:15:50 -0400 Received: from jalisou.gateway.2wire.net (bas1-jockvale05-3096537436.dsl.bell.ca [184.145.105.92]) (authenticated bits=0) by minos.uwaterloo.ca (8.14.4/8.14.4) with ESMTP id u8R4FYLV031867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 27 Sep 2016 00:15:50 -0400 From: Andy Patterson To: guix-devel@gnu.org Subject: [PATCH 09/12] gnu: Add stumpwm. Date: Tue, 27 Sep 2016 00:15:29 -0400 Message-Id: <20160927041532.27097-10-ajpatter@uwaterloo.ca> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20160927041532.27097-1-ajpatter@uwaterloo.ca> References: <20160927041532.27097-1-ajpatter@uwaterloo.ca> X-UUID: 59b0f8a9-4cc2-49da-8a7a-16052db9ee7a X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 129.97.128.141 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/lisp.scm (stumpwm, stumpwm-sbcl, stumpwm-ecl): New variables. --- gnu/packages/lisp.scm | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 1616b32..1c78875 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -847,3 +847,74 @@ from other CLXes around the net.") #:phases (modify-phases %standard-phases/ecl (delete 'unpack)))))) + +(define-public stumpwm + (package + (name "stumpwm") + (version "0.9.9") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/stumpwm/stumpwm/archive/" + version ".tar.gz")) + (sha256 + (base32 "1fqabij4zcsqg1ywgdv2irp1ys23dwc8ms9ai55lb2i47hgv7z3x")) + (file-name (string-append name "-" version ".tar.gz")))) + (build-system asdf-build-system/source) + (propagated-inputs `(("cl-ppcre" ,cl-ppcre) + ("clx" ,clx))) + (synopsis "Window manager written in Common Lisp") + (description "Stumpwm is a window manager written entirely in Common Lisp. +It attempts to be highly customizable while relying entirely on the keyboard +for input. These design decisions reflect the growing popularity of +productive, customizable lisp based systems.") + (home-page "http://github.com/stumpwm/stumpwm") + (license license:gpl2+))) + +(define-public stumpwm-sbcl + (package + (inherit stumpwm) + (name "stumpwm-sbcl") + (build-system asdf-build-system/sbcl) + (inputs `(("stumpwm" ,stumpwm) + ("cl-ppcre-sbcl" ,cl-ppcre-sbcl) + ("clx-sbcl" ,clx-sbcl))) + (propagated-inputs '()) + (outputs '("out" "bin")) + (arguments + '(#:special-dependencies '("sb-posix") + #:entry-program + '((stumpwm:stumpwm) + 0) + #:phases + (modify-phases %standard-phases/sbcl + (add-after 'generate-binary 'create-desktop-file + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (assoc-ref outputs "bin")) + (xsessions "/share/xsessions")) + (mkdir-p (string-append bin xsessions)) + (with-output-to-file + (string-append bin xsessions + "/stumpwm.desktop") + (lambda _ + (display + "[Desktop Entry] +Name=stumpwm +Comment=The Stump Window Manager +Exec=stumpwm +TryExec=stumpwm +Icon= +Type=Application +"))) + #t)))))))) + +(define-public stumpwm-ecl + (package + (inherit stumpwm) + (name "stumpwm-ecl") + (build-system asdf-build-system/ecl) + (inputs `(("stumpwm" ,stumpwm) + ("cl-ppcre-ecl" ,cl-ppcre-ecl) + ("clx-ecl" ,clx-ecl))) + (propagated-inputs '()) + (outputs '("out"))))