diff options
author | David Robillard <d@drobilla.net> | 2011-03-03 15:57:18 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-03 15:57:18 +0000 |
commit | 838bbedb674a306575a10b7e9634b09c4b7dd6ff (patch) | |
tree | 76ab9a90c4f4e0d4c99547b13b3f30561eb31358 | |
parent | e0047e4193f4751d381aa060e575d4fee15fe82d (diff) | |
download | patchage-838bbedb674a306575a10b7e9634b09c4b7dd6ff.tar.gz patchage-838bbedb674a306575a10b7e9634b09c4b7dd6ff.tar.bz2 patchage-838bbedb674a306575a10b7e9634b09c4b7dd6ff.zip |
Fix Python3 compatibility.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3036 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | wscript | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -5,6 +5,7 @@ import os import autowaf import Options +import Utils # Version of this package (even if built as a child) PATCHAGE_VERSION = '0.5.0' @@ -106,7 +107,7 @@ def configure(conf): autowaf.display_msg(conf, "LASH (D-Bus)", str(conf.env['HAVE_LASH'] == 1)) autowaf.display_msg(conf, "Jack (libjack)", str(conf.env['PATCHAGE_LIBJACK'] == 1)) autowaf.display_msg(conf, "Alsa Sequencer", str(conf.env['HAVE_ALSA'] == 1)) - print + print() def build(bld): out_base = '' @@ -157,7 +158,7 @@ def build(bld): source = 'src/patchage.glade', target = out_base + 'patchage.glade', install_path = '${DATADIR}/' + bld.env['APP_INSTALL_NAME'], - chmod = 0644, + chmod = Utils.O644, PATCHAGE_VERSION = PATCHAGE_VERSION) # 'Desktop' file (menu entry, icon, etc) @@ -165,7 +166,7 @@ def build(bld): source = 'patchage.desktop.in', target = 'patchage.desktop', install_path = '${DATADIR}/applications', - chmod = 0644, + chmod = Utils.O644, BINDIR = os.path.normpath(bld.env['BINDIR']), APP_INSTALL_NAME = bld.env['APP_INSTALL_NAME'], APP_HUMAN_NAME = bld.env['APP_HUMAN_NAME']) @@ -176,7 +177,7 @@ def build(bld): source = 'osx/Info.plist.in', target = out_base + 'Info.plist', install_path = '', - chmod = 0644) + chmod = Utils.O644) # Icons bld(rule = 'cp ${SRC} ${TGT}', |