package/libtracefs: bump to version 1.8.0
PATCH v2 1/3 package/libtracefs: bump to version 1.8.0
Let's drop local patch thas has been upstreamed but another one to fix linking failure due to meson and Makefile unalignment. Also, now libtracefs samples require pthread, but we don't want samples to be built to save target size and reduce dependencies counot, so let's disable it by setting meson samples variable to false in LIBTRACEFS_CONF_OPTS.
---V1->V2:
* add patch
--- ...-add-option-to-disable-documentation.patch | 51 ------------------- ...-meson-build-tracefs-mmap-by-default.patch | 30 +++++++++++ package/libtracefs/libtracefs.hash | 2 +- package/libtracefs/libtracefs.mk | 5 +- 4 files changed, 34 insertions(+), 54 deletions(-) delete mode 100644 package/libtracefs/0001-libtracefs-add-option-to-disable-documentation.patch create mode 100644 package/libtracefs/0001-libtracefs-meson-build-tracefs-mmap-by-default.patch
package/libtracefs/0001-libtracefs-add-option-to-disable-documentation.patch deleted +0 -51
@@ -1,51 +0,0 @@ -From 881e23ed774360f93ca81f820d7897bd9bbd6d63 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti <[email protected]> -Date: Sat, 30 Sep 2023 22:40:08 +0200 -Subject: [PATCH] libtracefs: add option to disable documentation - -On some Linux environment builder(i.e. Buildroot) host asciidoc is not -provided since by default all man/docs are not installed to target but -meson.build at the moment build ascii and html documentation and -requires asciidoc making the building to fail. So let's add doc option -set to true by default to let the user to override it and not produce -the documentation. - -Upstream: https://patchwork.kernel.org/project/linux-trace-devel/patch/[email protected]/ - -Signed-off-by: Giulio Benetti <[email protected]> ---- - meson.build | 3 +++ - meson_options.txt | 2 ++ - 2 files changed, 5 insertions(+) - -diff --git a/meson.build b/meson.build -index 9d42d78..f1e492e 100644 ---- a/meson.build -+++ b/meson.build -@@ -39,6 +39,8 @@ if cunit_dep.found() - subdir('utest') - endif - subdir('samples') -+ -+if get_option('doc') - subdir('Documentation') - - custom_target( -@@ -46,3 +48,4 @@ custom_target( - output: 'docs', - depends: [html, man], - command: ['echo']) -+endif -diff --git a/meson_options.txt b/meson_options.txt -index 1d92c28..5533a88 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -14,3 +14,5 @@ option('man-bold-literal', type : 'boolean', value : false, - description : 'enable bold literals') - option('docbook-suppress-sp', type : 'boolean', value : false, - description : 'docbook suppress sp') -+option('doc', type : 'boolean', value: true, -+ description : 'produce documentation') --- -2.34.1 -
package/libtracefs/0001-libtracefs-meson-build-tracefs-mmap-by-default.patch new file +30 -0
@@ -0,0 +1,30 @@ +From 2ff02ff91b5dc81b7cc253f88c9fce15664daeba Mon Sep 17 00:00:00 2001 +From: Giulio Benetti <[email protected]> +Date: Wed, 10 Jan 2024 21:38:51 +0100 +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. + +Upstream: https://patchwork.kernel.org/project/linux-trace-devel/patch/[email protected]/ + +Signed-off-by: Giulio Benetti <[email protected]> +--- + 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.34.1 +
package/libtracefs/libtracefs.hash +1 -1
@@ -1,4 +1,4 @@ # Locally computed -sha256 411fcbf3434ecbaefa6c2b1bf092266293a672e2d7ee46fdd6b402753cb8bd16 libtracefs-1.7.0.tar.gz +sha256 f92475d5c4cb509983697fb359ee615bef4f08ed8bdc9c690f6118ba68886de0 libtracefs-1.8.0.tar.gz sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LICENSES/LGPL-2.1
package/libtracefs/libtracefs.mk +3 -2
@@ -4,7 +4,7 @@ # ################################################################################ -LIBTRACEFS_VERSION = 1.7.0 +LIBTRACEFS_VERSION = 1.8.0 LIBTRACEFS_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot LIBTRACEFS_INSTALL_STAGING = YES LIBTRACEFS_LICENSE = GPL-2.0, LGPL-2.1
@@ -13,6 +13,7 @@ LIBTRACEFS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 LIBTRACEFS_DEPENDENCIES = host-bison host-flex host-pkgconf libtraceevent LIBTRACEFS_CONF_OPTS = \ - -Ddoc=false + -Ddoc=false \ + -Dsamples=false $(eval $(meson-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 2/3 package/libtraceevent: bump to version 1.8.2
---V1->V2:
* add new patch
--- package/libtraceevent/libtraceevent.hash | 2 +- package/libtraceevent/libtraceevent.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/libtraceevent/libtraceevent.hash +1 -1
@@ -1,4 +1,4 @@ # Locally computed -sha256 1801f416b317e2ae0430ce964cf22b9ecb9fb5cd9c6c2d1073b29953c3309bca libtraceevent-1.8.1.tar.gz +sha256 919f0c024c7b5059eace52d854d4df00ae7e361a4033e1b4d6fe01d97064a1b9 libtraceevent-1.8.2.tar.gz sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LICENSES/LGPL-2.1
package/libtraceevent/libtraceevent.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBTRACEEVENT_VERSION = 1.8.1 +LIBTRACEEVENT_VERSION = 1.8.2 LIBTRACEEVENT_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot LIBTRACEEVENT_LICENSE = GPL-2.0, LGPL-2.1 LIBTRACEEVENT_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedRe: [Buildroot] [PATCH v2 2/3] package/libtraceevent: bump to version 1.8.2
Giulio, All,
On 2024-01-10 22:12 +0100, Giulio Benetti spake thusly:
Quoted 1 line
Signed-off-by Giulio Benetti <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 38 lines
---
V1->V2:
* add new patch--- package/libtraceevent/libtraceevent.hash | 2 +- package/libtraceevent/libtraceevent.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/libtraceevent/libtraceevent.hash +1
-1@@ -1,4 +1,4 @@ # Locally computed -sha256 1801f416b317e2ae0430ce964cf22b9ecb9fb5cd9c6c2d1073b29953c3309bca libtraceevent-1.8.1.tar.gz +sha256 919f0c024c7b5059eace52d854d4df00ae7e361a4033e1b4d6fe01d97064a1b9 libtraceevent-1.8.2.tar.gz sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LICENSES/LGPL-2.1package/libtraceevent/libtraceevent.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -LIBTRACEEVENT_VERSION = 1.8.1 +LIBTRACEEVENT_VERSION = 1.8.2 LIBTRACEEVENT_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot LIBTRACEEVENT_LICENSE = GPL-2.0, LGPL-2.1 LIBTRACEEVENT_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 3/3 package/trace-cmd: bump to version 3.2
In reply to Giulio Benetti---V1->V2:
* no changes
--- package/trace-cmd/trace-cmd.hash | 2 +- package/trace-cmd/trace-cmd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/trace-cmd/trace-cmd.hash +1 -1
@@ -1,5 +1,5 @@ # Locally computed -sha256 e496d41e599f8ef3c9a74675da05f86be0d8d48d524f0182c73ab98cd16da0b0 trace-cmd-v3.1.7.tar.gz +sha256 62af2c6062eeb434925921bb5936774b0a0e17a5f86671fa2ea2f40704a080cd trace-cmd-v3.2.tar.gz sha256 b1d04b850c1c7471b0f0896f6c6f0fcfc9f07e2dd183a5f5826af269fe9e88fb COPYING sha256 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9 COPYING.LIB sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0
package/trace-cmd/trace-cmd.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -TRACE_CMD_VERSION = 3.1.7 +TRACE_CMD_VERSION = 3.2 TRACE_CMD_SOURCE = trace-cmd-v$(TRACE_CMD_VERSION).tar.gz TRACE_CMD_SITE = \ https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedRe: [Buildroot] [PATCH v2 3/3] package/trace-cmd: bump to version 3.2
Giulio, All,
On 2024-01-10 22:12 +0100, Giulio Benetti spake thusly:
Quoted 1 line
Signed-off-by Giulio Benetti <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 39 lines
---
V1->V2:
* no changes--- package/trace-cmd/trace-cmd.hash | 2 +- package/trace-cmd/trace-cmd.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/trace-cmd/trace-cmd.hash +1
-1@@ -1,5 +1,5 @@ # Locally computed -sha256 e496d41e599f8ef3c9a74675da05f86be0d8d48d524f0182c73ab98cd16da0b0 trace-cmd-v3.1.7.tar.gz +sha256 62af2c6062eeb434925921bb5936774b0a0e17a5f86671fa2ea2f40704a080cd trace-cmd-v3.2.tar.gz sha256 b1d04b850c1c7471b0f0896f6c6f0fcfc9f07e2dd183a5f5826af269fe9e88fb COPYING sha256 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9 COPYING.LIB sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0package/trace-cmd/trace-cmd.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -TRACE_CMD_VERSION = 3.1.7 +TRACE_CMD_VERSION = 3.2 TRACE_CMD_SOURCE = trace-cmd-v$(TRACE_CMD_VERSION).tar.gz TRACE_CMD_SITE = \ https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshotSignature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedGiulio, All,
On 2024-01-10 22:12 +0100, Giulio Benetti spake thusly:
Quoted 8 lines
Let's drop local patch thas has been upstreamed but another one to fix linking failure due to meson and
Makefileunalignment. Also, now libtracefs samples require pthread, but we don't want samples to be built to save target size and reduce dependencies counot, so let's disable it by setting meson samples variable to false inLIBTRACEFS_CONF_OPTS.Signed-off-by Giulio Benetti <[email protected]>---
[--SNIP--]
Quoted 6 lines
package/libtracefs/0001-libtracefs-meson-build-tracefs-mmap-by-default.patch new file +0
-0
package/libtracefs/0001-libtracefs-meson-build-tracefs-mmap-by-default.patch line 9
Quoted 9 lines
package/libtracefs/0001-libtracefs-meson-build-tracefs-mmap-by-default.patch new file +9
-0@@ -0,0 +1,30 @@ +From 2ff02ff91b5dc81b7cc253f88c9fce15664daeba Mon Sep 17 00:00:00 2001 +From: Giulio Benetti <[email protected]> +Date: Wed, 10 Jan 2024 21:38:51 +0100 +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. + +Upstream: https://patchwork.kernel.org/project/linux-trace-devel/patch/[email protected]/
It has been applied now, so I made a p[roper backport.
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 59 lines
package/libtracefs/0001-libtracefs-meson-build-tracefs-mmap-by-default.patch new file +20
-0+Signed-off-by: Giulio Benetti <[email protected]> +--- + 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.34.1 +package/libtracefs/libtracefs.hash +1
-1@@ -1,4 +1,4 @@ # Locally computed -sha256 411fcbf3434ecbaefa6c2b1bf092266293a672e2d7ee46fdd6b402753cb8bd16 libtracefs-1.7.0.tar.gz +sha256 f92475d5c4cb509983697fb359ee615bef4f08ed8bdc9c690f6118ba68886de0 libtracefs-1.8.0.tar.gz sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LICENSES/LGPL-2.1package/libtracefs/libtracefs.mk +3
-2@@ -4,7 +4,7 @@ # ################################################################################ -LIBTRACEFS_VERSION = 1.7.0 +LIBTRACEFS_VERSION = 1.8.0 LIBTRACEFS_SITE = https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot LIBTRACEFS_INSTALL_STAGING = YES LIBTRACEFS_LICENSE = GPL-2.0, LGPL-2.1@@ -13,6 +13,7 @@ LIBTRACEFS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 LIBTRACEFS_DEPENDENCIES = host-bison host-flex host-pkgconf libtraceevent LIBTRACEFS_CONF_OPTS = \ - -Ddoc=false + -Ddoc=false \ + -Dsamples=false $(eval $(meson-package))Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot