Package Details: evhz-git r28.2c94d6f-1

Git Clone URL: https://aur.archlinux.org/evhz-git.git (read-only, click to copy)
Package Base: evhz-git
Description: Display the current mouse refresh rate
Upstream URL: https://git.sr.ht/~iank/evhz
Licenses: GPL3
Submitter: hitori
Maintainer: hitori
Last Packager: hitori
Votes: 47
Popularity: 0.024374
First Submitted: 2014-09-15 09:41 (UTC)
Last Updated: 2020-11-20 14:18 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

ChrisTX commented on 2025-07-24 12:34 (UTC)

Doesn't compile anymore.

evhz.c: In function ‘main’:
evhz.c:72:20: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
   72 |     signal(SIGINT, sigint);
      |                    ^~~~~~
      |                    |
      |                    void (*)(void)
In file included from evhz.c:24:
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
evhz.c:42:6: note: ‘sigint’ declared here
   42 | void sigint() {
      |      ^~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~

This is because the definition of sigint() here lacks an int argument.

The following fixes the build:

diff --git a/evhz.c b/evhz.c
index 950f727..c36bcee 100644
--- a/evhz.c
+++ b/evhz.c
@@ -39,7 +39,7 @@ typedef struct event_s {

 int quit = 0;

-void sigint() {
+void sigint(int) {
     quit = 1;
 }

vith commented on 2024-01-16 19:37 (UTC)

The source is up and the package builds the latest commit (35b7526e) and is working. I think unflag it?

halimbo commented on 2024-01-11 18:39 (UTC) (edited on 2024-01-11 18:46 (UTC) by halimbo)

This downloads the binary from an alternative rpm repo i found on google.

pkgname=evhz-bin

pkgver=2012

pkgrel=1

pkgdesc="Display the current mouse refresh rate"

arch=('x86_64')

url="https://altlinux.pkgs.org/p10/classic-x86_64/evhz-2012-alt1.x86_64.rpm.html"

license=('GPL3')

source=("https://distrib-coffee.ipsl.jussieu.fr/pub/linux/altlinux/p10/branch/x86_64/RPMS.classic/evhz-2012-alt1.x86_64.rpm")

sha256sums=('SKIP')

package() { install -Dm755 "$srcdir/usr/sbin/evhz" "$pkgdir/usr/bin/evhz"

}

silly commented on 2020-11-17 14:28 (UTC)

Source have been moved from gitlab to sourcehut, https://sr.ht/~iank/evhz/.

Figgis commented on 2016-09-18 21:11 (UTC)

/home/user/.cache/pacaur/evhz-git/evhz-git is not a clone of https://gitlab.com/iankelling/evhz.git Had the same issue. Your AUR helpers cache needs to be cleaned. In my case pacaur. All fine and dandy after removing it $ rm ~/.cache/pacaur/evhz-git/evhz-git

hitori commented on 2016-09-08 19:49 (UTC)

What AUR helper did you use? Can you provide a full log?

Pacane commented on 2016-09-07 14:34 (UTC)

failed to verify evhz-git integrity, any idea why?