vim: add recipe for vim-tiny
PATCH v2 1/1 vim: add recipe for vim-tiny
From: Jackie Huang <[email protected]>
Changes:
- Add bb for vim-tiny based on vim.bb
- Change PACKAGECONFIG and do_install for vim-tiny
- Change BPN to vim in vim.bb so it works fine when required by vim-tiny
- Add proper alternative links for vim and vim-tiny to avoid conflicts
- Don't use do_install_append in vim.bb so it works fine when required by vim-tiny
--- meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb | 13 +++++++++++++ meta-oe/recipes-support/vim/vim_7.4.481.bb | 20 +++++++++++++------- 2 files changed, 26 insertions(+), 7 deletions(-) create mode 100644 meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb
meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb new file +13 -0
@@ -0,0 +1,13 @@ +require vim_${PV}.bb + +SUMMARY += " (with tiny features)" + +PACKAGECONFIG += "tiny" + +do_install() { + install -d ${D}/${bindir} + install -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny +} + +ALTERNATIVE_PRIORITY = "90" +ALTERNATIVE_TARGET = "${bindir}/vim.tiny"
meta-oe/recipes-support/vim/vim_7.4.481.bb +13 -7
@@ -12,9 +12,9 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \ " SRCREV = "v7-4-481" -S = "${WORKDIR}/${BPN}/src" +S = "${WORKDIR}/vim/src" -VIMDIR = "${BPN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}" +VIMDIR = "vim${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}" inherit autotools update-alternatives inherit autotools-brokensep
@@ -59,7 +59,9 @@ EXTRA_OECONF = " \ STRIP=/bin/true \ " -do_install_append() { +do_install() { + autotools_do_install + # Work around rpm picking up csh or awk or perl as a dep chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132 chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk
@@ -67,6 +69,9 @@ do_install_append() { # Install example vimrc from runtime files install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${BPN}/vimrc + + # we use --with-features=big as default + mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN} } PARALLEL_MAKEINST = ""
@@ -97,7 +102,8 @@ RDEPENDS_${PN} = "ncurses-terminfo-base" # Recommend that runtime data is installed along with vim RRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" -ALTERNATIVE_${PN} = "vi" -ALTERNATIVE_TARGET[vi] = "${bindir}/${BPN}" -ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi" -ALTERNATIVE_PRIORITY[vi] = "100" +ALTERNATIVE_${PN} = "vi vim" +ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}" +ALTERNATIVE_LINK_NAME[vi] = "${bindir}/vi" +ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim" +ALTERNATIVE_PRIORITY = "100"
Signature · 1 line
2.0.0
Ping.
Quoted 101 lines
-----Original Message-----
From: [email protected] [mailto:openembedded-devel- [email protected]] On Behalf Of [email protected]
Sent: Thursday, November 06, 2014 4:22 PM
To: [email protected]; [email protected]; [email protected]; [email protected]
Subject: [oe] [meta-oe][PATCH v2] vim: add recipe for vim-tinyFrom: Jackie Huang <[email protected]>
Changes:
- Add bb for vim-tiny based on vim.bb
- Change PACKAGECONFIG anddo_installfor vim-tiny
- Change BPN to vim in vim.bb so it works fine when required by vim-tiny
- Add proper alternative links for vim and vim-tiny to avoid conflicts
- Don't usedo_install_appendin vim.bb so it works fine when required by vim-tinySigned-off-by Jackie Huang <[email protected]>--- meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb | 13 +++++++++++++ meta-oe/recipes-support/vim/vim_7.4.481.bb | 20 +++++++++++++------- 2 files changed, 26 insertions(+), 7 deletions(-) create mode 100644 meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb
meta-oe/recipes-support/vim/vim- renamed from meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb +0
-0tiny_7.4.481.bb
new file mode 100644
index 0000000..bb8f2b7meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb new file +12
-0@@ -0,0 +1,13 @@ +require vim_${PV}.bb + +SUMMARY += " (with tiny features)" + +PACKAGECONFIG += "tiny" + +do_install() { + install -d ${D}/${bindir} + install -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny } + +ALTERNATIVE_PRIORITY = "90" +ALTERNATIVE_TARGET = "${bindir}/vim.tiny"meta-oe/recipes- renamed from meta-oe/recipes-support/vim/vim_7.4.481.bb +0
-0support/vim/vim_7.4.481.bb
index b85ff63..7490229 100644meta-oe/recipes-support/vim/vim_7.4.481.bb +8
-3@@ -12,9 +12,9 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \ " SRCREV = "v7-4-481" -S = "${WORKDIR}/${BPN}/src" +S = "${WORKDIR}/vim/src" -VIMDIR = "${BPN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}" +VIMDIR = "vim${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}" inherit autotools update-alternatives inherit autotools-brokensep@@ -59,7 +59,9 @@ EXTRA_OECONF = " \ STRIP=/bin/true \ " -do_install_append() { +do_install() { + autotools_do_install + # Work around rpm picking up csh or awk or perl as a dep chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132 chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk@@ -67,6 +69,9 @@ do_install_append() { # Install example vimrc from runtime files install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${BPN}/vimrc + + # we use --with-features=big as default + mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN} } PARALLEL_MAKEINST = ""@@ -97,7 +102,8 @@ RDEPENDS_${PN} = "ncurses-terminfo-base" # Recommend that runtime data is installed along with vim RRECOMMENDS_${PN} = "${PN}-syntax${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
meta-oe/recipes-support/vim/vim_7.4.481.bb +5
-5-ALTERNATIVE_${PN} = "vi" -ALTERNATIVE_TARGET[vi] = "${bindir}/${BPN}" -ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi" -ALTERNATIVE_PRIORITY[vi] = "100" +ALTERNATIVE_${PN} = "vi vim" +ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}" +ALTERNATIVE_LINK_NAME[vi] = "${bindir}/vi" +ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim" +ALTERNATIVE_PRIORITY = "100" --2.0.0
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Ping, I see the state in patchwork is "Changes Requested" but I don't see any comment for this, I'm not sure what need to be changed.
Thanks,
Jackie
Quoted 120 lines
-----Original Message-----
From: [email protected] [mailto:openembedded-devel- [email protected]] On Behalf Of Huang, Jie (Jackie)
Sent: Friday, December 19, 2014 2:17 PM
To: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [oe] [meta-oe][PATCH v2] vim: add recipe for vim-tinyPing.
Quoted 100 lines
-----Original Message-----
From: [email protected] [mailto:openembedded-devel- [email protected]] On Behalf Of [email protected]
Sent: Thursday, November 06, 2014 4:22 PM
To: [email protected]; [email protected]; [email protected]; [email protected]
Subject: [oe] [meta-oe][PATCH v2] vim: add recipe for vim-tinyFrom: Jackie Huang <[email protected]>
Changes:
- Add bb for vim-tiny based on vim.bb
- Change PACKAGECONFIG anddo_installfor vim-tiny
- Change BPN to vim in vim.bb so it works fine when required by vim-tiny
- Add proper alternative links for vim and vim-tiny to avoid conflicts
- Don't usedo_install_appendin vim.bb so it works fine when required by vim-tinySigned-off-by Jackie Huang <[email protected]>--- meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb | 13 +++++++++++++ meta-oe/recipes-support/vim/vim_7.4.481.bb | 20 +++++++++++++------- 2 files changed, 26 insertions(+), 7 deletions(-) create mode 100644meta-oe/recipes- support/vim/vim-tiny_7.4.481.bb
meta-oe/recipes-support/vim/vim- renamed from meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb +0
-0tiny_7.4.481.bb
new file mode 100644
index 0000000..bb8f2b7meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb new file +12
-0@@ -0,0 +1,13 @@ +require vim_${PV}.bb + +SUMMARY += " (with tiny features)" + +PACKAGECONFIG += "tiny" + +do_install() { + install -d ${D}/${bindir} + install -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny } + +ALTERNATIVE_PRIORITY = "90" +ALTERNATIVE_TARGET = "${bindir}/vim.tiny"(quoted diff) +0
-0b/meta-oe/recipes- support/vim/vim_7.4.481.bb index b85ff63..7490229 100644
meta-oe/recipes-support/vim/vim_7.4.481.bb +5
-4@@ -12,9 +12,9 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \ " SRCREV = "v7-4-481" -S = "${WORKDIR}/${BPN}/src" +S = "${WORKDIR}/vim/src" -VIMDIR = "${BPN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}" +VIMDIR = "vim${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}" inherit autotools update-alternatives inherit autotools-brokensep @@ -59,7 +59,9 @@ EXTRA_OECONF = " \ STRIP=/bin/true \ " -do_install_append() { +do_install() { + autotools_do_install + # Work around rpm picking up csh or awk or perl as a dep chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132 chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk@@ -67,6 +69,9 @@ do_install_append() { # Install example vimrc from runtime files install -m 0644 ../runtime/vimrc_example.vim${D}/${datadir}/${BPN}/vimrc
meta-oe/recipes-support/vim/vim_7.4.481.bb +3
-0+ + # we use --with-features=big as default + mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN} } PARALLEL_MAKEINST = ""@@ -97,7 +102,8 @@ RDEPENDS_${PN} = "ncurses-terminfo-base" # Recommend that runtime data is installed along with vimRRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
meta-oe/recipes-support/vim/vim_7.4.481.bb +5
-5-ALTERNATIVE_${PN} = "vi" -ALTERNATIVE_TARGET[vi] = "${bindir}/${BPN}" -ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi" -ALTERNATIVE_PRIORITY[vi] = "100" +ALTERNATIVE_${PN} = "vi vim" +ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}" +ALTERNATIVE_LINK_NAME[vi] = "${bindir}/vi" +ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim" +ALTERNATIVE_PRIORITY = "100" --2.0.0
Quoted 5 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
http://permalink.gmane.org/gmane.comp.handhelds.openembedded/66016
Quoted 134 lines · Jie (Jackie)
Ping, I see the state in patchwork is "Changes Requested" but I don't see any comment for this,
I'm not sure what need to be changed.Thanks,
JackieQuoted 2 lines
-----Original Message-----
From: [email protected] [mailto:openembedded-devel-
Quoted 6 lines
[email protected]] On Behalf Of Huang, Jie (Jackie)
Sent: Friday, December 19, 2014 2:17 PM
To: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [oe] [meta-oe][PATCH v2] vim: add recipe for vim-tinyQuoted 26 lines
Ping.
Quoted 24 lines
-----Original Message-----
From: [email protected] [mailto:openembedded-devel- [email protected]] On Behalf Of [email protected]
Sent: Thursday, November 06, 2014 4:22 PM
To: [email protected]; [email protected]; [email protected]; [email protected]
Subject: [oe] [meta-oe][PATCH v2] vim: add recipe for vim-tinyFrom: Jackie Huang <[email protected]>
Changes:
- Add bb for vim-tiny based on vim.bb
- Change PACKAGECONFIG anddo_installfor vim-tiny
- Change BPN to vim in vim.bb so it works fine when required by vim-tiny
- Add proper alternative links for vim and vim-tiny to avoid conflicts
- Don't usedo_install_appendin vim.bb so it works fine when required by vim-tinySigned-off-by Jackie Huang <[email protected]>--- meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb | 13 +++++++++++++ meta-oe/recipes-support/vim/vim_7.4.481.bb | 20+++++++++++++-------
Quoted 21 lines
Quoted 21 lines
2 files changed, 26 insertions(+), 7 deletions(-) create mode 100644meta-oe/recipes- support/vim/vim-tiny_7.4.481.bb
meta-oe/recipes-support/vim/vim- renamed from meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb +0
-0tiny_7.4.481.bb
new file mode 100644
index 0000000..bb8f2b7meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb new file +10
-0@@ -0,0 +1,13 @@ +require vim_${PV}.bb + +SUMMARY += " (with tiny features)" + +PACKAGECONFIG += "tiny" + +do_install() { + install -d ${D}/${bindir} + install -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny } +Quoted 8 lines
meta-oe/recipes-support/vim/vim_7.4.481.bb SRC_URI = "hg://
Quoted 8 lines
meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb new file +2
-0+ALTERNATIVE_PRIORITY = "90" +ALTERNATIVE_TARGET = "${bindir}/vim.tiny"(quoted diff) +0
-0b/meta-oe/recipes- support/vim/vim_7.4.481.bb index b85ff63..7490229 100644
meta-oe/recipes-support/vim/vim_7.4.481.bb +0
-0@@ -12,9 +12,9 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \ "
Quoted 6 lines
meta-oe/recipes-support/vim/vim_7.4.481.bb SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \
Quoted 6 lines
meta-oe/recipes-support/vim/vim_7.4.481.bb +1
-2SRCREV = "v7-4-481" -S = "${WORKDIR}/${BPN}/src" +S = "${WORKDIR}/vim/src" -VIMDIR ="${BPN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}"
Quoted 1 line
meta-oe/recipes-support/vim/vim_7.4.481.bb SRC_URI = "hg:// · line 16
Quoted 1 line
meta-oe/recipes-support/vim/vim_7.4.481.bb +1
-0+VIMDIR ="vim${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}"
Quoted 23 lines
Quoted 23 lines
meta-oe/recipes-support/vim/vim_7.4.481.bb +3
-2inherit autotools update-alternatives inherit autotools-brokensep @@ -59,7 +59,9 @@ EXTRA_OECONF = " \ STRIP=/bin/true \ " -do_install_append() { +do_install() { + autotools_do_install + # Work around rpm picking up csh or awk or perl as a dep chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132 chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk@@ -67,6 +69,9 @@ do_install_append() { # Install example vimrc from runtime files install -m 0644 ../runtime/vimrc_example.vim${D}/${datadir}/${BPN}/vimrc
meta-oe/recipes-support/vim/vim_7.4.481.bb +3
-0+ + # we use --with-features=big as default + mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN} }Quoted 4 lines
Quoted 4 lines
PARALLEL_MAKEINST= ""meta-oe/recipes-support/vim/vim_7.4.481.bb +0
-0@@ -97,7 +102,8 @@ RDEPENDS_${PN} = "ncurses-terminfo-base" # Recommend that runtime data is installed along with vimRRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc
${PN}-common"
Quoted 23 lines
Quoted 13 lines
meta-oe/recipes-support/vim/vim_7.4.481.bb +5
-5-ALTERNATIVE_${PN} = "vi" -ALTERNATIVE_TARGET[vi] = "${bindir}/${BPN}" -ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi" -ALTERNATIVE_PRIORITY[vi] = "100" +ALTERNATIVE_${PN} = "vi vim" +ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}" +ALTERNATIVE_LINK_NAME[vi] = "${bindir}/vi" +ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim" +ALTERNATIVE_PRIORITY = "100" --2.0.0
Quoted 5 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
The comment is for the first version, I think we have discussed about that, then I came up with this v2, in which the vim recipe will not be split to two files, it just add a bb for vim-tiny which requires vim.bb, and I confirm that it won’t stage conflicting files in sysroot.
Thanks,
Jackie
From: Martin Jansa [mailto:[email protected]]
Sent: Monday, January 12, 2015 5:06 PM
To: Huang, Jie (Jackie)
Cc: [email protected]; [email protected]; [email protected]
Subject: Re: [oe] [meta-oe][PATCH v2] vim: add recipe for vim-tiny
http://permalink.gmane.org/gmane.comp.handhelds.openembedded/66016
On Mon, Jan 12, 2015 at 4:30 AM, Huang, Jie (Jackie) <[email protected]<mailto:[email protected]>> wrote:
Ping, I see the state in patchwork is "Changes Requested" but I don't see any comment for this,
I'm not sure what need to be changed.
Thanks,
Jackie
Quoted 120 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:openembedded-devel-<mailto:openembedded-devel-> [email protected]<mailto:[email protected]>] On Behalf Of Huang, Jie (Jackie)
Sent: Friday, December 19, 2014 2:17 PM
To: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>
Subject: Re: [oe] [meta-oe][PATCH v2] vim: add recipe for vim-tinyPing.
Quoted 100 lines
-----Original Message-----
From: [email protected]<mailto:[email protected]> [mailto:openembedded-devel-<mailto:openembedded-devel-> [email protected]<mailto:[email protected]>] On Behalf Of [email protected]<mailto:[email protected]>
Sent: Thursday, November 06, 2014 4:22 PM
To: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>
Subject: [oe] [meta-oe][PATCH v2] vim: add recipe for vim-tinyFrom: Jackie Huang <[email protected]<mailto:[email protected]>>
Changes:
- Add bb for vim-tiny based on vim.bb<http://vim.bb>
- Change PACKAGECONFIG anddo_installfor vim-tiny
- Change BPN to vim in vim.bb<http://vim.bb> so it works fine when required by vim-tiny
- Add proper alternative links for vim and vim-tiny to avoid conflicts
- Don't usedo_install_appendin vim.bb<http://vim.bb> so it works fine when required by vim-tiny--- meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb<http://vim-tiny_7.4.481.bb> | 13 +++++++++++++ meta-oe/recipes-support/vim/vim_7.4.481.bb<http://vim_7.4.481.bb> | 20 +++++++++++++------- 2 files changed, 26 insertions(+), 7 deletions(-) create mode 100644meta-oe/recipes- support/vim/vim-tiny_7.4.481.bb<http://vim-tiny_7.4.481.bb>
meta-oe/recipes-support/vim/vim- renamed from meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb<http://vim-tiny_7.4.481.bb> +0
-0tiny_7.4.481.bb<http://tiny_7.4.481.bb>
new file mode 100644
index 0000000..bb8f2b7meta-oe/recipes-support/vim/vim-tiny_7.4.481.bb<http://vim-tiny_7.4.481.bb> new file +12
-0@@ -0,0 +1,13 @@ +require vim_${PV}.bb + +SUMMARY += " (with tiny features)" + +PACKAGECONFIG += "tiny" + +do_install() { + install -d ${D}/${bindir} + install -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny } + +ALTERNATIVE_PRIORITY = "90" +ALTERNATIVE_TARGET = "${bindir}/vim.tiny"(quoted diff) +0
-0b/meta-oe/recipes- support/vim/vim_7.4.481.bb<http://vim_7.4.481.bb> index b85ff63..7490229 100644
meta-oe/recipes-support/vim/vim_7.4.481.bb<http://vim_7.4.481.bb> +5
-4@@ -12,9 +12,9 @@ SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim<http://vim.googlecode.com/hg/;protocol=https;module=vim> \ " SRCREV = "v7-4-481" -S = "${WORKDIR}/${BPN}/src" +S = "${WORKDIR}/vim/src" -VIMDIR = "${BPN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}<mailto:$%7bBPN%7d$%[email protected]('PV',1).split('.')[0]%7d$%[email protected]('PV',1).split('.')[1]%7d>" +VIMDIR = "vim${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}<mailto:vim$%[email protected]('PV',1).split('.')[0]%7d$%[email protected]('PV',1).split('.')[1]%7d>" inherit autotools update-alternatives inherit autotools-brokensep @@ -59,7 +59,9 @@ EXTRA_OECONF = " \ STRIP=/bin/true \ " -do_install_append() { +do_install() { + autotools_do_install + # Work around rpm picking up csh or awk or perl as a dep chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132 chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk@@ -67,6 +69,9 @@ do_install_append() { # Install example vimrc from runtime files install -m 0644 ../runtime/vimrc_example.vim${D}/${datadir}/${BPN}/vimrc
meta-oe/recipes-support/vim/vim_7.4.481.bb<http://vim_7.4.481.bb> +3
-0+ + # we use --with-features=big as default + mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN} } PARALLEL_MAKEINST = ""@@ -97,7 +102,8 @@ RDEPENDS_${PN} = "ncurses-terminfo-base" # Recommend that runtime data is installed along with vimRRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
meta-oe/recipes-support/vim/vim_7.4.481.bb<http://vim_7.4.481.bb> +5
-5-ALTERNATIVE_${PN} = "vi" -ALTERNATIVE_TARGET[vi] = "${bindir}/${BPN}" -ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi" -ALTERNATIVE_PRIORITY[vi] = "100" +ALTERNATIVE_${PN} = "vi vim" +ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}" +ALTERNATIVE_LINK_NAME[vi] = "${bindir}/vi" +ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim" +ALTERNATIVE_PRIORITY = "100" --2.0.0
Quoted 5 lines
--
_______________________________________________
Openembedded-devel mailing list [email protected]<mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list [email protected]<mailto:[email protected]>
http://lists.openembedded.org/mailman/listinfo/openembedded-devel