vim: update to 7.4p52

This commit is contained in:
Tom G. Christensen 2013-11-20 20:49:52 +01:00
parent 6886992c62
commit 53d1de996d
2 changed files with 74 additions and 16 deletions

View File

@ -6,28 +6,77 @@
########################################################### ###########################################################
# Check the following 4 variables before running the script # Check the following 4 variables before running the script
topdir=vim topdir=vim
version=7.2 shortver=7.4
version=${shortver}.52
pkgver=1 pkgver=1
source[0]=ftp://ftp.vim.org/pub/vim/unix/$topdir-$version.tar.bz2 source[0]=ftp://ftp.vim.org/pub/vim/unix/$topdir-$shortver.tar.bz2
# If there are no patches, simply comment this # If there are no patches, simply comment this
# Generate rough patchlist like this: patch[0]= # buildpkg cannot handle sparse arrays
# grep -v Win32 README | grep -v VMS | grep -v Mac | grep -v \.gz |grep -v \(extra|awk '{ print $2 }'|grep 7.1 patch[1]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.001
# Unfortunately the markers are misleading and several Mac, Win32 and extra patches need also to be applied patch[2]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.002
# num=0; for i in `grep -v Win32 README | grep -v VMS | grep -v Mac | grep -v \.gz |grep -v \(extra|awk '{ print $2 }'|grep 7.1`; do echo "patch[$num]=$i"; let num=num+1; done patch[3]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.003
patch[4]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.004
patch[5]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.005
patch[6]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.006
patch[7]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.007
patch[8]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.008
patch[9]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.009
patch[10]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.010
patch[11]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.011
patch[12]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.012
patch[13]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.013
patch[14]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.014
patch[15]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.015
patch[16]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.016
patch[17]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.017
patch[18]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.018
patch[19]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.019
patch[20]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.020
patch[21]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.021
patch[22]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.022
patch[23]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.023
patch[24]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.024
patch[25]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.025
patch[26]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.026
patch[27]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.027
patch[28]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.028
patch[29]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.029
patch[30]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.030
patch[31]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.031
patch[32]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.032
patch[33]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.033
patch[34]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.034
patch[35]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.035
patch[36]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.036
patch[37]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.037
patch[38]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.038
patch[39]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.039
patch[40]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.040
patch[41]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.041
patch[42]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.042
patch[43]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.043
patch[44]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.044
patch[45]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.045
patch[46]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.046
patch[47]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.047
patch[48]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.048
patch[49]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.049
patch[50]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.050
patch[51]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.051
patch[52]=ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.052
# Source function library # Source function library
. ${BUILDPKG_SCRIPTS}/buildpkg.functions . ${BUILDPKG_SCRIPTS}/buildpkg.functions
# Global settings # Global settings
# We need to override this
topsrcdir=vim72
patchdir=$srcfiles/vim-${version}-patches
patch_prefix="-p0"
export CPPFLAGS="-I/usr/tgcware/include" export CPPFLAGS="-I/usr/tgcware/include"
export LDFLAGS="-L$prefix/lib -R$prefix/lib" export LDFLAGS="-L$prefix/lib -R$prefix/lib"
# What gui should we build? basic_args=(--prefix=$prefix --without-local-dir --with-features=huge --enable-multibyte --disable-perlinterp --disable-pythoninterp --disable-tclinterp --with-compiledby="<swpkg@jupiterrise.com>" --disable-netbeans)
gui=motif # Do not let scripts add a dependency on perl
configure_args=(--prefix=$prefix --without-local-dir --enable-gui=$gui --with-features=huge --enable-multibyte --disable-perlinterp --disable-pythoninterp --disable-tclinterp --with-compiledby="<swpkg@jupiterrise.com>" --disable-netbeans) ignore_deps="TGCperl"
# We need to override these
topsrcdir=vim74
patch_prefix="-p0"
reg prep reg prep
prep() prep()
@ -39,14 +88,15 @@ reg build
build() build()
{ {
# First build a gui version # First build a gui version
gui=motif configure_args=("${basic_args[@]}" --enable-gui=motif)
generic_build generic_build
# Save the gui binary for later # Save the gui binary for later
setdir source setdir source
${__cp} src/vim src/gvim ${__cp} src/vim src/gvim
setdir source setdir source
${__make} clean ${__make} clean
gui="no --with-x=no" # Build without gui
configure_args=("${basic_args[@]}" --enable-gui=no --with-x=no)
generic_build generic_build
} }
@ -59,6 +109,7 @@ check()
reg install reg install
install() install()
{ {
configure_args=("${basic_args[@]}" --enable-gui=motif)
generic_install DESTDIR generic_install DESTDIR
setdir source setdir source
${__cp} src/gvim ${stagedir}${prefix}/${_bindir} ${__cp} src/gvim ${stagedir}${prefix}/${_bindir}
@ -75,7 +126,7 @@ install()
#setdir ${stagedir}${prefix}/${_sharedir}/vim/vim71/lang/ #setdir ${stagedir}${prefix}/${_sharedir}/vim/vim71/lang/
#${__mv} "menu_chinese(gb)_gb.936.vim" "menu_chinese_gb__gb.936.vim" #${__mv} "menu_chinese(gb)_gb.936.vim" "menu_chinese_gb__gb.936.vim"
#${__mv} "menu_chinese(taiwan)_taiwan.950.vim" "menu_chinese_taiwan__taiwan.950.vim" #${__mv} "menu_chinese(taiwan)_taiwan.950.vim" "menu_chinese_taiwan__taiwan.950.vim"
${__rm} -rf ${stagedir}${prefix}/${_mandir}/{fr,it,pl,ru}* ${__rm} -rf ${stagedir}${prefix}/${_mandir}/{fr,it,pl,ru,ja}*
} }
reg pack reg pack

7
vim/meta/ChangeLog Normal file
View File

@ -0,0 +1,7 @@
CHANGELOG
---------
* Wed Nov 20 2013 Tom G. Christensen <swpkg@jupiterrise.com> - 7.4.52-1
- Update to 7.4p52
* Sun Sep 29 2013 Tom G. Christensen <swpkg@jupiterrise.com> - 7.4.43-1
- Update to 7.4p43