diff options
| author | Andrew Miloradovsky <andrew@interpretmath.pw> | 2019-02-04 23:28:23 +0000 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2019-02-05 10:07:52 +0100 |
| commit | 16bb27f281298afcf7f7c2fb9200adf5d79c9e6c (patch) | |
| tree | 4c58819e42e3824440c64f755ad4b86f816c79b2 /gnu/packages/accessibility.scm | |
| parent | 45267af1a3d5b30b3c379be4574b2993e82cefa3 (diff) | |
gnu: Add xmagnify.
* gnu/packages/accessibility.scm (xmagnify): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/accessibility.scm')
| -rw-r--r-- | gnu/packages/accessibility.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm index d399f98f094..25c44fa2c03 100644 --- a/gnu/packages/accessibility.scm +++ b/gnu/packages/accessibility.scm | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | ;;; Copyright © 2017 Nils Gillmann <ng0@n0.is> | 2 | ;;; Copyright © 2017 Nils Gillmann <ng0@n0.is> |
| 3 | ;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at> | 3 | ;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at> |
| 4 | ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> | 4 | ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> |
| 5 | ;;; Copyright © 2019 Andrew Miloradovsky <andrew@interpretmath.pw> | ||
| 5 | ;;; | 6 | ;;; |
| 6 | ;;; This file is part of GNU Guix. | 7 | ;;; This file is part of GNU Guix. |
| 7 | ;;; | 8 | ;;; |
| @@ -122,3 +123,37 @@ available to help to click.") | |||
| 122 | It works for both single pedal devices and three pedal devices. All supported | 123 | It works for both single pedal devices and three pedal devices. All supported |
| 123 | devices have vendorId:productId = 0c45:7403 or 0c45:7404.") | 124 | devices have vendorId:productId = 0c45:7403 or 0c45:7404.") |
| 124 | (license license:expat)))) | 125 | (license license:expat)))) |
| 126 | |||
| 127 | (define-public xmagnify | ||
| 128 | (package | ||
| 129 | (name "xmagnify") | ||
| 130 | (version "0.1.0") | ||
| 131 | (source (origin | ||
| 132 | (method git-fetch) | ||
| 133 | (uri (git-reference | ||
| 134 | (url "https://gitlab.com/amiloradovsky/magnify.git") | ||
| 135 | (commit version))) | ||
| 136 | (file-name (git-file-name name version)) | ||
| 137 | (sha256 | ||
| 138 | (base32 | ||
| 139 | "1ngnp5f5zl3v35vhbdyjpymy6mwrs0476fm5nd7dzkba7n841jdh")))) | ||
| 140 | (build-system gnu-build-system) | ||
| 141 | (arguments | ||
| 142 | `(#:tests? #f ; none included | ||
| 143 | #:make-flags | ||
| 144 | (list "CC=gcc" | ||
| 145 | (string-append "prefix=" (assoc-ref %outputs "out"))) | ||
| 146 | #:phases | ||
| 147 | (modify-phases %standard-phases | ||
| 148 | (delete 'configure)))) | ||
| 149 | (inputs | ||
| 150 | `(("libX11" ,libx11))) | ||
| 151 | (home-page "https://gitlab.com/amiloradovsky/magnify") | ||
| 152 | (synopsis "Tiny screen magnifier for X11") | ||
| 153 | (description | ||
| 154 | "This program magnifies a screen region by an integer positive factor and | ||
| 155 | draws the result on a window. It is useful as an accessibility tool, which | ||
| 156 | works with every X Window System based GUI (depends only on libX11); or as an | ||
| 157 | assistant for graphic designers, who need to select individual pixels.") | ||
| 158 | ;; Licensed either under Expat or GPLv2+. | ||
| 159 | (license (list license:expat license:gpl2+)))) | ||
