mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Set the revision mechanism independent from the VCS name
This commit is contained in:
parent
62f1ed054b
commit
eb7a85b8f9
10 changed files with 44 additions and 44 deletions
|
|
@ -17,11 +17,11 @@
|
|||
|
||||
*/
|
||||
|
||||
#ifndef __ardour_svn_revision_h__
|
||||
#define __ardour_svn_revision_h__
|
||||
#ifndef __ardour_revision_h__
|
||||
#define __ardour_revision_h__
|
||||
|
||||
namespace ARDOUR {
|
||||
extern const char* svn_revision;
|
||||
extern const char* revision;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include <glibmm.h>
|
||||
|
||||
#include "ardour/svn_revision.h"
|
||||
#include "ardour/revision.h"
|
||||
#include "ardour/session.h"
|
||||
#include "ardour/session_metadata.h"
|
||||
|
||||
|
|
@ -89,7 +89,7 @@ BroadcastInfo::set_originator_ref_from_session (Session const & /*session*/)
|
|||
/* Serial number is 12 chars */
|
||||
|
||||
std::ostringstream serial_number;
|
||||
serial_number << "ARDOUR" << "r" << std::setfill('0') << std::right << std::setw(5) << svn_revision;
|
||||
serial_number << "ARDOUR" << "r" << std::setfill('0') << std::right << std::setw(5) << revision;
|
||||
|
||||
snprintf_bounded_null_filled (info->originator_reference, sizeof (info->originator_reference), "%2s%3s%12s%02d%02d%02d%9d",
|
||||
SessionMetadata::Metadata()->country().c_str(),
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ libardour_sources = [
|
|||
'source_factory.cc',
|
||||
'speakers.cc',
|
||||
'strip_silence.cc',
|
||||
'svn_revision.cc',
|
||||
'revision.cc',
|
||||
'tape_file_matcher.cc',
|
||||
'template_utils.cc',
|
||||
'tempo.cc',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue