Rick Hogg wrote:
Hello,
VIM 7 currently has 22 patches. I just installed 7.0
yesterday, and now I'd like to install the patches.
How might I go about doing that?
Thanks,
Rick
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
These patches are source patches only.
1) Get the full sources into some "development" directory structure
different than $VIM/. These sources consist of
http://ftp.vim.org/pub/vim/unix/vim-7.0.tar.bz2
http://ftp.vim.org/pub/vim/extra/vim-7.0-extra.tar.gz
http://ftp.vim.org/pub/vim/extra/vim-7.0-lang.tar.gz
Notes:
a) Get the .bz2 archive from the unix/ directory, even if you run on
Windows or Mac. Whatever non-Unix sources you might need are in the
other two archives.
b) I recommend getting all three archives, even on Unix. This way you
won't get "file not found" errors in patch, and you will have the
sources you need even if your feature list is different than Bram's
(e.g., if you use +sniff).
c) On Windows, common archive handlers such as WinZip don't know
about the .bz2 format. You will need a separate bunzip2 program to
handle it.
2) cd to the top of that structure (a directory named <something>/vim70
with a subdir named src in it
3) mkdir patches
4) Download everything in ftp://ftp.vim.org/pub/vim/patches/7.0/ into
this newly-created "patches" subdirectory
5)
patch -p0 < patches/7.0.001
patch -p0 < patches/7.0.002
...
patch -p0 < patches/7.0.022
(On Windows, be sure you use the Cygwin version of the "patch" program;
most other versions are known to choke on some or all of the "official"
Vim patches.)
6) Compile Vim from your newly patched sources.
7) Check that your compile produced a working executable with the
options you want:
src/vim --version
and/or
src/gvim --version
8) Install the results of your compile to $VIMRUNTIME and (on Unix) to
some directory in the $PATH
For details, see:
http://users.skynet.be/antoine.mechelynck/vim/compile.htm (for Windows)
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm (for Unix)
HTH,
Tony.