New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xkbmon: init at 0.1 #33345
xkbmon: init at 0.1 #33345
Conversation
@GrahamcOfBorg build xkbmon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: x86_64-linux
gcc -Wall -O2 -std=c99 main.c -o xkbmon -lX11
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/9jpkxqcygihy82ja2w722vnniyp04b45-xkbmon-0.1
shrinking /nix/store/9jpkxqcygihy82ja2w722vnniyp04b45-xkbmon-0.1/bin/xkbmon
strip is /nix/store/wxn5gn8amxm1w0ikcx4gbs8a17wvss4j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/9jpkxqcygihy82ja2w722vnniyp04b45-xkbmon-0.1/bin
patching script interpreter paths in /nix/store/9jpkxqcygihy82ja2w722vnniyp04b45-xkbmon-0.1
checking for references to /tmp/nix-build-xkbmon-0.1.drv-0 in /nix/store/9jpkxqcygihy82ja2w722vnniyp04b45-xkbmon-0.1...
/nix/store/9jpkxqcygihy82ja2w722vnniyp04b45-xkbmon-0.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: aarch64-linux
gcc -Wall -O2 -std=c99 main.c -o xkbmon -lX11
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/0n1gjpi92k9a610qq3km4i3492d4jjws-xkbmon-0.1
shrinking /nix/store/0n1gjpi92k9a610qq3km4i3492d4jjws-xkbmon-0.1/bin/xkbmon
strip is /nix/store/c6qj0j45xizkrx58i65j75a5ysmqhgrs-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/0n1gjpi92k9a610qq3km4i3492d4jjws-xkbmon-0.1/bin
patching script interpreter paths in /nix/store/0n1gjpi92k9a610qq3km4i3492d4jjws-xkbmon-0.1
checking for references to /build in /nix/store/0n1gjpi92k9a610qq3km4i3492d4jjws-xkbmon-0.1...
/nix/store/0n1gjpi92k9a610qq3km4i3492d4jjws-xkbmon-0.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure for system: x86_64-darwin
patching sources
configuring
no configure script, doing nothing
building
build flags: SHELL=/nix/store/hgsbnqhg7zr5vbjazb250ac4wnj3cfhy-bash-4.4-p12/bin/bash
gcc -Wall -O2 -std=c99 main.c -o xkbmon -lX11
/nix/store/hgsbnqhg7zr5vbjazb250ac4wnj3cfhy-bash-4.4-p12/bin/bash: gcc: command not found
make: *** [Makefile:2: xkbmon] Error 127
builder for '/nix/store/ip3ksrznd9vmvbl9nd9zs2iljxqdxhz0-xkbmon-0.1.drv' failed with exit code 2
error: build of '/nix/store/ip3ksrznd9vmvbl9nd9zs2iljxqdxhz0-xkbmon-0.1.drv' failed
homepage = https://github.com/xkbmon/xkbmon; | ||
description = "Command-line keyboard layout monitor for X11"; | ||
license = licenses.gpl3; | ||
platforms = platforms.unix; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be changed to linux.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Motivation for this change
Add
xkbmon
, a command-line keyboard layout monitor for X11.Features:
It can easily be used as a keyboard layout applet in the
tint2
panel.Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)