Subject: bug#43856: closed (Re: [bug#43856] [PATCH] gnu: Add dex.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 13 Oct 2020 20:33:02 +0000

Your bug report

#43856: [PATCH] gnu: Add dex.

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].

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

Subject: Re: [bug#43856] [PATCH] gnu: Add dex.
From: Marius Bakke <[email-masked]>
To: James Smith <[email-masked]>, [email-masked]
Cc: James Smith <[email-masked]>
Date: Tue, 13 Oct 2020 22:32:15 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

James Smith <[email-masked]> writes:

> * gnu/packages/xdisorg.scm (dex): New variable.

Applied with the following changes, thanks!

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 443bf39304..d9c89053b9 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -2526,7 +2526,7 @@ such as sway, similar to @command{rofi}.")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                    (url (string-append "https://github.com/jceb/" name))
+                    (url (string-append "https://github.com/jceb/dex"))
                     (commit (string-append "v" version))))
               (sha256
                (base32
@@ -2544,7 +2544,8 @@ such as sway, similar to @command{rofi}.")
     (native-inputs
      `(("python-sphinx" ,python-sphinx)))
     (home-page "https://github.com/jceb/dex")
-    (synopsis "DesktopEntry Execution")
-    (description "dex, DesktopEntry Execution, is a program to generate and
-execute DesktopEntry files of the Application type.")
-    (license license:gpl3)))
+    (synopsis "Execute DesktopEntry files")
+    (description
+     "@command{dex}, @dfn{DesktopEntry Execution}, is a program to generate
+and execute @file{.desktop} files of the Application type.")
+    (license license:gpl3+)))

Subject: [PATCH] gnu: Add dex.
From: James Smith <[email-masked]>
To: [email-masked]
Cc: James Smith <[email-masked]>
Date: Wed, 7 Oct 2020 13:44:14 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/xdisorg.scm (dex): New variable.
---
 gnu/packages/xdisorg.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 5398761c65..443bf39304 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -40,6 +40,7 @@
 ;;; Copyright © 2020 Ivan Kozlov <[email-masked]>
 ;;; Copyright © 2020 Brett Gilio <[email-masked]>
 ;;; Copyright © 2020 Gabriel Arazas <[email-masked]>
+;;; Copyright © 2020 James Smith <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -104,6 +105,7 @@
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages bison)
+  #:use-module (gnu packages sphinx)
   #:use-module (ice-9 match))
 
 ;; packages outside the x.org system proper
@@ -2516,3 +2518,33 @@ using @command{dmenu}.")
 such as sway, similar to @command{rofi}.")
     (home-page "https://hg.sr.ht/~scoopta/wofi")
     (license license:gpl3+)))
+
+(define-public dex
+  (package
+    (name "dex")
+    (version "0.9.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url (string-append "https://github.com/jceb/" name))
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "03aapcywnz4kl548cygpi25m8adwbmqlmwgxa66v4156ax9dqs86"))
+              (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))
+       #:tests? #f))
+    (inputs
+     `(("python", python)))
+    (native-inputs
+     `(("python-sphinx" ,python-sphinx)))
+    (home-page "https://github.com/jceb/dex")
+    (synopsis "DesktopEntry Execution")
+    (description "dex, DesktopEntry Execution, is a program to generate and
+execute DesktopEntry files of the Application type.")
+    (license license:gpl3)))
-- 
2.28.0