remove version.cc (sigh)
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 26 Oct 2006 13:14:40 +0000 (13:14 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 26 Oct 2006 13:14:40 +0000 (13:14 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1020 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/SConscript
gtk2_ardour/about.cc
gtk2_ardour/version.cc [deleted file]

index 0b38e61c57adda0b282ccdcc439438a0e18068ec..02ba7dd9c115c144e8aa6c0d587bdd720d3820d3 100644 (file)
@@ -258,8 +258,6 @@ versionflag = '-DVERSIONSTRING=\\\"' + env['VERSION'] + '\\\"'
 
 gtkardour.Append(CXXFLAGS=versionflag)
 
-gtkardour.VersionBuild(['version.cc','version.h'], 'SConscript')
-
 executable = 'ardour.bin'
 
 ardour = gtkardour.Program(target = executable, source = gtkardour_files + extra_sources)
@@ -307,6 +305,8 @@ env.Alias('install', env.Install(os.path.join(install_prefix, 'share/ardour2'),
 env.Alias('install', env.Install(os.path.join(install_prefix, 'share/ardour2/pixmaps'), pixmap_files))
 env.Alias('install', env.Install(os.path.join(install_prefix, 'share/ardour2/icons'), icon_files))
 
+env.AlwaysBuild ('version.cc')
+env.Alias ('version', gtkardour.VersionBuild(['version.cc','version.h'], ['..']))
                
 #dist
 env.Alias ('tarball', env.Distribute (env['DISTTREE'],
index 7bcd1d35b4eb6aeda69926546e349349b560f838..fcae1784a384920911dd3f3f33c479e0e43ac98a 100644 (file)
@@ -141,6 +141,9 @@ static const char* authors[] = {
        N_("Petter Sundlöf"),
        N_("Thörsten Wilms"),
        N_("Ben Loftis"),
+       N_("Stefan Kersten"),
+       N_("Christopher George"),
+       N_("Robert Jordens"),
        0
 };
 
@@ -187,15 +190,10 @@ About::About ()
        set_name (X_("ardour"));
        set_website (X_("http://ardour.org/"));
        set_website_label (X_("visit http://www.ardour.org/"));
-       set_version ((string_compose(_("%1\n(built with ardour/gtk %2.%3.%4 libardour: %5.%6.%7)"), 
+       set_version ((string_compose(_("%1\n(built from revision %s"),
                                     VERSIONSTRING, 
-                                    gtk_ardour_major_version, 
-                                    gtk_ardour_minor_version, 
-                                    gtk_ardour_micro_version, 
-                                    libardour_major_version, 
-                                    libardour_minor_version, 
-                                    libardour_micro_version))); 
-
+                                    gtk_ardour_revision)));
+       
 
 #ifdef WITH_PAYMENT_OPTIONS
        paypal_button.add (paypal_pixmap);
diff --git a/gtk2_ardour/version.cc b/gtk2_ardour/version.cc
deleted file mode 100644 (file)
index 825226d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-const char* gtk_ardour_revision = "$Revision$";