aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/key-mon.scm
blob: dbfee050a90c11e8054fae39e9228c73bfaa491b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages key-mon)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (gnu packages)
  #:use-module (gnu packages python)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages gnome)
  #:use-module (guix build-system python))

(define-public key-mon
  (package
    (name "key-mon")
    (version "1.17")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "http://key-mon.googlecode.com/files/key-mon-"
                    version ".tar.gz"))
              (sha256
               (base32
                "1liz0dxcqmchbnl1xhlxkqm3gh76wz9jxdxn9pa7dy77fnrjkl5q"))))
    (build-system python-build-system)
    (arguments
     `(#:python ,python-2                    ;uses the Python 2 'print' syntax
       #:phases (modify-phases %standard-phases
                  (add-after 'install 'wrap
                             (lambda* (#:key inputs outputs #:allow-other-keys)
                               (let* ((out  (assoc-ref outputs "out"))
                                      (bin  (string-append out "/bin"))
                                      (rsvg (assoc-ref inputs "librsvg"))
                                      (pixbuf (find-files
                                               rsvg "^loaders\\.cache$")))
                                 ;; Allow key-mon to load SVGs.
                                 (wrap-program (string-append bin "/key-mon")
                                   `("GDK_PIXBUF_MODULE_FILE" ":"
                                     prefix ,pixbuf))))))
       #:tests? #f))                         ;no tests
    (native-inputs
     `(("python2-setuptools" ,python2-setuptools)))
    (inputs
     `(("python2-xlib" ,python2-xlib)
       ("python2-pygtk" ,python2-pygtk)
       ("librsvg" ,librsvg)
       ("python2-rsvg" ,python2-rsvg)))
    (home-page "http://code.google.com/p/key-mon")
    (synopsis "Show keyboard and mouse status")
    (description
     "The key-mon utility displays the current keyboard and mouse status.
This is useful for teaching and screencasts.")
    (license asl2.0)))
a73798a2cd9f655debf54b44872'>gnu: nmrpflash: Use G-expressions....* gnu/packages/admin.scm (nmrpflash)[arguments]: Rewrite as G-expressions. Tobias Geerinckx-Rice 2023-09-24gnu: nmrpflash: Update to 0.9.21....* gnu/packages/admin.scm (nmrpflash): Update to 0.9.21. Tobias Geerinckx-Rice 2023-09-25gnu: guile-fibers: Remove version from latest package....As I think this makes more sense, the version is only specified when you need a specific previous release. * gnu/packages/guile-xyz.scm (guile-fibers): Rename to guile-fibers-1.0. (guile-fibers-1.3): Rename to guile-fibers. (guile-fibers-1.1): Inherit from guile-fibers. * gnu/packages/admin.scm (shepherd-0.10)[native-inputs]: Replace guile-fibers-1.3 with guile-fibers. * gnu/packages/ci.scm (cuirass)[inputs]: Likewise. * gnu/packages/gnunet.scm (gnunet-scheme)[propagated-inputs,native-inputs]: Likewise. * gnu/packages/package-management.scm (guix-build-coordinator) [inputs,propagated-inputs]: Likewise. * gnu/packages/package-management.scm (nar-herder)[inputs,propagated-inputs]: Likewise. * gnu/packages/web.scm (guix-data-service)[propagated-inputs]: Likewise. Christopher Baines 2023-09-22gnu: uwufetch: Avoid top-level package references....* gnu/packages/admin.scm (uwufetch)[arguments]: Use the grep and gawk provided by INPUTS, instead of the top-level variables. Marius Bakke 2023-09-17gnu: pfetch: Update to 0.7.0-1.a906ff8....* gnu/packages/admin.scm (pfetch): Update to 0.7.0-1.a906ff8. [arguments]: Don't explicitly return #t from phases. Tobias Geerinckx-Rice 2023-09-18gnu: swineherd: Propagate inputs....Swineherd does not wrap its inputs, so it needs to drag along all its Guile inputs when installed. * gnu/packages/admin.scm (swineherd)[inputs]: Move all from here... [propagated-inputs]: ...to here. Ricardo Wurmus 2023-09-17gnu: Remove extraneous imports....Found by running 'guild compile -W3 gnu/packages/$module.scm', using guild from the upcoming Guile. * gnu/packages/admin.scm: Remove extraneous imports. * gnu/packages/avr.scm: Likewise. * gnu/packages/base.scm: Likewise. * gnu/packages/bootloaders.scm: Likewise. * gnu/packages/firmware.scm: Likewise. * gnu/packages/linphone.scm: Likewise. * gnu/packages/telephony.scm: Likewise. * gnu/packages/cran.scm: Likewise. * gnu/packages/kde.scm: Likewise. * gnu/packages/libcanberra.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/mes.scm: Likewise. * gnu/packages/mingw.scm: Likewise. * gnu/packages/serialization.scm: Likewise. * gnu/packages/sync.scm: Likewise. * gnu/packages/syncthing.scm: Likewise. * gnu/packages/terminals.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/emulators.scm: Likewise. Reviewed-by: Ludovic Courtès <ludo@gnu.org> Maxim Cournoyer 2023-09-10gnu: nnn: Update to 4.9....* gnu/packages/admin.scm (nnn): Update to 4.9. Tobias Geerinckx-Rice 2023-09-10gnu: inxi-minimal: Update to 3.3.29-1....* gnu/packages/admin.scm (inxi-minimal): Update to 3.3.29-1. Tobias Geerinckx-Rice 2023-09-10gnu: nmon: Update to 16p....* gnu/packages/admin.scm (nmon): Update to 16p. Tobias Geerinckx-Rice 2023-09-10gnu: dmidecode: Update to 3.5....* gnu/packages/admin.scm (dmidecode): Update to 3.5. Tobias Geerinckx-Rice 2023-09-10gnu: bfs: Update to 3.0.2....* gnu/packages/admin.scm (bfs): Update to 3.0.2. Tobias Geerinckx-Rice 2023-09-14gnu: rottlog: Add gawk as an input....This avoids an issue where rottlog will delete the entire /tmp directory if gawk is not installed. See <https://issues.guix.gnu.org/65793>. * gnu/packages/admin.scm (rottlog): Add gawk input, also update the patch-paths build phase for awk invocations. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Skyler 2023-09-14gnu: neofetch: Fix cross-compiling....* gnu/packages/admin.scm (neofetch): Fix cross-compiling. [arguments]: Use Gexp. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Zheng Junjie 2023-09-12gnu: Add swineherd....* gnu/packages/admin.scm (swineherd): New variable. Ricardo Wurmus 2023-09-08gnu: shepherd: Switch back to Fibers 1.1 on Arm machines....Fixes <https://issues.guix.gnu.org/64966>. * gnu/packages/admin.scm (shepherd-0.10)[native-inputs]: Use GUILE-FIBERS-1.1 when ‘target-arm?’ is true. Reported-by: Timotej Lazar <timotej.lazar@araneo.si> Reported-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Reported-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Ludovic Courtès 2023-09-01gnu: Add tcptrack....* gnu/packages/admin.scm (tcptrack): New variable. Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Reviewed-by: Jelle Licht <jlicht@fsfe.org> Jakob Kirsch 2023-08-29gnu: hyfetch: Update to 1.4.10....* gnu/packages/admin.scm (hyfetch): Update to 1.4.10. Signed-off-by: Christopher Baines <mail@cbaines.net> Hilton Chain 2023-08-20gnu: Add bfs....* gnu/packages/admin.scm (bfs): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Tobias Kortkamp 2023-08-16Update email addresses for Juliana Sims....* .mailmap: Add an entry for Juliana. * gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/build-tools.scm, gnu/packages/scheme.scm: Update Juliana's email. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Juliana Sims 2023-08-12gnu: uwufetch: Add and use missing inputs....* gnu/packages/admin.scm (uwufetch) [inputs]: Add missing inputs. [phases]: Use the fully-qualified paths of the input gawk and grep. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Juliana Sims 2023-08-08gnu: uwufetch: Manually create missing include dir....* gnu/packages/admin.scm (uwufetch) [arguments]: Manually create missing include dir. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Juliana Sims 2023-08-08gnu: uwufetch: Fix typo in build phase name....* gnu/packages/admin.scm (uwufetch) [arguments]: Fix typo in build phase name. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Juliana Sims 2023-07-30gnu: lynis: Use G-expressions....* gnu/packages/admin.scm (lynis)[arguments]: Rewrite as G-expressions. Tobias Geerinckx-Rice 2023-07-30gnu: lynis: Update to 3.0.9....* gnu/packages/admin.scm (lynis): Update to 3.0.9. Tobias Geerinckx-Rice 2023-07-30gnu: acpica: Update to 20230628....* gnu/packages/admin.scm (acpica): Update to 20230628. Tobias Geerinckx-Rice 2023-07-30gnu: sudo: Update to 1.9.14p3....* gnu/packages/admin.scm (sudo): Update to 1.9.14p3. Tobias Geerinckx-Rice 2023-07-30gnu: jc: Update to 1.23.4....* gnu/packages/admin.scm (jc): Update to 1.23.4. Tobias Geerinckx-Rice