The build problem I just ran into was reported on the forums; see 
http://www.mixxx.org/forums/viewtopic.php?f=3&t=4382 .
Unfortunately, no one ever answered him.
The "problem" is that the source code being built from wasn't part of a Bazaar 
checkout, and src/SConscript doesn't handle that gracefully.
The enclosed patch takes care of the problem.

I tried to register for the forums, so that I could tell the user what to do, 
but it keeps telling me "You have provided an invalid answer to the question."  
So the first and last letter in "equalizer" isn't "er"?

Steven Boswell
--- mixxx-orig/src/SConscript	2013-05-10 16:13:51.000000000 -0700
+++ mixxx/src/SConscript	2013-05-12 21:17:21.883028714 -0700
@@ -38,11 +38,15 @@
         str_list.append('#define VER_FILEVERSION             ')
         # Remove anything after ~ or - in the version number and replace the dots with commas
         str_list.append(mixxx_version.partition('~')[0].partition('-')[0].replace('.',','))
-        str_list.append(','+str(bazaar_revision)+'\n')
+        if bazaar_revision:
+            str_list.append(','+str(bazaar_revision))
+        str_list.append('\n')
 
         str_list.append('#define VER_PRODUCTVERSION          ')
         str_list.append(mixxx_version.partition('~')[0].partition('-')[0].replace('.',','))
-        str_list.append(','+str(bazaar_revision)+'\n')
+        if bazaar_revision:
+            str_list.append(','+str(bazaar_revision))
+        str_list.append('\n')
 
         import datetime
         now = datetime.datetime.now()
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to