[Audacity-devel] Patches for building audacity 1.3.9 on Solaris
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Brian C. <Brian.Cameron@Sun.COM> - 2009-09-09 04:46:13
|
Audacity team: I just got audacity 1.3.9 building on Solaris, and I wanted to share some patches that I hope can go upstream. I provided some of these patches in an earlier email about the 1.3.8 release but these patches did not get upstream and my email no response. These patches apply against the latest 1.3.9 version, though. 1) audacity-01-m4.diff This patch just fixes the definition of some environment variables so it works with bourne shell syntax, which is used on Solaris. It is a harmless change, but makes the build work for Solaris. 2) audacity-04-Tmacro.diff Solaris does not support the _T() wxWidgets macro, but instead needs to use the wxT() macro. Note that wxWidgets defines both to the same thing, so it does not matter which one you use (unless you are building on Solaris). So, this patch just modifies src/MixerBoard.cpp to use wxT() instead of _T(). 3) audacity-06-gsocket.diff If you try to build audacity with a recent release of GLib (I am using 2.21.6) it will fail building code that links in the wxWidgets GSockets code complaining that GSocket is already defined as a typedef by Glib. This patch is a workaround similar to the way that the following wxWidgets bug #10883 bug is fixed: http://trac.wxwidgets.org/ticket/10883 Though a better fix might be to split up the code so that the code which needs the glib header files and the code that needs the wxWidgets header files are separated into different files, thus avoiding the issue. 4) audacity-07-soundtouch.diff I have the latest soundtouch 1.4 installed on my system, but the audacity configure script does not find it and wants to build its own local version of soundtouch. The attached patch fixes audacity so the configure script recognizes the new soundtouch-1.4 pc file instead of the old soundtouch 1.0 one. Would be nice if audacity worked with the latest version of SoundTouch. Refer here for the information about the latest 1.4 version of SoundTouch: http://www.surina.net/soundtouch/ Brian |