Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474516 - app-editors/vim-core installs ftplugins and possibly other superflous things - should have USE=minimal
Summary: app-editors/vim-core installs ftplugins and possibly other superflous things ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-23 18:18 UTC by Cedric Sodhi
Modified: 2013-08-13 22:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Sodhi 2013-06-23 18:18:17 UTC
+minimal cripples vim to the point where it's almost unusable yet ships with a whole layer of (more or less) "convenient" stuff in /usr/share/vim/
Comment 1 Tim Harder gentoo-dev 2013-06-23 20:01:16 UTC
If you're emerging vim with the minimal use flag set, vim-core isn't pulled in as a dependency.

From what I can see, the only files that get installed in that case are /usr/bin/vim, a few symlinks to it, and one bash-completion file.
Comment 2 Cedric Sodhi 2013-06-23 21:24:23 UTC
(In reply to Tim Harder from comment #1)
> If you're emerging vim with the minimal use flag set, vim-core isn't pulled
> in as a dependency.
> 
> From what I can see, the only files that get installed in that case are
> /usr/bin/vim, a few symlinks to it, and one bash-completion file.

Jeroen did put the description right. The way I phrased it, it was wrong. Please consider adding "minimal" to vim-core. The fashion in which it sits on app-editors/vim seems somewhat pointless in light of its effects on the actually installed compontents of vim.
Comment 3 Tim Harder gentoo-dev 2013-06-23 22:59:46 UTC
(In reply to Cedric from comment #2)
> Please consider adding "minimal" to vim-core. The fashion in which it sits
> on app-editors/vim seems somewhat pointless in light of its effects on the
> actually installed compontents of vim.

Adding a minimal use flag to vim-core would mean someone would have to decide which language syntax, filetype plugins, etc are "core" functionality which is highly subjective.

I could see adding linguas support for conditionally installing the various alternative language files and keymaps, but I'm really not interested in doing and maintaining that work just to save a bit of space (especially with the current vim build system and file layout).

Feel free to attach a patch against the vim eclass with your proposed changes.
Comment 4 Tim Harder gentoo-dev 2013-08-13 22:21:26 UTC
The livecd flag was renamed to minimal in >=7.4, this should solve most of your issues. If you want more stuff removed file bugs with patches and we can discuss them.