Unter *BSD ist bash häufig unter /usr/local/bin installiert, und bei NixOS ist ausschließlich /bin/sh und /usr/bin/env zu finden.
Dieser Commit ändert absolute Pfadangaben auf solche um, die sich an $PATH halten (z.B. mit /usr/bin/env)
Reviewed-on: #609
Danke!
Ich muss mir mal überlegen wie wir die .keylayout Files für bone und NeoQwertz automagisch erstellen können. Hrnz hat das damals so gehackt: #586
Replace the only php script in "grafik" by a python script.
Unfortunately this requires the Python package "lxml" (which is
commonly used, though), since the "xml" package from the Python
standard library is not quite capable.
Since the original php script created a quite ugly and redundant svg
file, I took the one from "grafik/bilder-einzeln/flat" as a basis.
The new image is a bit different from the original, as it takes some
ideas from "grafik/aufkleber/alle-grau-1234.py". Anyhow, almost all
design parameters can be adjusted in the the stylesheet.
Replace the only perl script in "grafik" by a python script.
Unfortunately this requires the Python package "lxml" (which is
commonly used, though), since the "xml" package from the Python
standard library is not quite capable.
I put special care in the Python script to generate the same svg as
the perl script - although both are not identical. Differences are
e.g. trailing zeros in fractional numbers and slightly different xml
formatting.
The 3d images have this and is quite usable for OSD keyboards.
Anyhow, the way the caps-lock mappings are create is a bit straight
forward: The Python script maps the letters to upper/lower case. A
better way would be to get this information from the keymap.
These are useful for to displaying in OSD programs if there is no
known state.
The images for neo, adwn, koy and bone are identical. Anyhow, vou and
mine are different and it is easier for programs to use if all images
exist.
Dio Option verhindert, dass perl beim laden von Modulen die
PERL5LIB-umgebungsvariable respektiert und hat keinen erkennbaren Nutzen außer
die Kompatibilität einzuschränken.
Die Entwicklerinformationen zu NeoVars sind nicht mehr notwendig und aus dem Wiki entfernt.
Aus historischen Gründen sollen diese aber nicht im Archiv verschwinden, sondern direkt bei NeoVars dem Code beiliegen.