mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-13 19:51:03 +01:00
dev-libs/libtracefs: Sync with Gentoo
It's from Gentoo commit d5f1a21a7aad6df17532f769b214c455d6f22076. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
08795b7671
commit
1d73ec9ca1
@ -1,4 +1,3 @@
|
||||
DIST libtracefs-1.7.0.tar.gz 205716 BLAKE2B 7e11ed75e65ddfb6e95fa67db2d3a3000e722108b6cb9d8efe7f057bf96afa608f0452e42090dab077b59044d3cbaebf2e4361812b994943964ea611b0ec6a49 SHA512 8b95c798a9013c0278da1c68ab4625446e1cc9d437eed91a6ce16660e7787f0af04ab65ce0dba536039f2facca39c50df5e45335b1af630e7bcce70b584e2f0c
|
||||
DIST libtracefs-1.8.0.tar.gz 224662 BLAKE2B 06ee6872ec5cd6c671ee2ddd3de19356ffa560b3ae20318e36be6a95bfe37bf61233841e32c530ab0a3463d13dd57ff1b09bba296663b25d76da2a2ea3e89f51 SHA512 2d9728186de63f03a2222d56efe6b373c038519ad1e81dd10d97640c296696df6b0661743dcd9e851edda5225342ea10a8746434439f7ad878e26780b797eb6c
|
||||
DIST libtracefs-1.8.1.tar.gz 225995 BLAKE2B cb4f491464d54f1271591cdc5ed61fa67f49e63b94ff91162e3b4f59387d3f27d866e288b69dacdbea7c145989d50e8c00e3f63b066eef93164a8748c535420d SHA512 1d8775cf511982a99e2dd17afcf48da272ff8ec189710a27420befe8765155ed21fd62db8fb2b75a0965e0a52ef810459c826f9b4989093c6a64d0cb7894cfca
|
||||
DIST libtracefs-1.8.2.tar.gz 230703 BLAKE2B 6426d0968b94a28e2281e99d7986effffb9cd6527b0779dc5976e7f85c597697448e773d31ccf80df544ecea7f5726941c367833bd80876dd98a149f1a3a9cdb SHA512 a4437f40b97c700a643e4a232876b44415f91043b474787784e513d18eafa071a07c9b6431185914a97b258ea6ef89bab247e2feead0366144502e7c95b8c9fd
|
||||
DIST libtracefs-1.8.3.tar.gz 230795 BLAKE2B fcdcd169ce3b74e635fa48a1c25e7aa3dc5c1c1ae77326148d527ec9cbef7df2b7d86b914db71067542a9f1b54229412962fcfa35ac8626fc559a73915715575 SHA512 4b24bf2b0543c16781be798387cfe5227f150c37304971ac5bd11c2715df22ba03e5909b05c97422b69102113279b3b4a606d0babe4b97000120e458755f9b7c
|
||||
|
||||
@ -1,25 +0,0 @@
|
||||
Subject: [PATCH] libtracefs meson: build tracefs-mmap by default
|
||||
|
||||
Accordingly to Makefile let's add tracefs-mmap.c to build, this is needed
|
||||
for linking by other object files.
|
||||
|
||||
Link: https://lore.kernel.org/linux-trace-devel/20240110203925.266999-1-giulio.benetti@benettiengineering.com
|
||||
---
|
||||
src/meson.build | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/meson.build b/src/meson.build
|
||||
index 5b76554..f7a98b9 100644
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -11,6 +11,7 @@ sources= [
|
||||
'tracefs-instance.c',
|
||||
'tracefs-kprobes.c',
|
||||
'tracefs-marker.c',
|
||||
+ 'tracefs-mmap.c',
|
||||
'tracefs-record.c',
|
||||
'tracefs-sqlhist.c',
|
||||
'tracefs-tools.c',
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@ -1,51 +0,0 @@
|
||||
# Copyright 2019-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Linux kernel trace file system library"
|
||||
HOMEPAGE="https://www.trace-cmd.org/"
|
||||
|
||||
if [[ ${PV} =~ [9]{4,} ]]; then
|
||||
EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/${P}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
|
||||
# Please double check the minimum libtraceevent version!
|
||||
RDEPEND="
|
||||
!<dev-util/trace-cmd-3.1.4-r2
|
||||
>=dev-libs/libtraceevent-1.7.0
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# source-highlight is needed, see bug https://bugs.gentoo.org/865469
|
||||
BDEPEND="
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
dev-util/source-highlight
|
||||
app-alternatives/yacc
|
||||
app-alternatives/lex
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dasciidoctor=false
|
||||
)
|
||||
|
||||
# TODO: get docs & tests optional upstream
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
find "${ED}" -type f -name '*.a' -delete || die
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 2019-2024 Gentoo Authors
|
||||
# Copyright 2019-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -18,6 +18,8 @@ fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
# bug #968421
|
||||
RESTRICT="test"
|
||||
|
||||
# Please double check the minimum libtraceevent version!
|
||||
RDEPEND="
|
||||
@ -34,8 +36,6 @@ BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-mmap.patch" )
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dasciidoctor=false
|
||||
Loading…
x
Reference in New Issue
Block a user