The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix build scripts

These changes was commited to the Birdfont repository Tue, 15 Sep 2015 19:54:36 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Tue, 15 Sep 2015 19:54:36 +0000]

Updated Files

configure
scripts/linux_build.py
--- a/configure +++ b/configure @@ -126,7 +126,7 @@ parser.add_option('-g', '--gtk', dest='gtk', help='Build Gtk version, default is True', metavar='GTK') parser.add_option('-e', '--gee', dest='gee', help='Version of libgee', metavar='GEE') parser.add_option('-v', '--valac', dest='valac', help='Vala compiler', metavar='VALAC') - parser.add_option('-n', '--nonnull', dest='nonnull', help='Enable compiletime checks for null pointers', metavar='NONNULL') + parser.add_option('-n', '--nonnull', dest='nonnull', action="store_true", help='Enable compiletime checks for null pointers', metavar='NONNULL') parser.add_option('', '--valac-flags', dest='valac_flags', help='Vala compiler flags for all targets', metavar='VALAC_FLAGS', default='') for target in TARGETS:
--- a/scripts/linux_build.py +++ b/scripts/linux_build.py @@ -4,10 +4,10 @@ if not path.isfile('./build/configured'): run("""./configure \ - --valac-flags="--pkg gdk-pixbuf-2.0 --pkg gtk+-3.0" \ - --cflags="$(pkg-config --cflags gdk-pixbuf-2.0)" \ - --ldflags="$(pkg-config --libs gdk-pixbuf-2.0)""") + --valac-flags='--pkg gdk-pixbuf-2.0 --pkg gtk+-3.0' \ + --cflags='$(pkg-config --cflags gdk-pixbuf-2.0)' \ + --ldflags='$(pkg-config --libs gdk-pixbuf-2.0)'""") run('./build.py') print ("Done")