lilypond-devel
[Top][All Lists]
Advanced

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

Re: Switching to Waf instead of SCons?


From: John Mandereau
Subject: Re: Switching to Waf instead of SCons?
Date: Sat, 12 Sep 2009 16:32:56 +0200

Le samedi 12 septembre 2009 à 06:28 -0600, Carl Sorensen a écrit :
> The source file for configobj.py has copyright information, a description of
> the license, and a link to the full license.  Is that enough?

Yes, it is.


> I've pushed a wscript containing the code to
> 
> (a) parse VERSION to obtain VERSION (and I obtained PACKAGE_NAME from
> VERSION as well)

It might be better to put it back to the beginning of the file.  FWIW
PACKAGE_NAME is used for the tarball name, so we might want to .lower()
it.


> (b) do what you suggested to get LILYPOND_BINARY

Does it work for you, i.e. is LILYPOND_BINARY set correctly in
out/c4che/default.cache.py?  I get a syntax error, and after having
fixed all of them, the check doesn't work, I can't believe you've ever
tested it in the state you pushed it.  Never mind, I hope I have this
working and I merged your wscript with mine.  Please try running 'waf
configure' with my changes to see whether it works for you.


> I've tested each bit of the python code, but I haven't tested the whole
> thing, because I don't have multiple setups with different lilypond
> configurations to test them.

If you have enough rights to temporarily move away config.log then any
lilypond binary from your PATH, you should be able to test all
configurations.  I haven't yet because I junked badly repeated code in
custom_configure.py:get_program_version() and haven't rewritten it yet
in miss_program().


> Anyway, I hope this helps.

It does, thanks!  Next main effort is writing and testing scanners and
task generators, but before this miss_program() function should be
implemented in custom_configure.py.  If you want to tackle this, you
might want to take inspiration of code in stepmake/aclocal.m4 and/or
configure.in that fills MISSING_OPTIONAL and MISSING_REQUIRED variables
as programs and program versions are checked and prints a message at the
end of configure run that includes these lists.  Please drop me a note
if/when you do so.

Best,
John

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée


reply via email to

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