Bugzilla – Bug 543
Mac: "Kind" information not sufficiently visible.
Last modified: 2018-08-20 11:51:28 UTC
Reported several times a year.
Created attachment 348 [details] Patch to correct "Kind" display This will resolve the problem described by this bug. The problem is that in distributed builds, the Audacity binary is not the target of the app bundle. Instead a shell script is used so the DYLD_LIBRARY_PATH environment variable can be unset prior to Audacity being started. This is needed to allow users more control over the location of libraries like Lame and FFmpeg. So, to maintain that requirement and to fix this bug, the script functionality has been moved into the Audacity binary and the script usage removed. As mentioned in the code comments, this can be removed once(if) Audacity is updated to use the Lame and FFmpeg commands rather than calling the libraries directly.
Thanks Leland. Steps to reproduce are solved ("Kind" information displays). Audacity was able to detect LAME and FFmpeg in /usr/local/lib/audacity after launching and I was able to point it to other copies of those libs elsewhere. So marked "patch_ready". I am surprised if you right-click over Audacity.app (or any app) > Show Package Contents > MacOS > then right-click over the app > Get Info, it says it's a unix executable file and executing it launchex the Terminal and the app. But that seems how it is.
Committed LLL's patch. At revision: 12431
Retested and still OK. Right-click over Audacity.app in Finder > Get Info: "Kind" does not show "Universal" in 10.8.4 but then neither do Apple universal apps. So given "System Information.app" now shows "Universal" for Audacity, I think this is OK.
After this commit: https://github.com/audacity/audacity/commit/dba49dd485d718a7ce5e42cf1cf4a7990d2e6a59 I am changing the resolution of this old bug to WONTFIX Because the previous fix for it, removing Audacity.sh and introducing the execve at startup, was a very strange thing to do which is now suspect for causing bugs 1567, 1703, and who knows what else in macOs Sierra. I mention that GIMP is another program that doesn't display Kind information as other programs do, becuase it uses the same technique of a shell script at start.
Addendum: Just maybe Audacity.sh could be rewritten as a tiny C program that does the same thing, and would cure this symptom. I don't think it's worth the trouble.