guess what?!
This commit is contained in:
parent
bc3f606e16
commit
6b360950ce
@ -46,6 +46,10 @@ using namespace std;
|
||||
using namespace ARDOUR;
|
||||
using namespace PBD;
|
||||
|
||||
#ifndef CODENAME
|
||||
#define CODENAME ""
|
||||
#endif
|
||||
|
||||
#ifdef WITH_PAYMENT_OPTIONS
|
||||
|
||||
/* XPM */
|
||||
@ -582,13 +586,13 @@ About::About ()
|
||||
}
|
||||
|
||||
set_translator_credits (t);
|
||||
set_copyright (_("Copyright (C) 1999-2013 Paul Davis\n"));
|
||||
set_copyright (_("Copyright (C) 1999-2015 Paul Davis\n"));
|
||||
set_license (gpl);
|
||||
set_name (X_("Ardour"));
|
||||
set_website (X_("http://ardour.org/"));
|
||||
set_website_label (_("http://ardour.org/"));
|
||||
set_version ((string_compose(_("%1\n(built from revision %2)"),
|
||||
VERSIONSTRING,
|
||||
set_version ((string_compose(_("%1%2\n(built from revision %3)"),
|
||||
VERSIONSTRING, CODENAME,
|
||||
revision)));
|
||||
|
||||
Gtk::Button* config_button = manage (new Button (_("Config")));
|
||||
|
@ -257,6 +257,20 @@ gtk2_ardour_sources = [
|
||||
'video_tool_paths.cc'
|
||||
]
|
||||
|
||||
def enoify (major, minor):
|
||||
if major == 3:
|
||||
return "\\n\\\"E-No\\\""
|
||||
elif major == 4:
|
||||
if minor == 0:
|
||||
return "\\n\\\"No Pussyfooting\\\""
|
||||
elif minor == 1:
|
||||
return "\\n\\\"Here Come the Warm Jets\\\""
|
||||
elif minor == 2:
|
||||
return "\\n\\\"Taking Tiger Mountain\\\""
|
||||
elif minor == 3:
|
||||
return "\\n\\\"Lady June's Linguistic Leprosy\\\""
|
||||
return "\\\"\\\""
|
||||
|
||||
def options(opt):
|
||||
autowaf.set_options(opt)
|
||||
|
||||
@ -285,7 +299,8 @@ def configure(conf):
|
||||
|
||||
bak = conf.env['define_key']
|
||||
conf.define('VERSIONSTRING', str (conf.env['VERSION']))
|
||||
conf.env['define_key'] = ['VERSIONSTRING']
|
||||
conf.define('CODENAME', enoify(int(conf.env['MAJOR']), int(conf.env['MINOR'])))
|
||||
conf.env['define_key'] = ['VERSIONSTRING', 'CODENAME' ]
|
||||
conf.write_config_header('gtk2ardour-version.h')
|
||||
conf.env['define_key'] = bak;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user