FS#63073 - [vim] please make new libcanberra dependency gvim-specific
Attached to Project:
Arch Linux
Opened by Geert Hendrickx (ghen) - Tuesday, 02 July 2019, 18:07 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 02 July 2019, 21:08 GMT
Opened by Geert Hendrickx (ghen) - Tuesday, 02 July 2019, 18:07 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 02 July 2019, 21:08 GMT
|
Details
Vim package since 8.1.1614-1 requires libcanberra, which
brings further sound-related dependencies like alsa-lib,
libogg, libvorbis, sound-theme-freedesktop, ...
On servers this is considered unwanted bloat, vim is expected to be minimal. Can this dependency be made optional? (if it is useful at all?) |
This task depends upon
Closed by Levente Polyak (anthraxx)
Tuesday, 02 July 2019, 21:08 GMT
Reason for closing: Implemented
Additional comments about closing: 8.1.1616-1
Tuesday, 02 July 2019, 21:08 GMT
Reason for closing: Implemented
Additional comments about closing: 8.1.1616-1
I don't exactly get the point of vim being able to play sounds. :/
...
Regardless, this *cannot* be optional, since libcanberra is linked in and not dlopened, so it is all or nothing.
We usually compile programs --with-kitchen-sink where possible, so, IMO it makes sense to compile gvim with sound support. (If you're using gvim in a DE, you probably have it installed anyway...) However, I also think it is reasonable to ask people who want sound support to get it alongside their X11 clipboard and gtk3 UI support... and hence, this gripe should be retargeted at using --disable-canberra for the vim build (this is possible since https://github.com/vim/vim/commit/21606676d9ebc6f159c56ee90733e5d5720ab3d7 which made libcanberra able to be opted out of even when installed).
Base vim package should keep minimal dependencies.