Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] Update Sysprof and libdex to 47.0
@ 2024-10-04 22:05 Adrian Perez de Castro
  2024-10-04 22:05 ` [Buildroot] [PATCH 1/2] package/libdex: bump to version 0.8.0 Adrian Perez de Castro
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Adrian Perez de Castro @ 2024-10-04 22:05 UTC (permalink / raw)
  To: buildroot; +Cc: Adrian Perez de Castro

Hi all,

This small patch set updates Sysprof to 47.0, and its libdex dependency.
In libdex we can drop one patch, and for Sysprof I added a small one that
avoids needing to update the GLib version packaged in Buildroot.


Adrian Perez de Castro (2):
  package/libdex: bump to version 0.8.0
  package/sysprof: bump to version 47.0

 .../0001-add-stack-protector-option.patch     | 45 -------------------
 package/libdex/libdex.hash                    |  4 +-
 package/libdex/libdex.mk                      |  5 ++-
 .../0001-build-reduce-GLib-requirement.patch  | 30 +++++++++++++
 package/sysprof/sysprof.hash                  |  4 +-
 package/sysprof/sysprof.mk                    |  2 +-
 6 files changed, 38 insertions(+), 52 deletions(-)
 delete mode 100644 package/libdex/0001-add-stack-protector-option.patch
 create mode 100644 package/sysprof/0001-build-reduce-GLib-requirement.patch

-- 
2.46.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 1/2] package/libdex: bump to version 0.8.0
  2024-10-04 22:05 [Buildroot] [PATCH 0/2] Update Sysprof and libdex to 47.0 Adrian Perez de Castro
@ 2024-10-04 22:05 ` Adrian Perez de Castro
  2024-10-04 22:05 ` [Buildroot] [PATCH 2/2] package/sysprof: bump to version 47.0 Adrian Perez de Castro
  2024-10-26 11:50 ` [Buildroot] [PATCH 0/2] Update Sysprof and libdex to 47.0 Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Adrian Perez de Castro @ 2024-10-04 22:05 UTC (permalink / raw)
  To: buildroot; +Cc: Adrian Perez de Castro

Drop patch "0001-add-stack-protector-option.patch", which is included in
the release.

https://gitlab.gnome.org/GNOME/libdex/-/blob/0.8.0/NEWS

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
 .../0001-add-stack-protector-option.patch     | 45 -------------------
 package/libdex/libdex.hash                    |  4 +-
 package/libdex/libdex.mk                      |  5 ++-
 3 files changed, 5 insertions(+), 49 deletions(-)
 delete mode 100644 package/libdex/0001-add-stack-protector-option.patch

diff --git a/package/libdex/0001-add-stack-protector-option.patch b/package/libdex/0001-add-stack-protector-option.patch
deleted file mode 100644
index 9021831a39..0000000000
--- a/package/libdex/0001-add-stack-protector-option.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 107efb2f1a014c4475e122677faddbe0dbef1000 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Tue, 23 Jul 2024 14:54:59 +0200
-Subject: [PATCH] add stack-protector option
-
-Allow the user to disable stack-protector as it is not supported by all
-toolchains
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Upstream: https://gitlab.gnome.org/GNOME/libdex/-/commit/a65d33aebbe43024a046b3f3cc4a1c6c533838d0
----
- meson.build       | 2 +-
- meson_options.txt | 3 +++
- 2 files changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index d0ca81d..2f7aac2 100644
---- a/meson.build
-+++ b/meson.build
-@@ -126,7 +126,7 @@ test_c_args = [
-   ['-Werror=format-security', '-Werror=format=2'],
-   '-FImsvc_recommended_pragmas.h',
- ]
--if get_option('buildtype') != 'plain'
-+if get_option('buildtype') != 'plain' and get_option('stack-protector')
-   if host_machine.system() != 'windows'
-     test_c_args += '-fstack-protector-strong'
-   endif
-diff --git a/meson_options.txt b/meson_options.txt
-index 519cd97..9e3364a 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -4,6 +4,9 @@ option('docs',
- option('examples',
-        type: 'boolean', value: true,
-        description: 'Build example programs')
-+option('stack-protector',
-+       type: 'boolean', value: true,
-+       description: 'Enable stack-protector')
- option('vapi',
-        type: 'boolean', value: true,
-        description: 'Generate vapi data (requires vapigen)')
--- 
-GitLab
-
diff --git a/package/libdex/libdex.hash b/package/libdex/libdex.hash
index ec22f330d9..7e08676fe4 100644
--- a/package/libdex/libdex.hash
+++ b/package/libdex/libdex.hash
@@ -1,5 +1,5 @@
-# From https://download.gnome.org/sources/libdex/0.6/libdex-0.6.1.sha256sum
-sha256  d176de6578571e32a8c0b603b6a5a13fa5f87fb6b5442575b38ec5af16b17a92  libdex-0.6.1.tar.xz
+# From https://download.gnome.org/sources/libdex/0.8/libdex-0.8.0.sha256sum
+sha256  659ab5d0eb7f10bd36af0cde08055158987690b9714e7f5b001c788ec1d01a25  libdex-0.8.0.tar.xz
 
 # License files
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING
diff --git a/package/libdex/libdex.mk b/package/libdex/libdex.mk
index 360b389255..0d27b35675 100644
--- a/package/libdex/libdex.mk
+++ b/package/libdex/libdex.mk
@@ -4,8 +4,9 @@
 #
 ################################################################################
 
-LIBDEX_VERSION_MAJOR = 0.6
-LIBDEX_VERSION = $(LIBDEX_VERSION_MAJOR).1
+# The middle number is even for stable releases, odd for development ones.
+LIBDEX_VERSION_MAJOR = 0.8
+LIBDEX_VERSION = $(LIBDEX_VERSION_MAJOR).0
 LIBDEX_SOURCE = libdex-$(LIBDEX_VERSION).tar.xz
 LIBDEX_SITE = https://download.gnome.org/sources/libdex/$(LIBDEX_VERSION_MAJOR)
 LIBDEX_LICENSE = LGPL-2.1+
-- 
2.46.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/2] package/sysprof: bump to version 47.0
  2024-10-04 22:05 [Buildroot] [PATCH 0/2] Update Sysprof and libdex to 47.0 Adrian Perez de Castro
  2024-10-04 22:05 ` [Buildroot] [PATCH 1/2] package/libdex: bump to version 0.8.0 Adrian Perez de Castro
@ 2024-10-04 22:05 ` Adrian Perez de Castro
  2024-10-26 11:50 ` [Buildroot] [PATCH 0/2] Update Sysprof and libdex to 47.0 Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Adrian Perez de Castro @ 2024-10-04 22:05 UTC (permalink / raw)
  To: buildroot; +Cc: Adrian Perez de Castro

Include an upstream patch that allows building with older versions
of GLib, to avoid needing to update its package.

https://gitlab.gnome.org/GNOME/sysprof/-/blob/47.0/NEWS

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
 .../0001-build-reduce-GLib-requirement.patch  | 30 +++++++++++++++++++
 package/sysprof/sysprof.hash                  |  4 +--
 package/sysprof/sysprof.mk                    |  2 +-
 3 files changed, 33 insertions(+), 3 deletions(-)
 create mode 100644 package/sysprof/0001-build-reduce-GLib-requirement.patch

diff --git a/package/sysprof/0001-build-reduce-GLib-requirement.patch b/package/sysprof/0001-build-reduce-GLib-requirement.patch
new file mode 100644
index 0000000000..fb83e210fe
--- /dev/null
+++ b/package/sysprof/0001-build-reduce-GLib-requirement.patch
@@ -0,0 +1,30 @@
+From c34fba6fe5c3ecd2028461a4317bd2916e2a09d7 Mon Sep 17 00:00:00 2001
+From: Christian Hergert <chergert@redhat.com>
+Date: Mon, 16 Sep 2024 09:48:15 -0700
+Subject: [PATCH] build: reduce GLib requirement
+
+This is kept lower so that you can build without GTK on older systems.
+
+Related: https://gitlab.gnome.org/GNOME/sysprof/-/commit/530b4a9d121c8659148c36ce67f2ce415443baa5#note_2223853
+Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
+Upstream: https://gitlab.gnome.org/GNOME/sysprof/-/commit/e5382d1b8cae4d829751938ce39c2e5fbc419064
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 63a31894..696b87be 100644
+--- a/meson.build
++++ b/meson.build
+@@ -45,7 +45,7 @@ need_libsysprof = (need_gtk or
+                    get_option('tests'))
+ 
+ dex_req = '0.6'
+-glib_req = '2.80.0'
++glib_req = '2.76.0'
+ gtk_req = '4.15'
+ polkit_req = '0.105'
+ 
+-- 
+2.46.2
+
diff --git a/package/sysprof/sysprof.hash b/package/sysprof/sysprof.hash
index f21e7621e1..ca025674a7 100644
--- a/package/sysprof/sysprof.hash
+++ b/package/sysprof/sysprof.hash
@@ -1,5 +1,5 @@
-# From https://download.gnome.org/sources/sysprof/46/sysprof-46.0.sha256sum
-sha256  73aa7e75ebab3e4e0946a05a723df7e6ee4249e3b9e884dba35500aba2a1d176  sysprof-46.0.tar.xz
+# From https://download.gnome.org/sources/sysprof/47/sysprof-47.0.sha256sum
+sha256  7424c629434660654288c04248998c357d1ce87ee1559fd44df1980992ef5df5  sysprof-47.0.tar.xz
 
 # License files
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  COPYING
diff --git a/package/sysprof/sysprof.mk b/package/sysprof/sysprof.mk
index 8e69a7044e..81c0a4a6ee 100644
--- a/package/sysprof/sysprof.mk
+++ b/package/sysprof/sysprof.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SYSPROF_VERSION_MAJOR = 46
+SYSPROF_VERSION_MAJOR = 47
 SYSPROF_VERSION = $(SYSPROF_VERSION_MAJOR).0
 SYSPROF_SOURCE = sysprof-$(SYSPROF_VERSION).tar.xz
 SYSPROF_SITE = https://download.gnome.org/sources/sysprof/$(SYSPROF_VERSION_MAJOR)
-- 
2.46.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 0/2] Update Sysprof and libdex to 47.0
  2024-10-04 22:05 [Buildroot] [PATCH 0/2] Update Sysprof and libdex to 47.0 Adrian Perez de Castro
  2024-10-04 22:05 ` [Buildroot] [PATCH 1/2] package/libdex: bump to version 0.8.0 Adrian Perez de Castro
  2024-10-04 22:05 ` [Buildroot] [PATCH 2/2] package/sysprof: bump to version 47.0 Adrian Perez de Castro
@ 2024-10-26 11:50 ` Thomas Petazzoni via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-10-26 11:50 UTC (permalink / raw)
  To: Adrian Perez de Castro; +Cc: buildroot

On Sat,  5 Oct 2024 01:05:37 +0300
Adrian Perez de Castro <aperez@igalia.com> wrote:

> Adrian Perez de Castro (2):
>   package/libdex: bump to version 0.8.0
>   package/sysprof: bump to version 47.0

Both applied, thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-10-26 11:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-04 22:05 [Buildroot] [PATCH 0/2] Update Sysprof and libdex to 47.0 Adrian Perez de Castro
2024-10-04 22:05 ` [Buildroot] [PATCH 1/2] package/libdex: bump to version 0.8.0 Adrian Perez de Castro
2024-10-04 22:05 ` [Buildroot] [PATCH 2/2] package/sysprof: bump to version 47.0 Adrian Perez de Castro
2024-10-26 11:50 ` [Buildroot] [PATCH 0/2] Update Sysprof and libdex to 47.0 Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox