From: Ivan Gankevich <igankevich@capybaramail.xyz>
To: 62874@debbugs.gnu.org
Cc: Ivan Gankevich <igankevich@capybaramail.xyz>
Subject: [bug#62874] [PATCH] gnu: Add mouseloupe.
Date: Sat, 15 Apr 2023 21:01:08 +0200 [thread overview]
Message-ID: <20230415190107.31539-1-igankevich@capybaramail.xyz> (raw)
* gnu/packages/accessibility.scm (mouseloupe): New variable.
---
Hello.
I've added a magnifying tool for X11. This is an old package but still works.
Best regards,
Ivan
gnu/packages/accessibility.scm | 36 ++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm
index 3613bd8c45..0b06a189ea 100644
--- a/gnu/packages/accessibility.scm
+++ b/gnu/packages/accessibility.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2019 Andrew Miloradovsky <andrew@interpretmath.pw>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Hunter Jozwiak <hunter.t.joz@gmail.com>
+;;; Copyright © 2023 Ivan Gankevich <igankevich@capybaramail.xyz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -350,3 +351,38 @@ (define-public espeakup
CONFIG_SPEAKUP_SOFT=m
@end itemize")
(home-page "https://github.com/linux-speakup/espeakup")))
+
+(define-public mouseloupe
+ (package
+ (name "mouseloupe")
+ (version "0.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/" name "/" name "/v" version
+ "/" name "-v" version ".tar.gz"))
+ (sha256 (base32 "0cvdkfakw7cix07j0c4iy10fkbqn6n8l1gr5dd3iy4f2d9bkza43"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; there are no tests
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'build 'strtof
+ (lambda _
+ (substitute* "mouseloupe.c"
+ (("\\bstrtof\\b") "mouseloupe_strtof"))))
+ (replace 'install
+ (lambda _
+ (define out (assoc-ref %outputs "out"))
+ (install-file "mouseloupe" (string-append out "/bin"))
+ (install-file "mouseloupe.1.gz" (string-append out "/share/man/man1")))))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list libx11 libxext libxcomposite libxdamage libxrender))
+ (synopsis "Screen magnifier tool for people with low vision")
+ (description "MouseLoupe is a kind of magnifying glass combined with the mouse pointer
+which allows an easy and pleasant web navigation.")
+ (home-page "https://sourceforge.net/projects/mouseloupe/")
+ (license license:gpl2+)))
--
2.38.0
next reply other threads:[~2023-04-16 12:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-15 19:01 Ivan Gankevich [this message]
2023-05-25 10:51 ` bug#62874: [PATCH] gnu: Add mouseloupe Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230415190107.31539-1-igankevich@capybaramail.xyz \
--to=igankevich@capybaramail.xyz \
--cc=62874@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).