1 |
On Thu, 18 Nov 2004 11:21:51 -0500 Chris Gianelloni |
2 |
<wolf31o2@g.o> wrote: |
3 |
| On Thu, 2004-11-18 at 15:39 +0000, Ciaran McCreesh wrote: |
4 |
| > Ick. I'd be inclined to not use minimal vim for livecds, it's |
5 |
| > *really* stripped down... What're the deps pulled in by non-minimal |
6 |
| > vim that you don't like? |
7 |
| |
8 |
| I honestly have not researched it very far other than to find that vim |
9 |
| (and vim-core) using USE="livecd minimal" came out with a LiveCD that |
10 |
| was nearly 10MB smaller (after squashfs). Considering the entire x86 |
11 |
| minimal LiveCD is 50MB, that is a very significant savings. |
12 |
|
13 |
Hm, I suspect it's the livecd USE flag on vim-core that's doing most of |
14 |
that... Built as: |
15 |
|
16 |
[ R ] =app-editors/vim-7.0_alpha20040924 -acl -cscope -debug |
17 |
-gpm -minimal -mzscheme +ncurses -nls -perl -python -ruby (-selinux) |
18 |
-tcltk -vim-with-x 0 kB [1] |
19 |
|
20 |
which includes proper terminal support, vim comes to about a meg on the |
21 |
system I'm on right now. With minimal turned on it comes to just over |
22 |
400KBytes. vim-core built normally is about eleven megs across a |
23 |
thousand or so files, built with USE="livecd -nls" it's one meg and ~200 |
24 |
files (and I could probably nuke a hundred or so of those, if you don't |
25 |
mind upsetting people who want to use straaange keymaps). |
26 |
|
27 |
So, if half a meg (assuming you already have ncurses) isn't too high a |
28 |
price for decent terminal (terminfo rather than termcap) support, you |
29 |
might not necessarily be best with the minimal USE flag turned on (I'm |
30 |
guessing catalyst still doesn't do per-package USE flags easily?). |
31 |
|
32 |
[ Disclaimer: measured using my experimental vim7 ebuilds which won't be |
33 |
in the tree until at least 65216 and 66762 are closed, so don't even |
34 |
think about asking, mkay? vim6 should be fairly similar though... ] |
35 |
|
36 |
-- |
37 |
Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, Sparc, Mips) |
38 |
Mail : ciaranm at gentoo.org |
39 |
Web : http://dev.gentoo.org/~ciaranm |