Il giorno lun 26 giu 2017 alle 12:17, Federico Bruni
<f...@inventati.org> ha scritto:
[...]
By the way, what's wrong with this?
$ sudo python install-lily-fonts -l -d /home/fede/.fonts -t
/usr/share/lilypond
Script running locally.
Determined font directory:
/home/fede/.fonts
Error condition:
No LilyPond installation found at or in
/usr/share/lilypond.
Abort script.
I've tried also /usr/share/lilypond/2.19.62 and
/usr/share/lilypond/2.19.62/fonts, but same error.
Ooops, I should have used /usr/bin or /usr/bin/lilypond
From the README: "LilyPond installations are detected when the path
points to either their root directories or to their binary executable."
$ sudo python install-lily-fonts -l -d /home/fede/.fonts -t
/usr/bin/lilypond
[sudo] password di fede:
Script running locally.
Determined font directory:
/home/fede/.fonts
Determined LilyPond font root directories:
- /usr/share/lilypond/current/fonts
Checking necessary actions ...
Traceback (most recent call last):
File "install-lily-fonts", line 45, in <module>
main()
File "install-lily-fonts", line 38, in main
fonts.handle_fonts()
File "/home/fede/src/lily-fonts/util/fonts.py", line 263, in
handle_fonts
self._fonts[f].check()
File "/home/fede/src/lily-fonts/util/font.py", line 277, in check
self._check()
File "/home/fede/src/lily-fonts/util/font.py", line 100, in _check
if not self._check_links(l):
File "/home/fede/src/lily-fonts/util/font.py", line 130, in
_check_links
otf_links = [f for f in os.listdir(otf_target_dir) if
f.startswith(self._basename)]
OSError: [Errno 2] No such file or directory:
'/usr/share/lilypond/current/fonts/otf'
Fedora package installation is in /usr/share/lilypond/2.19.62
_get_lilypond_font_path in config.py uses 'current'. Any chance to
adapt it for distro installations?
Well, I can rename it to "current" to make the script work...
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user