diff options
| author | Ivan Gankevich <igankevich@capybaramail.xyz> | 2023-04-15 21:01:08 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2023-05-25 12:51:16 +0200 |
| commit | a9cde26133bd98498869a3528d9dff0d3f456a96 (patch) | |
| tree | 18a26593c34ecb7f0dae46b96f52f855b356162b /gnu/packages/accessibility.scm | |
| parent | 0d320a10bf09615c10af2c8bf3df1bdcbea8eb6e (diff) | |
gnu: Add mouseloupe.
* gnu/packages/accessibility.scm (mouseloupe): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/accessibility.scm')
| -rw-r--r-- | gnu/packages/accessibility.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm index 3613bd8c454..0b06a189ea8 100644 --- a/gnu/packages/accessibility.scm +++ b/gnu/packages/accessibility.scm | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | ;;; Copyright © 2019 Andrew Miloradovsky <andrew@interpretmath.pw> | 5 | ;;; Copyright © 2019 Andrew Miloradovsky <andrew@interpretmath.pw> |
| 6 | ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il> | 6 | ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il> |
| 7 | ;;; Copyright © 2022 Hunter Jozwiak <hunter.t.joz@gmail.com> | 7 | ;;; Copyright © 2022 Hunter Jozwiak <hunter.t.joz@gmail.com> |
| 8 | ;;; Copyright © 2023 Ivan Gankevich <igankevich@capybaramail.xyz> | ||
| 8 | ;;; | 9 | ;;; |
| 9 | ;;; This file is part of GNU Guix. | 10 | ;;; This file is part of GNU Guix. |
| 10 | ;;; | 11 | ;;; |
| @@ -350,3 +351,38 @@ CONFIG_SPEAKUP=m | |||
| 350 | CONFIG_SPEAKUP_SOFT=m | 351 | CONFIG_SPEAKUP_SOFT=m |
| 351 | @end itemize") | 352 | @end itemize") |
| 352 | (home-page "https://github.com/linux-speakup/espeakup"))) | 353 | (home-page "https://github.com/linux-speakup/espeakup"))) |
| 354 | |||
| 355 | (define-public mouseloupe | ||
| 356 | (package | ||
| 357 | (name "mouseloupe") | ||
| 358 | (version "0.6") | ||
| 359 | (source | ||
| 360 | (origin | ||
| 361 | (method url-fetch) | ||
| 362 | (uri (string-append "mirror://sourceforge/" name "/" name "/v" version | ||
| 363 | "/" name "-v" version ".tar.gz")) | ||
| 364 | (sha256 (base32 "0cvdkfakw7cix07j0c4iy10fkbqn6n8l1gr5dd3iy4f2d9bkza43")))) | ||
| 365 | (build-system gnu-build-system) | ||
| 366 | (arguments | ||
| 367 | `(#:tests? #f ; there are no tests | ||
| 368 | #:phases | ||
| 369 | (modify-phases %standard-phases | ||
| 370 | (delete 'configure) | ||
| 371 | (add-before 'build 'strtof | ||
| 372 | (lambda _ | ||
| 373 | (substitute* "mouseloupe.c" | ||
| 374 | (("\\bstrtof\\b") "mouseloupe_strtof")))) | ||
| 375 | (replace 'install | ||
| 376 | (lambda _ | ||
| 377 | (define out (assoc-ref %outputs "out")) | ||
| 378 | (install-file "mouseloupe" (string-append out "/bin")) | ||
| 379 | (install-file "mouseloupe.1.gz" (string-append out "/share/man/man1"))))))) | ||
| 380 | (native-inputs | ||
| 381 | (list pkg-config)) | ||
| 382 | (inputs | ||
| 383 | (list libx11 libxext libxcomposite libxdamage libxrender)) | ||
| 384 | (synopsis "Screen magnifier tool for people with low vision") | ||
| 385 | (description "MouseLoupe is a kind of magnifying glass combined with the mouse pointer | ||
| 386 | which allows an easy and pleasant web navigation.") | ||
| 387 | (home-page "https://sourceforge.net/projects/mouseloupe/") | ||
| 388 | (license license:gpl2+))) | ||
