emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48450: closed ([PATCH] gnu: Add jumpapp.)


From: GNU bug Tracking System
Subject: bug#48450: closed ([PATCH] gnu: Add jumpapp.)
Date: Sat, 22 May 2021 21:45:01 +0000

Your message dated Sat, 22 May 2021 23:44:05 +0200
with message-id <87v97a5tqy.fsf@gnu.org>
and subject line Re: bug#48450: [PATCH] gnu: Add jumpapp.
has caused the debbugs.gnu.org bug report #48450,
regarding [PATCH] gnu: Add jumpapp.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
48450: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48450
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add jumpapp. Date: Sat, 15 May 2021 20:46:02 +0200 User-agent: Cyrus-JMAP/3.5.0-alpha0-448-gae190416c7-fm-20210505.004-gae190416
>From 55e4bfbac15074b0db604461b8c64b4e3daa15dc Mon Sep 17 00:00:00 2001
From: Renzo Poddighe <renzo@poddighe.nl>
Date: Sat, 15 May 2021 20:27:25 +0200
Subject: [PATCH] gnu: Add jumpapp.
To: guix-patches@gnu.org

* gnu/packages/xdisorg.scm (jumpapp-1.1): New variable.

Signed-off-by: Renzo Poddighe <renzo@poddighe.nl>
---
 gnu/packages/xdisorg.scm | 41 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index b5bacd3d97..1d9366eeba 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -2796,3 +2796,44 @@ and execute @file{.desktop} files of the Application 
type.")
      "The @command{hsetroot} command composes wallpapers for X.
 This package is the fork of hsetroot by Hyriand.")
     (license license:gpl2+)))
+
+(define-public jumpapp
+  (package
+    (name "jumpapp")
+    (version "1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mkropat/jumpapp";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1jrk4mm42sz6ca2gkb6w3dad53d4im4shpgsq8s4vr6xpl3b43ry"))))
+    (build-system gnu-build-system)
+    (arguments `(#:phases
+                 (modify-phases %standard-phases
+                   (delete 'configure)
+                   (delete 'check)
+                   (add-before 'install 'set-prefix-in-makefile
+                     (lambda* (#:key outputs #:allow-other-keys)
+                       (let ((out (assoc-ref outputs "out")))
+                         (substitute* "Makefile"
+                           (("PREFIX =.*")
+                            (string-append "PREFIX = " out "\n")))
+                         #true))))))
+    (propagated-inputs
+     `(("wmctrl" ,wmctrl)
+       ("xdotool" ,xdotool)
+       ("xprop" ,xprop)))
+    (native-inputs
+     `(("pandoc" ,pandoc)
+       ("perl" ,perl)))
+    (synopsis "Run-or-raise application switcher for any X11 desktop")
+    (description
+     "Bind a key for any given application that will launch the application,
+if it's not already running, or focus the application's window,if it is 
running.
+Pressing the key again will cycle to the application's next window,
+if there's more than one.")
+    (home-page "https://github.com/mkropat/jumpapp";)
+    (license license:expat)))
-- 
2.31.1



--- End Message ---
--- Begin Message --- Subject: Re: bug#48450: [PATCH] gnu: Add jumpapp. Date: Sat, 22 May 2021 23:44:05 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hi,

"Renzo Poddighe" <renzo@poddighe.nl> skribis:

>>From 55e4bfbac15074b0db604461b8c64b4e3daa15dc Mon Sep 17 00:00:00 2001
> From: Renzo Poddighe <renzo@poddighe.nl>
> Date: Sat, 15 May 2021 20:27:25 +0200
> Subject: [PATCH] gnu: Add jumpapp.
> To: guix-patches@gnu.org
>
> * gnu/packages/xdisorg.scm (jumpapp-1.1): New variable.
>
> Signed-off-by: Renzo Poddighe <renzo@poddighe.nl>

I added a copyright line for you (let me know if I got it wrong) and
committed.  Thanks!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]