Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 415109

Summary: media-sound/audacity-2.0.0 uses bundled portaudio and portmidi
Product: Gentoo Linux Reporter: nzqr <candysnell>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: RESOLVED OBSOLETE    
Severity: normal CC: nikoli, richard
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info output

Description nzqr 2012-05-08 09:31:29 UTC
media-sound/audacity-2.0.0 uses bundled portaudio and portmidi instead of in-portage media-libs/portaudio and media-libs/portmidi.

Reproducible: Always
Comment 1 nzqr 2012-05-18 15:47:16 UTC
Created attachment 312199 [details]
emerge --info output
Comment 2 Richard Ash 2012-05-19 21:28:06 UTC
Audacity's copy of portaudio has patches applied to make portmixer (audacity SVN) work. Until an upstream merge occurs (something I keep proding sporadically but hasn't happened), things don't work if you try to use upstream portaudio.

portmidi should work - someone like to prove that it does and provide a patch so it works like all the other libraries in audacity, i.e. with either local or system libs. Hint have a look at the audacity_checklib_*.m4 files in the m4/ directory for existing implementations. Given some test results indicating that upstream have finaly picked up enough of Audacity's fixes to work, I'm happy to add the option to use system libraries into Audacity.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-05-19 21:32:55 UTC
(In reply to comment #2)
> Audacity's copy of portaudio has patches applied to make portmixer (audacity
> SVN) work. 

Would those patches be generally safe for other applications as well? 
I mean, we could per-distro patch those in our portaudio package to make the package compatible for audacity. I mean, until portaudio upstream accepts them eventually.

(Thanks for your co-operation btw!)
Comment 4 Richard Ash 2012-05-23 20:22:00 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Audacity's copy of portaudio has patches applied to make portmixer (audacity
> > SVN) work. 
> 
> Would those patches be generally safe for other applications as well? 
> I mean, we could per-distro patch those in our portaudio package to make the
> package compatible for audacity. I mean, until portaudio upstream accepts
> them eventually.
> 
> (Thanks for your co-operation btw!)

Safe, but not terribly easy to maintain - re-basing the Audacity patches onto the Portaudio SVN is fairly tedious exercise which I try to avoid doing as much as possible, but would be needed for every portaudio update in Gentoo.

More significantly, upstream may decide to accept them in a different form. If we are the only users, then that isn't a problem (because we can change Audacity SVN to fix the breakage), but as soon as the library is in the wild, we have problems.
Comment 5 Pacho Ramos gentoo-dev 2017-07-15 09:37:34 UTC
it seems now is using system libs
Comment 6 Richard Ash 2017-07-16 22:13:22 UTC
Needs a closer look. The situation hasn't really changed since my last comment in 2012, the versions in lib-src are still patched and Audacity still only works full (may only compile for all I know) with the patches.