along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#include <algorithm>
#include <ctime>
#include <cstdlib>
-#include <ardour/ardour.h>
-#include <ardour/version.h>
+#include "pbd/file_utils.h"
+
+#include "ardour/svn_revision.h"
+#include "ardour/ardour.h"
+#include "ardour/version.h"
+#include "ardour/filesystem_paths.h"
#include "utils.h"
#include "version.h"
using namespace std;
using namespace sigc;
using namespace ARDOUR;
+using namespace PBD;
#ifdef WITH_PAYMENT_OPTIONS
#endif
static const char* authors[] = {
- N_("Paul Davis"),
- N_("Jesse Chappell"),
- N_("Taybin Rutkin"),
+ N_("Brian Ahr"),
+ N_("John Anderson"),
N_("Marcus Andersson"),
+ N_("Nedko Arnaudov"),
+ N_("Hans Baier"),
+ N_("Ben Bell"),
+ N_("Sakari Bergen"),
+ N_("Chris Cannam"),
+ N_("Jesse Chappell"),
+ N_("Thomas Charbonnel"),
+ N_("Sam Chessman"),
+ N_("Paul Davis"),
+ N_("Gerard van Dongen"),
+ N_("Colin Fletcher"),
+ N_("Hans Fugal"),
+ N_("Christopher George"),
N_("Jeremy Hall"),
+ N_("Audun Halland"),
N_("Steve Harris"),
- N_("Tim Mayberry"),
- N_("Mark Stewart"),
- N_("Sam Chessman"),
- N_("Jack O'Quin"),
+ N_("Carl Hetherington"),
+ N_("Rob Holland"),
+ N_("Robert Jordens"),
+ N_("Stefan Kersten"),
+ N_("Armand Klenk"),
N_("Matt Krai"),
- N_("Ben Bell"),
- N_("Gerard van Dongen"),
- N_("Thomas Charbonnel"),
- N_("Nick Mainsbridge"),
N_("Colin Law"),
- N_("Sampo Savolainen"),
N_("Joshua Leach"),
- N_("Rob Holland"),
- N_("Per Sigmond"),
+ N_("Ben Loftis"),
+ N_("Nick Mainsbridge"),
+ N_("Tim Mayberry"),
N_("Doug Mclain"),
+ N_("Jack O'Quin"),
+ N_("Nimal Ratnayake"),
+ N_("Dave Robillard"),
+ N_("Taybin Rutkin"),
+ N_("Sampo Savolainen"),
+ N_("Per Sigmond"),
+ N_("Lincoln Spiteri"),
+ N_("Mark Stewart"),
+ N_("Roland Stigge"),
N_("Petter Sundlöf"),
- 0
+ N_("Mike Täht"),
+ N_("Thorsten Wilms"),
};
static const char* translators[] = {
- N_("French:\n\tAlain Fréhel <alain.frehel@free.fr>\n"),
- N_("German:\n\tKarsten Petersen <kapet@kapet.de>\n"),
+ N_("French:\n\tAlain Fréhel <alain.frehel@free.fr>\n\tChristophe Combelles <ccomb@free.fr>\n"),
+ N_("German:\n\tKarsten Petersen <kapet@kapet.de>\
+\n\tSebastian Arnold <mail@sebastian-arnold.net>\
+\n\tRobert Schwede<schwede@ironshark.com>\n"),
N_("Italian:\n\tFilippo Pappalardo <filippo@email.it>\n"),
N_("Portuguese:\n\tRui Nuno Capela <rncbc@rncbc.org>\n"),
N_("Brazilian Portuguese:\n\tAlexander da Franca Fernandes <alexander@nautae.eti.br>\
\n\tChris Ross <chris@tebibyte.org>\n"),
N_("Spanish:\n\t Alex Krohn <alexkrohn@fastmail.fm>\n"),
N_("Russian:\n\t Igor Blinov <pitstop@nm.ru>\n"),
+ N_("Greek:\n\t Klearchos Gourgourinis <muadib@in.gr>\n"),
+ N_("Swedish:\n\t Petter Sundlöf <petter.sundlof@gmail.com>\n"),
+ N_("Polish:\n\t Piotr Zaryk <pzaryk@gmail.com>\n"),
0
};
: paypal_pixmap (paypal_xpm)
#endif
{
- set_type_hint(Gdk::WINDOW_TYPE_HINT_SPLASHSCREEN);
+ // set_type_hint(Gdk::WINDOW_TYPE_HINT_SPLASHSCREEN);
string path;
string t;
- path = find_data_file ("splash.ppm");
+ sys::path splash_file;
- Glib::RefPtr<Pixbuf> pixbuf = Gdk::Pixbuf::create_from_file (path);
+ SearchPath spath(ardour_search_path() + system_data_search_path());
+
+ if (find_file_in_search_path (spath, "splash.png", splash_file)) {
+ set_logo (Gdk::Pixbuf::create_from_file (splash_file.to_string()));
+ } else {
+ error << "Could not find splash file" << endmsg;
+ }
- set_logo (Gdk::Pixbuf::create_from_file (path));
set_authors (authors);
for (int n = 0; translators[n]; ++n) {
}
set_translator_credits (t);
- set_copyright (_("Copyright (C) 1999-2005 Paul Davis\n"));
+ set_copyright (_("Copyright (C) 1999-2009 Paul Davis\n"));
set_license (_("Ardour comes with ABSOLUTELY NO WARRANTY\n"
"This is free software, and you are welcome to redistribute it\n"
"under certain conditions; see the file COPYING for details.\n"));
set_name (X_("ardour"));
set_website (X_("http://ardour.org/"));
- set_website_label (X_("ardour.org"));
- set_version ((string_compose(_("%1\n(built with ardour/gtk %2.%3.%4 libardour: %5.%6.%7)"),
- VERSIONSTRING,
- gtk_ardour_major_version,
- gtk_ardour_minor_version,
- gtk_ardour_micro_version,
- libardour_major_version,
- libardour_minor_version,
- libardour_micro_version)));
-
+ set_website_label (_("visit http://www.ardour.org/"));
+ set_version ((string_compose(_("%1\n(built from revision %2)"),
+ VERSIONSTRING,
+ svn_revision)));
+
#ifdef WITH_PAYMENT_OPTIONS
paypal_button.add (paypal_pixmap);