On 13/11/08 16:20, Richard Hartmann wrote: > Hi all, > > some of you might be aware of the great work Markus Heidelberg > did: He created a git repository which syncs with the latest Vim > sources and also incorporates several useful patches[1]. You can > cherry-pick the ones you like or simply get the whole thing. > For an overview of patches, please look here [2] (not all of them > are in the git repo yet, I think). > > Freely adapted from Jason Foreman, this is what you need to do: > > > # get the sources, etc > git clone git://repo.or.cz/vim_extended.git > > cd vim_extended > > # create your own branch based on stock vim source > git checkout -b custom origin/vim > > # merge the patches you like, for example you could do > git merge origin/relativenumber origin/floating_point > > # if you merged origin/lua, you will need to run this: > make -C src autoconf > > # configure -- in this case with perl, python& ruby support > ./configure --with-features=huge --enable-multibyte --enable-cscope \ > --enable-perlinterp --enable-pythoninterp --enable-rubyinterp \ > --prefix=/usr/local/vim_extended > > # if you merged origin/lua, you will also need to append this > # (if lua is installed in /usr/local) > --enable-luainterp --with-lua-prefix=/usr/local > > # build& deploy > make > su - > make install > > > > Please note that there is no official support for this from Bram. The > patches will most likely work and they appear to do so for several > people. However, you might get unlucky and stuff breaks. At worst, > you could lose data. So please be aware of this before going down > this road. > For everyone else, this could prove quite useful. > > Richard > > > [1] http://repo.or.cz/w/vim_extended.git > [2] http://groups.google.com/group/vim_dev/web/vim-patches?pli=1
You can also use patches even if you don't want to use gif: I build Vim with Bill McCarthy's additional floating-point functions without the help of any local repository other than a vim72/patches directory containing the patches I want to use (Bill McCarthy's eval.diff, a feature.h.diff for the features I want to set or avoid that cannot be set via configure, and Bram's official patches, currently 7.2.001 to 7.2.040). See my HowTo pages for details: browse to http://users.skynet.be/antoine.mechelynck/vim/ then click one of the two last items in the table of contents depending on whether you're on Windows or on a Unix-like OS. Note that if you use any unofficial patches, you ought to set the "modified by" line accordingly. On Linux, this can be done by setting the following (in bash) or similar: export CONF_ARGS='--with-modified-by="Bill McCarthy (float)"' For Windows, check whichever Vim makefile corresponds to your C compiler for details. Best regards, Tony. -- NEW ADDITION TO THE LIBRARY: "Sally", the department's new inflatable doll, is available on a short-term removal basis only -- please sign her out and return her promptly to avoid extended waits. (We are still awaiting shipment of our "Big John" doll.) --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
