lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Frogs: oldaddlyrics in music-functions-init.ly


From: Carl D. Sorensen
Subject: Re: Frogs: oldaddlyrics in music-functions-init.ly
Date: Mon, 5 Jan 2009 17:31:05 -0700



On 1/5/09 5:16 PM, "Andrew Wilson" <address@hidden> wrote:

> HI Carl,
> 
> You keep saying that we don't need to build because
> the lily files and the scheme files are interpreted and
> are loaded at runtime.  If we're working in a copy of
> the GIT repository then it won't have a binary to run.
> If we work in a downloaded binary distribution then
> the changes aren't going to be in the GIT working
> directory and we'll have to produce the patch
> ourselves or try to remember everything we changed
> and port it into the GIT working folder.  Am I missing
> something fundamental?  It's just that it seems to
> me that not having a buildable copy of the source is
> likely to involve an awful lot of faffing about.
> andrew

First of all, I think that the easiest way to develop LilyPond is to have a
buildable source tree, and I'd recommend it for anybody who's willing to go
to the effort to get it.

But with a little bit of directory magic, you can work without it.  Just go
into your main lilypond directory for the binary, and move out the ly/,
scm/, and input/ directories to some safe place. (e.g. a folder called
binary-dist).

Then you create a symbolic link in the main binary lilypond directory to the
ly/, scm/ and input/ directories from your git repository.  Now, although
the directories are actually in your git repository, they appear to the
binary to be in the binary directory.  And everything works just as if you
had built it from your git repository.

You can even create a batch file to copy out the binary distro files and
create the symbolic links, and another to delete the symbolic links and copy
back the binary distro files, if you want to make it easy to switch from
binary distro to git repo.

I'm certainly not trying to discourage anyone from building from source;
that's my preferred way.  But I don't want people who can't get build from
source working to think that they can't contribute to changes in .ly files
and .scm files.

Please let me know if this isn't clear.

Thanks,

Carl





reply via email to

[Prev in Thread] Current Thread [Next in Thread]