From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:34578) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9mpg-00074r-9T for guix-patches@gnu.org; Mon, 16 Sep 2019 04:58:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9mpe-0005S7-Ku for guix-patches@gnu.org; Mon, 16 Sep 2019 04:58:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40359) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i9mpe-0005S2-F2 for guix-patches@gnu.org; Mon, 16 Sep 2019 04:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i9mpe-0007II-D0 for guix-patches@gnu.org; Mon, 16 Sep 2019 04:58:02 -0400 Subject: bug#37404: add herbstluftwm window manager package (v0.7.2) to guix (gnu/packages/wm.scm) Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <92658660d50853e4eec92f536d8b3eb720aab911.camel@gmail.com> Date: Mon, 16 Sep 2019 10:57:45 +0200 In-Reply-To: (Kyle Andrews's message of "Sat, 14 Sep 2019 17:04:30 -0400") Message-ID: <87d0g0d3ee.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: Kyle Andrews Cc: 37404-done@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Kyle, Kyle Andrews skribis: > From 2d8537fc42c3424024d2f20aeb618e2ad1b5998c Mon Sep 17 00:00:00 2001 > From: Kyle Andrews > Date: Sat, 14 Sep 2019 15:43:53 -0400 > Subject: [PATCH] Add herbstluftwm to the list of available window manager= s. > > --- > gnu/packages/wm.scm | 62 +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 62 insertions(+) I=E2=80=99ve applied it with the minor changes below: removing tabs as repo= rted by =E2=80=98guix lint=E2=80=99, providing a description as per , removing the Bash input since it=E2=80=99s already there by default, return= ing a Boolean from the phase, and adding a copyright line and a commit log. See if anything is unclear. Thank you! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index d81a916ff3..e19c6c1438 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -21,6 +21,7 @@ ;;; Copyright =C2=A9 2019 Rutger Helling ;;; Copyright =C2=A9 2019 Timothy Sample ;;; Copyright =C2=A9 2019 G=C3=A1bor Boskovits +;;; Copyright =C2=A9 2019 Kyle Andrews ;;; ;;; This file is part of GNU Guix. ;;; @@ -89,7 +90,6 @@ #:use-module (gnu packages pretty-print) #:use-module (gnu packages logging) #:use-module (gnu packages serialization) - #:use-module (gnu packages bash) #:use-module (gnu packages commencement) ; TODO remove when default gcc = version >=3D7 #:use-module (guix download) #:use-module (guix git-download)) @@ -129,7 +129,6 @@ the leaves of a full binary tree.") (license license:bsd-2))) =20 - (define-public herbstluftwm (package (name "herbstluftwm") @@ -138,19 +137,18 @@ the leaves of a full binary tree.") (origin (method url-fetch) (uri (string-append "https://herbstluftwm.org/tarballs/herbstluftwm= -" - version - ".tar.gz")) + version ".tar.gz")) (sha256 (base32 "1kc18aj9j3nfz6fj4qxg9s3gg4jvn6kzi3ii24hfm0vqdpy17xnz")) (file-name (string-append "herbstluftwm-" version ".tar.gz")))) (build-system gnu-build-system) - (inputs `(("dzen" ,dzen) + (inputs + `(("dzen" ,dzen) ("dmenu" ,dmenu) ("glib" ,glib) ("glibmm" ,glibmm) ("xterm" ,xterm) - ("bash" ,bash) ("xsetroot" ,xsetroot) ("libx11" ,libx11) ("libxext" ,libxext) @@ -175,7 +173,8 @@ the leaves of a full binary tree.") Name=3Dherbstluftwm~@ Comment=3DManual tiling window manager~@ Exec=3D~a/bin/herbstluftwm~@ - Type=3DXSession~%" out))))))) + Type=3DXSession~%" out))) + #t)))) #:tests? #f #:make-flags (let ((out (assoc-ref %outputs "out"))) @@ -184,12 +183,32 @@ the leaves of a full binary tree.") (string-append "DESTDIR=3D" out) (string-append "BASHCOMPLETIONDIR=3D" out "/etc/bash_completion.d"))))) - (synopsis "Herbstluftwm Window Manager for X11") - (description "X11 Tiling Window Manager") + (synopsis "Tiling window manager for X11") + (description "herbstluftwm is a manual tiling window manager for X11 u= sing +Xlib and GLib. Its main features are: + +@itemize +@item +The layout is based on splitting frames into subframes which can be split +again or can be filled with windows (similar to i3 or musca). + +@item +Tags (or workspaces or virtual desktops or =E2=80=A6) can be added/removed= at runtime. +Each tag contains an own layout. + +@item +Exactly one tag is viewed on each monitor. The tags are monitor independe= nt +(similar to Xmonad). + +@item +It is configured at runtime via IPC calls from @command{herbstclient}. So= the +configuration file is just a script which is run on startup (similar to wm= ii +or musca). + +@end itemize") (home-page "https://herbstluftwm.org") (license license:bsd-2))) =20 - (define-public i3status (package (name "i3status") --=-=-=--