All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCHv2] bash-completion: add recipe
@ 2013-12-16  8:41 Matthieu Crapet
  2013-12-16 10:07 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Matthieu Crapet @ 2013-12-16  8:41 UTC (permalink / raw)
  To: openembedded-devel

This new recipe discards the old recipe in OE-Classic:
http://layers.openembedded.org/layerindex/oe-classic/recipe/16369/

When building ready-to-use images (like .vmdk), it is sometimes convenient to have a fancy shell environment.

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
---
 .../bash-completion/bash-completion_2.0.bb         | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb

diff --git a/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
new file mode 100644
index 0000000..c70d988
--- /dev/null
+++ b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
@@ -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/"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+SECTION = "console/utils"
+RDEPENDS_${PN} = "bash"
+PE = "1"
+
+SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "0d903f398be8c8f24bc5ffa6f86127f8"
+SRC_URI[sha256sum] = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852af5804"
+
+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/"
-- 
1.8.2.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [RFC PATCHv2] bash-completion: add recipe
  2013-12-16  8:41 [RFC PATCHv2] bash-completion: add recipe Matthieu Crapet
@ 2013-12-16 10:07 ` Koen Kooi
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2013-12-16 10:07 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthieu Crapet schreef op 16-12-13 09:41:
> This new recipe discards the old recipe in OE-Classic: 
> http://layers.openembedded.org/layerindex/oe-classic/recipe/16369/
> 
> When building ready-to-use images (like .vmdk), it is sometimes
> convenient to have a fancy shell environment.
> 
> Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> --- 
> .../bash-completion/bash-completion_2.0.bb         | 31
> ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode
> 100644 meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
> 
> diff --git
> a/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
> b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb new file
> mode 100644 index 0000000..c70d988 --- /dev/null +++
> b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb @@ -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/" + +LICENSE =
> "GPLv2" +LIC_FILES_CHKSUM =
> "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +SECTION =
> "console/utils" +RDEPENDS_${PN} = "bash"

R* vars go below do_install

> +PE = "1"

New recipe, so drop PE

> + 
> +SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2"
>
> 
+
> +SRC_URI[md5sum] = "0d903f398be8c8f24bc5ffa6f86127f8" +SRC_URI[sha256sum]
> = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852af5804" + 
> +inherit allarch autotools + +do_configure() { +	oe_runconf +}

Can you add a comment why autotools_do_configure fails?

> + +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 "

PACKAGES =+ "${PN}-extra"

> +FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \ +
> ${datadir}/${BPN}/helpers/"
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFSrtDpMkyGM64RGpERAoQpAJ4vfbU5Q0laNx8W61aMEEfao8gtfwCggn2l
mJXDKKcx/uPPjhiEDZhc7LE=
=IlfI
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-16 10:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-16  8:41 [RFC PATCHv2] bash-completion: add recipe Matthieu Crapet
2013-12-16 10:07 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.