Hi all,

every now and then many of us need to use different versions of
LilyPond - this is especially true for developers.  In fact, most
developers usually want many concurrent LilyPond versions built from
the source code.

It was my dream for more than a year to automate the process of
compiling custom LilyPonds from source code in a way that would allow
to use these versions completely independently, and at the same time
have them linked together.  I think that i've finally succeeded -
attached is a script (build-lily.sh) that does just this.

I think that the script should be user-friendly enough to enable
non-developers easily build custom (i.e. unreleased) versions of
lilypond for themselves, without having to learn Git or any such
things - you just need to run a script, and then you can make this new
lilyponds available to Frescobaldi.  (Unfortunately LilyPond cannot be
built on Windows, you need Linux for that - but you could install one
in a virtual machine).

Detailed instructions are in the scrpit itself, you can see them by
running the script with '-h' option.

This script has proven itself very helpful in my daily lilypond work -
that's why i decided to share it with you.  Of course, i recommend
that "non-technical" users wait until experienced developers check if
i hadn't made any mistakes :)

cheers,
Janek

PS for those that don't have a clone of LilyPond source code yet, you
can use attached "grab-lily-sources.sh" (it's written for Ubuntu,
Debian and other systems that use apt-get.  Building script itself
should work with any major Linux distribution).

PPS you can find my repository containing this script here:
https://github.com/janek-warchol/cli-tools/tree/master/lilypond
(pull requests welcome).

Attachment: grab-lily-sources.sh
Description: Bourne shell script

Attachment: build-lily.sh
Description: Bourne shell script

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to