guix-patches
[Top][All Lists]
Advanced

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

bug#32611: [PATCH] xorg.scm - add transset-df


From: Ludovic Courtès
Subject: bug#32611: [PATCH] xorg.scm - add transset-df
Date: Mon, 03 Sep 2018 23:28:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi Benjamin,

I applied with the minor changes below, added a commit log that follows
our convention, and pushed.

Thanks!

Ludo’.

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 1abf95fb3..c89661272 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -6223,17 +6223,18 @@ mouse click.  You can do everything mouse can do with a 
keyboard.")
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))
                     (bin (string-append out "/bin")))
-               (mkdir-p bin)
-               (copy-file "transset-df" (string-append bin "/transset-df"))
+               (install-file "transset-df" bin)
                #t))))))
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (inputs `(("libxcomposite" ,libxcomposite)
-              ("libxdamager" ,libxdamage) ("libxrender" ,libxrender)))
-    (synopsis "Patched version of X.Org's transset with added functionality")
-    (description "A patched version of X.Org's transset with added 
functionality,
-including: selecting window by clicking (as transset), selecting
-windows by pointing select actual focused X11 window, selecting by
-window name or id, forcing toggle increase or decrease opacity")
+              ("libxdamager" ,libxdamage)
+              ("libxrender" ,libxrender)))
+    (synopsis "Set the transparency of X11 windows")
+    (description "The @command{transset-df} command allows you to set the
+opacity of X11 windows.  This patched version of X.Org's @command{transset}
+adds functionality, including: selecting window by clicking (as transset),
+selecting windows by pointing select actual focused X11 window, selecting by
+window name or id, forcing toggle, increase or decrease opacity.")
     (home-page "http://forchheimer.se/transset-df/";)
-    (license x11)))
+    (license license:x11)))

reply via email to

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