[Bug 1884583] Re: vim is dependent on libcanberra0 in Ubuntu 20.04, had no such dependency in Ubuntu 18.04

Adrien Beau 1884583 at bugs.launchpad.net
Sat Nov 7 08:06:34 UTC 2020


Also filed (and fixed!) in Arch Linux:
https://bugs.archlinux.org/task/63073

A build switch was introduced in Vim 8.1.1529, so vim can be built with --disable-canberra.
Commit https://github.com/vim/vim/commit/21606676d9ebc6f159c56ee90733e5d5720ab3d7

Even though it is technically "no X", I think the underlying package
philosophy is "no desktop", and bringing in sound-theme-freedesktop,
Vorbis, Ogg and libasound very much goes against that.

That said, the "no X" build is a rather fat build with many dependencies
to scripting languages, so disk size is not much of an argument for that
package. On the other hand, the regular, main "vim" package has (or used
to have) very few dependencies (3 on a barebone Ubuntu install).
Canberra adds 9 more...

Please build "vim" with --disable-canberra: because it should have few dependencies
Please build "vim-nox" with --disable-canberra: because it should be "no desktop"

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1884583

Title:
  vim is dependent on libcanberra0 in Ubuntu 20.04, had no such
  dependency in Ubuntu 18.04

Status in vim package in Ubuntu:
  Confirmed

Bug description:
  which pulls in libasound and some alsa packages which I am not sure why it is useful and desired on most text-only/headless systems.
  In Debian I also see this dependency arisen with Bullseye/testing and Sid/unstable (but not with Buster/stable) but I don't see any mention of this introduction and its usefulness in the package's changelog. Could the reason of this dependency creation please be investigated, its usefulness evaluated, and if possible, this dependency to be made optional for vim builds ? Surprisingly, installing vim-nox also pulls in libcanberra0. vim-tiny does not pull in libcanberra0, but it also does not have syntax highlighting. What should I do to have syntax highlighting without libcanberra0 overhead ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1884583/+subscriptions



More information about the foundations-bugs mailing list