all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#47914] [PATCH] gnu: Add daemonize.
@ 2021-04-20 18:23 WinterHound
  2021-04-20 18:42 ` Nicolò Balzarotti
  0 siblings, 1 reply; 3+ messages in thread
From: WinterHound @ 2021-04-20 18:23 UTC (permalink / raw)
  To: 47914; +Cc: WinterHound

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

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 725ea0afd6..37f88f2766 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -510,6 +510,39 @@ manager supports it, you can use xdotool to switch desktops, move windows
 between desktops, and change the number of desktops.")
     (license license:bsd-3)))
 
+(define-public xdo
+  (package
+    (name "xdo")
+    (version "0.5.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/baskerville/xdo")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1h3jrygcjjbavdbkpx2hscsf0yf97gk487lzjdlvymd7dxdv9hy9"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #:make-flags
+       (list (string-append "CC=" ,(cc-for-target))
+             (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))
+    (inputs
+     `(("libxcb" ,libxcb)
+       ("xcb-util-wm" ,xcb-util-wm)
+       ("xcb-util" ,xcb-util)))
+    (home-page "https://github.com/baskerville/xdo")
+    (synopsis "Small X utility to perform elementary actions on windows")
+    (description
+     "Apply the given action to the given windows.
+If no window IDs and no optioqqns are given, the action applies to the focused window.")
+    (license license:bsd-2)))
+
 (define-public xeyes
   (package
     (name "xeyes")
-- 
2.31.1





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

* [bug#47914] [PATCH] gnu: Add daemonize.
  2021-04-20 18:23 [bug#47914] [PATCH] gnu: Add daemonize WinterHound
@ 2021-04-20 18:42 ` Nicolò Balzarotti
  2021-05-22 21:51   ` bug#47914: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolò Balzarotti @ 2021-04-20 18:42 UTC (permalink / raw)
  To: WinterHound, 47914; +Cc: WinterHound

Hi!

WinterHound <winterhound@yandex.com> writes:

> +(define-public xdo

The patch name (daemonize) seems not to match the defined package.

License seems ok and tests are missing.

guix lint does not complain

Package builds fine and output binary does work.

There's a typo in the description (optioqqns -> options).  Also, the
second part of the description seems to be too specific, but others
might have a different opinion.

Thanks, Nicolò




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

* bug#47914: [PATCH] gnu: Add daemonize.
  2021-04-20 18:42 ` Nicolò Balzarotti
@ 2021-05-22 21:51   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2021-05-22 21:51 UTC (permalink / raw)
  To: Nicolò Balzarotti; +Cc: 47914-done, WinterHound

Hi,

Nicolò Balzarotti <anothersms@gmail.com> skribis:

> WinterHound <winterhound@yandex.com> writes:
>
>> +(define-public xdo
>
> The patch name (daemonize) seems not to match the defined package.
>
> License seems ok and tests are missing.
>
> guix lint does not complain
>
> Package builds fine and output binary does work.
>
> There's a typo in the description (optioqqns -> options).  Also, the
> second part of the description seems to be too specific, but others
> might have a different opinion.

I fixed these issues and applied it.

Thanks!

Ludo’.




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

end of thread, other threads:[~2021-05-22 21:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20 18:23 [bug#47914] [PATCH] gnu: Add daemonize WinterHound
2021-04-20 18:42 ` Nicolò Balzarotti
2021-05-22 21:51   ` bug#47914: " Ludovic Courtès

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.