all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tumashu@163.com
To: 61056@debbugs.gnu.org
Cc: Feng Shu <tumashu@163.com>
Subject: [bug#61056] [PATCH] gnu: Add jwm.
Date: Wed, 25 Jan 2023 19:15:14 +0800	[thread overview]
Message-ID: <20230125111514.5194-1-tumashu@163.com> (raw)

From: Feng Shu <tumashu@163.com>

* gnu/packages/wm.scm (jwm): New variable.
---
 gnu/packages/wm.scm | 62 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index a860ed1f93..1fb2b46efc 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -108,6 +108,7 @@ (define-module (gnu packages wm)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages fribidi)
   #:use-module (gnu packages gawk)
+  #:use-module (gnu packages gettext)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gperf)
@@ -2793,6 +2794,67 @@ (define-public hikari
 capabilities.  It is heavily inspired by the Calm Window manager(cwm).")
     (license license:bsd-2)))
 
+(define-public jwm
+  (package
+    (name "jwm")
+    (version "2.4.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/joewing/jwm")
+             (commit "4640d3b48ea64bd57e3cea63e4c4a9cd558e6142")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0xwk54y8q12y3cvbgrjhda6g4jd5f57bvyasyb9qdbczzxfhvxqw"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:tests? #f   ; no check target
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'install-xsession
+            (lambda* (#:key outputs #:allow-other-keys)
+              (let* ((out (assoc-ref outputs "out"))
+                     (xsessions (string-append out "/share/xsessions")))
+                (mkdir-p xsessions)
+                (call-with-output-file
+                    (string-append xsessions "/jwm.desktop")
+                  (lambda (port)
+                    (format port "~
+                     [Desktop Entry]~@
+                     Name=jwm~@
+                     Comment=Joe's Window Manager~@
+                     Exec=~a/bin/jwm~@
+                     Type=XSession~%" out))))
+              #t)))))
+    (native-inputs
+     (list autoconf
+           automake
+           gettext-minimal
+           pkg-config))
+    (inputs
+     (list cairo
+           libjpeg-turbo
+           libpng
+           librsvg
+           libxext
+           libxinerama
+           libxmu
+           libxpm
+           libxrandr
+           libxt
+           pango))
+    (home-page "http://joewing.net/projects/jwm")
+    (synopsis "Joe's Window Manager")
+    (description
+     "JWM is a light-weight window manager for the X11 Window System.  it is
+written in C and uses only Xlib at a minimum.  Because of its small footprint,
+it makes a good window manager for older computers and less powerful systems,
+such as the Raspberry Pi, though it is perfectly capable of running on modern
+systems.")
+    (license license:expat)))
+
 (define-public devour
   (package
     (name "devour")
-- 
2.39.1





             reply	other threads:[~2023-01-25 11:16 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-25 11:15 tumashu [this message]
2023-01-27 11:05 ` [bug#61056] [PATCH v2] gnu: Add jwm tumashu
2023-01-27 11:07 ` [bug#61056] jwm version Feng Shu
2023-01-28 11:37 ` [bug#61056] [PATCH] gnu: Add mjwm tumashu
2023-01-29 11:12 ` [bug#61056] [PATCH v3 1/2] gnu: Add jwm tumashu
2023-01-29 11:12   ` [bug#61056] [PATCH v3 2/2] gnu: Add mjwm tumashu
2023-01-29 11:12 ` [bug#61056] [PATCH v4 1/2] gnu: Add jwm Feng Shu
2023-01-29 11:12 ` [bug#61056] [PATCH v4 2/2] gnu: Add mjwm Feng Shu
2023-02-11  2:30 ` [bug#61056] [PATCH v5 1/2] gnu: Add jwm tumashu
2023-02-11  2:30   ` [bug#61056] [PATCH v5 2/2] gnu: Add mjwm tumashu
2023-02-11  2:55 ` [bug#61056] [PATCH v6 1/2] gnu: Add jwm tumashu
2023-02-11  2:55   ` [bug#61056] [PATCH v6 2/2] gnu: Add mjwm tumashu
2023-02-13  7:16 ` [bug#61056] [PATCH v7 1/2] gnu: Add jwm Feng Shu
2023-02-13  7:17 ` [bug#61056] [PATCH v7 2/2] gnu: Add mjwm Feng Shu
2023-02-13 10:45 ` [bug#61056] [PATCH v8 1/2] gnu: Add jwm Feng Shu
2023-02-13 10:45 ` [bug#61056] [PATCH v8 2/2] gnu: Add mjwm Feng Shu
2023-02-13 10:49 ` [bug#61056] [PATCH v8 1/2] gnu: Add jwm Feng Shu
2023-02-13 10:49 ` [bug#61056] [PATCH v8 2/2] gnu: Add mjwm Feng Shu
2023-02-13 10:56 ` [bug#61056] Please review v8 version of jwm/mjwm patch Feng Shu
2023-03-06  7:46   ` [bug#61056] [PATCH] gnu: Add jwm 宋文武 via Guix-patches via
2023-03-06  8:04     ` 宋文武 via Guix-patches via
2023-03-06 12:11     ` Feng Shu
2023-03-07  1:08       ` bug#61056: " 宋文武 via Guix-patches via
2023-02-28 22:04 ` [bug#61056] " Feng Shu
2023-03-06  7:47 ` [bug#61056] [PATCH 1/2] " iyzsong--- via Guix-patches via
2023-03-06  7:47   ` [bug#61056] [PATCH 2/2] gnu: Add mjwm iyzsong--- via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230125111514.5194-1-tumashu@163.com \
    --to=tumashu@163.com \
    --cc=61056@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.