Subject: bug#40931: closed (Re: [bug#40931] [PATCH v2] gnu: add j4-dmenu-desktop)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 04 May 2020 14:34:02 +0000

Your bug report

#40931: [PATCH] gnu: add j4-dmenu-desktop

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40931: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40931
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#40931] [PATCH v2] gnu: add j4-dmenu-desktop
From: Marius Bakke <[email-masked]>
To: Alex McGrath <[email-masked]>, 40931 <[email-masked]>
Date: Mon, 04 May 2020 16:33:05 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

"Alex McGrath" <[email-masked]> writes:

> Howdy,
>
> I think I've addressed the comments (ran guix lint etc) and I enabled all the tests except for one, as it checks for a directory that doesnt exist on guix and fails as a result

Excellent, LGTM!

I've applied the patch with minor adjustments (removed redundant
#:tests? #t, and formatted description with @file and @command markup
where appropriate).

Pushed in c65e243463c704698288bad787cd6f5292280bba, thanks!

Subject: [PATCH] gnu: add j4-dmenu-desktop
From: Alex McGrath <[email-masked]>
To: [email-masked]
Cc: Alex McGrath <[email-masked]>
Date: Tue, 28 Apr 2020 11:37:05 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

---
 gnu/packages/xdisorg.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index bc2c9c4622..02997dcbf1 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -35,6 +35,7 @@
 ;;; Copyright © 2020 Brice Waegeneire <[email-masked]>
 ;;; Copyright © 2020 Damien Cassou <[email-masked]>
 ;;; Copyright © 2020 John Soo <[email-masked]>
+;;; Copyright © 2020 Alex McGrath <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2286,3 +2287,25 @@ to find all available clips and launches @command{dmenu} (or @command{rofi},
 depending on the value of @code{CM_LAUNCHER}) to let the user select a clip.
 After selection, the clip is put onto the PRIMARY and CLIPBOARD X selections.")
       (license license:public-domain))))
+
+(define-public j4-dmenu-desktop
+  (package
+    (name "j4-dmenu-desktop")
+    (version "2.17")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/enkore/j4-dmenu-desktop.git")
+                    (commit (string-append "r" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0v23fimkn83dcm5p53y2ymhklff3kwppxhf75sm8xmswrzkixpgc"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release" "-DWITH_GIT_CACHE=off" "-DWITH_TESTS=off")
+       #:tests? #f)) ;; tests fetch an external git repo
+    (synopsis "A fast desktop menu")
+    (description "j4-dmenu-desktop is a replacement for i3-dmenu-desktop. It's purpose is to find desktop files and offer you a menu to start an application using dmenu.")
+    (home-page "https://github.com/enkore/j4-dmenu-desktop")
+    (license license:gpl3+)))
-- 
2.26.1