package/libgtk4: bump to 4.17.0
PATCH v2 1/1 package/libgtk4: bump to 4.17.0
https://gitlab.gnome.org/GNOME/gtk/-/blob/4.17.0/NEWS
Note that libgtk4 never selected BR2_PACKAGE_CAIRO_{PNG,ZLIB}, this is also not needed since [1]. Instead, we have to select BR2_PACKAGE_LIBPNG ourselves, which libgtk3 indirectly did by including BR2_PACKAGE_CAIRO_PNG.
Also, add patches for:
- toolchains without fenv.h. [2]
- when cairo has been compiled without surfaces. [3]
[1] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7717
[2] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7925
[3] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7926
---
v2:
- update patches
- reword commit message
--- ...uild-add-a-check-for-the-fenv-header.patch | 26 +++++ ...value.c-fix-compilation-if-fenv.h-is.patch | 106 ++++++++++++++++++ ...kends-gtkprintbackendfile.c-fix-comp.patch | 96 ++++++++++++++++ package/libgtk4/Config.in | 1 + package/libgtk4/libgtk4.hash | 4 +- package/libgtk4/libgtk4.mk | 5 +- 6 files changed, 234 insertions(+), 4 deletions(-) create mode 100644 package/libgtk4/0001-meson.build-add-a-check-for-the-fenv-header.patch create mode 100644 package/libgtk4/0002-gtk-gtkcssnumbervalue.c-fix-compilation-if-fenv.h-is.patch create mode 100644 package/libgtk4/0003-modules-printbackends-gtkprintbackendfile.c-fix-comp.patch
package/libgtk4/0001-meson.build-add-a-check-for-the-fenv-header.patch new file +26 -0
@@ -0,0 +1,26 @@ +From 67cf230a85dcde61ba335cb8de52c4ea2e19caf2 Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt <[email protected]> +Date: Fri, 15 Nov 2024 08:22:23 +0100 +Subject: [PATCH] meson.build: add a check for the fenv header + +Upstream: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7925 +Signed-off-by: Thomas Devoogdt <[email protected]> +--- + meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/meson.build b/meson.build +index 2bb6f7c299..5f51aeb8a7 100644 +--- a/meson.build ++++ b/meson.build +@@ -180,6 +180,7 @@ check_headers = [ + 'crt/externs.h', + 'dev/evdev/input.h', + 'dlfcn.h', ++ 'fenv.h', + 'ftw.h', + 'inttypes.h', + 'linux/input.h', +-- +2.43.0 +
package/libgtk4/0002-gtk-gtkcssnumbervalue.c-fix-compilation-if-fenv.h-is.patch new file +106 -0
106 lines not on this page · raw message
package/libgtk4/0003-modules-printbackends-gtkprintbackendfile.c-fix-comp.patch new file +96 -0
96 lines not on this page · raw message
package/libgtk4/Config.in +1 -0
@@ -27,6 +27,7 @@ config BR2_PACKAGE_LIBGTK4 select BR2_PACKAGE_GRAPHENE select BR2_PACKAGE_LIBEPOXY select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBPNG select BR2_PACKAGE_PANGO select BR2_PACKAGE_TIFF # At least one backend is required
package/libgtk4/libgtk4.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/gtk/4.14/gtk-4.14.5.sha256sum -sha256 5547f2b9f006b133993e070b87c17804e051efda3913feaca1108fa2be41e24d gtk-4.14.5.tar.xz +# From https://download.gnome.org/sources/gtk/4.17/gtk-4.17.0.sha256sum +sha256 efcef355b5d903fc62a70934b1c644f39661e3c2ff44c8c53a8fcdb70c7dd97e gtk-4.17.0.tar.xz # Hash for license file: sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING
package/libgtk4/libgtk4.mk +3 -2
@@ -4,8 +4,8 @@ # ################################################################################ -LIBGTK4_VERSION_MAJOR = 4.14 -LIBGTK4_VERSION = $(LIBGTK4_VERSION_MAJOR).5 +LIBGTK4_VERSION_MAJOR = 4.17 +LIBGTK4_VERSION = $(LIBGTK4_VERSION_MAJOR).0 LIBGTK4_SOURCE = gtk-$(LIBGTK4_VERSION).tar.xz LIBGTK4_SITE = https://download.gnome.org/sources/gtk/$(LIBGTK4_VERSION_MAJOR) LIBGTK4_LICENSE = LGPL-2.0+
@@ -21,6 +21,7 @@ LIBGTK4_DEPENDENCIES = \ graphene \ libepoxy \ libglib2 \ + libpng \ pango \ $(TARGET_NLS_DEPENDENCIES)
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 1/1 package/libgtk4: bump to 4.17.3
https://gitlab.gnome.org/GNOME/gtk/-/blob/4.17.3/NEWS
Note that libgtk4 never selected BR2_PACKAGE_CAIRO_{PNG,ZLIB}, this is also not needed since [1]. Instead, we have to select BR2_PACKAGE_LIBPNG ourselves, which libgtk3 indirectly did by including BR2_PACKAGE_CAIRO_PNG.
Also, add patches for:
- toolchains without fenv.h. [2]
- when cairo has been compiled without surfaces. [3]
[1] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7717
[2] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7925
[3] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7926
---
! This bump depends on these patches:
- https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
- https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
!
--- ...uild-add-a-check-for-the-fenv-header.patch | 26 +++++ ...value.c-fix-compilation-if-fenv.h-is.patch | 106 ++++++++++++++++++ ...kends-gtkprintbackendfile.c-fix-comp.patch | 96 ++++++++++++++++ package/libgtk4/Config.in | 1 + package/libgtk4/libgtk4.hash | 4 +- package/libgtk4/libgtk4.mk | 5 +- 6 files changed, 234 insertions(+), 4 deletions(-) create mode 100644 package/libgtk4/0001-meson.build-add-a-check-for-the-fenv-header.patch create mode 100644 package/libgtk4/0002-gtk-gtkcssnumbervalue.c-fix-compilation-if-fenv.h-is.patch create mode 100644 package/libgtk4/0003-modules-printbackends-gtkprintbackendfile.c-fix-comp.patch
package/libgtk4/0001-meson.build-add-a-check-for-the-fenv-header.patch new file +26 -0
@@ -0,0 +1,26 @@ +From 9c248022da794e9422b37554fb9e316ffa71fd7a Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt <[email protected]> +Date: Fri, 15 Nov 2024 08:22:23 +0100 +Subject: [PATCH] meson.build: add a check for the fenv header + +Upstream: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7925 +Signed-off-by: Thomas Devoogdt <[email protected]> +--- + meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/meson.build b/meson.build +index e4006a3f8f..f9fc0dcb70 100644 +--- a/meson.build ++++ b/meson.build +@@ -191,6 +191,7 @@ cdata.set_quoted('GETTEXT_PACKAGE', 'gtk40') + + check_headers = [ + 'dev/evdev/input.h', ++ 'fenv.h', + 'ftw.h', + 'linux/input.h', + 'linux/memfd.h', +-- +2.43.0 +
package/libgtk4/0002-gtk-gtkcssnumbervalue.c-fix-compilation-if-fenv.h-is.patch new file +106 -0
106 lines not on this page · raw message
package/libgtk4/0003-modules-printbackends-gtkprintbackendfile.c-fix-comp.patch new file +96 -0
96 lines not on this page · raw message
package/libgtk4/Config.in +1 -0
@@ -27,6 +27,7 @@ config BR2_PACKAGE_LIBGTK4 select BR2_PACKAGE_GRAPHENE select BR2_PACKAGE_LIBEPOXY select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBPNG select BR2_PACKAGE_PANGO select BR2_PACKAGE_TIFF # At least one backend is required
package/libgtk4/libgtk4.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/gtk/4.14/gtk-4.14.5.sha256sum -sha256 5547f2b9f006b133993e070b87c17804e051efda3913feaca1108fa2be41e24d gtk-4.14.5.tar.xz +# From https://download.gnome.org/sources/gtk/4.17/gtk-4.17.3.sha256sum +sha256 5fada0343e172eb110335d5df7de68d00344332e7e885b04e6755f879c0748a6 gtk-4.17.3.tar.xz # Hash for license file: sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING
package/libgtk4/libgtk4.mk +3 -2
@@ -4,8 +4,8 @@ # ################################################################################ -LIBGTK4_VERSION_MAJOR = 4.14 -LIBGTK4_VERSION = $(LIBGTK4_VERSION_MAJOR).5 +LIBGTK4_VERSION_MAJOR = 4.17 +LIBGTK4_VERSION = $(LIBGTK4_VERSION_MAJOR).3 LIBGTK4_SOURCE = gtk-$(LIBGTK4_VERSION).tar.xz LIBGTK4_SITE = https://download.gnome.org/sources/gtk/$(LIBGTK4_VERSION_MAJOR) LIBGTK4_LICENSE = LGPL-2.0+
@@ -21,6 +21,7 @@ LIBGTK4_DEPENDENCIES = \ graphene \ libepoxy \ libglib2 \ + libpng \ pango \ $(TARGET_NLS_DEPENDENCIES)
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2] package/libgtk4: bump to 4.17.3
Hello,
Quoted 4 lines · On Sat, 25 Jan 2025 22:07:39 +0100 Thomas Devoogdt <[email protected]> wrote:
https://gitlab.gnome.org/GNOME/gtk/-/blob/4.17.3/NEWS
Note that libgtk4 never selected BR2_PACKAGE_CAIRO_{PNG,ZLIB}, this is also not needed since [1]. Instead, we have to select
I was confused by the "also" in this sentence. I would have found clearer to say:
"Note that libgtk4 never selected BR2_PACKAGE_CAIRO_{PNG,ZLIB} as it is not needed thanks to [1]. However, we need to select BR2_PACKAGE_LIBPNG .... <add some reason here>. In libgtk3, this was indirectly done as libgtk3 selects BR2_PACKAGE_CAIRO_PNG."
Quoted 1 line
+LIBGTK4_VERSION_MAJOR = 4.17
Odd middle number indicate development/unstable releases. The current stable release is 4.16.12. Could you use this version instead?
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 1/1 package/wayland-protocols: bump to 1.42
Announce:
- https://lists.freedesktop.org/archives/wayland-devel/2025-January/043966.html
- https://lists.freedesktop.org/archives/wayland-devel/2025-February/043980.html
- http://lists.freedesktop.org/archives/wayland-devel/2025-March/044027.html
---
v1: N/A
--- package/wayland-protocols/wayland-protocols.hash | 6 +++--- package/wayland-protocols/wayland-protocols.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
package/wayland-protocols/wayland-protocols.hash +3 -3
@@ -1,4 +1,4 @@ -# From https://lists.freedesktop.org/archives/wayland-devel/2024-December/043920.html -sha256 e1dcdcbbf08e2e0a8a02ee5d9a0be3a6aafc39a4b51fa7e0d2f1a16411cb72fa wayland-protocols-1.39.tar.xz -sha512 480a195ec0846400d93160e3d0a7ba12948ed841835ee4661f54b0101ae0027affd9c0f660a73244786fecd70e4f609830489a6b95e00d750cf2379734aacbe0 wayland-protocols-1.39.tar.xz +# From https://lists.freedesktop.org/archives/wayland-devel/2025-March/044027.html +sha256 23ba80d410d1200a86fe29592c19766eae8f1c350b67289999e9e7ea12d9f7aa wayland-protocols-1.42.tar.xz +sha512 ce85fecbe886264eaeb34c7992d4e493295f57f6213d5a2ec04b3471daee04a4225b1a7e77a27ccf39306074780553ec1383c55af30cc2c78942b40cc5777c1b wayland-protocols-1.42.tar.xz sha256 f1a2b233e8a9a71c40f4aa885be08a0842ac85bb8588703c1dd7e6e6502e3124 COPYING
package/wayland-protocols/wayland-protocols.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -WAYLAND_PROTOCOLS_VERSION = 1.39 +WAYLAND_PROTOCOLS_VERSION = 1.42 WAYLAND_PROTOCOLS_SITE = https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/$(WAYLAND_PROTOCOLS_VERSION)/downloads WAYLAND_PROTOCOLS_SOURCE = wayland-protocols-$(WAYLAND_PROTOCOLS_VERSION).tar.xz WAYLAND_PROTOCOLS_LICENSE = MIT
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 1/1 package/libgtk4: bump to 4.18.2
https://gitlab.gnome.org/GNOME/gtk/-/blob/4.18.2/NEWS
Note that libgtk4 never selected BR2_PACKAGE_CAIRO_{PNG,ZLIB} as it is not needed thanks to [1]. However, we need to select BR2_PACKAGE_LIBPNG [2]. In libgtk3, this was indirectly done as libgtk3 selects BR2_PACKAGE_CAIRO_PNG.
Also, add patches for:
- toolchains without fenv.h. [3]
- when cairo has been compiled without surfaces. [4]
[1] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7717
[2] https://gitlab.gnome.org/GNOME/gtk/-/blob/4.18.2/meson.build?ref_type=tags#L450
[3] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7925
[4] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7926
---
v2: bumped to a stable version, and changed the git message a bit
--- ...uild-add-a-check-for-the-fenv-header.patch | 26 +++++ ...value.c-fix-compilation-if-fenv.h-is.patch | 106 ++++++++++++++++++ ...kends-gtkprintbackendfile.c-fix-comp.patch | 96 ++++++++++++++++ package/libgtk4/Config.in | 1 + package/libgtk4/libgtk4.hash | 4 +- package/libgtk4/libgtk4.mk | 5 +- 6 files changed, 234 insertions(+), 4 deletions(-) create mode 100644 package/libgtk4/0001-meson.build-add-a-check-for-the-fenv-header.patch create mode 100644 package/libgtk4/0002-gtk-gtkcssnumbervalue.c-fix-compilation-if-fenv.h-is.patch create mode 100644 package/libgtk4/0003-modules-printbackends-gtkprintbackendfile.c-fix-comp.patch
package/libgtk4/0001-meson.build-add-a-check-for-the-fenv-header.patch new file +26 -0
@@ -0,0 +1,26 @@ +From c9739dce443d8fdb2d0e8ad01b62d32d4a905dab Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt <[email protected]> +Date: Fri, 15 Nov 2024 08:22:23 +0100 +Subject: [PATCH] meson.build: add a check for the fenv header + +Upstream: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7925 +Signed-off-by: Thomas Devoogdt <[email protected]> +--- + meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/meson.build b/meson.build +index a8be83e4dc..9046fb084e 100644 +--- a/meson.build ++++ b/meson.build +@@ -202,6 +202,7 @@ cdata.set_quoted('GETTEXT_PACKAGE', 'gtk40') + + check_headers = [ + 'dev/evdev/input.h', ++ 'fenv.h', + 'ftw.h', + 'linux/input.h', + 'linux/memfd.h', +-- +2.43.0 +
package/libgtk4/0002-gtk-gtkcssnumbervalue.c-fix-compilation-if-fenv.h-is.patch new file +106 -0
106 lines not on this page · raw message
package/libgtk4/0003-modules-printbackends-gtkprintbackendfile.c-fix-comp.patch new file +96 -0
96 lines not on this page · raw message
package/libgtk4/Config.in +1 -0
@@ -27,6 +27,7 @@ config BR2_PACKAGE_LIBGTK4 select BR2_PACKAGE_GRAPHENE select BR2_PACKAGE_LIBEPOXY select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBPNG select BR2_PACKAGE_PANGO select BR2_PACKAGE_TIFF # At least one backend is required
package/libgtk4/libgtk4.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://download.gnome.org/sources/gtk/4.14/gtk-4.14.5.sha256sum -sha256 5547f2b9f006b133993e070b87c17804e051efda3913feaca1108fa2be41e24d gtk-4.14.5.tar.xz +# From https://download.gnome.org/sources/gtk/4.18/gtk-4.18.2.sha256sum +sha256 cca5677be4c3e501b49f1c50bcafacba8dcf4bd3a2d016388f834eff274dc159 gtk-4.18.2.tar.xz # Hash for license file: sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING
package/libgtk4/libgtk4.mk +3 -2
@@ -4,8 +4,8 @@ # ################################################################################ -LIBGTK4_VERSION_MAJOR = 4.14 -LIBGTK4_VERSION = $(LIBGTK4_VERSION_MAJOR).5 +LIBGTK4_VERSION_MAJOR = 4.18 +LIBGTK4_VERSION = $(LIBGTK4_VERSION_MAJOR).2 LIBGTK4_SOURCE = gtk-$(LIBGTK4_VERSION).tar.xz LIBGTK4_SITE = https://download.gnome.org/sources/gtk/$(LIBGTK4_VERSION_MAJOR) LIBGTK4_LICENSE = LGPL-2.0+
@@ -21,6 +21,7 @@ LIBGTK4_DEPENDENCIES = \ graphene \ libepoxy \ libglib2 \ + libpng \ pango \ $(TARGET_NLS_DEPENDENCIES)
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2] package/libgtk4: bump to 4.18.2
Hello Thomas,
Quoted 10 lines · On Tue, 25 Mar 2025 11:11:15 +0100 Thomas Devoogdt <[email protected]> wrote:
https://gitlab.gnome.org/GNOME/gtk/-/blob/4.18.2/NEWS
Note that libgtk4 never selected BR2_PACKAGE_CAIRO_{PNG,ZLIB} as it is not needed thanks to [1]. However, we need to select
BR2_PACKAGE_LIBPNG[2]. In libgtk3, this was indirectly done as libgtk3 selectsBR2_PACKAGE_CAIRO_PNG.Also, add patches for:
- toolchains withoutfenv.h. [3]
- when cairo has been compiled without surfaces. [4]
Quoted 6 lines
[1] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7717
[2] https://gitlab.gnome.org/GNOME/gtk/-/blob/4.18.2/meson.build?ref_type=tags#L450
[3] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7925
[4] https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7926Signed-off-by Thomas Devoogdt <[email protected]>
Thanks for the new iteration!
Quoted 7 lines
package/libgtk4/0002-gtk-gtkcssnumbervalue.c-fix-compilation-if-fenv.h-is.patch new file +1
-0@@ -0,0 +1,106 @@ +From e76e2c0c8afad80c6918890e443418e4f78c97c3 Mon Sep 17 00:00:00 2001
package/libgtk4/0002-gtk-gtkcssnumbervalue.c-fix-compilation-if-fenv.h-is.patch line 11
Quoted 10 lines
package/libgtk4/0002-gtk-gtkcssnumbervalue.c-fix-compilation-if-fenv.h-is.patch new file +10
-0+From: Thomas Devoogdt <[email protected]> +Date: Fri, 15 Nov 2024 08:22:40 +0100 +Subject: [PATCH] gtk/gtkcssnumbervalue.c: fix compilation if fenv.h is missing + +../gtk/gtkcssnumbervalue.c:29:10: fatal error: fenv.h: No such file or directory + 29 | #include <fenv.h> + | + +Upstream: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/7925 +Signed-off-by: Thomas Devoogdt <[email protected]>
The feedback from upstream on this was pretty negative, and having to maintain this forever doesn't seem like a great idea. There's already quite a few packages that need fenv.h, and we for now address that with ad-hoc architecture exclusions. Maybe it's time to bite the bullet, and have some proper BR2_TOOLCHAIN_HAS_FENV_FE_DOWNWARD, etc so that we can clean up all those dependencies?
You can "git grep fenv" in Buildroot to see the packages that have fenv-related issues.
And yes, that means libgtk4 would not be available for certain architecture/libc combinations, and I think that's fine.
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v2] package/wayland-protocols: bump to 1.42
In reply to Thomas DevoogdtQuoted 9 lines · Thomas Devoogdt
Announce:
-
https://lists.freedesktop.org/archives/wayland-devel/2025-January/043966.html
-
https://lists.freedesktop.org/archives/wayland-devel/2025-February/043980.html
-
http://lists.freedesktop.org/archives/wayland-devel/2025-March/044027.htmlSigned-off-by Thomas Devoogdt <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot