[Audacity-devel] Patch to compile with Cygwin
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Dave F. <dav...@co...> - 2003-09-21 10:30:15
|
All, Attached is a zip file containing a patch that should make Audacity compile with Cygwin for everyone, as well as a couple of Makefiles that need to be placed to compile portaudio and portmixer under cygwin. The patch was achieved with the following command line: dfancella@kenobi /home/dfancella/audacity $ cvs -d:pserver:ano...@cv...:/cvsroot/audacity diff configure.in src/widgets/ASlider.cpp src/effects/NoiseRemoval.cpp src/effects/LoadEffects.cpp src/AudacityApp.cpp lib-src/libresample/src/resample_defs.h src/Makefile.in > cygwinpatch.patch I'm pretty sure I got all the files in there. :) Also, I'm not familiar at all with making patches and committing them to CVS, so there may be problems with the patch just because of that. Hopefully not, though. ;) In the zip file are two directories, portaudio and portmixer, that contain Makefiles. They need to be placed in the source tree for the respective libraries in the directory pa_win_wmme (for portaudio) and px_win_wmme (for portmixer). I'm also without a clue what the relationship of the libraries bundled with audacity to the projects themselves are, so if someone could point me in the direction to submit my Makefiles for portaudio and portmixer, I would appreciate it (I know, portmixer is dominic's baby, so i've already submitted that to the right person :) ). If anyone tries to compile with these changes, let me know the results. You will have to configure it --without-libid3tag --without-libvorbis --without-libmad --without-nyquist. Also, localization will likely not work without the msgfmt application installed, and maybe some others. I haven't gone into fixing localization, yet; it may just be that I need to install the programs that handle it. Also, I wound up upgrading wxWindows to 2.4.1. You have to compile wxWindows 2.4.1 and do "make && make install" under Cygwin in order for GCC to see it. I didn't get it to work with 2.4.0. That's the only external dependency you'll have to compile, the other dependencies that work right now are bundled already with audacity. This work is experimental, naturally, so there are likely problems. There is also at least one feature completely disabled that shouldn't be disabled in Windows (associating the .aup extension with audacity on the registry), and there may be others. Given some time, these will all be fixed. :) Dave |