On 20-05-2012 15:41, Bruce Dubbs wrote:
> Bruce Dubbs wrote:
>> Fernando de Oliveira wrote:
>>> I am posting this to two lists because Vim is common to both. Of
>> course, discussion and opinions, if any, could be different in each one.
>>>
>>> While some softwares are rushing new versions even weekly, others
>> stick to a "main" one and leave the minor versions/corrections in their
>> repositories to be checked out with git or other softwares, and this is
>> the case of Vim and MPlayer.
>>>
>>> I have noticed that most distributions are changing to upgrade these
>> more often, perhaps monthly.
>>

[...]

>>>
>>> Sometimes, they call it version 7.3 "correction-xxx".
>>>
>>> MPlayer has already changed. What do you think about Vim in LFS
>>> and/or BLFS, with a monthly source in Anduin?
>>
>> What would be an easier way to maintain these type of changes would be 
>> to update a patch that is the difference between the base package and 
>> the svn package.  The update would then amount to adding a new patch to 
>> the packages repository and changing the patch number in the book.
>>
>> Note that changes to vim would need to happen in both LFS and BLFS.
> 
> You can try:
> 
> http://www.linuxfromscratch.org/patches/downloads/vim/vim-7.3-fixes-524.patch 
> 
> 
> Apply with:
> 
> patch -Np1 -i ../vim-7.3-fixes-524.patch
> 
> and then build normally.
> 
>    -- Bruce

Just did it. Thank you very much, Bruce. How fast!

Couple of observations:

1. When scripting, if patch is after the echo's, some fail, script stops.
patching file src/feature.h
Hunk #4 FAILED at 1316.
1 out of 4 hunks FAILED -- saving rejects to file src/feature.h.rej

Fine if patch is before echo's.

2. Broken
http://www2.nl.vim.org/unix/vim-7.3.tar.bz2
http://www2.nl.vim.org/extra/vim-7.2-lang.tar.gz

These work
ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 (this already in both books)
ftp://ftp.vim.org/pub/vim/extra/vim-7.2-lang.tar.gz

3. In BLFS:

typo: tar -xf ../vim-7.3-lang.tar.gz --strip-components=1

s/3/2/

-- 
[]s,
Fernando

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to