Maybe it would be simpler to *not* bundle lilypond with denemo on mac. Most
people are going to place their Lilypond.app in /Applications or
~/Applications or somethings. If lilypond is placed there, I would be able
to predict where the executable is. If lilypond is not found, we could have
the print view tell us that lilypond is not installed. This could open up a
pdf with a link. It will open in the browser and download lilypond when
clicked. If lilypond is located somewhere else then we could have a browse
button find its location.

Jeremiah




On Mon, May 15, 2017 at 4:04 PM, Richard Shann <rich...@rshann.plus.com>
wrote:

> On Mon, 2017-05-15 at 08:49 -0500, Jeremiah Benham wrote:
> > I see the problem with his lilypond. His lilypond seems to not be able
> > to find $PREFIX/share/ghostscript. I bet there is a command we can
> > pass to lilypond to tell it were it is.
>
> when you install LilyPond on a GNU/Linux system what you get to execute
> is a shell script:
>
> #!/bin/sh
> me=`basename $0`
> export LD_LIBRARY_PATH="/home/rshann/lilypond/usr/lib"
> exec "/home/rshann/lilypond/usr/bin/$me" "$@"
>
>
> so perhaps that script is what the lilypond path should be pointing to?
>
> Richard
>
>
>
_______________________________________________
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to