GNU bug report logs -
#30344
cwm
Previous Next
Reported by: ng0 <at> n0.is
Date: Sun, 4 Feb 2018 11:21:01 UTC
Severity: normal
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 22 Feb 2018 14:24:57 -0500
with message-id <20180222192457.GA23632 <at> jasmine.lan>
and subject line Re: [bug#30344] cwm
has caused the debbugs.gnu.org bug report #30344,
regarding cwm
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
30344: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30344
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Trying to reduce the amount of software I keep in my domain.
Here's cwm, the OpenBSD window manager.
[0001-gnu-Add-cwm.patch (text/x-patch, inline)]
From 6c3d991fd5b99dded91e00b6f98d79c041e4be7d Mon Sep 17 00:00:00 2001
From: ng0 <ng0 <at> n0.is>
Date: Sun, 4 Feb 2018 11:15:19 +0000
Subject: [PATCH] gnu: Add cwm.
* gnu/packages/wm.scm (cwm): New variable.
---
gnu/packages/wm.scm | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 55 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 0cf6c1a2d..09015126c 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2016 Al McElrath <hello <at> yrns.org>
;;; Copyright © 2016 Carlo Zancanaro <carlo <at> zancanaro.id.au>
;;; Copyright © 2016, 2017 Ludovic Courtès <ludo <at> gnu.org>
-;;; Copyright © 2016, 2017 ng0 <ng0 <at> n0.is>
+;;; Copyright © 2016, 2017, 2018 ng0 <ng0 <at> n0.is>
;;; Copyright © 2016 doncatnip <gnopap <at> gmail.com>
;;; Copyright © 2016 Ivan Vilata i Balaguer <ivan <at> selidor.net>
;;; Copyright © 2017 Mekeor Melire <mekeor.melire <at> gmail.com>
@@ -46,6 +46,7 @@
#:use-module (gnu packages haskell-check)
#:use-module (gnu packages haskell-web)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages bison)
#:use-module (gnu packages gawk)
#:use-module (gnu packages base)
#:use-module (gnu packages pkg-config)
@@ -915,3 +916,56 @@ It is inspired by Xmonad and dwm. Its major features include:
@end itemize\n")
(home-page "https://github.com/conformal/spectrwm")
(license license:isc)))
+
+(define-public cwm
+ (package
+ (name "cwm")
+ (version "6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://chneukirchen.org/releases/cwm-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1b8k2hjxpb0bzqjh2wj6mn2nf2360zacf8z19sw2rw5lxvmfy89x"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags (list "CC=gcc"
+ (string-append "PREFIX=" %output))
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'build 'install-xsession
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Add a .desktop file to xsessions.
+ (let* ((output (assoc-ref outputs "out"))
+ (xsessions (string-append output "/share/xsessions")))
+ (mkdir-p xsessions)
+ (with-output-to-file
+ (string-append xsessions "/cwm.desktop")
+ (lambda _
+ (format #t
+ "[Desktop Entry]~@
+ Name=cwm~@
+ Comment=OpenBSD Calm Window Manager fork~@
+ Exec=~a/bin/cwm~@
+ TryExec=~@*~a/bin/cwm~@
+ Icon=~@
+ Type=Application~%"
+ output)))
+ #t))))))
+ (inputs
+ `(("libxft" ,libxft)
+ ("libxrandr" ,libxrandr)
+ ("libxinerama" ,libxinerama)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("bison" ,bison)))
+ (home-page "https://github.com/chneukirchen/cwm")
+ (synopsis "OpenBSD fork of calmwm")
+ (description
+ "Cwm is a OpenBSD fork of the clean and lightweight window manager
+calmwm.")
+ (license license:isc)))
--
2.16.1
[Message part 5 (text/plain, inline)]
--
ng0 :: https://ea.n0.is
A88C8ADD129828D7EAC02E52E22F9BBFEE348588 :: https://ea.n0.is/keys/
[Message part 6 (message/rfc822, inline)]
[Message part 7 (text/plain, inline)]
On Thu, Feb 22, 2018 at 06:40:54PM +0000, ng0 wrote:
> Hi Leo,
>
> is this good to be merged now or is there something missing?
>
> Thanks for your review.
Thank you for the reminder!
> > Okay, I've written a new variant which is appended.
>
> > From 13398bb7d37d99c4103815cd3765bf1f687f27db Mon Sep 17 00:00:00 2001
> > From: ng0 <ng0 <at> n0.is>
> > Date: Sun, 4 Feb 2018 11:15:19 +0000
> > Subject: [PATCH] gnu: Add cwm.
> >
> > * gnu/packages/wm.scm (cwm): New variable.
Pushed as b4cb9308f722061076d267c39ee0b8b86ba6f8f2
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 7 years and 93 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.