audacity/audacity-no_buildstamp.patch

51 lines
2.1 KiB
Diff

Index: b/lib-src/portaudio-v19/qa/loopback/src/paqa.c
===================================================================
--- a/lib-src/portaudio-v19/qa/loopback/src/paqa.c
+++ b/lib-src/portaudio-v19/qa/loopback/src/paqa.c
@@ -1460,7 +1460,7 @@ int main( int argc, char **argv )
int justMath = 0;
char *executableName = argv[0];
- printf("PortAudio LoopBack Test built " __DATE__ " at " __TIME__ "\n");
+ printf("PortAudio LoopBack Test built " "17 March 2017" " at " "23:15" "\n");
if( argc > 1 ){
printf("running with arguments:");
Index: b/src/AboutDialog.cpp
===================================================================
--- a/src/AboutDialog.cpp
+++ b/src/AboutDialog.cpp
@@ -71,7 +71,7 @@ hold information about one contributor t
#endif
#ifdef REV_LONG
-#define REV_IDENT wxString( "[[https://github.com/audacity/audacity/commit/" )+ REV_LONG + "|" + wxString( REV_LONG ).Left(6) + "]] of " + REV_TIME
+#define REV_IDENT wxString( "Official openSUSE Build" )+ REV_LONG + "|" + wxString( REV_LONG ).Left(6) + "]] of " + REV_TIME
#else
#define REV_IDENT (XO("No revision identifier was provided").Translation())
#endif
@@ -597,8 +597,8 @@ void AboutDialog::PopulateInformationPag
<< XO("The Build")
<< wxT("</h3>\n<table>"); // start build info table
- // Current date
- AddBuildinfoRow(&informationStr, XO("Program build date:"), __TDATE__);
+ /*/ Current date
+ AddBuildinfoRow(&informationStr, XO("Program build date:"), __TDATE__);*/
AddBuildinfoRow(&informationStr, XO("Commit Id:"), REV_IDENT );
auto buildType =
Index: b/CMakeLists.txt
===================================================================
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,7 @@ endif ()
# still link to the alpha manual online.
# Set this value to 0 for alpha, 1 for beta, 2 for release builds
-set( AUDACITY_BUILD_LEVEL 0 CACHE STRING "0 for alpha, 1 for beta, 2 for release builds" )
+set( AUDACITY_BUILD_LEVEL 2 CACHE STRING "0 for alpha, 1 for beta, 2 for release builds" )
# The Audacity version
# Increment as appropriate after release of a new version, and set back