From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eovoj-0002OQ-7F for guix-patches@gnu.org; Thu, 22 Feb 2018 13:42:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eovog-0005eQ-40 for guix-patches@gnu.org; Thu, 22 Feb 2018 13:42:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eovof-0005eF-Ux for guix-patches@gnu.org; Thu, 22 Feb 2018 13:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eovof-0005eM-Nm for guix-patches@gnu.org; Thu, 22 Feb 2018 13:42:01 -0500 Subject: [bug#30344] cwm Resent-Message-ID: Date: Thu, 22 Feb 2018 18:40:54 +0000 From: ng0 Message-ID: <20180222184054.kth55obzypuytvfz@abyayala> References: <87h8qx6lyr.fsf@abyayala.i-did-not-set--mail-host-address--so-tickle-me> <87d11l6ldy.fsf@abyayala.i-did-not-set--mail-host-address--so-tickle-me> <20180205224826.GB20907@jasmine.lan> <87tvulu60h.fsf@abyayala.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="etemju3hbi5pdoos" Content-Disposition: inline In-Reply-To: <87tvulu60h.fsf@abyayala.i-did-not-set--mail-host-address--so-tickle-me> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Leo Famulari Cc: 30344@debbugs.gnu.org --etemju3hbi5pdoos Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Leo, is this good to be merged now or is there something missing? Thanks for your review. ng0@crash.cx transcribed 4.7K bytes: > On Mon, 05 Feb 2018, Leo Famulari wrote: > > On Sun, Feb 04, 2018 at 11:32:09AM +0000, ng0@n0.is wrote: > >> On Sun, 04 Feb 2018, ng0@n0.is wrote: > >> > Trying to reduce the amount of software I keep in my domain. > >> > Here's cwm, the OpenBSD window manager. > >> > > >> > From 6c3d991fd5b99dded91e00b6f98d79c041e4be7d Mon Sep 17 00:00:00 20= 01 > >> > From: ng0 > >> > Date: Sun, 4 Feb 2018 11:15:19 +0000 > >> > Subject: [PATCH] gnu: Add cwm. > >> > > >> > * gnu/packages/wm.scm (cwm): New variable. > > > >> > + (synopsis "OpenBSD fork of calmwm") > >> ^- about this... > >>=20 > >> > + (description > >> > + "Cwm is a OpenBSD fork of the clean and lightweight window man= ager > >> ^- ... and this I am not so sure, as > >> the man pages state there has been a > >> rewrite since then, so maybe just > >> "inspired by"? It could be the same as > >> with neomutt. > > > > You could say that it's "derived from" calmwn. > > >=20 > Okay, I've written a new variant which is appended. > From 13398bb7d37d99c4103815cd3765bf1f687f27db Mon Sep 17 00:00:00 2001 > From: ng0 > Date: Sun, 4 Feb 2018 11:15:19 +0000 > Subject: [PATCH] gnu: Add cwm. >=20 > * gnu/packages/wm.scm (cwm): New variable. > --- > gnu/packages/wm.scm | 56 +++++++++++++++++++++++++++++++++++++++++++++++= +++++- > 1 file changed, 55 insertions(+), 1 deletion(-) >=20 > diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm > index 0cf6c1a2d..78e9d5b8d 100644 > --- a/gnu/packages/wm.scm > +++ b/gnu/packages/wm.scm > @@ -9,7 +9,7 @@ > ;;; Copyright =C2=A9 2016 Al McElrath > ;;; Copyright =C2=A9 2016 Carlo Zancanaro > ;;; Copyright =C2=A9 2016, 2017 Ludovic Court=C3=A8s > -;;; Copyright =C2=A9 2016, 2017 ng0 > +;;; Copyright =C2=A9 2016, 2017, 2018 ng0 > ;;; Copyright =C2=A9 2016 doncatnip > ;;; Copyright =C2=A9 2016 Ivan Vilata i Balaguer > ;;; Copyright =C2=A9 2017 Mekeor Melire > @@ -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 feature= s 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=3Dgcc" > + (string-append "PREFIX=3D" %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=3Dcwm~@ > + Comment=3DOpenBSD Calm Window Manager fork~@ > + Exec=3D~a/bin/cwm~@ > + TryExec=3D~@*~a/bin/cwm~@ > + Icon=3D~@ > + Type=3DApplication~%" > + 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 stacking window manager for X11. > +It is a OpenBSD project derived from the original Calm Window Manager.") > + (license license:isc))) > --=20 > 2.16.1 >=20 > --=20 > ng0 :: https://crash.cx > A88C8ADD129828D7EAC02E52E22F9BBFEE348588 :: https://crash.cx/keys/ --=20 ng0 :: https://n0.is | https://crash.cx A88C8ADD129828D7EAC02E52E22F9BBFEE348588 --etemju3hbi5pdoos Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlqPDrYACgkQ4i+bv+40 hYiFqRAAqRwIN5/izirD+wc42MUJnp+kC16ypMai0o5RySQ8A4E3LinX/BKhV6CK p/qrHFUG7Rgo3+RfMZqJzFVFBAJEiMKpGGalB0y3Lw38/BdJ836G+zuJhRpN/eKp T07KDfhoUTNZIA/NujxM1S7vKlA0Q1hH6rCO5WqxJ5QzlZcGhmlzvwnl3kjv0QBw 4Gf+2Ysx5oBi4YhpaJ2InUSlwKbYxE2kKhVCJQt/a/xof3CpLd5LAq8KJB485Zzn txPvJbriwZ28IU3b2X0Yj/VSbzWDWI1M0DkRgzm6u3zzbFbaWsw1JYEhpo5QX6O8 2mYIXTju9GMlUnMDSdTnXMkKYMiL/DDDm/mGA/YaOFNcZUnMJUr4sRFG4neIUBy6 YecHC3o67lTymZD9Isv2wQXawapx7R2hEWtc9uP+swlPPFG7E2JI2l8Et8RKhi65 MILBjq5Nz4gY6qAopienwh/jfIVZTeOUEBoyCRF6ON95caXe6AsziKdlqSYH5N19 J+QCkIIA/G+1ThcAhzi+aB55klMNzjYsY3aVEh5BcIpe9Rpc0Egtn6XtA6jDU/nl xUTmUmas98Z+52Fjec/cVacfucWn5yDc06GqiJ/4zLYs9h0MImY5EgfFgzWARkwq ie7ql/2XUIMAPpu/Cz6aHZRrU5snuyCZL3tzSJ12NVOkZMk9bvA= =Vr9a -----END PGP SIGNATURE----- --etemju3hbi5pdoos--