diff options
Diffstat (limited to 'media-sound/ardour/files')
-rw-r--r-- | media-sound/ardour/files/ardour-2.8.11-flags.patch | 28 | ||||
-rw-r--r-- | media-sound/ardour/files/ardour-2.8.14-boost-150.patch | 13 | ||||
-rw-r--r-- | media-sound/ardour/files/ardour-2.8.14-syslibs.patch | 108 | ||||
-rw-r--r-- | media-sound/ardour/files/ardour-3.0-syslibs.patch | 35 | ||||
-rw-r--r-- | media-sound/ardour/files/ardour-3.2-syslibs.patch | 35 | ||||
-rw-r--r-- | media-sound/ardour/files/ardour-3.5-syslibs.patch | 37 | ||||
-rw-r--r-- | media-sound/ardour/files/ardour-3.5.403-sse.patch | 24 | ||||
-rw-r--r-- | media-sound/ardour/files/ardour-3.5.7-syslibs.patch | 36 | ||||
-rw-r--r-- | media-sound/ardour/files/ardour-4.0-lv2.patch | 56 | ||||
-rw-r--r-- | media-sound/ardour/files/ardour-4.0-revision-naming.patch | 78 |
10 files changed, 450 insertions, 0 deletions
diff --git a/media-sound/ardour/files/ardour-2.8.11-flags.patch b/media-sound/ardour/files/ardour-2.8.11-flags.patch new file mode 100644 index 000000000000..607b072cffa2 --- /dev/null +++ b/media-sound/ardour/files/ardour-2.8.11-flags.patch @@ -0,0 +1,28 @@ +--- ardour-2.8.11/SConstruct.orig ++++ ardour-2.8.11/SConstruct +@@ -414,6 +414,15 @@ + if os.environ.has_key('CXX'): + context['CXX'] = os.environ['CXX'] + ++ if os.environ.has_key('CFLAGS'): ++ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS']) ++ ++ if os.environ.has_key('CXXFLAGS'): ++ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) ++ ++ if os.environ.has_key('LDFLAGS'): ++ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) ++ + if os.environ.has_key('DISTCC_HOSTS'): + context['ENV']['DISTCC_HOSTS'] = os.environ['DISTCC_HOSTS'] + context['ENV']['HOME'] = os.environ['HOME'] +@@ -807,9 +816,6 @@ + if env['DEBUG'] == 1: + env.Append(CCFLAGS=" ".join (debug_flags)) + env.Append(LINKFLAGS=" ".join (debug_flags)) +-else: +- env.Append(CCFLAGS=" ".join (opt_flags)) +- env.Append(LINKFLAGS=" ".join (opt_flags)) + + if env['STL_DEBUG'] == 1: + env.Append(CXXFLAGS="-D_GLIBCXX_DEBUG") diff --git a/media-sound/ardour/files/ardour-2.8.14-boost-150.patch b/media-sound/ardour/files/ardour-2.8.14-boost-150.patch new file mode 100644 index 000000000000..0d23568a309c --- /dev/null +++ b/media-sound/ardour/files/ardour-2.8.14-boost-150.patch @@ -0,0 +1,13 @@ +--- /home/mad/ardour-2.8.14/SConstruct 2012-11-21 00:30:54.000000000 +0100 ++++ SConstruct 2012-11-21 17:34:02.000000000 +0100 +@@ -955,7 +961,9 @@ + # FLAC .... + # + +-# boost (we don't link against boost, just use some header files) ++# boost (we need to link against boost with >=1.50. header files alone will not work anymore) ++ ++env.Append(LIBS=['boost_system']) + + libraries['boost'] = LibraryInfo () + prep_libcheck(env, libraries['boost']) diff --git a/media-sound/ardour/files/ardour-2.8.14-syslibs.patch b/media-sound/ardour/files/ardour-2.8.14-syslibs.patch new file mode 100644 index 000000000000..a06c3b04e276 --- /dev/null +++ b/media-sound/ardour/files/ardour-2.8.14-syslibs.patch @@ -0,0 +1,108 @@ +--- SConstruct ++++ SConstruct +@@ -891,39 +891,6 @@ + + + # +-# these are part of the Ardour source tree because they are C++ +-# +- +-libraries['vamp'] = LibraryInfo (LIBS='vampsdk', +- LIBPATH='#libs/vamp-sdk', +- CPPPATH='#libs/vamp-sdk') +-libraries['vamphost'] = LibraryInfo (LIBS='vamphostsdk', +- LIBPATH='#libs/vamp-sdk', +- CPPPATH='#libs/vamp-sdk') +- +-env['RUBBERBAND'] = False +- +-conf = Configure (env) +- +-if conf.CheckHeader ('fftw3.h'): +- env['RUBBERBAND'] = True +- libraries['rubberband'] = LibraryInfo (LIBS='rubberband', +- LIBPATH='#libs/rubberband', +- CPPPATH='#libs/rubberband', +- CCFLAGS='-DUSE_RUBBERBAND') +-else: +- print "" +- print "-------------------------------------------------------------------------" +- print "You do not have the FFTW single-precision development package installed." +- print "This prevents Ardour from using the Rubberband library for timestretching" +- print "and pitchshifting. It will fall back on SoundTouch for timestretch, and " +- print "pitchshifting will not be available." +- print "-------------------------------------------------------------------------" +- print "" +- +-conf.Finish() +- +-# + # Check for libusb + + libraries['usb'] = LibraryInfo () +@@ -1109,10 +1076,22 @@ + # Comment the previous line and uncomment this for old versions of Debian: + #libraries['soundtouch'].ParseConfig ('pkg-config --cflags --libs libSoundTouch') + +- libraries['appleutility'] = LibraryInfo(LIBS='libappleutility', +- LIBPATH='#libs/appleutility', +- CPPPATH='#libs/appleutility') ++ #libraries['appleutility'] = LibraryInfo(LIBS='libappleutility', ++ # LIBPATH='#libs/appleutility', ++ # CPPPATH='#libs/appleutility') + ++ env['RUBBERBAND'] = True ++ env.Append (CXXFLAGS="-DUSE_RUBBERBAND") ++ libraries['rubberband'] = LibraryInfo() ++ libraries['rubberband'].ParseConfig ('pkg-config --cflags --libs rubberband') ++ ++ libraries['vamp-sdk'] = LibraryInfo() ++ libraries['vamp-sdk'].ParseConfig ('pkg-config --cflags --libs vamp-sdk') ++ libraries['vamp'] = LibraryInfo() ++ libraries['vamp'].ParseConfig ('pkg-config --cflags --libs vamp-sdk') ++ libraries['vamphost'] = LibraryInfo() ++ libraries['vamphost'].ParseConfig ('pkg-config --cflags --libs vamp-hostsdk') ++ + coredirs = [ + 'templates', + 'manual' +@@ -1122,7 +1101,6 @@ + 'libs/pbd', + 'libs/midi++2', + 'libs/ardour', +- 'libs/vamp-sdk', + 'libs/vamp-plugins/', + # these are unconditionally included but have + # tests internally to avoid compilation etc +@@ -1138,8 +1116,7 @@ + gtk_subdirs = [ + # 'libs/flowcanvas', + 'libs/gtkmm2ext', +- 'gtk2_ardour', +- clearlooks_version ++ 'gtk2_ardour' + ] + + else: +@@ -1251,9 +1228,9 @@ + # timestretch libraries + # + +-timefx_subdirs = [] +-if env['RUBBERBAND']: +- timefx_subdirs += ['libs/rubberband'] ++#timefx_subdirs = [] ++#if env['RUBBERBAND']: ++# timefx_subdirs += ['libs/rubberband'] + + # + # Tools +@@ -1441,7 +1418,7 @@ + for subdir in coredirs: + SConscript (subdir + '/SConscript') + +-for sublistdir in [ subdirs, timefx_subdirs, gtk_subdirs, surface_subdirs, tools_subdirs ]: ++for sublistdir in [ subdirs, gtk_subdirs, surface_subdirs, tools_subdirs ]: + for subdir in sublistdir: + SConscript (subdir + '/SConscript') + diff --git a/media-sound/ardour/files/ardour-3.0-syslibs.patch b/media-sound/ardour/files/ardour-3.0-syslibs.patch new file mode 100644 index 000000000000..6b8deb641711 --- /dev/null +++ b/media-sound/ardour/files/ardour-3.0-syslibs.patch @@ -0,0 +1,35 @@ +diff -rupN ardour-3.0/libs/ardour/wscript newardour-3.0/libs/ardour/wscript +--- ardour-3.0/libs/ardour/wscript 2013-03-10 22:13:52.000000000 +0100 ++++ newardour-3.0/libs/ardour/wscript 2013-03-15 08:04:07.428001597 +0100 +@@ -287,7 +287,8 @@ def configure(conf): + + # we don't try to detect this, since its part of our source tree + +- conf.define('HAVE_RUBBERBAND', 1) # controls whether we think we have it ++ autowaf.check_pkg(conf, 'taglib', uselib_store='TAGLIB', atleast_version='1.7') ++ autowaf.check_pkg(conf, 'rubberband', uselib_store='RUBBERBAND', atleast_version='1.4') + conf.define('USE_RUBBERBAND', 1) # controls whether we actually use it + + conf.define('CURRENT_SESSION_FILE_VERSION', CURRENT_SESSION_FILE_VERSION) +@@ -378,7 +379,7 @@ def build(bld): + obj.target = 'ardour' + obj.uselib = ['GLIBMM','GTHREAD','AUBIO','SIGCPP','XML','UUID', + 'JACK','SNDFILE','SAMPLERATE','LRDF','AUDIOUNITS', +- 'OSX','BOOST','CURL','DL'] ++ 'OSX','BOOST','CURL','DL','RUBBERBAND','TAGLIB'] + obj.use = ['libpbd','libmidipp','libevoral','libvamphost', + 'libvampplugin','libtaglib','librubberband', + 'libaudiographer','libltc'] +diff -rupN ardour-3.0/wscript newardour-3.0/wscript +--- ardour-3.0/wscript 2013-03-10 22:13:59.000000000 +0100 ++++ newardour-3.0/wscript 2013-03-15 08:03:00.639999789 +0100 +@@ -31,9 +31,7 @@ children = [ + 'libs/vamp-sdk', + 'libs/qm-dsp', + 'libs/vamp-plugins', +- 'libs/taglib', + 'libs/libltc', +- 'libs/rubberband', + 'libs/surfaces', + 'libs/panners', + 'libs/timecode', diff --git a/media-sound/ardour/files/ardour-3.2-syslibs.patch b/media-sound/ardour/files/ardour-3.2-syslibs.patch new file mode 100644 index 000000000000..6b8deb641711 --- /dev/null +++ b/media-sound/ardour/files/ardour-3.2-syslibs.patch @@ -0,0 +1,35 @@ +diff -rupN ardour-3.0/libs/ardour/wscript newardour-3.0/libs/ardour/wscript +--- ardour-3.0/libs/ardour/wscript 2013-03-10 22:13:52.000000000 +0100 ++++ newardour-3.0/libs/ardour/wscript 2013-03-15 08:04:07.428001597 +0100 +@@ -287,7 +287,8 @@ def configure(conf): + + # we don't try to detect this, since its part of our source tree + +- conf.define('HAVE_RUBBERBAND', 1) # controls whether we think we have it ++ autowaf.check_pkg(conf, 'taglib', uselib_store='TAGLIB', atleast_version='1.7') ++ autowaf.check_pkg(conf, 'rubberband', uselib_store='RUBBERBAND', atleast_version='1.4') + conf.define('USE_RUBBERBAND', 1) # controls whether we actually use it + + conf.define('CURRENT_SESSION_FILE_VERSION', CURRENT_SESSION_FILE_VERSION) +@@ -378,7 +379,7 @@ def build(bld): + obj.target = 'ardour' + obj.uselib = ['GLIBMM','GTHREAD','AUBIO','SIGCPP','XML','UUID', + 'JACK','SNDFILE','SAMPLERATE','LRDF','AUDIOUNITS', +- 'OSX','BOOST','CURL','DL'] ++ 'OSX','BOOST','CURL','DL','RUBBERBAND','TAGLIB'] + obj.use = ['libpbd','libmidipp','libevoral','libvamphost', + 'libvampplugin','libtaglib','librubberband', + 'libaudiographer','libltc'] +diff -rupN ardour-3.0/wscript newardour-3.0/wscript +--- ardour-3.0/wscript 2013-03-10 22:13:59.000000000 +0100 ++++ newardour-3.0/wscript 2013-03-15 08:03:00.639999789 +0100 +@@ -31,9 +31,7 @@ children = [ + 'libs/vamp-sdk', + 'libs/qm-dsp', + 'libs/vamp-plugins', +- 'libs/taglib', + 'libs/libltc', +- 'libs/rubberband', + 'libs/surfaces', + 'libs/panners', + 'libs/timecode', diff --git a/media-sound/ardour/files/ardour-3.5-syslibs.patch b/media-sound/ardour/files/ardour-3.5-syslibs.patch new file mode 100644 index 000000000000..a80e3a34a7c5 --- /dev/null +++ b/media-sound/ardour/files/ardour-3.5-syslibs.patch @@ -0,0 +1,37 @@ +diff --git a/libs/ardour/wscript b/libs/ardour/wscript +index 4d56983..41dd54a 100644 +--- a/libs/ardour/wscript ++++ b/libs/ardour/wscript +@@ -287,7 +287,8 @@ def configure(conf): + + # we don't try to detect this, since its part of our source tree + +- conf.define('HAVE_RUBBERBAND', 1) # controls whether we think we have it ++ autowaf.check_pkg(conf, 'taglib', uselib_store='TAGLIB', atleast_version='1.7') ++ autowaf.check_pkg(conf, 'rubberband', uselib_store='RUBBERBAND', atleast_version='1.4') + conf.define('USE_RUBBERBAND', 1) # controls whether we actually use it + + conf.define('CURRENT_SESSION_FILE_VERSION', CURRENT_SESSION_FILE_VERSION) +@@ -332,7 +333,7 @@ def build(bld): + obj.target = 'ardour' + obj.uselib = ['GLIBMM','GTHREAD','AUBIO','SIGCPP','XML','UUID', + 'SNDFILE','SAMPLERATE','LRDF','AUDIOUNITS', +- 'OSX','BOOST','CURL','DL'] ++ 'OSX','BOOST','CURL','DL','RUBBERBAND','TAGLIB'] + obj.use = ['libpbd','libmidipp','libevoral','libvamphost', + 'libvampplugin','libtaglib','librubberband', + 'libaudiographer','libltc','libtimecode'] +diff --git a/wscript b/wscript +index 3d01632..e84f4bf 100644 +--- a/wscript ++++ b/wscript +@@ -24,9 +24,7 @@ children = [ + 'libs/vamp-sdk', + 'libs/qm-dsp', + 'libs/vamp-plugins', +- 'libs/taglib', + 'libs/libltc', +- 'libs/rubberband', + 'libs/surfaces', + 'libs/panners', + 'libs/backends', diff --git a/media-sound/ardour/files/ardour-3.5.403-sse.patch b/media-sound/ardour/files/ardour-3.5.403-sse.patch new file mode 100644 index 000000000000..194da5f08059 --- /dev/null +++ b/media-sound/ardour/files/ardour-3.5.403-sse.patch @@ -0,0 +1,24 @@ +diff -rupN ardouroriginal/libs/ardour/wscript ardour-3.5.403/libs/ardour/wscript +--- ardouroriginal/libs/ardour/wscript 2014-10-24 19:18:10.981000000 +0200 ++++ ardour-3.5.403/libs/ardour/wscript 2014-10-24 19:19:36.115000000 +0200 +@@ -385,7 +385,7 @@ def build(bld): + if bld.is_defined('AUDIOUNIT_SUPPORT'): + obj.source += [ 'audio_unit.cc' ] + +- if Options.options.fpu_optimization: ++ if bld.env['FPU_OPTIMIZATION']: + if (bld.env['build_target'] == 'i386' or bld.env['build_target'] == 'i686'): + obj.source += [ 'sse_functions_xmm.cc', 'sse_functions.s' ] + elif bld.env['build_target'] == 'x86_64': +diff -rupN ardouroriginal/wscript ardour-3.5.403/wscript +--- ardouroriginal/wscript 2014-10-24 19:18:10.989000000 +0200 ++++ ardour-3.5.403/wscript 2014-10-24 19:20:20.160000000 +0200 +@@ -675,6 +675,8 @@ def configure(conf): + conf.env['PHONE_HOME'] = True + if opts.fpu_optimization: + conf.env['FPU_OPTIMIZATION'] = True ++ else: ++ conf.env['FPU_OPTIMIZATION'] = False + if opts.nls: + conf.define('ENABLE_NLS', 1) + conf.env['ENABLE_NLS'] = True diff --git a/media-sound/ardour/files/ardour-3.5.7-syslibs.patch b/media-sound/ardour/files/ardour-3.5.7-syslibs.patch new file mode 100644 index 000000000000..2f8ab10cf3d7 --- /dev/null +++ b/media-sound/ardour/files/ardour-3.5.7-syslibs.patch @@ -0,0 +1,36 @@ +diff -rupN a/ardour-3.5.74/libs/ardour/wscript b/ardour-3.5.74/libs/ardour/wscript +--- a/ardour-3.5.74/libs/ardour/wscript 2013-11-05 20:20:03.000000000 +0100 ++++ b/ardour-3.5.74/libs/ardour/wscript 2013-11-08 09:51:41.553000000 +0100 +@@ -287,7 +287,8 @@ def configure(conf): + + # we don't try to detect this, since its part of our source tree + +- conf.define('HAVE_RUBBERBAND', 1) # controls whether we think we have it ++ autowaf.check_pkg(conf, 'taglib', uselib_store='TAGLIB', atleast_version='1.7') ++ autowaf.check_pkg(conf, 'rubberband', uselib_store='RUBBERBAND', atleast_version='1.4') + conf.define('USE_RUBBERBAND', 1) # controls whether we actually use it + + conf.define('CURRENT_SESSION_FILE_VERSION', CURRENT_SESSION_FILE_VERSION) +@@ -332,7 +333,7 @@ def build(bld): + obj.target = 'ardour' + obj.uselib = ['GLIBMM','GTHREAD','AUBIO','SIGCPP','XML','UUID', + 'SNDFILE','SAMPLERATE','LRDF','AUDIOUNITS', +- 'OSX','BOOST','CURL','DL'] ++ 'OSX','BOOST','CURL','DL','RUBBERBAND','TAGLIB'] + obj.use = ['libpbd','libmidipp','libevoral','libvampplugin', + 'libaudiographer','libltc','libtimecode'] + if bld.is_defined('USE_EXTERNAL_LIBS'): +diff -rupN a/ardour-3.5.74/wscript b/ardour-3.5.74/wscript +--- a/ardour-3.5.74/wscript 2013-11-05 20:20:03.000000000 +0100 ++++ b/ardour-3.5.74/wscript 2013-11-08 09:49:27.594000000 +0100 +@@ -56,9 +56,7 @@ children = [ + 'libs/vamp-sdk', + 'libs/qm-dsp', + 'libs/vamp-plugins', +- 'libs/taglib', + 'libs/libltc', +- 'libs/rubberband', + 'libs/surfaces', + 'libs/panners', + 'libs/backends', + diff --git a/media-sound/ardour/files/ardour-4.0-lv2.patch b/media-sound/ardour/files/ardour-4.0-lv2.patch new file mode 100644 index 000000000000..a79e3f20c447 --- /dev/null +++ b/media-sound/ardour/files/ardour-4.0-lv2.patch @@ -0,0 +1,56 @@ +diff -rupN ardour-4.0-vanilla/libs/ardour/automatable.cc ardour-4.0/libs/ardour/automatable.cc +--- ardour-4.0-vanilla/libs/ardour/automatable.cc 2015-04-18 00:23:10.000000000 +0200 ++++ ardour-4.0/libs/ardour/automatable.cc 2015-04-21 16:32:14.943812000 +0200 +@@ -34,7 +34,11 @@ + #include "ardour/plugin.h" + #include "ardour/plugin_insert.h" + #include "ardour/session.h" ++ ++#ifdef LV2_SUPPORT + #include "ardour/uri_map.h" ++#endif ++ + #include "ardour/value_as_string.h" + + #include "i18n.h" +diff -rupN ardour-4.0-vanilla/libs/ardour/buffer_set.cc ardour-4.0/libs/ardour/buffer_set.cc +--- ardour-4.0-vanilla/libs/ardour/buffer_set.cc 2015-04-18 00:23:10.000000000 +0200 ++++ ardour-4.0/libs/ardour/buffer_set.cc 2015-04-21 16:40:44.216812000 +0200 +@@ -34,8 +34,8 @@ + #include "ardour/midi_buffer.h" + #include "ardour/port.h" + #include "ardour/port_set.h" +-#include "ardour/uri_map.h" + #ifdef LV2_SUPPORT ++#include "ardour/uri_map.h" + #include "ardour/lv2_plugin.h" + #include "lv2_evbuf.h" + #endif +diff -rupN ardour-4.0-vanilla/libs/ardour/event_type_map.cc ardour-4.0/libs/ardour/event_type_map.cc +--- ardour-4.0-vanilla/libs/ardour/event_type_map.cc 2015-04-18 00:23:10.000000000 +0200 ++++ ardour-4.0/libs/ardour/event_type_map.cc 2015-04-21 16:47:28.489812000 +0200 +@@ -24,7 +24,9 @@ + #include "ardour/event_type_map.h" + #include "ardour/parameter_descriptor.h" + #include "ardour/parameter_types.h" ++#ifdef LV2_SUPPORT + #include "ardour/uri_map.h" ++#endif + #include "evoral/Parameter.hpp" + #include "evoral/ParameterDescriptor.hpp" + #include "evoral/midi_events.h" +diff -rupN ardour-4.0-vanilla/libs/ardour/globals.cc ardour-4.0/libs/ardour/globals.cc +--- ardour-4.0-vanilla/libs/ardour/globals.cc 2015-04-18 00:23:10.000000000 +0200 ++++ ardour-4.0/libs/ardour/globals.cc 2015-04-21 16:54:33.404812000 +0200 +@@ -106,8 +106,9 @@ + #include "ardour/runtime_functions.h" + #include "ardour/session_event.h" + #include "ardour/source_factory.h" ++#ifdef LV2_SUPPORT + #include "ardour/uri_map.h" +- ++#endif + #include "audiographer/routines.h" + + #if defined (__APPLE__) + diff --git a/media-sound/ardour/files/ardour-4.0-revision-naming.patch b/media-sound/ardour/files/ardour-4.0-revision-naming.patch new file mode 100644 index 000000000000..360ddc6a515c --- /dev/null +++ b/media-sound/ardour/files/ardour-4.0-revision-naming.patch @@ -0,0 +1,78 @@ +diff -rupN ardour-4.0-vanilla/wscript ardour-4.0/wscript +--- ardour-4.0-vanilla/wscript 2015-04-18 00:23:10.000000000 +0200 ++++ ardour-4.0/wscript 2015-04-20 18:26:50.849812000 +0200 +@@ -137,29 +137,29 @@ def fetch_tarball_revision (): + if not os.path.exists ('libs/ardour/revision.cc'): + print ('This tarball was not created correctly - it is missing libs/ardour/revision.cc') + sys.exit (1) +- with open('libs/ardour/revision.cc') as f: +- content = f.readlines() +- remove_punctuation_map = dict((ord(char), None) for char in '";') +- return content[1].decode('utf-8').strip().split(' ')[7].translate (remove_punctuation_map) +- +-if os.path.isdir (os.path.join(os.getcwd(), '.git')): +- rev = fetch_git_revision () +-else: +- rev = fetch_tarball_revision () ++# with open('libs/ardour/revision.cc') as f: ++# content = f.readlines() ++# remove_punctuation_map = dict((ord(char), None) for char in '";') ++# return content[1].decode('utf-8').strip().split(' ')[7].translate (remove_punctuation_map) ++ ++#if os.path.isdir (os.path.join(os.getcwd(), '.git')): ++# rev = fetch_git_revision () ++#else: ++# rev = fetch_tarball_revision () + + # + # rev is now of the form MAJOR.MINOR[-rcX]-rev-commit + # or, if right at the same rev as a release, MAJOR.MINOR[-rcX] + # + +-parts = rev.split ('.', 1) +-MAJOR = parts[0] +-other = parts[1].split('-', 1) +-MINOR = other[0] +-if len(other) > 1: +- MICRO = other[1].rsplit('-',1)[0].replace('-','.') +-else: +- MICRO = '0' ++#parts = rev.split ('.', 1) ++MAJOR = '4' ++#other = parts[1].split('-', 1) ++MINOR = '0' ++#if len(other) > 1: ++# MICRO = other[1].rsplit('-',1)[0].replace('-','.') ++#else: ++MICRO = 'gentoo' + + V = MAJOR + '.' + MINOR + '.' + MICRO + VERSION = V +@@ -216,16 +216,16 @@ def fetch_gcc_version (CC): + return version + + def create_stored_revision(): +- rev = "" +- if os.path.exists('.git'): +- rev = fetch_git_revision(); +- print("Git version: " + rev + "\n") +- elif os.path.exists('libs/ardour/revision.cc'): +- print("Using packaged revision") +- return +- else: +- print("Missing libs/ardour/revision.cc. Blame the packager.") +- sys.exit(-1) ++ rev = "4.0-gentoo" ++# if os.path.exists('.git'): ++# rev = fetch_git_revision(); ++# print("Git version: " + rev + "\n") ++# elif os.path.exists('libs/ardour/revision.cc'): ++# print("Using packaged revision") ++# return ++# else: ++# print("Missing libs/ardour/revision.cc. Blame the packager.") ++# sys.exit(-1) + + try: + # + |