LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File hydrogen-no-current-time.patch of Package hydrogen (Project openSUSE:12.1)

Index: src/cli/main.cpp
===================================================================
--- src/cli/main.cpp.orig	2011-07-06 09:25:22.000000000 +0200
+++ src/cli/main.cpp	2011-10-05 17:17:58.479216067 +0200
@@ -306,7 +306,7 @@ int main(int argc, char *argv[])
  */
 void showInfo()
 {
-        cout << "\nHydrogen " + H2Core::get_version() + " [" + __DATE__ + "]  [http://www.hydrogen-music.org]" << endl;
+        cout << "\nHydrogen " + H2Core::get_version() + " [" + __TIMESTAMP__ + "]  [http://www.hydrogen-music.org]" << endl;
         cout << "Copyright 2002-2008 Alessandro Cominu" << endl;
 //	_INFOLOG( "Compiled modules: " + QString(COMPILED_FEATURES) << endl;
 
Index: src/gui/src/AboutDialog.cpp
===================================================================
--- src/gui/src/AboutDialog.cpp.orig	2011-07-29 09:52:12.000000000 +0200
+++ src/gui/src/AboutDialog.cpp	2011-10-05 17:20:58.783878179 +0200
@@ -43,7 +43,7 @@ AboutDialog::AboutDialog(QWidget* parent
 	move( 240, 100 );
 
 	QString about;
-	about += QString("<center><b>Hydrogen Drum Machine %1 [%2] </b><br>").arg( H2Core::get_version().c_str() ).arg( __DATE__ );
+	about += QString("<center><b>Hydrogen Drum Machine %1 [%2] </b><br>").arg( H2Core::get_version().c_str() ).arg( __TIMESTAMP__ );
 	about += tr( "<b>Website</b><br>" );
 	about += "http://www.hydrogen-music.org<br><br>";
 	about += tr( "<b>Project page</b><br>");
Index: src/gui/src/main.cpp
===================================================================
--- src/gui/src/main.cpp.orig	2011-07-06 09:25:45.000000000 +0200
+++ src/gui/src/main.cpp	2011-10-05 17:19:58.049676061 +0200
@@ -474,7 +474,7 @@ int main(int argc, char *argv[])
  */
 void showInfo()
 {
-	cout << "\nHydrogen " + H2Core::get_version() + " [" + __DATE__ + "]  [http://www.hydrogen-music.org]" << endl;
+	cout << "\nHydrogen " + H2Core::get_version() + " [" + __TIMESTAMP__ + "]  [http://www.hydrogen-music.org]" << endl;
 	cout << "Copyright 2002-2008 Alessandro Cominu" << endl;
 //	___INFOLOG( "Compiled modules: " + QString(COMPILED_FEATURES) << endl;
 
Index: src/gui/src/SplashScreen.cpp
===================================================================
--- src/gui/src/SplashScreen.cpp.orig	2011-01-23 10:35:18.000000000 +0200
+++ src/gui/src/SplashScreen.cpp	2011-10-05 17:22:19.741481852 +0200
@@ -53,7 +53,7 @@ SplashScreen::SplashScreen()
 	p.setFont( font );
 	p.setPen( QColor( 20, 20, 20 ) );
 
-	QString version = QString( "v%1 (%2)" ).arg( H2Core::get_version().c_str() ).arg( __DATE__ );
+	QString version = QString( "v%1 (%2)" ).arg( H2Core::get_version().c_str() ).arg( __TIMESTAMP__ );
 	p.drawText( 5, 5, width - 10, 40, Qt::AlignRight | Qt::AlignTop, version );
 
 //	p.drawText( 5, height - 45, width - 10, 40, Qt::AlignHCenter | Qt::AlignBottom, QString( trUtf8( "Modules: %1" ) ).arg( COMPILED_FEATURES ) );