From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Leo Famulari <leo@famulari.name>, 53790@debbugs.gnu.org
Subject: bug#53790: Audacity has extraneous binary at directory root
Date: Sat, 05 Feb 2022 08:22:32 +0100 [thread overview]
Message-ID: <0977b665cebe329f3a4765e02e67f8e71d275979.camel@gmail.com> (raw)
In-Reply-To: <Yf2ioy+/nH5u9/X6@jasmine.lan>
Hi Leo,
Am Freitag, dem 04.02.2022 um 17:03 -0500 schrieb Leo Famulari:
> Our Audacity package creates an extraneous "audacity" binary in the
> root of the store item:
>
> ------
> $ git describe
> v1.3.0-15695-gba60aede97
> $ ls -la $(./pre-inst-env guix build audacity)
> total 49012
> dr-xr-xr-x 6 root root 4096 Dec 31 1969 .
> drwxrwxr-t 3440 root guixbuild 50139136 Feb 4 17:00 ..
> -r-xr-xr-x 1 root root 337 Dec 31 1969 audacity
> dr-xr-xr-x 2 root root 4096 Dec 31 1969 bin
> dr-xr-xr-x 2 root root 4096 Dec 31 1969 etc
> dr-xr-xr-x 3 root root 4096 Dec 31 1969 lib
> dr-xr-xr-x 11 root root 4096 Dec 31 1969 share
> $ ls -la $(./pre-inst-env guix build audacity)/bin
> total 18404
> dr-xr-xr-x 2 root root 4096 Dec 31 1969 .
> dr-xr-xr-x 6 root root 4096 Dec 31 1969 ..
> -r-xr-xr-x 1 root root 600 Dec 31 1969 audacity
> -r-xr-xr-x 2 root root 18827912 Dec 31 1969 .audacity-real
> ------
Looking at the size of this thing compared to our audacity, I thought
to myself "hmm, that's a shell script" and sure enough
--8<---------------cut here---------------start------------->8---
#!/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh
lib="${0%/*}/lib/audacity"
share="${0%/*}/share/audacity"
export LD_LIBRARY_PATH="${lib}:${LD_LIBRARY_PATH}"
export AUDACITY_MODULES_PATH="${AUDACITY_MODULES_PATH}:${lib}/modules"
export AUDACITY_PATH="${AUDACITY_PATH}:${share}"
exec "${0%/*}/bin/audacity" "$@"
--8<---------------cut here---------------end--------------->8---
At the time of writing none of these appear particularly needed, though
if the time comes we might just port over the 'wrap-emacs-paths phase.
We can try searching for the bits in CMakeLists that install this
wrapper or we can simply drop the file. WDYT?
next prev parent reply other threads:[~2022-02-05 7:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-04 22:03 bug#53790: Audacity has extraneous binary at directory root Leo Famulari
2022-02-05 7:22 ` Liliana Marie Prikler [this message]
2022-02-05 18:52 ` Leo Famulari
2022-02-05 22:52 ` Liliana Marie Prikler
2022-08-21 14:54 ` Liliana Marie Prikler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0977b665cebe329f3a4765e02e67f8e71d275979.camel@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=53790@debbugs.gnu.org \
--cc=leo@famulari.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.