Audacity 1.2.4 is now released with a number of bug fixes and updates. Please put in in Portage and consider unmasking soon as there are now a lot of known bugs in 1.2.1 (current stable) including some which can result in serious data loss for end users. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 73812 [details] Ebuild for audacity 1.2.4 Working ebuild for audacity 1.2.4
Created attachment 73887 [details] Updated ebuild for audacity 1.2.4 Pervious version didn't work due to patch that shouldn't have been included. This fixes it.
Please submit a patch instead of a complete ebuild, that's easier to review.
Created attachment 73955 [details, diff] patch against audacity 1.2.3-r1 ebuild Fixes a number of things that have been wrong for ages with this ebuild: 1) removed flac from IUSE becuase there is no flac support in audacity 1.2.4 2) removed libramplerate use flag becuase libsamplerate is not used by audacity 1.2.4 3) removed id3lib dependancy because it isn't used and isn't needed to emerge 4) removed libsamplerate dependancy 5) removed spurious ladspa-sdk depedency - this has never been needed to build with ladspa support 6) removed flac dependancy as above 6) removed patch becuase upstream library update has made it obselete 7) filtered -fPIC and -fpic becuase they cause problems with assembly-optimised code, and this is an application not a shared library. 8) updated econf to reflect the above library changes.
Created attachment 73958 [details, diff] updated patch to resolve bug #94254 As above but removes oggvorbis use flag in line with bug #94254
what about adding portaudio 19 (and enable alsa and jack support by doing it?)
@Luca Barbato: It doesn't work reliably, so creates more problems than it solves. I will probably put this in a 1.3 beta ebuild when I get time to do one.
Looking forward for that 1.3 ebuild...
Updated my ebuild to 1.2.4 with the patch. I still get this error (happens with all other versions as well). /usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../libwx_gtk2-2.4.so: undefined reference to `vtable for wxFileProto' collect2: ld returned 1 exit status make[1]: *** [../audacity] Error 1 make[1]: Leaving directory `/var/tmp/portage/audacity-1.2.4/work/audacity-src-1.2.4/src' make: *** [audacity] Error 2 Using gcc 4.0.2, wxgtk 2.4.2-r4 and 2.6.2-r1 i JUST remerged wxgtk2.4.2-r4 as well with the gtk1 use flag.
GCC 4 issues should really be on this bug: http://bugs.gentoo.org/show_bug.cgi?id=113754 I still can't get gcc 4 to compile on my test machine, so can't test the patch and integrate it. Any suggestions for making it compile instead of stopping with the message: make[3]: Entering directory `/var/tmp/portage/gcc-4.0.2-r2/work/build/gcc' ./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/includ e -isystem /usr/i686-pc-linux-gnu/sys-include -L/var/tmp/portage/gcc-4.0.2-r2/wo rk/build/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/var/tmp/portage/gcc-4.0.2-r2/work/gcc-4.0.2/gcc -I/var/tmp/portage/gcc-4.0.2-r2/work/gcc-4.0.2/gcc/. -I/var/tmp/portage/gcc-4.0.2-r2/work/gcc-4.0.2/gcc/../include -I/var/tmp/portage/gcc-4.0.2-r2/work/gcc-4.0.2/gcc/../libcpp/include -DL_muldi3 -fvisibility=hidden -DHIDE_EXPORTS -c /var/tmp/portage/gcc-4.0.2-r2/work/gcc-4.0.2/gcc/libgcc2.c -o libgcc/./_muldi3.o Assembler messages: FATAL: can't create libgcc/./_muldi3.o: No such file or directory make[3]: *** [libgcc/./_muldi3.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/gcc-4.0.2-r2/work/build/gcc'
1.2.4b in cvs.
Why is the version in portage nothing like this one? 1) you don't need to use a version of wxGTK emerged with "wxgtk1" to build audacity, certainly not on x86. Previous ebuilds let you do this, current one won't. If there's a problem on some arches / systems, it's never been reported upstream. 2) Why the dependancy on libflac? - there is no flac support in audacity 1.2.4! That's why I took it out as in comment 4 3) Audacity does not (will not) link to system portaudio, and never has. A patched version is in the tarball and used for all builds. Hence portaudio is not a dependency, and should be removed. 4)Ditto for ladspa-sdk - this is completely unnecesary and just slows the build down. Necessary headers are in the audacity source tree. Oh, and @Chris Fairles: it's a bug in wxGTK not audacity at all - fix and bug are #117357
1.2.4b-r1 in cvs.
Thanks. Builds fine and avoids rebuilding wxGTK (again).