Mirror of GNU Guix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

124 lines
4.9 KiB

Correct name and Email for ng0. * .mailmap: Correct name and Email for ng0. * Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish gnu/packages/accessibility.scm, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm, gnu/packages/check.scm, gnu/packages/cinnamon.scm, gnu/packages/compression.scm, gnu/packages/crypto.scm, gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm, gnu/packages/enlightenment.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm, gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm, gnu/packages/haskell.scm, gnu/packages/image-viewers.scm, gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm, gnu/packages/libcanberra.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm, gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm, gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm, gnu/packages/ncurses.scm, gnu/packages/networking.scm, gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl-check.scm, gnu/packages/perl.scm, gnu/packages/python-crypto.scm, gnu/packages/python-web.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm, gnu/packages/rust.scm, gnu/packages/scheme.scm, gnu/packages/serialization.scm, gnu/packages/shells.scm, gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm, gnu/packages/telephony.scm, gnu/packages/text-editors.scm, gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm, gnu/packages/tor.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm, gnu/services/desktop.scm, gnu/services/version-control.scm, gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
4 years ago
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
  3. ;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
  4. ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
  5. ;;;
  6. ;;; This file is part of GNU Guix.
  7. ;;;
  8. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  9. ;;; under the terms of the GNU General Public License as published by
  10. ;;; the Free Software Foundation; either version 3 of the License, or (at
  11. ;;; your option) any later version.
  12. ;;;
  13. ;;; GNU Guix is distributed in the hope that it will be useful, but
  14. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. ;;; GNU General Public License for more details.
  17. ;;;
  18. ;;; You should have received a copy of the GNU General Public License
  19. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  20. (define-module (gnu packages accessibility)
  21. #:use-module ((guix licenses) #:prefix license:)
  22. #:use-module (guix packages)
  23. #:use-module (guix download)
  24. #:use-module (guix git-download)
  25. #:use-module (guix build-system gnu)
  26. #:use-module (guix build-system glib-or-gtk)
  27. #:use-module (gnu packages)
  28. #:use-module (gnu packages xml)
  29. #:use-module (gnu packages gnome)
  30. #:use-module (gnu packages gstreamer)
  31. #:use-module (gnu packages gtk)
  32. #:use-module (gnu packages xorg)
  33. #:use-module (gnu packages gettext)
  34. #:use-module (gnu packages glib)
  35. #:use-module (gnu packages pkg-config)
  36. #:use-module (gnu packages libusb))
  37. (define-public florence
  38. (package
  39. (name "florence")
  40. (version "0.6.3")
  41. (source
  42. (origin
  43. (method url-fetch)
  44. (uri (string-append "mirror://sourceforge/florence/florence/" version
  45. "/" name "-" version ".tar.bz2"))
  46. (sha256
  47. (base32
  48. "07h9qm22krlwayhzvc391lr23vicw81s48g7rirvx1fj0zyr4aa2"))))
  49. (build-system glib-or-gtk-build-system)
  50. (arguments
  51. `(#:configure-flags (list "--with-xtst"
  52. "--without-docs"
  53. "--with-notification")))
  54. (inputs
  55. `(("libxml2" ,libxml2)
  56. ("libglade" ,libglade)
  57. ("librsvg" ,librsvg)
  58. ("gstreamer" ,gstreamer)
  59. ("cairo" ,cairo)
  60. ("gtk+" ,gtk+)
  61. ("libxtst" ,libxtst)
  62. ("libxcomposite" ,libxcomposite)
  63. ("libnotify" ,libnotify)))
  64. (native-inputs
  65. `(("gettext-minimal" ,gettext-minimal)
  66. ("intltool" ,intltool)
  67. ("pkg-config" ,pkg-config)))
  68. (home-page "http://florence.sourceforge.net/")
  69. (synopsis "Extensible, scalable virtual keyboard for X11")
  70. (description
  71. "Florence is an extensible scalable virtual keyboard for X11.
  72. It is useful for people who can't use a real hardware keyboard (for
  73. example for people with disabilities), but you must be able to use
  74. a pointing device (as a mouse, a trackball, a touchscreen or opengazer).
  75. Florence stays out of your way when you don't need it: it appears on the
  76. screen only when you need it. A timer-based auto-click input method is
  77. available to help to click.")
  78. ;; The documentation is under FDL1.2, but we do not install the
  79. ;; documentation.
  80. (license license:gpl2+)))
  81. (define-public footswitch
  82. (let ((commit "ca43d53fc2002520cc825d119702afc124303e73")
  83. (revision "2"))
  84. (package
  85. (name "footswitch")
  86. (version (git-version "0.1" revision commit))
  87. (source (origin
  88. (method git-fetch)
  89. (uri (git-reference
  90. (url "https://github.com/rgerganov/footswitch")
  91. (commit commit)))
  92. (file-name (git-file-name name version))
  93. (sha256
  94. (base32
  95. "14pyzc4ws1mj859xs9n4x83wzxxvd3bh5bdxzr6nv267xwx1mq68"))))
  96. (build-system gnu-build-system)
  97. (native-inputs
  98. `(("pkg-config" ,pkg-config)))
  99. (inputs
  100. `(("hidapi" ,hidapi)))
  101. (arguments
  102. `(#:tests? #f ; no tests
  103. #:make-flags (list "CC=gcc")
  104. #:phases (modify-phases %standard-phases
  105. (delete 'configure)
  106. ;; Install target in the Makefile does not work for Guix
  107. (replace 'install
  108. (lambda* (#:key outputs #:allow-other-keys)
  109. (let ((bin (string-append (assoc-ref outputs "out")
  110. "/bin")))
  111. (install-file "footswitch" bin)
  112. (install-file "scythe" bin)
  113. #t))))))
  114. (home-page "https://github.com/rgerganov/footswitch")
  115. (synopsis "Command line utility for PCsensor foot switch")
  116. (description
  117. "Command line utility for programming foot switches sold by PCsensor.
  118. It works for both single pedal devices and three pedal devices. All supported
  119. devices have vendorId:productId = 0c45:7403 or 0c45:7404.")
  120. (license license:expat))))