* [oe-core][PATCH] gtk4: update 4.14.5 -> 4.16.0
@ 2024-09-09 7:28 Markus Volk
2024-09-10 17:05 ` Ross Burton
0 siblings, 1 reply; 3+ messages in thread
From: Markus Volk @ 2024-09-09 7:28 UTC (permalink / raw)
To: openembedded-core
- Add python3-docutils-native to provide rst2man and rst2html5
Otherwise build fails if documentation is built
- Remove duplicate gi-docgen dependency. Its already included
by gi-docgen.bbclass
Note: This release changes the default GSK renderer to be Vulkan,
on Wayland. Other platforms still use ngl. The intent of this change
is to use the best available platform APIs. You can still override
the renderer choice using the GSK_RENDERER environment variable.
We believe that most of the problems reported with the new renderers
during the 4.13 and 4.15 development cycles have been addressed by now.
But the new renderers and dmabuf support are using graphics drivers
in different ways than the old gl renderer, and trigger new driver bugs.
Therefore, it is recommended to use the latest mesa release (24.2)
with the new renderers.
* GtkScale:
- Fix positioning of scale values
* GtkEmojiChooser:
- Make Control-clicks work for the recent section
* GtkPopover:
- Make sure focus lands on the right widget when cascading
* GtkSpinButton:
- Disable Emoji input for numeric spin buttons
* GtkSingleSelection:
- Implement unselect_all
* Accssibility:
- Fix roles for radio buttons
- Check if ATs are listening before exporting trees
- Add a check for sandboxed accessibility bus
- Fix handling of the error message relation
- Turn criticals into debug messages
- Set expanded states properly in menus
* CSS:
- Fix a few issues on bigendian systems
- Avoid a crash with relative colors
* GSK:
- Use the right GL context when exporting textures
- Don't let colors influence depth decisions
- Allow uploading of mipmap levels when tiling textures
* GDK:
- Update keysyms from libX11 1.8.10
- Implement cpu-side mipmapping
- Use a thread pool for color conversions and mipmapping
* Vulkan:
- Fix drag surface offsets
* Wayland:
- Fix a crash
- Associate EGL windows with context later
* X11:
- Fix initial EGL context creation
- Fix a problem with GL context creation
* Broadway:
- Implement compute_size and request_layout
* MacOS:
- Set transparent backgroiund for toplevel windows
* Windows:
- Improve debug output
- Detect Mesas d3d12 driver and request GDI compat
* Demos:
- Set window icons in demos
- Add a 64k x 64k image to the image scaling demo
* Translation updates
Belarusian
Brazilian Portuguese
Catalan
Czech
Galician
German
Hebrew
Indonesian
Korean
Lithuanian
Persian
Polish
Portuguese
Slovenian
Spanish
Turkish
Ukrainian
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
meta/recipes-gnome/gtk+/{gtk4_4.14.5.bb => gtk4_4.16.0.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-gnome/gtk+/{gtk4_4.14.5.bb => gtk4_4.16.0.bb} (96%)
diff --git a/meta/recipes-gnome/gtk+/gtk4_4.14.5.bb b/meta/recipes-gnome/gtk+/gtk4_4.16.0.bb
similarity index 96%
rename from meta/recipes-gnome/gtk+/gtk4_4.14.5.bb
rename to meta/recipes-gnome/gtk+/gtk4_4.16.0.bb
index 0b3d33f8eb..6331e86bf5 100644
--- a/meta/recipes-gnome/gtk+/gtk4_4.14.5.bb
+++ b/meta/recipes-gnome/gtk+/gtk4_4.16.0.bb
@@ -11,7 +11,6 @@ DEPENDS = " \
fribidi \
gdk-pixbuf \
gdk-pixbuf-native \
- gi-docgen \
glib-2.0 \
graphene \
harfbuzz \
@@ -22,6 +21,7 @@ DEPENDS = " \
librsvg \
libxkbcommon \
pango \
+ python3-docutils-native \
tiff \
"
@@ -38,7 +38,7 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
UPSTREAM_CHECK_REGEX = "gtk-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz"
SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk/${MAJ_VER}/gtk-${PV}.tar.xz"
-SRC_URI[sha256sum] = "5547f2b9f006b133993e070b87c17804e051efda3913feaca1108fa2be41e24d"
+SRC_URI[sha256sum] = "8ef538778c82c09870a6cc325195049caec5593c1ca37df915a7b6b10f5524ea"
S = "${WORKDIR}/gtk-${PV}"
@@ -56,7 +56,7 @@ GSETTINGS_PACKAGE:class-native = ""
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
REQUIRED_DISTRO_FEATURES = "opengl"
-GTKDOC_MESON_OPTION = "documentation"
+GIDOCGEN_MESON_OPTION = "documentation"
GIR_MESON_ENABLE_FLAG = 'enabled'
GIR_MESON_DISABLE_FLAG = 'disabled'
--
2.46.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [oe-core][PATCH] gtk4: update 4.14.5 -> 4.16.0
2024-09-09 7:28 [oe-core][PATCH] gtk4: update 4.14.5 -> 4.16.0 Markus Volk
@ 2024-09-10 17:05 ` Ross Burton
2024-09-11 10:07 ` Markus Volk
0 siblings, 1 reply; 3+ messages in thread
From: Ross Burton @ 2024-09-10 17:05 UTC (permalink / raw)
To: Markus Volk; +Cc: openembedded-core@lists.openembedded.org
This is a major update so it’s too late for this to land in master.
Can you change the release notes fragment to include the major changes in the 4.15.x releases instead of just the last few fixes that went into the 4.16.0 release?
Ross
> On 9 Sep 2024, at 08:28, Markus Volk via lists.openembedded.org <f_l_k=t-online.de@lists.openembedded.org> wrote:
>
> - Add python3-docutils-native to provide rst2man and rst2html5
> Otherwise build fails if documentation is built
> - Remove duplicate gi-docgen dependency. Its already included
> by gi-docgen.bbclass
>
> Note: This release changes the default GSK renderer to be Vulkan,
> on Wayland. Other platforms still use ngl. The intent of this change
> is to use the best available platform APIs. You can still override
> the renderer choice using the GSK_RENDERER environment variable.
>
> We believe that most of the problems reported with the new renderers
> during the 4.13 and 4.15 development cycles have been addressed by now.
>
> But the new renderers and dmabuf support are using graphics drivers
> in different ways than the old gl renderer, and trigger new driver bugs.
> Therefore, it is recommended to use the latest mesa release (24.2)
> with the new renderers.
>
> * GtkScale:
> - Fix positioning of scale values
>
> * GtkEmojiChooser:
> - Make Control-clicks work for the recent section
>
> * GtkPopover:
> - Make sure focus lands on the right widget when cascading
>
> * GtkSpinButton:
> - Disable Emoji input for numeric spin buttons
>
> * GtkSingleSelection:
> - Implement unselect_all
>
> * Accssibility:
> - Fix roles for radio buttons
> - Check if ATs are listening before exporting trees
> - Add a check for sandboxed accessibility bus
> - Fix handling of the error message relation
> - Turn criticals into debug messages
> - Set expanded states properly in menus
>
> * CSS:
> - Fix a few issues on bigendian systems
> - Avoid a crash with relative colors
>
> * GSK:
> - Use the right GL context when exporting textures
> - Don't let colors influence depth decisions
> - Allow uploading of mipmap levels when tiling textures
>
> * GDK:
> - Update keysyms from libX11 1.8.10
> - Implement cpu-side mipmapping
> - Use a thread pool for color conversions and mipmapping
>
> * Vulkan:
> - Fix drag surface offsets
>
> * Wayland:
> - Fix a crash
> - Associate EGL windows with context later
>
> * X11:
> - Fix initial EGL context creation
> - Fix a problem with GL context creation
>
> * Broadway:
> - Implement compute_size and request_layout
>
> * MacOS:
> - Set transparent backgroiund for toplevel windows
>
> * Windows:
> - Improve debug output
> - Detect Mesas d3d12 driver and request GDI compat
>
> * Demos:
> - Set window icons in demos
> - Add a 64k x 64k image to the image scaling demo
>
> * Translation updates
> Belarusian
> Brazilian Portuguese
> Catalan
> Czech
> Galician
> German
> Hebrew
> Indonesian
> Korean
> Lithuanian
> Persian
> Polish
> Portuguese
> Slovenian
> Spanish
> Turkish
> Ukrainian
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
> meta/recipes-gnome/gtk+/{gtk4_4.14.5.bb => gtk4_4.16.0.bb} | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
> rename meta/recipes-gnome/gtk+/{gtk4_4.14.5.bb => gtk4_4.16.0.bb} (96%)
>
> diff --git a/meta/recipes-gnome/gtk+/gtk4_4.14.5.bb b/meta/recipes-gnome/gtk+/gtk4_4.16.0.bb
> similarity index 96%
> rename from meta/recipes-gnome/gtk+/gtk4_4.14.5.bb
> rename to meta/recipes-gnome/gtk+/gtk4_4.16.0.bb
> index 0b3d33f8eb..6331e86bf5 100644
> --- a/meta/recipes-gnome/gtk+/gtk4_4.14.5.bb
> +++ b/meta/recipes-gnome/gtk+/gtk4_4.16.0.bb
> @@ -11,7 +11,6 @@ DEPENDS = " \
> fribidi \
> gdk-pixbuf \
> gdk-pixbuf-native \
> - gi-docgen \
> glib-2.0 \
> graphene \
> harfbuzz \
> @@ -22,6 +21,7 @@ DEPENDS = " \
> librsvg \
> libxkbcommon \
> pango \
> + python3-docutils-native \
> tiff \
> "
>
> @@ -38,7 +38,7 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
> UPSTREAM_CHECK_REGEX = "gtk-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz"
>
> SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk/${MAJ_VER}/gtk-${PV}.tar.xz"
> -SRC_URI[sha256sum] = "5547f2b9f006b133993e070b87c17804e051efda3913feaca1108fa2be41e24d"
> +SRC_URI[sha256sum] = "8ef538778c82c09870a6cc325195049caec5593c1ca37df915a7b6b10f5524ea"
>
> S = "${WORKDIR}/gtk-${PV}"
>
> @@ -56,7 +56,7 @@ GSETTINGS_PACKAGE:class-native = ""
>
> ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
> REQUIRED_DISTRO_FEATURES = "opengl"
> -GTKDOC_MESON_OPTION = "documentation"
> +GIDOCGEN_MESON_OPTION = "documentation"
> GIR_MESON_ENABLE_FLAG = 'enabled'
> GIR_MESON_DISABLE_FLAG = 'disabled'
>
> --
> 2.46.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#204313): https://lists.openembedded.org/g/openembedded-core/message/204313
> Mute This Topic: https://lists.openembedded.org/mt/108350342/6875888
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ross.burton@arm.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [oe-core][PATCH] gtk4: update 4.14.5 -> 4.16.0
2024-09-10 17:05 ` Ross Burton
@ 2024-09-11 10:07 ` Markus Volk
0 siblings, 0 replies; 3+ messages in thread
From: Markus Volk @ 2024-09-11 10:07 UTC (permalink / raw)
To: Ross Burton; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 6562 bytes --]
Gtk 4.16.0 has some quite invasive changes. It sets vulkan by default.
This requires at least for hyprland to pass GSK_RENDERER=opengl to
prevent segfault in gtk4 apps. Now, thats because hyprland does not
support vulkan but this will presumably also happen in gnome for older
graphics that dont support vulkan at all.
Also the NEWS file recommends using mesa 24.2 with this release.
I added the missing release notes and sent this marked for master-next
to clarify that this should be post styhead
On Tue, Sep 10 2024 at 05:05:23 PM +00:00:00, Ross Burton
<Ross.Burton@arm.com> wrote:
> This is a major update so it’s too late for this to land in master.
>
> Can you change the release notes fragment to include the major
> changes in the 4.15.x releases instead of just the last few fixes
> that went into the 4.16.0 release?
>
> Ross
>
>> On 9 Sep 2024, at 08:28, Markus Volk via lists.openembedded.org
>> <f_l_k=t-online.de@lists.openembedded.org
>> <mailto:f_l_k=t-online.de@lists.openembedded.org>> wrote:
>>
>> - Add python3-docutils-native to provide rst2man and rst2html5
>> Otherwise build fails if documentation is built
>> - Remove duplicate gi-docgen dependency. Its already included
>> by gi-docgen.bbclass
>>
>> Note: This release changes the default GSK renderer to be Vulkan,
>> on Wayland. Other platforms still use ngl. The intent of this change
>> is to use the best available platform APIs. You can still override
>> the renderer choice using the GSK_RENDERER environment variable.
>>
>> We believe that most of the problems reported with the new renderers
>> during the 4.13 and 4.15 development cycles have been addressed by
>> now.
>>
>> But the new renderers and dmabuf support are using graphics drivers
>> in different ways than the old gl renderer, and trigger new driver
>> bugs.
>> Therefore, it is recommended to use the latest mesa release (24.2)
>> with the new renderers.
>>
>> * GtkScale:
>> - Fix positioning of scale values
>>
>> * GtkEmojiChooser:
>> - Make Control-clicks work for the recent section
>>
>> * GtkPopover:
>> - Make sure focus lands on the right widget when cascading
>>
>> * GtkSpinButton:
>> - Disable Emoji input for numeric spin buttons
>>
>> * GtkSingleSelection:
>> - Implement unselect_all
>>
>> * Accssibility:
>> - Fix roles for radio buttons
>> - Check if ATs are listening before exporting trees
>> - Add a check for sandboxed accessibility bus
>> - Fix handling of the error message relation
>> - Turn criticals into debug messages
>> - Set expanded states properly in menus
>>
>> * CSS:
>> - Fix a few issues on bigendian systems
>> - Avoid a crash with relative colors
>>
>> * GSK:
>> - Use the right GL context when exporting textures
>> - Don't let colors influence depth decisions
>> - Allow uploading of mipmap levels when tiling textures
>>
>> * GDK:
>> - Update keysyms from libX11 1.8.10
>> - Implement cpu-side mipmapping
>> - Use a thread pool for color conversions and mipmapping
>>
>> * Vulkan:
>> - Fix drag surface offsets
>>
>> * Wayland:
>> - Fix a crash
>> - Associate EGL windows with context later
>>
>> * X11:
>> - Fix initial EGL context creation
>> - Fix a problem with GL context creation
>>
>> * Broadway:
>> - Implement compute_size and request_layout
>>
>> * MacOS:
>> - Set transparent backgroiund for toplevel windows
>>
>> * Windows:
>> - Improve debug output
>> - Detect Mesas d3d12 driver and request GDI compat
>>
>> * Demos:
>> - Set window icons in demos
>> - Add a 64k x 64k image to the image scaling demo
>>
>> * Translation updates
>> Belarusian
>> Brazilian Portuguese
>> Catalan
>> Czech
>> Galician
>> German
>> Hebrew
>> Indonesian
>> Korean
>> Lithuanian
>> Persian
>> Polish
>> Portuguese
>> Slovenian
>> Spanish
>> Turkish
>> Ukrainian
>>
>> Signed-off-by: Markus Volk <f_l_k@t-online.de
>> <mailto:f_l_k@t-online.de>>
>> ---
>> meta/recipes-gnome/gtk+/{gtk4_4.14.5.bb => gtk4_4.16.0.bb} | 6
>> +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>> rename meta/recipes-gnome/gtk+/{gtk4_4.14.5.bb => gtk4_4.16.0.bb}
>> (96%)
>>
>> diff --git a/meta/recipes-gnome/gtk+/gtk4_4.14.5.bb
>> b/meta/recipes-gnome/gtk+/gtk4_4.16.0.bb
>> similarity index 96%
>> rename from meta/recipes-gnome/gtk+/gtk4_4.14.5.bb
>> rename to meta/recipes-gnome/gtk+/gtk4_4.16.0.bb
>> index 0b3d33f8eb..6331e86bf5 100644
>> --- a/meta/recipes-gnome/gtk+/gtk4_4.14.5.bb
>> +++ b/meta/recipes-gnome/gtk+/gtk4_4.16.0.bb
>> @@ -11,7 +11,6 @@ DEPENDS = " \
>> fribidi \
>> gdk-pixbuf \
>> gdk-pixbuf-native \
>> - gi-docgen \
>> glib-2.0 \
>> graphene \
>> harfbuzz \
>> @@ -22,6 +21,7 @@ DEPENDS = " \
>> librsvg \
>> libxkbcommon \
>> pango \
>> + python3-docutils-native \
>> tiff \
>> "
>>
>> @@ -38,7 +38,7 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
>> UPSTREAM_CHECK_REGEX =
>> "gtk-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz"
>>
>> SRC_URI =
>> "http://ftp.gnome.org/pub/gnome/sources/gtk/${MAJ_VER}/gtk-${PV}.tar.xz
>> <http://ftp.gnome.org/pub/gnome/sources/gtk/$%7BMAJ_VER%7D/gtk-$%7BPV%7D.tar.xz>"
>> -SRC_URI[sha256sum] =
>> "5547f2b9f006b133993e070b87c17804e051efda3913feaca1108fa2be41e24d"
>> +SRC_URI[sha256sum] =
>> "8ef538778c82c09870a6cc325195049caec5593c1ca37df915a7b6b10f5524ea"
>>
>> S = "${WORKDIR}/gtk-${PV}"
>>
>> @@ -56,7 +56,7 @@ GSETTINGS_PACKAGE:class-native = ""
>>
>> ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
>> REQUIRED_DISTRO_FEATURES = "opengl"
>> -GTKDOC_MESON_OPTION = "documentation"
>> +GIDOCGEN_MESON_OPTION = "documentation"
>> GIR_MESON_ENABLE_FLAG = 'enabled'
>> GIR_MESON_DISABLE_FLAG = 'disabled'
>>
>> --
>> 2.46.0
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#204313):
>> <https://lists.openembedded.org/g/openembedded-core/message/204313>
>> Mute This Topic:
>> <https://lists.openembedded.org/mt/108350342/6875888>
>> Group Owner: openembedded-core+owner@lists.openembedded.org
>> <mailto:openembedded-core+owner@lists.openembedded.org>
>> Unsubscribe:
>> <https://lists.openembedded.org/g/openembedded-core/unsub>
>> [ross.burton@arm.com <mailto:ross.burton@arm.com>]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>
[-- Attachment #2: Type: text/html, Size: 6528 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-11 10:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 7:28 [oe-core][PATCH] gtk4: update 4.14.5 -> 4.16.0 Markus Volk
2024-09-10 17:05 ` Ross Burton
2024-09-11 10:07 ` Markus Volk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox