r387 - trunk/vim/debian

Stefano Zacchiroli zack at costa.debian.org
Wed Oct 26 07:58:00 UTC 2005


Author: zack
Date: 2005-10-26 07:57:59 +0000 (Wed, 26 Oct 2005)
New Revision: 387

Modified:
   trunk/vim/debian/TODO
Log:
drafted vim-tiny proposal


Modified: trunk/vim/debian/TODO
===================================================================
--- trunk/vim/debian/TODO	2005-10-25 18:27:16 UTC (rev 386)
+++ trunk/vim/debian/TODO	2005-10-26 07:57:59 UTC (rev 387)
@@ -1,2 +1,52 @@
-- consider creating a 'vim-tiny' package
-- consider packaging additional syntax files and tools
+vim
+
+  * vim-tiny (minimal version of vim, see #222138)
+
+    - idea: a minimal version of vim with almost no runtime and as few
+      features compiled in as possible to avoid packages size bloating
+
+    - problem: vim-tiny need some symlinks, configuration files and
+      executables contained in the vim package (i.e. it should depend on
+      it), but doesn't want to depend on the runtime files, that is
+      vim-common
+
+    - proposal:
+      + move all the /usr/share/vim/* stuff (ATM that is all the content
+	of the package, but see below) from the current "vim-common"
+	package to a new "vim-runtime" package
+      + move stuff common to different variants from the "vim" package
+	to the "vim-common" package (hence the name :-), that is
+	roughly: manpages, symlinks like {view,vimdiff,rvim} -> vim,
+	conffile, pixmaps, ... Basically the package should in the end
+	contain only the executable /usr/bin/vim.basic (like other
+	variants do)
+      + make all variants packages ("vim", "vim-XXX") depend on both
+	"vim-common" (as they already do) and "vim-runtime"
+      + create a "vim-tiny" package which provides a binary
+	/usr/bin/vim.tiny with the lowest priority alternative for
+	/usr/bin/vim and make it depend on "vim-common" but not on
+	"vim-runtime". Proposal for configuration flags for vim-tiny:
+	    ./configure \
+	      --with-features=tiny \
+	      --disable-gui \
+	      --disable-xsmp \
+	      --disable-xsmp-interact \
+	      --disable-netbeans \
+	      --disable-acl \
+	      --disable-gpm \
+	      --disable-nls
+
+    - open issues:
+      + add to vim-tiny configuration options flags for features
+	one-can-t-live-without (e.g. tab-completion on ex cmdline)
+      + in the proposal above vim-tiny would have no runtime files at
+        all. From some quick tests that works, but we can consider
+	adding runtime parts one-can-t-live-without. In that case they
+	should be installed in /usr/share/vim/vimXX-tiny and that path
+	could be added at the end of the 'runtimepath' specified in
+	/etc/vim/vimrc. In that way we can provide stripped versions of
+	the runtime files if needed and once people install
+	"vim-runtime" they would have a full runtime even if using
+	"vim-tiny"
+
+ -- Stefano Zacchiroli <zack at debian.org>  Wed, 26 Oct 2005 09:44:36 +0200




More information about the pkg-vim-maintainers mailing list