all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#51917] [PATCH] gnu: Add devour.
@ 2021-11-17  9:26 jgart via Guix-patches via
  2021-11-21 20:44 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: jgart via Guix-patches via @ 2021-11-17  9:26 UTC (permalink / raw)
  To: 51917; +Cc: jgart

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

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 6874b591f2..e07fe3a24e 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2569,6 +2569,37 @@ (define-public hikari
 capabilities.  It is heavily inspired by the Calm Window manager(cwm).")
     (license license:bsd-2)))
 
+(define-public devour
+  (package
+    (name "devour")
+    (version "12")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/salman-abedin/devour")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1qq5l6d0fn8azg7sj7a4m2jsmhlpswl5793clcxs1p34vy4wb2lp"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libx11" ,libx11)))
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (delete 'configure))           ; no configure script
+       #:tests? #f                      ; no tests
+       #:make-flags
+       (list "CC=gcc"
+             (string-append "BIN_DIR=" %output "/bin"))))
+    (home-page "https://github.com/salman-abedin/devour")
+    (synopsis "X11 window swallower")
+    (description
+"@command{devour} hides your current window before launching an external program
+and unhides it after quitting.")
+    (license license:gpl2)))
+
 (define-public wlogout
   (package
     (name "wlogout")
-- 
2.33.1





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#51917] [PATCH] gnu: Add devour.
  2021-11-17  9:26 [bug#51917] [PATCH] gnu: Add devour jgart via Guix-patches via
@ 2021-11-21 20:44 ` Nicolas Goaziou
  2021-11-22  6:33   ` jgart via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2021-11-21 20:44 UTC (permalink / raw)
  To: 51917; +Cc: 51917-done, jgart

Hello,

jgart via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/wm.scm (devour): New variable.

Thank you. I applied your patch with the change below:

> +       (list "CC=gcc"
> +             (string-append "BIN_DIR=" %output "/bin"))))

I used (string-append "CC=" (cc-for-target)) to make the package more
cross-compilation friendly.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#51917] [PATCH] gnu: Add devour.
  2021-11-21 20:44 ` Nicolas Goaziou
@ 2021-11-22  6:33   ` jgart via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: jgart via Guix-patches via @ 2021-11-22  6:33 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 51917-done, 51917

On Sun, 21 Nov 2021 21:44:56 +0100 Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

Thank you!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-22  6:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17  9:26 [bug#51917] [PATCH] gnu: Add devour jgart via Guix-patches via
2021-11-21 20:44 ` Nicolas Goaziou
2021-11-22  6:33   ` jgart via Guix-patches via

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.