diff options
| author | Benjamin Slade <slae@jnanam.net> | 2018-09-03 23:19:30 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2018-09-03 23:40:23 +0200 |
| commit | 38fe6449c0d1fac6f64fcbabfbc94943752830b9 (patch) | |
| tree | fd9e2aaf97246adf17d6555bc32397713bbb5965 /gnu | |
| parent | c702749dfd47ea6983768cd5b8cf828898445af0 (diff) | |
gnu: Add transset-df.
* gnu/packages/xorg.scm (transset-df): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/xorg.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 3875765d25e..c89661272b6 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> | 17 | ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> |
| 18 | ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net> | 18 | ;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net> |
| 19 | ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com> | 19 | ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com> |
| 20 | ;;; Copyright © 2018 Benjamin Slade <slae@jnanam.net> | ||
| 20 | ;;; | 21 | ;;; |
| 21 | ;;; This file is part of GNU Guix. | 22 | ;;; This file is part of GNU Guix. |
| 22 | ;;; | 23 | ;;; |
| @@ -6196,3 +6197,44 @@ and embedded platforms.") | |||
| 6196 | cursor to any point on the screen with a few key strokes. It also simulates | 6197 | cursor to any point on the screen with a few key strokes. It also simulates |
| 6197 | mouse click. You can do everything mouse can do with a keyboard.") | 6198 | mouse click. You can do everything mouse can do with a keyboard.") |
| 6198 | (license license:bsd-3))) | 6199 | (license license:bsd-3))) |
| 6200 | |||
| 6201 | (define-public transset-df | ||
| 6202 | (package | ||
| 6203 | (name "transset-df") | ||
| 6204 | (version "6") | ||
| 6205 | (source (origin | ||
| 6206 | (method url-fetch) | ||
| 6207 | (uri (string-append "http://forchheimer.se/" name "/" name "-" version | ||
| 6208 | ".tar.gz")) | ||
| 6209 | (sha256 | ||
| 6210 | (base32 | ||
| 6211 | "1vnykwwrv75miigbhmcwxniw8xnhsdyzhqydip2m9crxi2lwhqs5")))) | ||
| 6212 | (build-system gnu-build-system) | ||
| 6213 | (arguments | ||
| 6214 | '(#:phases | ||
| 6215 | (modify-phases %standard-phases | ||
| 6216 | (add-after 'unpack 'setenv | ||
| 6217 | (lambda _ | ||
| 6218 | (setenv "CC" (which "gcc")) | ||
| 6219 | #t)) | ||
| 6220 | (delete 'configure) | ||
| 6221 | (delete 'check) | ||
| 6222 | (replace 'install | ||
| 6223 | (lambda* (#:key outputs #:allow-other-keys) | ||
| 6224 | (let* ((out (assoc-ref outputs "out")) | ||
| 6225 | (bin (string-append out "/bin"))) | ||
| 6226 | (install-file "transset-df" bin) | ||
| 6227 | #t)))))) | ||
| 6228 | (native-inputs | ||
| 6229 | `(("pkg-config" ,pkg-config))) | ||
| 6230 | (inputs `(("libxcomposite" ,libxcomposite) | ||
| 6231 | ("libxdamager" ,libxdamage) | ||
| 6232 | ("libxrender" ,libxrender))) | ||
| 6233 | (synopsis "Set the transparency of X11 windows") | ||
| 6234 | (description "The @command{transset-df} command allows you to set the | ||
| 6235 | opacity of X11 windows. This patched version of X.Org's @command{transset} | ||
| 6236 | adds functionality, including: selecting window by clicking (as transset), | ||
| 6237 | selecting windows by pointing select actual focused X11 window, selecting by | ||
| 6238 | window name or id, forcing toggle, increase or decrease opacity.") | ||
| 6239 | (home-page "http://forchheimer.se/transset-df/") | ||
| 6240 | (license license:x11))) | ||
