Bug 262448 - audio/audacity: install shell script in /usr/local
Summary: audio/audacity: install shell script in /usr/local
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on: 266668
Blocks:
  Show dependency treegraph
 
Reported: 2022-03-09 16:51 UTC by Mikael Urankar
Modified: 2022-10-05 15:39 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (xxjack12xx)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer freebsd_triage 2022-03-09 16:51:27 UTC
file /usr/local/audacity 
/usr/local/audacity: POSIX shell script, ASCII text executable

this should go in /usr/local/bin
Comment 1 Tatsuki Makino 2022-03-10 05:00:06 UTC
(In reply to Mikael Urankar from comment #0)

I was wondering about that as well :)

So where should audacity in /usr/local/bin go?
/usr/local/libexec?
Comment 2 Jack 2022-03-10 21:44:20 UTC
I think other apps put stuff in /usr/local/app (directory instead of files) so to prevent from modifying their software, we should probably leave it alone.
Comment 3 Mikael Urankar freebsd_committer freebsd_triage 2022-03-11 09:18:01 UTC
mv /usr/local/bin in /usr/local/lib/audacity
mv /usr/local/audacity /usr/local/bin
Comment 4 Mikael Urankar freebsd_committer freebsd_triage 2022-03-11 09:18:35 UTC
(In reply to Mikael Urankar from comment #3)
err,
mv /usr/local/bin/audacity /usr/local/lib/audacity
mv /usr/local/audacity /usr/local/bin
Comment 5 Tatsuki Makino 2022-03-11 21:14:10 UTC
(In reply to Mikael Urankar from comment #4)

For example, gecko-related software has the binary body below and symlink in bin.
/usr/local/lib/seamonkey/seamonkey
/usr/local/lib/firefox/firefox
/usr/local/lib/thunderbird/thunderbird

In chromium, /usr/local/bin/chrome is a similar shell script.
The binary body is located in /usr/local/share/chromium/chrome.

It seems like there might be some impact on ldconfig if it is placed directly under the lib.
Comment 6 Jack 2022-03-14 01:03:17 UTC
I'll ask upstream why they put the file in /usr/local/audacity
Comment 7 Jack 2022-03-15 01:25:41 UTC
I mentioned to upstream and they thought that file was already removed. It will likely be resolved in the next version.
Comment 8 Mikael Urankar freebsd_committer freebsd_triage 2022-03-15 08:35:42 UTC
(In reply to Jack from comment #7)
When will it be released? Can we have a fix in the meantime?
Comment 9 Jack 2022-03-15 08:49:24 UTC
I'm not sure when it will be released, still discussing with upstream about it.
Comment 10 Fernando Apesteguía freebsd_committer freebsd_triage 2022-03-17 09:08:29 UTC
^Triage: Reporter is committer, assign accordingly.
Comment 11 Mikael Urankar freebsd_committer freebsd_triage 2022-07-01 06:32:16 UTC
ping
Comment 12 Jack 2022-07-01 08:59:36 UTC
Still no new version from upstream available yet but they said it was fixed in the next version. Is not fixing the issue until the next release causing issues?
Comment 13 Mikael Urankar freebsd_committer freebsd_triage 2022-08-15 12:11:01 UTC
back to pool
Comment 14 Fernando Apesteguía freebsd_committer freebsd_triage 2022-08-17 16:49:11 UTC
Upstream mike take a long time to release a new version. Can we please provide a patch in the mean time?
Comment 15 Jack 2022-08-22 06:35:45 UTC
(In reply to Fernando Apesteguía from comment #14)
Ok, I will look into the latest development version to see what they have done so it will be fixed faster.
Comment 16 Jack 2022-09-28 04:19:53 UTC
I've created a patch to upgrade audacity to 3.2.0, this should resolve the issue

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266668
Comment 17 Fernando Apesteguía freebsd_committer freebsd_triage 2022-10-05 15:39:30 UTC
Fixed in the update to 3.2.0

https://cgit.freebsd.org/ports/commit/?id=6d9b7dea668df2009e3fd41675991fa253bbbf34

Thanks!