[OE-core] [PATCH] babeltrace2: added 2.0.1

Alexander Kanavin alex.kanavin at gmail.com
Tue Feb 18 13:57:06 UTC 2020


Thanks. May I request that this recipe is named babletrace, while
babeltrace 1.x recipe is at the same time renamed to babeltrace1? I'd like
to avoid adding version numbers to the 'latest' version. Lttng should at
the same time be adjusted to use babeltrace1, as advised by upstream.

Alex

On Tue, 18 Feb 2020 at 14:21, Anders Wallin <wallinux at gmail.com> wrote:

> Babeltrace 1 vs. Babeltrace 2
>
> The Babeltrace project exists since 2010. In 2020, Babeltrace 2 was
> released.
> Babeltrace 2 is a complete rewrite of the library, Python bindings, and
> CLI. It
> is plugin based and offers much more features and potential than
> Babeltrace 1.
>
> Because Babeltrace 2 is still a young released project, some distributions
> still
> provide packages for the Babeltrace 1 project. Both projects can coexist
> on the
> same system as there are no common installed files.
>
> Signed-off-by: Anders Wallin <wallinux at gmail.com>
> ---
>  .../recipes-kernel/lttng/babeltrace2_2.0.1.bb | 26 +++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  create mode 100644 meta/recipes-kernel/lttng/babeltrace2_2.0.1.bb
>
> diff --git a/meta/recipes-kernel/lttng/babeltrace2_2.0.1.bb
> b/meta/recipes-kernel/lttng/babeltrace2_2.0.1.bb
> new file mode 100644
> index 0000000000..d49a96faff
> --- /dev/null
> +++ b/meta/recipes-kernel/lttng/babeltrace2_2.0.1.bb
> @@ -0,0 +1,26 @@
> +SUMMARY = "Babeltrace2 - Trace Format Babel Tower"
> +DESCRIPTION = "Babeltrace provides trace read and write libraries in host
> side, as well as a trace converter, which used to convert LTTng 2.0 traces
> into human-readable log."
> +HOMEPAGE = "http://babeltrace.org/"
> +BUGTRACKER = "https://bugs.lttng.org/projects/babeltrace"
> +LICENSE = "MIT & GPLv2 & LGPLv2.1 & BSD-2-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=a6a458c13f18385b7bc5069a6d7b176e"
> +
> +DEPENDS = "glib-2.0 util-linux popt bison-native flex-native"
> +
> +SRC_URI = "git://
> git.linuxfoundation.org/diamon/babeltrace.git;branch=stable-2.0"
> +SRCREV = "06df58f89ee51b1a2c6a2c187ec3f15691633910"
> +UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)$"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools pkgconfig
> +
> +EXTRA_OECONF = "--disable-debug-info"
> +
> +PACKAGECONFIG ??= "manpages"
> +PACKAGECONFIG[manpages] = ", --disable-man-pages, asciidoc-native
> xmlto-native"
> +
> +FILES_${PN}-staticdev += "${libdir}/babeltrace2/plugins/*.a"
> +FILES_${PN} += "${libdir}/babeltrace2/plugins/*.so"
> +
> +ASNEEDED = ""
> --
> 2.25.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200218/3a2444eb/attachment.html>


More information about the Openembedded-core mailing list