bash-completion: add recipe
PATCH 1/1 bash-completion: add recipe
--- .../bash-completion/bash-completion_2.0.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta/recipes-support/bash-completion/bash-completion_2.0.bb
meta/recipes-support/bash-completion/bash-completion_2.0.bb new file +31 -0
@@ -0,0 +1,31 @@ +DESCRIPTION = "Programmable Completion for Bash 4" +HOMEPAGE = "http://bash-completion.alioth.debian.org/" +BUGTRACKER = "https://alioth.debian.org/projects/bash-completion/" + +SECTION = "console/utils" +RDEPENDS_${PN} = "bash" +PR = "r1" + +SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2" + +SRC_URI[md5sum] = "0d903f398be8c8f24bc5ffa6f86127f8" +SRC_URI[sha256sum] = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852af5804" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +inherit allarch autotools + +do_configure() { + oe_runconf +} + +do_install_append() { + install -d ${D}${sysconfdir}/bash_completion.d/ + echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion +} + +# Some recipes are providing ${PN}-bash-completion packages +PACKAGES_prepend += "${PN}-extra " +FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \ + ${datadir}/${BPN}/helpers/"
Signature · 1 line
1.8.2.1
Needs more comment as to why we need this along with a Signed-off-by: tag. Can you include where you brought this in from.
Quoted 11 lines · Matthieu Crapet
--- .../bash-completion/bash-completion_2.0.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+)create mode 100644 meta/recipes-support/bash-completion/bash-completion_2.0.bb
meta/recipes-support/bash-completion/bash-completion_2.0.bb new file +0
-0
meta/recipes-support/bash-completion/bash-completion_2.0.bb line 8
Quoted 8 lines
meta/recipes-support/bash-completion/bash-completion_2.0.bb new file +8
-0@@ -0,0 +1,31 @@ +DESCRIPTION = "Programmable Completion for Bash 4" +HOMEPAGE = "http://bash-completion.alioth.debian.org/" +BUGTRACKER = "https://alioth.debian.org/projects/bash-completion/" + +SECTION = "console/utils" +RDEPENDS_${PN} = "bash" +PR = "r1" +
Did you bump PR here or is it coming over with a PR already = "r1" If this is truly a new recipe, then we can drop the PR, but we might need a PE since the classic recipe had a PV of 20040711 which is greater than this new PV of 2.0.
meta/recipes-support/bash-completion/bash-completion_2.0.bb line 16
Quoted 8 lines
meta/recipes-support/bash-completion/bash-completion_2.0.bb new file +8
-0+SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2" + +SRC_URI[md5sum] = "0d903f398be8c8f24bc5ffa6f86127f8" +SRC_URI[sha256sum] = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852af5804" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" +
These belong above after Section
Quoted 16 lines
meta/recipes-support/bash-completion/bash-completion_2.0.bb new file +15
-0+inherit allarch autotools + +do_configure() { + oe_runconf +} + +do_install_append() { + install -d ${D}${sysconfdir}/bash_completion.d/ + echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion +} + +# Some recipes are providing ${PN}-bash-completion packages +PACKAGES_prepend += "${PN}-extra " +FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \ + ${datadir}/${BPN}/helpers/"
Quoted 2 lines · On Friday 13 December 2013 08:27:41 Saul Wold wrote:
Needs more comment as to why we need this along with a Signed-off-by:
tag. Can you include where you brought this in from.
I think this probably belongs in meta-oe rather than OE-Core, unless a good case for everyone needing it can be made.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Hi,
Thanks for comments.
I have posted a v2 patch on oe-devel list.
Changes:
- Drop PR. As this is a new recipe, this should be PR = "r0", and r0 is the default.
- Add PE = "1" to not conflict with old recipe (OE-Classic) PV = "20040711"
- Moved LIC* entry before SECTION
Question:
- Kept DESCRIPTION, should it be renamed to SUMMARY?
Cheers,
M
-----Message d'origine-----
De : Paul Eggleton [mailto:[email protected]] Envoyé : vendredi 13 décembre 2013 17:36
À : Matthieu CRAPET; Saul Wold
Cc : [email protected] Objet : Re: [OE-core] [PATCH] bash-completion: add recipe
Quoted 2 lines · On Friday 13 December 2013 08:27:41 Saul Wold wrote:
Needs more comment as to why we need this along with a Signed-off-by:
tag. Can you include where you brought this in from.
I think this probably belongs in meta-oe rather than OE-Core, unless a good case for everyone needing it can be made.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre