jpcima / spectacle

Realtime graphical spectrum analyzer
ISC License
60 stars 5 forks source link

xxd not found - error during compilation #10

Closed unfa closed 3 years ago

unfa commented 3 years ago

A build from AUR failed on Manajro Linux KDE fro me today:

mkdir -p ../../build/spectacle-analyzer/res/fonts/liberation/
zcat ../../resources/fonts/liberation/LiberationSans-Regular.ttf.gz | xxd -i > ../../build/spectacle-analyzer/res/fonts/liberation/LiberationSans-Regular.ttf.h.tmp
/bin/sh: line 1: xxd: command not found
make[1]: *** [Makefile:114: ../../build/spectacle-analyzer/res/fonts/liberation/LiberationSans-Regular.ttf.h] Error 127
make[1]: Leaving directory '/home/unfa/.cache/yay/spectacle-analyzer.lv2-git/src/spectacle.lv2-git/plugins/spectacle'
make: *** [Makefile:24: res] Error 2
make: *** Waiting for unfinished jobs....
Compiling src/WidgetPrivateData.cpp (Cairo variant)
make[1]: Leaving directory '/home/unfa/.cache/yay/spectacle-analyzer.lv2-git/src/spectacle.lv2-git/dpf/utils/lv2-ttl-generator'
Compiling src/Window.cpp (Cairo variant)
Creating libdgl-cairo.a
make[1]: Leaving directory '/home/unfa/.cache/yay/spectacle-analyzer.lv2-git/src/spectacle.lv2-git/dpf/dgl'
==> ERROR: A failure occurred in build().
    Aborting...
error making: spectacle-analyzer.lv2-git
Press any key to continue...
unfa commented 3 years ago

I fixed this by installing xxd. Maybe the AUR package should be altered to require it as a dependancy?

jpcima commented 3 years ago

Maybe the AUR package should be altered to require it as a dependancy?

The tool xxd comes with vim. Commit d828ebf has substituted this with a more conventional unix tool, so it's no longer a requirement.