vim: update to 7.3.905

Replace version 7.2.446 with the latest version currently available, 7.3.905.

The old fetch method was inefficient as version 7.2 was downloaded and patches
applied to get to version 7.2.446. Attempting this method with git 7.3 did not
work as not all 905 patches applied cleanly. Instead we fetch version 7.3.905
directly from the upstream mercurial repository. This causes an implicit
dependency on mercurial-native for the build which is reasonable considering
that not many images include vim by default.

The previously used patch configure.in_remove_CC_quotes.patch is still required
as these changes haven't been made upstream; this patch still applies cleanly.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Paul Barker
2013-04-20 12:17:07 +00:00
committed by Martin Jansa
parent 14e1aaa74d
commit 7d3febb7d3
4 changed files with 10 additions and 5461 deletions
File diff suppressed because it is too large Load Diff
+3 -7
View File
@@ -4,20 +4,16 @@ DEPENDS = "ncurses"
# vimdiff doesn't like busybox diff
RSUGGESTS_${PN} = "diffutils"
LICENSE = "vim"
LIC_FILES_CHKSUM = "file://../runtime/doc/uganda.txt;md5=cd49910a3dde6fe0a7e24ebe8cbf7066"
LIC_FILES_CHKSUM = "file://../runtime/doc/uganda.txt;md5=4c91d841bb7b75f68b5bb8ad7118f5b8"
PV_MAJOR = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
VIMDIR = "${PN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}"
INC_PR = "r13"
SRC_URI = " \
ftp://ftp.${PN}.org/pub/${PN}/unix/${PN}-${PV_MAJOR}.tar.bz2;name=${VIMDIR} \
ftp://ftp.${PN}.org/pub/${PN}/extra/${PN}-${PV_MAJOR}-extra.tar.gz;name=${VIMDIR}-extra \
ftp://ftp.${PN}.org/pub/${PN}/extra/${PN}-${PV_MAJOR}-lang.tar.gz;name=${VIMDIR}-lang \
"
SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim"
S = "${WORKDIR}/${VIMDIR}/src"
S = "${WORKDIR}/${PN}/src"
inherit autotools update-alternatives
@@ -1,28 +0,0 @@
require ${PN}.inc
PR = "${INC_PR}.0"
# 001-446; 401-446 are not yet available online
SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.001-100.gz;name=p001-100;apply=yes;patchdir=..;pnum=0"
SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.101-200.gz;name=p101-200;apply=yes;patchdir=..;pnum=0"
SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.201-300.gz;name=p201-300;apply=yes;patchdir=..;pnum=0"
SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.301-400.gz;name=p301-400;apply=yes;patchdir=..;pnum=0"
SRC_URI += "file://401-446.diff;patchdir=..;pnum=0"
SRC_URI[vim72.md5sum] = "f0901284b338e448bfd79ccca0041254"
SRC_URI[vim72.sha256sum] = "914db0f2205ebd6f02878295ec2506036ea7500399db112c61a01491cd9a1d86"
SRC_URI[vim72-lang.md5sum] = "d8884786979e0e520c112faf2e176f05"
SRC_URI[vim72-lang.sha256sum] = "11607f539a4518b550bf1606b7d3a6f36c1ffdf566c058e7d94bced78034cd5b"
SRC_URI[vim72-extra.md5sum] = "35e04482f07c57221c9a751aaa3b8dac"
SRC_URI[vim72-extra.sha256sum] = "20894ac79672160bfc4f1d2f9f9775b34d944762d655307a91ca96d358faa04d"
SRC_URI[p001-100.md5sum] = "ba91b19374cee90f71b8f4ab1d92dc0f"
SRC_URI[p001-100.sha256sum] = "519f4fea460e4f7a737ea8006c0dc1684982f8372d1581fb963a5d58f8007f67"
SRC_URI[p101-200.md5sum] = "b485233d360041d043c56cd99057dbff"
SRC_URI[p101-200.sha256sum] = "0a6e25e454706377f8a6babe4da99c6eab7e71a63d28ad9b24aa5c170522bac3"
SRC_URI[p201-300.md5sum] = "069fb537772a8e4a74119d8a6a7e61f3"
SRC_URI[p201-300.sha256sum] = "a11bad3a4e167501c62f0212d3b8935a73a1ae378c5d6ed73a477a71f57baffa"
SRC_URI[p301-400.md5sum] = "137b5821ff4a2266796d14d867be5f9f"
SRC_URI[p301-400.sha256sum] = "41f022ec829786a008685c0b00acf8be09525755a94a06236a4b879b1f84b5f4"
SRC_URI += "file://configure.in_remove_CC_quotes.patch;patchdir=.."
@@ -0,0 +1,7 @@
require ${PN}.inc
PR = "${INC_PR}.0"
SRCREV = "v7-3-905"
SRC_URI += "file://configure.in_remove_CC_quotes.patch;patchdir=.."