diff mbox series

[PATCHv2] gtk4: upgrade 4.10.5 -> 4.12.0

Message ID 20230815145218.1561896-1-f_l_k@t-online.de
State Accepted, archived
Commit e65da672a022ff0e1bc16c7e423e588f765afc7c
Headers show
Series [PATCHv2] gtk4: upgrade 4.10.5 -> 4.12.0 | expand

Commit Message

Markus Volk Aug. 15, 2023, 2:52 p.m. UTC
gtk.h: gtkscrollinfo.h was added, no change of license
gdk.h: gdkpixbuf.h was deprecated, no change of license

update renamed build-options

Overview of Changes in 4.12.0, 05-08-2023
=========================================

* List widgets:
 - Add scroll_to APIs

* GtkFileLauncher:
 - Add an always-ask property

* GtkTextView:
 - Make backspace behavior match GtkEntry

* gsk:
 - Fix handling of luminance in mask nodes

* Text rendering:
 - Automate the setting of gtk-hint-font-metrics from the
   scale factor. This improves font rendering in flatpaks

* Wayland:
 - Fix behavior of stylus buttons
 - Support suspended window state

* Vulkan:
 - Many improvements

* Tools:
 - Add gtk4-rendernode-tool

* Debugging:
 - Drop the GTK_DEBUG_TOUCHSCREEN flag

* Build:
 - Some build options have been renamed:
     gtk_doc -> documentation
     update_screenshots -> screenshots
   The old names still work

Overview of Changes in 4.11.4, 03-07-2023
=========================================

* GtkFileChooser:
 - Default to sorting folders first
 - Fix a crash when visiting recent files

* GtkTextView:
 - Fix corner cases in word navigation

* GtkMenuButton:
 - Normalize label layout

* GtkDropDown:
 - Add support for sections

* GtkVideo:
 - Make the overlay icon clickable

* GtkWindow:
 - Clear the resize cursors to avoid artifacts

* GtkFileDialog:
 - Always set initial-folder

* GtkDropDown:
 - Update on expression changes

* GtkMapListModel:
 - Implement GtkSectionModel

* Accessibility:
 - Improvements all over the place: GtkButton, GtkPasswordEntry,
   GtkFontChooserDialog, GtkColorChooserDialog, GtkShortcutsWindow,
   GtkMenuButton, GtkAboutDialog, GtkFileChooserDialog, GtkStackSidebar,
   GtkStackSwitcher, GtkMediaControls, GtkColorDialogButton, GtkDropDown,
   GtkInfoBar, GtkNotebook, GtkPrintUnixDialog, GtkModelButton
 - Make name computation follow the ARIA spec more closely
 - Adapt name computation for the common 'nested button' scenario
 - Change many containers to use `generic` instead of `group`
 - Use `generic` as the default role
 - Use `application` instead of `window` for windows
 - Add properties for accessible names of not directly exposed
   widgets in GtkListView, GtkGridView and GtkColumnView

* DND:
 - Fix criticals when drops are rejected

* X11:
 - Fix regressions in GLX setup

* Windows:
 - Center newly created transient windows

* Vulkan:
 - Add antialising for gradients
 - Do less work on clipped away nodes
 - Redo image uploading
 - Support different image depths and formats
 - Add a pipeline cache

* Demos:
 - gtk4-demo: Improve window sizing
 - gtk4-demo: Improve focus behavior
 - gtk4-demo: Add many missing a11y properties

* Tools:
 - gtk4-builder-tool: Make render an alias screenshot

* Inspector:
 - Show more information in the a11y tab
 - Add an accessibility overlay with warnings and recommendations
 - Limit the width of the a11y tab

* Build:
 - Require GLib 2.76
 - Make asan builds work again
 - Fix the build if ld is not ld.bdf

Overview of Changes in 4.11.3, 05-06-2023
=========================================

* GtkGridView:
 - Respect css border-spacing
 - Don't leak the factories

* GtkListView:
 - Don't leak the factories

* GtkColumnView:
 - Support displaying sections

* GtkNotebook:
 - Make the pages model implement GtkSelectionModel

* GtkScrolledWindow:
 - Propagate child measure size whenever possible

* GtkPopoverMenu:
 - Avoid unnecessary left padding

* GtkSearchEntry:
 - Improve size allocation for the clear icon

* GtkBoxLayout:
 - Fix a regression from recent baseline work

* CSS:
 - Add new binding-friendly css provider apis

* Theme:
 - Show focus in the shortcuts window

* GDK:
 - Support grayscale and alpha texture formats for loading
   and saving to png and tiff, and in GL
 - Fix some regressions in GL context initialization

* GSK:
 - Support grayscale and alpha texture formats in the GL renderer
 - Support straight alpha textures in the GL renderer
 - Many improvements to the experimental Vulkan renderer

* Wayland:
 - Make exporting surface handles more flexible

* X11:
 - Trap XRandr errors
 - Stop using passive grabs during DND

* Windows:
 - Many cleanups and simplifications

* Tests:
 - Improve test coverage

* Build:
 - Some build options have been renamed:
     demos -> build-demos
     profile -> demo-profile
   The old names still work

* Deprecations:
 - gtk_css_provider_load_from_data
 - gdk_wayland_toplevel_unexport_handle
 - gdk_pixbuf_get_from_surface
 - gdk_pixbuf_get_from_texture
 - gtk_image_new_from_pixbuf
 - gtk_image_set_from_pixbuf
 - gtk_picture_new_for_pixbuf
 - gtk_picture_set_pixbuf

Overview of Changes in 4.11.2, 09-05-2023
=========================================

* GtkGLArea:
 - Add an allowed-apis property

* GtkListBox:
 - Fix a problem with gtk_list_box_remove_all

* Add the GtkSectionModel interface, and implement it in most
  of our list models

* GtkListView:
 - Support displaying sections

* GtkCenterBox:
 - Add a shrink-center-last property

* GtkButton, GtkMenuButton:
 - Add a can-shrink property

* GtkPopover:
 - Fix problems with grabs

* GtkFileChooser:
 - Fix a problem with removing files
 - Make the date, time and location columns work
 - Fix filtering in the save entry popup
 - A few memory leak fixes
 - Handle webdav in the pathbar

* GtkBox:
 - Support baselines in vertical orientation with GtkBox:baseline-child

* Dialogs:
 - Destroy windows promptly when the async callback finishes
 - Detect absence of the OpenURI portal and fall back

* Theme:
 - Add explicit style classes to a number of widgets
 - Fix some contrast issues in the dark theme

* Accessibility:
 - Fix alert dialogs in the a11y tree
 - Improve accessibility of GtkShortcutsWindow

* Layout:
 - Some fixes to baseline alignment
 - Separate GTK_ALIGN_BASELINE_CENTER and _FILL

* CSS:
 - Fix a crash with color transitions

* GSK:
 - Fix problems with negative scales
 - Improve scaling of offscreens for (cross-fades, masks, blends)

* GL:
 - Add GdkGLTextureBuilder, a more flexible api for creating textures
 - Support setting update regions for GL textures
 - Ensure that we work with GLES 2

* Vulkan:
 - More fixes to the experimental Vulkan renderer
 - Rework glyph caching

* Wayland:
 - Don't destroy wl_surfaces on hide
 - Plug leaks of compositor-side resources

* X11:
 - Fix artifacts in gnome-shell frame decorations

* Windows:
 - Fix GL context initialization

* Inspector:
 - Improve the action list
 - Improve the accessibility pane
 - Fix a crash

* Tools:
 - gtk4-node-editor: Improve scaling
 - gtk4-node-editor: Preserve aspect ratio of textures
 - gtk4-node-editor: Add some smarter editing
 - gtk4-demo: Make the stylus demo work with mice

* Deprecations:
 - gtk_widget_get_allocated_width/height/baseline
 - GTK_ALIGN_BASELINE

Overview of Changes in 4.11.1, 03-04-2023
=========================================

* GtkLabel, GtkLinkButton:
 - Make file:// uris work again

* GtkListView/GtkColumnView/GtkGridView:
 - Fix clipping issues
 - Handle focus movement better
 - Introduce ::tab-behavior properties
 - Introduce GtkListItem::focusable
 - Introduce GtkColumnViewCell
 - Introduce row factories in GtkColumnView
 - Make list grid and column views inert when not rendering

* Drag-and-Drop:
 - Support resizing drag surfaces, using the new
   GdkDragSurface::compute-size signal

* Theme:
 - Port .boxed-list style from Adwaita
 - Make insensitive pictures appear grayed out

* Accessibility:
 - Fix memory leaks
 - Fix a crash

* GDK:
 - Add gdk_surface_get_scale to get the fractional scale
 - Use fractional scales on Wayland with cairo
 - Use fractional scales on Wayland with GL if GDK_DEBUG=gl-fractional
   is set. This support is still experimental

* GSK:
 - Allow limiting texture sizes with GSK_MAX_TEXTURE_SIZE
 - Use samplers for GL texture filtering
 - Fix problems with texture slicing
 - Avoid re-uploading textures when possible
 - Use mipmaps when it is beneficial

* Wayland:
 - Fix handling of Drag hotspots
 - Fix a crash with cursor size 0
 - Support absolute paths in WAYLAND_DISPLAY
 - Use the fractional scale protocol
 - Use a viewporter to set buffer scale

* Windows:
 - Fix problems with WGL

* Vulkan:
 - Some fixes to the experimental Vulkan renderer
 - Support fractional scaling

* Debugging:
 - Show more Wayland-specific information in the inspector

* Deprecations:
 - gtk_widget_translate_coordinates
 - gdk_surface_create_similar_surface

* Documentation:
 - Add a section on coordinate systems

* Build:
 - Require wayland-protocols 1.31

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../gtk+/{gtk4_4.10.5.bb => gtk4_4.12.0.bb}            | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta/recipes-gnome/gtk+/{gtk4_4.10.5.bb => gtk4_4.12.0.bb} (94%)

Comments

Khem Raj Aug. 16, 2023, 2:44 p.m. UTC | #1
clang finds more errors with this upgrade

https://errors.yoctoproject.org/Errors/Details/731552/

On Tue, Aug 15, 2023 at 7:52 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> gtk.h: gtkscrollinfo.h was added, no change of license
> gdk.h: gdkpixbuf.h was deprecated, no change of license
>
> update renamed build-options
>
> Overview of Changes in 4.12.0, 05-08-2023
> =========================================
>
> * List widgets:
>  - Add scroll_to APIs
>
> * GtkFileLauncher:
>  - Add an always-ask property
>
> * GtkTextView:
>  - Make backspace behavior match GtkEntry
>
> * gsk:
>  - Fix handling of luminance in mask nodes
>
> * Text rendering:
>  - Automate the setting of gtk-hint-font-metrics from the
>    scale factor. This improves font rendering in flatpaks
>
> * Wayland:
>  - Fix behavior of stylus buttons
>  - Support suspended window state
>
> * Vulkan:
>  - Many improvements
>
> * Tools:
>  - Add gtk4-rendernode-tool
>
> * Debugging:
>  - Drop the GTK_DEBUG_TOUCHSCREEN flag
>
> * Build:
>  - Some build options have been renamed:
>      gtk_doc -> documentation
>      update_screenshots -> screenshots
>    The old names still work
>
> Overview of Changes in 4.11.4, 03-07-2023
> =========================================
>
> * GtkFileChooser:
>  - Default to sorting folders first
>  - Fix a crash when visiting recent files
>
> * GtkTextView:
>  - Fix corner cases in word navigation
>
> * GtkMenuButton:
>  - Normalize label layout
>
> * GtkDropDown:
>  - Add support for sections
>
> * GtkVideo:
>  - Make the overlay icon clickable
>
> * GtkWindow:
>  - Clear the resize cursors to avoid artifacts
>
> * GtkFileDialog:
>  - Always set initial-folder
>
> * GtkDropDown:
>  - Update on expression changes
>
> * GtkMapListModel:
>  - Implement GtkSectionModel
>
> * Accessibility:
>  - Improvements all over the place: GtkButton, GtkPasswordEntry,
>    GtkFontChooserDialog, GtkColorChooserDialog, GtkShortcutsWindow,
>    GtkMenuButton, GtkAboutDialog, GtkFileChooserDialog, GtkStackSidebar,
>    GtkStackSwitcher, GtkMediaControls, GtkColorDialogButton, GtkDropDown,
>    GtkInfoBar, GtkNotebook, GtkPrintUnixDialog, GtkModelButton
>  - Make name computation follow the ARIA spec more closely
>  - Adapt name computation for the common 'nested button' scenario
>  - Change many containers to use `generic` instead of `group`
>  - Use `generic` as the default role
>  - Use `application` instead of `window` for windows
>  - Add properties for accessible names of not directly exposed
>    widgets in GtkListView, GtkGridView and GtkColumnView
>
> * DND:
>  - Fix criticals when drops are rejected
>
> * X11:
>  - Fix regressions in GLX setup
>
> * Windows:
>  - Center newly created transient windows
>
> * Vulkan:
>  - Add antialising for gradients
>  - Do less work on clipped away nodes
>  - Redo image uploading
>  - Support different image depths and formats
>  - Add a pipeline cache
>
> * Demos:
>  - gtk4-demo: Improve window sizing
>  - gtk4-demo: Improve focus behavior
>  - gtk4-demo: Add many missing a11y properties
>
> * Tools:
>  - gtk4-builder-tool: Make render an alias screenshot
>
> * Inspector:
>  - Show more information in the a11y tab
>  - Add an accessibility overlay with warnings and recommendations
>  - Limit the width of the a11y tab
>
> * Build:
>  - Require GLib 2.76
>  - Make asan builds work again
>  - Fix the build if ld is not ld.bdf
>
> Overview of Changes in 4.11.3, 05-06-2023
> =========================================
>
> * GtkGridView:
>  - Respect css border-spacing
>  - Don't leak the factories
>
> * GtkListView:
>  - Don't leak the factories
>
> * GtkColumnView:
>  - Support displaying sections
>
> * GtkNotebook:
>  - Make the pages model implement GtkSelectionModel
>
> * GtkScrolledWindow:
>  - Propagate child measure size whenever possible
>
> * GtkPopoverMenu:
>  - Avoid unnecessary left padding
>
> * GtkSearchEntry:
>  - Improve size allocation for the clear icon
>
> * GtkBoxLayout:
>  - Fix a regression from recent baseline work
>
> * CSS:
>  - Add new binding-friendly css provider apis
>
> * Theme:
>  - Show focus in the shortcuts window
>
> * GDK:
>  - Support grayscale and alpha texture formats for loading
>    and saving to png and tiff, and in GL
>  - Fix some regressions in GL context initialization
>
> * GSK:
>  - Support grayscale and alpha texture formats in the GL renderer
>  - Support straight alpha textures in the GL renderer
>  - Many improvements to the experimental Vulkan renderer
>
> * Wayland:
>  - Make exporting surface handles more flexible
>
> * X11:
>  - Trap XRandr errors
>  - Stop using passive grabs during DND
>
> * Windows:
>  - Many cleanups and simplifications
>
> * Tests:
>  - Improve test coverage
>
> * Build:
>  - Some build options have been renamed:
>      demos -> build-demos
>      profile -> demo-profile
>    The old names still work
>
> * Deprecations:
>  - gtk_css_provider_load_from_data
>  - gdk_wayland_toplevel_unexport_handle
>  - gdk_pixbuf_get_from_surface
>  - gdk_pixbuf_get_from_texture
>  - gtk_image_new_from_pixbuf
>  - gtk_image_set_from_pixbuf
>  - gtk_picture_new_for_pixbuf
>  - gtk_picture_set_pixbuf
>
> Overview of Changes in 4.11.2, 09-05-2023
> =========================================
>
> * GtkGLArea:
>  - Add an allowed-apis property
>
> * GtkListBox:
>  - Fix a problem with gtk_list_box_remove_all
>
> * Add the GtkSectionModel interface, and implement it in most
>   of our list models
>
> * GtkListView:
>  - Support displaying sections
>
> * GtkCenterBox:
>  - Add a shrink-center-last property
>
> * GtkButton, GtkMenuButton:
>  - Add a can-shrink property
>
> * GtkPopover:
>  - Fix problems with grabs
>
> * GtkFileChooser:
>  - Fix a problem with removing files
>  - Make the date, time and location columns work
>  - Fix filtering in the save entry popup
>  - A few memory leak fixes
>  - Handle webdav in the pathbar
>
> * GtkBox:
>  - Support baselines in vertical orientation with GtkBox:baseline-child
>
> * Dialogs:
>  - Destroy windows promptly when the async callback finishes
>  - Detect absence of the OpenURI portal and fall back
>
> * Theme:
>  - Add explicit style classes to a number of widgets
>  - Fix some contrast issues in the dark theme
>
> * Accessibility:
>  - Fix alert dialogs in the a11y tree
>  - Improve accessibility of GtkShortcutsWindow
>
> * Layout:
>  - Some fixes to baseline alignment
>  - Separate GTK_ALIGN_BASELINE_CENTER and _FILL
>
> * CSS:
>  - Fix a crash with color transitions
>
> * GSK:
>  - Fix problems with negative scales
>  - Improve scaling of offscreens for (cross-fades, masks, blends)
>
> * GL:
>  - Add GdkGLTextureBuilder, a more flexible api for creating textures
>  - Support setting update regions for GL textures
>  - Ensure that we work with GLES 2
>
> * Vulkan:
>  - More fixes to the experimental Vulkan renderer
>  - Rework glyph caching
>
> * Wayland:
>  - Don't destroy wl_surfaces on hide
>  - Plug leaks of compositor-side resources
>
> * X11:
>  - Fix artifacts in gnome-shell frame decorations
>
> * Windows:
>  - Fix GL context initialization
>
> * Inspector:
>  - Improve the action list
>  - Improve the accessibility pane
>  - Fix a crash
>
> * Tools:
>  - gtk4-node-editor: Improve scaling
>  - gtk4-node-editor: Preserve aspect ratio of textures
>  - gtk4-node-editor: Add some smarter editing
>  - gtk4-demo: Make the stylus demo work with mice
>
> * Deprecations:
>  - gtk_widget_get_allocated_width/height/baseline
>  - GTK_ALIGN_BASELINE
>
> Overview of Changes in 4.11.1, 03-04-2023
> =========================================
>
> * GtkLabel, GtkLinkButton:
>  - Make file:// uris work again
>
> * GtkListView/GtkColumnView/GtkGridView:
>  - Fix clipping issues
>  - Handle focus movement better
>  - Introduce ::tab-behavior properties
>  - Introduce GtkListItem::focusable
>  - Introduce GtkColumnViewCell
>  - Introduce row factories in GtkColumnView
>  - Make list grid and column views inert when not rendering
>
> * Drag-and-Drop:
>  - Support resizing drag surfaces, using the new
>    GdkDragSurface::compute-size signal
>
> * Theme:
>  - Port .boxed-list style from Adwaita
>  - Make insensitive pictures appear grayed out
>
> * Accessibility:
>  - Fix memory leaks
>  - Fix a crash
>
> * GDK:
>  - Add gdk_surface_get_scale to get the fractional scale
>  - Use fractional scales on Wayland with cairo
>  - Use fractional scales on Wayland with GL if GDK_DEBUG=gl-fractional
>    is set. This support is still experimental
>
> * GSK:
>  - Allow limiting texture sizes with GSK_MAX_TEXTURE_SIZE
>  - Use samplers for GL texture filtering
>  - Fix problems with texture slicing
>  - Avoid re-uploading textures when possible
>  - Use mipmaps when it is beneficial
>
> * Wayland:
>  - Fix handling of Drag hotspots
>  - Fix a crash with cursor size 0
>  - Support absolute paths in WAYLAND_DISPLAY
>  - Use the fractional scale protocol
>  - Use a viewporter to set buffer scale
>
> * Windows:
>  - Fix problems with WGL
>
> * Vulkan:
>  - Some fixes to the experimental Vulkan renderer
>  - Support fractional scaling
>
> * Debugging:
>  - Show more Wayland-specific information in the inspector
>
> * Deprecations:
>  - gtk_widget_translate_coordinates
>  - gdk_surface_create_similar_surface
>
> * Documentation:
>  - Add a section on coordinate systems
>
> * Build:
>  - Require wayland-protocols 1.31
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  .../gtk+/{gtk4_4.10.5.bb => gtk4_4.12.0.bb}            | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>  rename meta/recipes-gnome/gtk+/{gtk4_4.10.5.bb => gtk4_4.12.0.bb} (94%)
>
> diff --git a/meta/recipes-gnome/gtk+/gtk4_4.10.5.bb b/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb
> similarity index 94%
> rename from meta/recipes-gnome/gtk+/gtk4_4.10.5.bb
> rename to meta/recipes-gnome/gtk+/gtk4_4.12.0.bb
> index 85fff6c61e..4f38e0cb2c 100644
> --- a/meta/recipes-gnome/gtk+/gtk4_4.10.5.bb
> +++ b/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb
> @@ -27,8 +27,8 @@ DEPENDS = " \
>  LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later"
>  LIC_FILES_CHKSUM = " \
>      file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
> -    file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \
> -    file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \
> +    file://gtk/gtk.h;endline=25;md5=61900d77e8d5bc67cf15ad93de9a3490 \
> +    file://gdk/gdk.h;endline=25;md5=a0fb26c1f6b94e66d148279e192c333f \
>      file://tests/testgtk.c;endline=25;md5=49d06770681b8322466b52ed19d29fb2 \
>  "
>
> @@ -37,7 +37,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] = "9bd5e437e41d48e3d6a224c336b0fd3fd490036dceb8956ed74b956369af609b"
> +SRC_URI[sha256sum] = "a6d10829f405b1afc0b65e2a9642c04126a1d1b638d11c6d97426da4f84f1f6f"
>
>  S = "${WORKDIR}/gtk-${PV}"
>
> @@ -53,11 +53,11 @@ GSETTINGS_PACKAGE:class-native = ""
>
>  ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
>  REQUIRED_DISTRO_FEATURES = "opengl"
> -GTKDOC_MESON_OPTION = "gtk_doc"
> +GTKDOC_MESON_OPTION = "documentation"
>  GIR_MESON_ENABLE_FLAG = 'enabled'
>  GIR_MESON_DISABLE_FLAG = 'disabled'
>
> -EXTRA_OEMESON = " -Dbuild-tests=false -Dbuild-testsuite=false -Ddemos=false"
> +EXTRA_OEMESON = " -Dbuild-tests=false -Dbuild-testsuite=false -Dbuild-demos=false"
>
>  PACKAGECONFIG ??= "gstreamer ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 vulkan', d)}"
>  PACKAGECONFIG:class-native = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
> --
> 2.41.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#186069): https://lists.openembedded.org/g/openembedded-core/message/186069
> Mute This Topic: https://lists.openembedded.org/mt/100759433/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Markus Volk Aug. 17, 2023, 2:48 p.m. UTC | #2
Sorry for the late reply. I was on the road yesterday.

I can't reproduce the issue unfortunately. That's because I've been 
running my build host with a homebuilt yocto image for a couple of 
weeks now to find runtime errors (and because it gets me better 
hardware support). So far this is running very well, but I seem to have 
a problem with libgcc-initial. When I want to use the clang toolchain, 
libcxx-native aborts with:

| /home/flk/poky/build/tmp/hosttools/ld: cannot find crtbeginS.o: No 
such file or directory
| /home/flk/poky/build/tmp/hosttools/ld: cannot find -lgcc: No such 
file or directory
| /home/flk/poky/build/tmp/hosttools/ld: cannot find -lgcc: No such 
file or directory
| clang-16: error: linker command failed with exit code 1 (use -v to 
see the call)
| ninja: build stopped: subcommand failed.

Will have to look into this first. So far I have no idea what is going 
on. In any case, at most I'd be able to hack this with a 'cast', but I 
don't have enough knowledge of the gtk code to find the root cause

I think the best thing would be to create an issue at gitlab, but I'm a 
bit afraid of that because I can't help if something needs to be tested 
or if I should add more context.

In general this is an issue that should be fixed in gcc because this 
seems to be indeed a bug.

Short term solutions might be to add -Wno-int-conversion to the cflags 
for clang to make it less strict or to disable the experimental vulkan 
support in gtk4 by default?

On Wed, Aug 16 2023 at 07:44:50 AM -07:00:00, Khem Raj 
<raj.khem@gmail.com> wrote:
> clang finds more errors with this upgrade
> 
> <https://errors.yoctoproject.org/Errors/Details/731552/>
> 
> On Tue, Aug 15, 2023 at 7:52 AM Markus Volk <f_l_k@t-online.de 
> <mailto:f_l_k@t-online.de>> wrote:
>> 
>>  gtk.h: gtkscrollinfo.h was added, no change of license
>>  gdk.h: gdkpixbuf.h was deprecated, no change of license
>> 
>>  update renamed build-options
>> 
>>  Overview of Changes in 4.12.0, 05-08-2023
>>  =========================================
>> 
>>  * List widgets:
>>   - Add scroll_to APIs
>> 
>>  * GtkFileLauncher:
>>   - Add an always-ask property
>> 
>>  * GtkTextView:
>>   - Make backspace behavior match GtkEntry
>> 
>>  * gsk:
>>   - Fix handling of luminance in mask nodes
>> 
>>  * Text rendering:
>>   - Automate the setting of gtk-hint-font-metrics from the
>>     scale factor. This improves font rendering in flatpaks
>> 
>>  * Wayland:
>>   - Fix behavior of stylus buttons
>>   - Support suspended window state
>> 
>>  * Vulkan:
>>   - Many improvements
>> 
>>  * Tools:
>>   - Add gtk4-rendernode-tool
>> 
>>  * Debugging:
>>   - Drop the GTK_DEBUG_TOUCHSCREEN flag
>> 
>>  * Build:
>>   - Some build options have been renamed:
>>       gtk_doc -> documentation
>>       update_screenshots -> screenshots
>>     The old names still work
>> 
>>  Overview of Changes in 4.11.4, 03-07-2023
>>  =========================================
>> 
>>  * GtkFileChooser:
>>   - Default to sorting folders first
>>   - Fix a crash when visiting recent files
>> 
>>  * GtkTextView:
>>   - Fix corner cases in word navigation
>> 
>>  * GtkMenuButton:
>>   - Normalize label layout
>> 
>>  * GtkDropDown:
>>   - Add support for sections
>> 
>>  * GtkVideo:
>>   - Make the overlay icon clickable
>> 
>>  * GtkWindow:
>>   - Clear the resize cursors to avoid artifacts
>> 
>>  * GtkFileDialog:
>>   - Always set initial-folder
>> 
>>  * GtkDropDown:
>>   - Update on expression changes
>> 
>>  * GtkMapListModel:
>>   - Implement GtkSectionModel
>> 
>>  * Accessibility:
>>   - Improvements all over the place: GtkButton, GtkPasswordEntry,
>>     GtkFontChooserDialog, GtkColorChooserDialog, GtkShortcutsWindow,
>>     GtkMenuButton, GtkAboutDialog, GtkFileChooserDialog, 
>> GtkStackSidebar,
>>     GtkStackSwitcher, GtkMediaControls, GtkColorDialogButton, 
>> GtkDropDown,
>>     GtkInfoBar, GtkNotebook, GtkPrintUnixDialog, GtkModelButton
>>   - Make name computation follow the ARIA spec more closely
>>   - Adapt name computation for the common 'nested button' scenario
>>   - Change many containers to use `generic` instead of `group`
>>   - Use `generic` as the default role
>>   - Use `application` instead of `window` for windows
>>   - Add properties for accessible names of not directly exposed
>>     widgets in GtkListView, GtkGridView and GtkColumnView
>> 
>>  * DND:
>>   - Fix criticals when drops are rejected
>> 
>>  * X11:
>>   - Fix regressions in GLX setup
>> 
>>  * Windows:
>>   - Center newly created transient windows
>> 
>>  * Vulkan:
>>   - Add antialising for gradients
>>   - Do less work on clipped away nodes
>>   - Redo image uploading
>>   - Support different image depths and formats
>>   - Add a pipeline cache
>> 
>>  * Demos:
>>   - gtk4-demo: Improve window sizing
>>   - gtk4-demo: Improve focus behavior
>>   - gtk4-demo: Add many missing a11y properties
>> 
>>  * Tools:
>>   - gtk4-builder-tool: Make render an alias screenshot
>> 
>>  * Inspector:
>>   - Show more information in the a11y tab
>>   - Add an accessibility overlay with warnings and recommendations
>>   - Limit the width of the a11y tab
>> 
>>  * Build:
>>   - Require GLib 2.76
>>   - Make asan builds work again
>>   - Fix the build if ld is not ld.bdf
>> 
>>  Overview of Changes in 4.11.3, 05-06-2023
>>  =========================================
>> 
>>  * GtkGridView:
>>   - Respect css border-spacing
>>   - Don't leak the factories
>> 
>>  * GtkListView:
>>   - Don't leak the factories
>> 
>>  * GtkColumnView:
>>   - Support displaying sections
>> 
>>  * GtkNotebook:
>>   - Make the pages model implement GtkSelectionModel
>> 
>>  * GtkScrolledWindow:
>>   - Propagate child measure size whenever possible
>> 
>>  * GtkPopoverMenu:
>>   - Avoid unnecessary left padding
>> 
>>  * GtkSearchEntry:
>>   - Improve size allocation for the clear icon
>> 
>>  * GtkBoxLayout:
>>   - Fix a regression from recent baseline work
>> 
>>  * CSS:
>>   - Add new binding-friendly css provider apis
>> 
>>  * Theme:
>>   - Show focus in the shortcuts window
>> 
>>  * GDK:
>>   - Support grayscale and alpha texture formats for loading
>>     and saving to png and tiff, and in GL
>>   - Fix some regressions in GL context initialization
>> 
>>  * GSK:
>>   - Support grayscale and alpha texture formats in the GL renderer
>>   - Support straight alpha textures in the GL renderer
>>   - Many improvements to the experimental Vulkan renderer
>> 
>>  * Wayland:
>>   - Make exporting surface handles more flexible
>> 
>>  * X11:
>>   - Trap XRandr errors
>>   - Stop using passive grabs during DND
>> 
>>  * Windows:
>>   - Many cleanups and simplifications
>> 
>>  * Tests:
>>   - Improve test coverage
>> 
>>  * Build:
>>   - Some build options have been renamed:
>>       demos -> build-demos
>>       profile -> demo-profile
>>     The old names still work
>> 
>>  * Deprecations:
>>   - gtk_css_provider_load_from_data
>>   - gdk_wayland_toplevel_unexport_handle
>>   - gdk_pixbuf_get_from_surface
>>   - gdk_pixbuf_get_from_texture
>>   - gtk_image_new_from_pixbuf
>>   - gtk_image_set_from_pixbuf
>>   - gtk_picture_new_for_pixbuf
>>   - gtk_picture_set_pixbuf
>> 
>>  Overview of Changes in 4.11.2, 09-05-2023
>>  =========================================
>> 
>>  * GtkGLArea:
>>   - Add an allowed-apis property
>> 
>>  * GtkListBox:
>>   - Fix a problem with gtk_list_box_remove_all
>> 
>>  * Add the GtkSectionModel interface, and implement it in most
>>    of our list models
>> 
>>  * GtkListView:
>>   - Support displaying sections
>> 
>>  * GtkCenterBox:
>>   - Add a shrink-center-last property
>> 
>>  * GtkButton, GtkMenuButton:
>>   - Add a can-shrink property
>> 
>>  * GtkPopover:
>>   - Fix problems with grabs
>> 
>>  * GtkFileChooser:
>>   - Fix a problem with removing files
>>   - Make the date, time and location columns work
>>   - Fix filtering in the save entry popup
>>   - A few memory leak fixes
>>   - Handle webdav in the pathbar
>> 
>>  * GtkBox:
>>   - Support baselines in vertical orientation with 
>> GtkBox:baseline-child
>> 
>>  * Dialogs:
>>   - Destroy windows promptly when the async callback finishes
>>   - Detect absence of the OpenURI portal and fall back
>> 
>>  * Theme:
>>   - Add explicit style classes to a number of widgets
>>   - Fix some contrast issues in the dark theme
>> 
>>  * Accessibility:
>>   - Fix alert dialogs in the a11y tree
>>   - Improve accessibility of GtkShortcutsWindow
>> 
>>  * Layout:
>>   - Some fixes to baseline alignment
>>   - Separate GTK_ALIGN_BASELINE_CENTER and _FILL
>> 
>>  * CSS:
>>   - Fix a crash with color transitions
>> 
>>  * GSK:
>>   - Fix problems with negative scales
>>   - Improve scaling of offscreens for (cross-fades, masks, blends)
>> 
>>  * GL:
>>   - Add GdkGLTextureBuilder, a more flexible api for creating 
>> textures
>>   - Support setting update regions for GL textures
>>   - Ensure that we work with GLES 2
>> 
>>  * Vulkan:
>>   - More fixes to the experimental Vulkan renderer
>>   - Rework glyph caching
>> 
>>  * Wayland:
>>   - Don't destroy wl_surfaces on hide
>>   - Plug leaks of compositor-side resources
>> 
>>  * X11:
>>   - Fix artifacts in gnome-shell frame decorations
>> 
>>  * Windows:
>>   - Fix GL context initialization
>> 
>>  * Inspector:
>>   - Improve the action list
>>   - Improve the accessibility pane
>>   - Fix a crash
>> 
>>  * Tools:
>>   - gtk4-node-editor: Improve scaling
>>   - gtk4-node-editor: Preserve aspect ratio of textures
>>   - gtk4-node-editor: Add some smarter editing
>>   - gtk4-demo: Make the stylus demo work with mice
>> 
>>  * Deprecations:
>>   - gtk_widget_get_allocated_width/height/baseline
>>   - GTK_ALIGN_BASELINE
>> 
>>  Overview of Changes in 4.11.1, 03-04-2023
>>  =========================================
>> 
>>  * GtkLabel, GtkLinkButton:
>>   - Make file:// <file:///> uris work again
>> 
>>  * GtkListView/GtkColumnView/GtkGridView:
>>   - Fix clipping issues
>>   - Handle focus movement better
>>   - Introduce ::tab-behavior properties
>>   - Introduce GtkListItem::focusable
>>   - Introduce GtkColumnViewCell
>>   - Introduce row factories in GtkColumnView
>>   - Make list grid and column views inert when not rendering
>> 
>>  * Drag-and-Drop:
>>   - Support resizing drag surfaces, using the new
>>     GdkDragSurface::compute-size signal
>> 
>>  * Theme:
>>   - Port .boxed-list style from Adwaita
>>   - Make insensitive pictures appear grayed out
>> 
>>  * Accessibility:
>>   - Fix memory leaks
>>   - Fix a crash
>> 
>>  * GDK:
>>   - Add gdk_surface_get_scale to get the fractional scale
>>   - Use fractional scales on Wayland with cairo
>>   - Use fractional scales on Wayland with GL if 
>> GDK_DEBUG=gl-fractional
>>     is set. This support is still experimental
>> 
>>  * GSK:
>>   - Allow limiting texture sizes with GSK_MAX_TEXTURE_SIZE
>>   - Use samplers for GL texture filtering
>>   - Fix problems with texture slicing
>>   - Avoid re-uploading textures when possible
>>   - Use mipmaps when it is beneficial
>> 
>>  * Wayland:
>>   - Fix handling of Drag hotspots
>>   - Fix a crash with cursor size 0
>>   - Support absolute paths in WAYLAND_DISPLAY
>>   - Use the fractional scale protocol
>>   - Use a viewporter to set buffer scale
>> 
>>  * Windows:
>>   - Fix problems with WGL
>> 
>>  * Vulkan:
>>   - Some fixes to the experimental Vulkan renderer
>>   - Support fractional scaling
>> 
>>  * Debugging:
>>   - Show more Wayland-specific information in the inspector
>> 
>>  * Deprecations:
>>   - gtk_widget_translate_coordinates
>>   - gdk_surface_create_similar_surface
>> 
>>  * Documentation:
>>   - Add a section on coordinate systems
>> 
>>  * Build:
>>   - Require wayland-protocols 1.31
>> 
>>  Signed-off-by: Markus Volk <f_l_k@t-online.de 
>> <mailto:f_l_k@t-online.de>>
>>  ---
>>   .../gtk+/{gtk4_4.10.5.bb => gtk4_4.12.0.bb}            | 10 
>> +++++-----
>>   1 file changed, 5 insertions(+), 5 deletions(-)
>>   rename meta/recipes-gnome/gtk+/{gtk4_4.10.5.bb => gtk4_4.12.0.bb} 
>> (94%)
>> 
>>  diff --git a/meta/recipes-gnome/gtk+/gtk4_4.10.5.bb 
>> b/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb
>>  similarity index 94%
>>  rename from meta/recipes-gnome/gtk+/gtk4_4.10.5.bb
>>  rename to meta/recipes-gnome/gtk+/gtk4_4.12.0.bb
>>  index 85fff6c61e..4f38e0cb2c 100644
>>  --- a/meta/recipes-gnome/gtk+/gtk4_4.10.5.bb
>>  +++ b/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb
>>  @@ -27,8 +27,8 @@ DEPENDS = " \
>>   LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later"
>>   LIC_FILES_CHKSUM = " \
>>       file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 
>> <file://copying;md5=5f30f0716dfdd0d91eb439ebec522ec2/> \
>>  -    
>> <file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737> \
>>  -    
>> <file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2> \
>>  +    
>> <file://gtk/gtk.h;endline=25;md5=61900d77e8d5bc67cf15ad93de9a3490> \
>>  +    
>> <file://gdk/gdk.h;endline=25;md5=a0fb26c1f6b94e66d148279e192c333f> \
>>       
>> <file://tests/testgtk.c;endline=25;md5=49d06770681b8322466b52ed19d29fb2> 
>> \
>>   "
>> 
>>  @@ -37,7 +37,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] = 
>> "9bd5e437e41d48e3d6a224c336b0fd3fd490036dceb8956ed74b956369af609b"
>>  +SRC_URI[sha256sum] = 
>> "a6d10829f405b1afc0b65e2a9642c04126a1d1b638d11c6d97426da4f84f1f6f"
>> 
>>   S = "${WORKDIR}/gtk-${PV}"
>> 
>>  @@ -53,11 +53,11 @@ GSETTINGS_PACKAGE:class-native = ""
>> 
>>   ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
>>   REQUIRED_DISTRO_FEATURES = "opengl"
>>  -GTKDOC_MESON_OPTION = "gtk_doc"
>>  +GTKDOC_MESON_OPTION = "documentation"
>>   GIR_MESON_ENABLE_FLAG = 'enabled'
>>   GIR_MESON_DISABLE_FLAG = 'disabled'
>> 
>>  -EXTRA_OEMESON = " -Dbuild-tests=false -Dbuild-testsuite=false 
>> -Ddemos=false"
>>  +EXTRA_OEMESON = " -Dbuild-tests=false -Dbuild-testsuite=false 
>> -Dbuild-demos=false"
>> 
>>   PACKAGECONFIG ??= "gstreamer ${@bb.utils.filter 
>> <mailto:${@bb.utils.filter>('DISTRO_FEATURES', 'wayland x11 vulkan', 
>> d)}"
>>   PACKAGECONFIG:class-native = "${@bb.utils.filter 
>> <mailto:${@bb.utils.filter>('DISTRO_FEATURES', 'x11', d)}"
>>  --
>>  2.41.0
>> 
>> 
>>  -=-=-=-=-=-=-=-=-=-=-=-
>>  Links: You receive all messages sent to this group.
>>  View/Reply Online (#186069): 
>> <https://lists.openembedded.org/g/openembedded-core/message/186069>
>>  Mute This Topic: 
>> <https://lists.openembedded.org/mt/100759433/1997914>
>>  Group Owner: openembedded-core+owner@lists.openembedded.org 
>> <mailto:openembedded-core+owner@lists.openembedded.org>
>>  Unsubscribe: 
>> <https://lists.openembedded.org/g/openembedded-core/unsub> 
>> [raj.khem@gmail.com <mailto:raj.khem@gmail.com>]
>>  -=-=-=-=-=-=-=-=-=-=-=-
>>
Khem Raj Aug. 17, 2023, 3:12 p.m. UTC | #3
On Thu, Aug 17, 2023 at 7:49 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> Sorry for the late reply. I was on the road yesterday.
>
> I can't reproduce the issue unfortunately. That's because I've been running my build host with a homebuilt yocto image for a couple of weeks now to find runtime errors (and because it gets me better hardware support). So far this is running very well, but I seem to have a problem with libgcc-initial. When I want to use the clang toolchain, libcxx-native aborts with:
>
> | /home/flk/poky/build/tmp/hosttools/ld: cannot find crtbeginS.o: No such file or directory
> | /home/flk/poky/build/tmp/hosttools/ld: cannot find -lgcc: No such file or directory
> | /home/flk/poky/build/tmp/hosttools/ld: cannot find -lgcc: No such file or directory
> | clang-16: error: linker command failed with exit code 1 (use -v to see the call)
> | ninja: build stopped: subcommand failed.
>

Perhaps need libgcc dev package on build host

> Will have to look into this first. So far I have no idea what is going on. In any case, at most I'd be able to hack this with a 'cast', but I don't have enough knowledge of the gtk code to find the root cause
>
> I think the best thing would be to create an issue at gitlab, but I'm a bit afraid of that because I can't help if something needs to be tested or if I should add more context.
>
> In general this is an issue that should be fixed in gcc because this seems to be indeed a bug.
>
> Short term solutions might be to add -Wno-int-conversion to the cflags for clang to make it less strict or to disable the experimental vulkan support in gtk4 by default?
>
> On Wed, Aug 16 2023 at 07:44:50 AM -07:00:00, Khem Raj <raj.khem@gmail.com> wrote:
>
> clang finds more errors with this upgrade https://errors.yoctoproject.org/Errors/Details/731552/ On Tue, Aug 15, 2023 at 7:52 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> gtk.h: gtkscrollinfo.h was added, no change of license gdk.h: gdkpixbuf.h was deprecated, no change of license update renamed build-options Overview of Changes in 4.12.0, 05-08-2023 ========================================= * List widgets: - Add scroll_to APIs * GtkFileLauncher: - Add an always-ask property * GtkTextView: - Make backspace behavior match GtkEntry * gsk: - Fix handling of luminance in mask nodes * Text rendering: - Automate the setting of gtk-hint-font-metrics from the scale factor. This improves font rendering in flatpaks * Wayland: - Fix behavior of stylus buttons - Support suspended window state * Vulkan: - Many improvements * Tools: - Add gtk4-rendernode-tool * Debugging: - Drop the GTK_DEBUG_TOUCHSCREEN flag * Build: - Some build options have been renamed: gtk_doc -> documentation update_screenshots -> screenshots The old names still work Overview of Changes in 4.11.4, 03-07-2023 ========================================= * GtkFileChooser: - Default to sorting folders first - Fix a crash when visiting recent files * GtkTextView: - Fix corner cases in word navigation * GtkMenuButton: - Normalize label layout * GtkDropDown: - Add support for sections * GtkVideo: - Make the overlay icon clickable * GtkWindow: - Clear the resize cursors to avoid artifacts * GtkFileDialog: - Always set initial-folder * GtkDropDown: - Update on expression changes * GtkMapListModel: - Implement GtkSectionModel * Accessibility: - Improvements all over the place: GtkButton, GtkPasswordEntry, GtkFontChooserDialog, GtkColorChooserDialog, GtkShortcutsWindow, GtkMenuButton, GtkAboutDialog, GtkFileChooserDialog, GtkStackSidebar, GtkStackSwitcher, GtkMediaControls, GtkColorDialogButton, GtkDropDown, GtkInfoBar, GtkNotebook, GtkPrintUnixDialog, GtkModelButton - Make name computation follow the ARIA spec more closely - Adapt name computation for the common 'nested button' scenario - Change many containers to use `generic` instead of `group` - Use `generic` as the default role - Use `application` instead of `window` for windows - Add properties for accessible names of not directly exposed widgets in GtkListView, GtkGridView and GtkColumnView * DND: - Fix criticals when drops are rejected * X11: - Fix regressions in GLX setup * Windows: - Center newly created transient windows * Vulkan: - Add antialising for gradients - Do less work on clipped away nodes - Redo image uploading - Support different image depths and formats - Add a pipeline cache * Demos: - gtk4-demo: Improve window sizing - gtk4-demo: Improve focus behavior - gtk4-demo: Add many missing a11y properties * Tools: - gtk4-builder-tool: Make render an alias screenshot * Inspector: - Show more information in the a11y tab - Add an accessibility overlay with warnings and recommendations - Limit the width of the a11y tab * Build: - Require GLib 2.76 - Make asan builds work again - Fix the build if ld is not ld.bdf Overview of Changes in 4.11.3, 05-06-2023 ========================================= * GtkGridView: - Respect css border-spacing - Don't leak the factories * GtkListView: - Don't leak the factories * GtkColumnView: - Support displaying sections * GtkNotebook: - Make the pages model implement GtkSelectionModel * GtkScrolledWindow: - Propagate child measure size whenever possible * GtkPopoverMenu: - Avoid unnecessary left padding * GtkSearchEntry: - Improve size allocation for the clear icon * GtkBoxLayout: - Fix a regression from recent baseline work * CSS: - Add new binding-friendly css provider apis * Theme: - Show focus in the shortcuts window * GDK: - Support grayscale and alpha texture formats for loading and saving to png and tiff, and in GL - Fix some regressions in GL context initialization * GSK: - Support grayscale and alpha texture formats in the GL renderer - Support straight alpha textures in the GL renderer - Many improvements to the experimental Vulkan renderer * Wayland: - Make exporting surface handles more flexible * X11: - Trap XRandr errors - Stop using passive grabs during DND * Windows: - Many cleanups and simplifications * Tests: - Improve test coverage * Build: - Some build options have been renamed: demos -> build-demos profile -> demo-profile The old names still work * Deprecations: - gtk_css_provider_load_from_data - gdk_wayland_toplevel_unexport_handle - gdk_pixbuf_get_from_surface - gdk_pixbuf_get_from_texture - gtk_image_new_from_pixbuf - gtk_image_set_from_pixbuf - gtk_picture_new_for_pixbuf - gtk_picture_set_pixbuf Overview of Changes in 4.11.2, 09-05-2023 ========================================= * GtkGLArea: - Add an allowed-apis property * GtkListBox: - Fix a problem with gtk_list_box_remove_all * Add the GtkSectionModel interface, and implement it in most of our list models * GtkListView: - Support displaying sections * GtkCenterBox: - Add a shrink-center-last property * GtkButton, GtkMenuButton: - Add a can-shrink property * GtkPopover: - Fix problems with grabs * GtkFileChooser: - Fix a problem with removing files - Make the date, time and location columns work - Fix filtering in the save entry popup - A few memory leak fixes - Handle webdav in the pathbar * GtkBox: - Support baselines in vertical orientation with GtkBox:baseline-child * Dialogs: - Destroy windows promptly when the async callback finishes - Detect absence of the OpenURI portal and fall back * Theme: - Add explicit style classes to a number of widgets - Fix some contrast issues in the dark theme * Accessibility: - Fix alert dialogs in the a11y tree - Improve accessibility of GtkShortcutsWindow * Layout: - Some fixes to baseline alignment - Separate GTK_ALIGN_BASELINE_CENTER and _FILL * CSS: - Fix a crash with color transitions * GSK: - Fix problems with negative scales - Improve scaling of offscreens for (cross-fades, masks, blends) * GL: - Add GdkGLTextureBuilder, a more flexible api for creating textures - Support setting update regions for GL textures - Ensure that we work with GLES 2 * Vulkan: - More fixes to the experimental Vulkan renderer - Rework glyph caching * Wayland: - Don't destroy wl_surfaces on hide - Plug leaks of compositor-side resources * X11: - Fix artifacts in gnome-shell frame decorations * Windows: - Fix GL context initialization * Inspector: - Improve the action list - Improve the accessibility pane - Fix a crash * Tools: - gtk4-node-editor: Improve scaling - gtk4-node-editor: Preserve aspect ratio of textures - gtk4-node-editor: Add some smarter editing - gtk4-demo: Make the stylus demo work with mice * Deprecations: - gtk_widget_get_allocated_width/height/baseline - GTK_ALIGN_BASELINE Overview of Changes in 4.11.1, 03-04-2023 ========================================= * GtkLabel, GtkLinkButton: - Make file:// uris work again * GtkListView/GtkColumnView/GtkGridView: - Fix clipping issues - Handle focus movement better - Introduce ::tab-behavior properties - Introduce GtkListItem::focusable - Introduce GtkColumnViewCell - Introduce row factories in GtkColumnView - Make list grid and column views inert when not rendering * Drag-and-Drop: - Support resizing drag surfaces, using the new GdkDragSurface::compute-size signal * Theme: - Port .boxed-list style from Adwaita - Make insensitive pictures appear grayed out * Accessibility: - Fix memory leaks - Fix a crash * GDK: - Add gdk_surface_get_scale to get the fractional scale - Use fractional scales on Wayland with cairo - Use fractional scales on Wayland with GL if GDK_DEBUG=gl-fractional is set. This support is still experimental * GSK: - Allow limiting texture sizes with GSK_MAX_TEXTURE_SIZE - Use samplers for GL texture filtering - Fix problems with texture slicing - Avoid re-uploading textures when possible - Use mipmaps when it is beneficial * Wayland: - Fix handling of Drag hotspots - Fix a crash with cursor size 0 - Support absolute paths in WAYLAND_DISPLAY - Use the fractional scale protocol - Use a viewporter to set buffer scale * Windows: - Fix problems with WGL * Vulkan: - Some fixes to the experimental Vulkan renderer - Support fractional scaling * Debugging: - Show more Wayland-specific information in the inspector * Deprecations: - gtk_widget_translate_coordinates - gdk_surface_create_similar_surface * Documentation: - Add a section on coordinate systems * Build: - Require wayland-protocols 1.31 Signed-off-by: Markus Volk <f_l_k@t-online.de> --- .../gtk+/{gtk4_4.10.5.bb => gtk4_4.12.0.bb} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename meta/recipes-gnome/gtk+/{gtk4_4.10.5.bb => gtk4_4.12.0.bb} (94%) diff --git a/meta/recipes-gnome/gtk+/gtk4_4.10.5.bb b/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb similarity index 94% rename from meta/recipes-gnome/gtk+/gtk4_4.10.5.bb rename to meta/recipes-gnome/gtk+/gtk4_4.12.0.bb index 85fff6c61e..4f38e0cb2c 100644 --- a/meta/recipes-gnome/gtk+/gtk4_4.10.5.bb +++ b/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb @@ -27,8 +27,8 @@ DEPENDS = " \ LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later" LIC_FILES_CHKSUM = " \ file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ - file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \ - file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \ + file://gtk/gtk.h;endline=25;md5=61900d77e8d5bc67cf15ad93de9a3490 \ + file://gdk/gdk.h;endline=25;md5=a0fb26c1f6b94e66d148279e192c333f \ file://tests/testgtk.c;endline=25;md5=49d06770681b8322466b52ed19d29fb2 \ " @@ -37,7 +37,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] = "9bd5e437e41d48e3d6a224c336b0fd3fd490036dceb8956ed74b956369af609b" +SRC_URI[sha256sum] = "a6d10829f405b1afc0b65e2a9642c04126a1d1b638d11c6d97426da4f84f1f6f" S = "${WORKDIR}/gtk-${PV}" @@ -53,11 +53,11 @@ GSETTINGS_PACKAGE:class-native = "" ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" REQUIRED_DISTRO_FEATURES = "opengl" -GTKDOC_MESON_OPTION = "gtk_doc" +GTKDOC_MESON_OPTION = "documentation" GIR_MESON_ENABLE_FLAG = 'enabled' GIR_MESON_DISABLE_FLAG = 'disabled' -EXTRA_OEMESON = " -Dbuild-tests=false -Dbuild-testsuite=false -Ddemos=false" +EXTRA_OEMESON = " -Dbuild-tests=false -Dbuild-testsuite=false -Dbuild-demos=false" PACKAGECONFIG ??= "gstreamer ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 vulkan', d)}" PACKAGECONFIG:class-native = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" -- 2.41.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#186069): https://lists.openembedded.org/g/openembedded-core/message/186069 Mute This Topic: https://lists.openembedded.org/mt/100759433/1997914 Group Owner: openembedded-core+owner@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com] -=-=-=-=-=-=-=-=-=-=-=-
Markus Volk Aug. 18, 2023, 5:42 p.m. UTC | #4
On Thu, Aug 17 2023 at 08:12:56 AM -07:00:00, Khem Raj 
<raj.khem@gmail.com> wrote:
> 
> Perhaps need libgcc dev package on build host

Unfortunately that didn't help
Khem Raj Aug. 19, 2023, 4:23 p.m. UTC | #5
This is also reported upstream see

https://gitlab.gnome.org/GNOME/gtk/-/issues/6033

I have proposed a workaround in meta-clang for now
https://github.com/kraj/meta-clang/pull/843

Thanks
-Khem

On Fri, Aug 18, 2023 at 10:43 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> On Thu, Aug 17 2023 at 08:12:56 AM -07:00:00, Khem Raj <raj.khem@gmail.com> wrote:
>
> Perhaps need libgcc dev package on build host
>
>
> Unfortunately that didn't help
Markus Volk Aug. 20, 2023, 12:31 a.m. UTC | #6
Interesting.

vulkan_core.h should normally define VK_USE_64_BIT_PTR_DEFINES 0 on 
32bit platforms
<https://github.com/KhronosGroup/Vulkan-Headers/blob/85c2334e92e215cce34e8e0ed8b2dce4700f4a50/include/vulkan/vulkan_core.h#L29>

vulkan_core.h is added by vulkan.h which is only included in 
gdkvulkancontext.h when vulkan was enabled in meson

<https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gdk/gdkvulkancontext.h#L29>

So if the problem only occurs on 32 bit and with vulkan disabled, my 
theory would be that the issue can be avoided by at least adding 
vulkan_core.h in any case

#ifdef GDK_RENDERING_VULKAN
#include <vulkan/vulkan.h>
#else
#include <vulkan/vulkan_core.h>
#endif

On Sat, Aug 19 2023 at 09:23:47 AM -07:00:00, Khem Raj 
<raj.khem@gmail.com> wrote:
> This is also reported upstream see
> 
> <https://gitlab.gnome.org/GNOME/gtk/-/issues/6033>
> 
> I have proposed a workaround in meta-clang for now
> <https://github.com/kraj/meta-clang/pull/843>
> 
> Thanks
> -Khem
> 
> On Fri, Aug 18, 2023 at 10:43 AM Markus Volk <f_l_k@t-online.de 
> <mailto:f_l_k@t-online.de>> wrote:
>> 
>>  On Thu, Aug 17 2023 at 08:12:56 AM -07:00:00, Khem Raj 
>> <raj.khem@gmail.com <mailto:raj.khem@gmail.com>> wrote:
>> 
>>  Perhaps need libgcc dev package on build host
>> 
>> 
>>  Unfortunately that didn't help
Khem Raj Aug. 20, 2023, 12:43 a.m. UTC | #7
On Sat, Aug 19, 2023 at 5:31 PM <f_l_k@t-online.de> wrote:

> Interesting.
>
> vulkan_core.h should normally define VK_USE_64_BIT_PTR_DEFINES 0 on 32bit
> platforms
>
> https://github.com/KhronosGroup/Vulkan-Headers/blob/85c2334e92e215cce34e8e0ed8b2dce4700f4a50/include/vulkan/vulkan_core.h#L29
>
> vulkan_core.h is added by vulkan.h which is only included in
> gdkvulkancontext.h when vulkan was enabled in meson
>
> https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gdk/gdkvulkancontext.h#L29
>
> So if the problem only occurs on 32 bit and with vulkan disabled, my
> theory would be that the issue can be avoided by at least adding
> vulkan_core.h in any case
>
> #ifdef GDK_RENDERING_VULKAN
> #include <vulkan/vulkan.h>
> #else
> #include <vulkan/vulkan_core.h>
> #endif
>


Possibly a good fix I think you should propose it at the bug I pointed out

>
> On Sat, Aug 19 2023 at 09:23:47 AM -07:00:00, Khem Raj <raj.khem@gmail.com>
> wrote:
>
> This is also reported upstream see
> https://gitlab.gnome.org/GNOME/gtk/-/issues/6033 I have proposed a
> workaround in meta-clang for now
> https://github.com/kraj/meta-clang/pull/843 Thanks -Khem On Fri, Aug 18,
> 2023 at 10:43 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> On Thu, Aug 17 2023 at 08:12:56 AM -07:00:00, Khem Raj <raj.khem@gmail.com>
> wrote: Perhaps need libgcc dev package on build host Unfortunately that
> didn't help
>
>
Markus Volk Aug. 20, 2023, 1:16 a.m. UTC | #8
On Sat, Aug 19 2023 at 05:43:35 PM -07:00:00, Khem Raj 
<raj.khem@gmail.com> wrote:
> Possibly a good fix I think you should propose it at the bug I 
> pointed out

At the moment this is just a theory because I haven't managed to solve 
my problem with libcxx-native yet. I will test this in a vm when I find 
the time.

After thinking about it a bit more and re-reading the problem you 
pointed out, it seems to only happen with -Dvulkan=enabled, so it looks 
like VK_USE_64_BIT_PTR_DEFINES is set to 0, which could be exactly the 
reason why the pointer gets converted to int.

Anyway, as long as I cant reproduce, its just fishing in murky waters. 
I'll post there once I was able to test it.
Khem Raj Aug. 20, 2023, 5:24 a.m. UTC | #9
On Thu, Aug 17, 2023 at 7:49 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> Sorry for the late reply. I was on the road yesterday.
>
> I can't reproduce the issue unfortunately. That's because I've been running my build host with a homebuilt yocto image for a couple of weeks now to find runtime errors (and because it gets me better hardware support). So far this is running very well, but I seem to have a problem with libgcc-initial. When I want to use the clang toolchain, libcxx-native aborts with:
>
> | /home/flk/poky/build/tmp/hosttools/ld: cannot find crtbeginS.o: No such file or directory
> | /home/flk/poky/build/tmp/hosttools/ld: cannot find -lgcc: No such file or directory
> | /home/flk/poky/build/tmp/hosttools/ld: cannot find -lgcc: No such file or directory
> | clang-16: error: linker command failed with exit code 1 (use -v to see the call)
> | ninja: build stopped: subcommand failed.

while it is interesting that you are using OE based distro on your
build host, its not a combination thats commonly tested. Especially in
native libcxx case, its using
clang-native with runtime from build host and I am sure thats where
problem is perhaps some paths are being detected wrong. Clang does
encode distro information
into its driver. Can you post full log of failed task may be it has
some hints. It will be also good to see the output of failing linker
cmdline with --verbose option, it will
show what paths clang driver is looking for runtime stuff.

>
> Will have to look into this first. So far I have no idea what is going on. In any case, at most I'd be able to hack this with a 'cast', but I don't have enough knowledge of the gtk code to find the root cause
>
> I think the best thing would be to create an issue at gitlab, but I'm a bit afraid of that because I can't help if something needs to be tested or if I should add more context.
>
> In general this is an issue that should be fixed in gcc because this seems to be indeed a bug.
>
> Short term solutions might be to add -Wno-int-conversion to the cflags for clang to make it less strict or to disable the experimental vulkan support in gtk4 by default?
>
> On Wed, Aug 16 2023 at 07:44:50 AM -07:00:00, Khem Raj <raj.khem@gmail.com> wrote:
>
> clang finds more errors with this upgrade https://errors.yoctoproject.org/Errors/Details/731552/ On Tue, Aug 15, 2023 at 7:52 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> gtk.h: gtkscrollinfo.h was added, no change of license gdk.h: gdkpixbuf.h was deprecated, no change of license update renamed build-options Overview of Changes in 4.12.0, 05-08-2023 ========================================= * List widgets: - Add scroll_to APIs * GtkFileLauncher: - Add an always-ask property * GtkTextView: - Make backspace behavior match GtkEntry * gsk: - Fix handling of luminance in mask nodes * Text rendering: - Automate the setting of gtk-hint-font-metrics from the scale factor. This improves font rendering in flatpaks * Wayland: - Fix behavior of stylus buttons - Support suspended window state * Vulkan: - Many improvements * Tools: - Add gtk4-rendernode-tool * Debugging: - Drop the GTK_DEBUG_TOUCHSCREEN flag * Build: - Some build options have been renamed: gtk_doc -> documentation update_screenshots -> screenshots The old names still work Overview of Changes in 4.11.4, 03-07-2023 ========================================= * GtkFileChooser: - Default to sorting folders first - Fix a crash when visiting recent files * GtkTextView: - Fix corner cases in word navigation * GtkMenuButton: - Normalize label layout * GtkDropDown: - Add support for sections * GtkVideo: - Make the overlay icon clickable * GtkWindow: - Clear the resize cursors to avoid artifacts * GtkFileDialog: - Always set initial-folder * GtkDropDown: - Update on expression changes * GtkMapListModel: - Implement GtkSectionModel * Accessibility: - Improvements all over the place: GtkButton, GtkPasswordEntry, GtkFontChooserDialog, GtkColorChooserDialog, GtkShortcutsWindow, GtkMenuButton, GtkAboutDialog, GtkFileChooserDialog, GtkStackSidebar, GtkStackSwitcher, GtkMediaControls, GtkColorDialogButton, GtkDropDown, GtkInfoBar, GtkNotebook, GtkPrintUnixDialog, GtkModelButton - Make name computation follow the ARIA spec more closely - Adapt name computation for the common 'nested button' scenario - Change many containers to use `generic` instead of `group` - Use `generic` as the default role - Use `application` instead of `window` for windows - Add properties for accessible names of not directly exposed widgets in GtkListView, GtkGridView and GtkColumnView * DND: - Fix criticals when drops are rejected * X11: - Fix regressions in GLX setup * Windows: - Center newly created transient windows * Vulkan: - Add antialising for gradients - Do less work on clipped away nodes - Redo image uploading - Support different image depths and formats - Add a pipeline cache * Demos: - gtk4-demo: Improve window sizing - gtk4-demo: Improve focus behavior - gtk4-demo: Add many missing a11y properties * Tools: - gtk4-builder-tool: Make render an alias screenshot * Inspector: - Show more information in the a11y tab - Add an accessibility overlay with warnings and recommendations - Limit the width of the a11y tab * Build: - Require GLib 2.76 - Make asan builds work again - Fix the build if ld is not ld.bdf Overview of Changes in 4.11.3, 05-06-2023 ========================================= * GtkGridView: - Respect css border-spacing - Don't leak the factories * GtkListView: - Don't leak the factories * GtkColumnView: - Support displaying sections * GtkNotebook: - Make the pages model implement GtkSelectionModel * GtkScrolledWindow: - Propagate child measure size whenever possible * GtkPopoverMenu: - Avoid unnecessary left padding * GtkSearchEntry: - Improve size allocation for the clear icon * GtkBoxLayout: - Fix a regression from recent baseline work * CSS: - Add new binding-friendly css provider apis * Theme: - Show focus in the shortcuts window * GDK: - Support grayscale and alpha texture formats for loading and saving to png and tiff, and in GL - Fix some regressions in GL context initialization * GSK: - Support grayscale and alpha texture formats in the GL renderer - Support straight alpha textures in the GL renderer - Many improvements to the experimental Vulkan renderer * Wayland: - Make exporting surface handles more flexible * X11: - Trap XRandr errors - Stop using passive grabs during DND * Windows: - Many cleanups and simplifications * Tests: - Improve test coverage * Build: - Some build options have been renamed: demos -> build-demos profile -> demo-profile The old names still work * Deprecations: - gtk_css_provider_load_from_data - gdk_wayland_toplevel_unexport_handle - gdk_pixbuf_get_from_surface - gdk_pixbuf_get_from_texture - gtk_image_new_from_pixbuf - gtk_image_set_from_pixbuf - gtk_picture_new_for_pixbuf - gtk_picture_set_pixbuf Overview of Changes in 4.11.2, 09-05-2023 ========================================= * GtkGLArea: - Add an allowed-apis property * GtkListBox: - Fix a problem with gtk_list_box_remove_all * Add the GtkSectionModel interface, and implement it in most of our list models * GtkListView: - Support displaying sections * GtkCenterBox: - Add a shrink-center-last property * GtkButton, GtkMenuButton: - Add a can-shrink property * GtkPopover: - Fix problems with grabs * GtkFileChooser: - Fix a problem with removing files - Make the date, time and location columns work - Fix filtering in the save entry popup - A few memory leak fixes - Handle webdav in the pathbar * GtkBox: - Support baselines in vertical orientation with GtkBox:baseline-child * Dialogs: - Destroy windows promptly when the async callback finishes - Detect absence of the OpenURI portal and fall back * Theme: - Add explicit style classes to a number of widgets - Fix some contrast issues in the dark theme * Accessibility: - Fix alert dialogs in the a11y tree - Improve accessibility of GtkShortcutsWindow * Layout: - Some fixes to baseline alignment - Separate GTK_ALIGN_BASELINE_CENTER and _FILL * CSS: - Fix a crash with color transitions * GSK: - Fix problems with negative scales - Improve scaling of offscreens for (cross-fades, masks, blends) * GL: - Add GdkGLTextureBuilder, a more flexible api for creating textures - Support setting update regions for GL textures - Ensure that we work with GLES 2 * Vulkan: - More fixes to the experimental Vulkan renderer - Rework glyph caching * Wayland: - Don't destroy wl_surfaces on hide - Plug leaks of compositor-side resources * X11: - Fix artifacts in gnome-shell frame decorations * Windows: - Fix GL context initialization * Inspector: - Improve the action list - Improve the accessibility pane - Fix a crash * Tools: - gtk4-node-editor: Improve scaling - gtk4-node-editor: Preserve aspect ratio of textures - gtk4-node-editor: Add some smarter editing - gtk4-demo: Make the stylus demo work with mice * Deprecations: - gtk_widget_get_allocated_width/height/baseline - GTK_ALIGN_BASELINE Overview of Changes in 4.11.1, 03-04-2023 ========================================= * GtkLabel, GtkLinkButton: - Make file:// uris work again * GtkListView/GtkColumnView/GtkGridView: - Fix clipping issues - Handle focus movement better - Introduce ::tab-behavior properties - Introduce GtkListItem::focusable - Introduce GtkColumnViewCell - Introduce row factories in GtkColumnView - Make list grid and column views inert when not rendering * Drag-and-Drop: - Support resizing drag surfaces, using the new GdkDragSurface::compute-size signal * Theme: - Port .boxed-list style from Adwaita - Make insensitive pictures appear grayed out * Accessibility: - Fix memory leaks - Fix a crash * GDK: - Add gdk_surface_get_scale to get the fractional scale - Use fractional scales on Wayland with cairo - Use fractional scales on Wayland with GL if GDK_DEBUG=gl-fractional is set. This support is still experimental * GSK: - Allow limiting texture sizes with GSK_MAX_TEXTURE_SIZE - Use samplers for GL texture filtering - Fix problems with texture slicing - Avoid re-uploading textures when possible - Use mipmaps when it is beneficial * Wayland: - Fix handling of Drag hotspots - Fix a crash with cursor size 0 - Support absolute paths in WAYLAND_DISPLAY - Use the fractional scale protocol - Use a viewporter to set buffer scale * Windows: - Fix problems with WGL * Vulkan: - Some fixes to the experimental Vulkan renderer - Support fractional scaling * Debugging: - Show more Wayland-specific information in the inspector * Deprecations: - gtk_widget_translate_coordinates - gdk_surface_create_similar_surface * Documentation: - Add a section on coordinate systems * Build: - Require wayland-protocols 1.31 Signed-off-by: Markus Volk <f_l_k@t-online.de> --- .../gtk+/{gtk4_4.10.5.bb => gtk4_4.12.0.bb} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename meta/recipes-gnome/gtk+/{gtk4_4.10.5.bb => gtk4_4.12.0.bb} (94%) diff --git a/meta/recipes-gnome/gtk+/gtk4_4.10.5.bb b/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb similarity index 94% rename from meta/recipes-gnome/gtk+/gtk4_4.10.5.bb rename to meta/recipes-gnome/gtk+/gtk4_4.12.0.bb index 85fff6c61e..4f38e0cb2c 100644 --- a/meta/recipes-gnome/gtk+/gtk4_4.10.5.bb +++ b/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb @@ -27,8 +27,8 @@ DEPENDS = " \ LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later" LIC_FILES_CHKSUM = " \ file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ - file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \ - file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \ + file://gtk/gtk.h;endline=25;md5=61900d77e8d5bc67cf15ad93de9a3490 \ + file://gdk/gdk.h;endline=25;md5=a0fb26c1f6b94e66d148279e192c333f \ file://tests/testgtk.c;endline=25;md5=49d06770681b8322466b52ed19d29fb2 \ " @@ -37,7 +37,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] = "9bd5e437e41d48e3d6a224c336b0fd3fd490036dceb8956ed74b956369af609b" +SRC_URI[sha256sum] = "a6d10829f405b1afc0b65e2a9642c04126a1d1b638d11c6d97426da4f84f1f6f" S = "${WORKDIR}/gtk-${PV}" @@ -53,11 +53,11 @@ GSETTINGS_PACKAGE:class-native = "" ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" REQUIRED_DISTRO_FEATURES = "opengl" -GTKDOC_MESON_OPTION = "gtk_doc" +GTKDOC_MESON_OPTION = "documentation" GIR_MESON_ENABLE_FLAG = 'enabled' GIR_MESON_DISABLE_FLAG = 'disabled' -EXTRA_OEMESON = " -Dbuild-tests=false -Dbuild-testsuite=false -Ddemos=false" +EXTRA_OEMESON = " -Dbuild-tests=false -Dbuild-testsuite=false -Dbuild-demos=false" PACKAGECONFIG ??= "gstreamer ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 vulkan', d)}" PACKAGECONFIG:class-native = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" -- 2.41.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#186069): https://lists.openembedded.org/g/openembedded-core/message/186069 Mute This Topic: https://lists.openembedded.org/mt/100759433/1997914 Group Owner: openembedded-core+owner@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com] -=-=-=-=-=-=-=-=-=-=-=-
Markus Volk Aug. 20, 2023, 6:29 a.m. UTC | #10
On Sat, Aug 19 2023 at 10:24:37 PM -07:00:00, Khem Raj 
<raj.khem@gmail.com> wrote:
> while it is interesting that you are using OE based distro on your
> build host, its not a combination thats commonly tested

Yes, however I didn't expect it to be well tested. In fact I'm amazed 
in how well it works already. I can do all the stuff I really need on 
this machine.
Basically it is just used to improve the image itself which is a fun 
project and for gaming and that works great.

Here's the log for the failed do_configure task:

DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are 
['/home/flk/poky/meta/recipes-devtools/cmake/cmake-native_3.26.4.bb:do_populate_sysroot', 
'/home/flk/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 
'virtual:native:/home/flk/poky/meta-clang/recipes-devtools/clang/clang_git.bb:do_populate_sysroot', 
'virtual:native:/home/flk/poky/meta/recipes-devtools/ninja/ninja_1.11.1.bb:do_populate_sysroot', 
'virtual:native:/home/flk/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 
'virtual:native:/home/flk/poky/meta/recipes-devtools/python/python3_3.11.4.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['cmake-native', 
'quilt-native', 'clang-native', 'ninja-native', 'patch-native', 
'python3-native', 'libtool-native', 'attr-native', 're2c-native', 
'zlib-native', 'libffi-native', 'bzip2-native', 'ncurses-native', 
'xz-native', 'openssl-native', 'libnsl2-native', 'libtirpc-native', 
'gdbm-native', 'expat-native', 'util-linux-libuuid-native', 
'libedit-native', 'sqlite3-native', 'binutils-native', 
'libxml2-native', 'swig-native', 'zstd-native', 'texinfo-dummy-native', 
'gettext-minimal-native', 'perl-native', 'gnu-config-native', 
'flex-native', 'libpcre2-native', 'make-native', 'm4-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_configure
CMake Warning:
  Ignoring extra path from command line:

   
"/home/flk/poky/build/tmp/work-shared/llvm-project-source-16.0.6-r0/git/llvm"


-- The C compiler identification is Clang 16.0.6
-- The CXX compiler identification is Clang 16.0.6
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/bin/clang
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/bin/clang
-- Check for working C compiler: 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/bin/clang 
- broken
CMake Error at 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:67 
(message):
  The C compiler

    
"/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/bin/clang"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/build/CMakeFiles/CMakeScratch/TryCompile-bgcv7F

    Run Build Command(s):ninja -v cmTC_ae66c && [1/2] 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/bin/clang 
-target x86_64-linux 
-isystem/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/include 
-O2 -pipe -MD -MT CMakeFiles/cmTC_ae66c.dir/testCCompiler.c.o -MF 
CMakeFiles/cmTC_ae66c.dir/testCCompiler.c.o.d -o 
CMakeFiles/cmTC_ae66c.dir/testCCompiler.c.o -c 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/build/CMakeFiles/CMakeScratch/TryCompile-bgcv7F/testCCompiler.c
    [2/2] : && 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/bin/clang 
-target x86_64-linux 
-isystem/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/include 
-O2 -pipe -target x86_64-linux 
-isystem/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/include 
-L/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/lib 
-L/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/lib 
-Wl,--enable-new-dtags 
-Wl,-rpath-link,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/lib 
-Wl,-rpath-link,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/lib 
-Wl,-rpath,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/lib 
-Wl,-rpath,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/lib 
-Wl,-O1 -unwindlib=libgcc -rtlib=libgcc -stdlib=libstdc++ 
-Wl,--allow-shlib-undefined 
-Wl,--dynamic-linker=/home/flk/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 
-rtlib=libgcc --unwindlib=libgcc 
-L/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/lib 
-L/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/lib 
-Wl,--enable-new-dtags 
-Wl,-rpath-link,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/lib 
-Wl,-rpath-link,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/lib 
-Wl,-rpath,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/lib 
-Wl,-rpath,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/lib 
-Wl,-O1 -unwindlib=libgcc -rtlib=libgcc -stdlib=libstdc++ 
-Wl,--allow-shlib-undefined 
-Wl,--dynamic-linker=/home/flk/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 
-rtlib=libgcc --unwindlib=libgcc 
CMakeFiles/cmTC_ae66c.dir/testCCompiler.c.o -o cmTC_ae66c && :
    FAILED: cmTC_ae66c
    : && 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/bin/clang 
-target x86_64-linux 
-isystem/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/include 
-O2 -pipe -target x86_64-linux 
-isystem/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/include 
-L/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/lib 
-L/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/lib 
-Wl,--enable-new-dtags 
-Wl,-rpath-link,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/lib 
-Wl,-rpath-link,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/lib 
-Wl,-rpath,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/lib 
-Wl,-rpath,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/lib 
-Wl,-O1 -unwindlib=libgcc -rtlib=libgcc -stdlib=libstdc++ 
-Wl,--allow-shlib-undefined 
-Wl,--dynamic-linker=/home/flk/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 
-rtlib=libgcc --unwindlib=libgcc 
-L/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/lib 
-L/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/lib 
-Wl,--enable-new-dtags 
-Wl,-rpath-link,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/lib 
-Wl,-rpath-link,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/lib 
-Wl,-rpath,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/lib 
-Wl,-rpath,/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/lib 
-Wl,-O1 -unwindlib=libgcc -rtlib=libgcc -stdlib=libstdc++ 
-Wl,--allow-shlib-undefined 
-Wl,--dynamic-linker=/home/flk/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 
-rtlib=libgcc --unwindlib=libgcc 
CMakeFiles/cmTC_ae66c.dir/testCCompiler.c.o -o cmTC_ae66c && :
    /home/flk/poky/build/tmp/hosttools/ld: cannot find crtbeginS.o: No 
such file or directory
    /home/flk/poky/build/tmp/hosttools/ld: cannot find -lgcc: No such 
file or directory
    /home/flk/poky/build/tmp/hosttools/ld: cannot find -lgcc: No such 
file or directory
    clang-16: error: linker command failed with exit code 1 (use -v to 
see invocation)
    ninja: build stopped: subcommand failed.





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:10 (project)


-- Configuring incomplete, errors occurred!
WARNING: 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/temp/run.do_configure.6240:171 
exit 1 from 'cmake -G 'Ninja' -DCMAKE_MAKE_PROGRAM=ninja 
$oecmake_sitefile 
/home/flk/poky/build/tmp/work-shared/llvm-project-source-16.0.6-r0/git/llvm 
-DCMAKE_INSTALL_PREFIX:PATH=/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr 
-DCMAKE_INSTALL_BINDIR:PATH=bin -DCMAKE_INSTALL_SBINDIR:PATH=sbin 
-DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec 
-DCMAKE_INSTALL_SYSCONFDIR:PATH=/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/etc 
-DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=../com 
-DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/var 
-DCMAKE_INSTALL_LIBDIR:PATH=lib -DCMAKE_INSTALL_INCLUDEDIR:PATH=include 
-DCMAKE_INSTALL_DATAROOTDIR:PATH=share 
-DPYTHON_EXECUTABLE:PATH=/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/bin/python3-native/python3 
-DPython_EXECUTABLE:PATH=/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/bin/python3-native/python3 
-DPython3_EXECUTABLE:PATH=/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/recipe-sysroot-native/usr/bin/python3-native/python3 
-DLIB_SUFFIX= -DCMAKE_INSTALL_SO_NO_EXE=0 
-DCMAKE_TOOLCHAIN_FILE=/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/toolchain.cmake 
-DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON 
-DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo 
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF -DCMAKE_CROSSCOMPILING=ON 
-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON -DLLVM_ENABLE_RTTI=ON 
-DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON 
-DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON -DLIBCXXABI_INCLUDE_TESTS=OFF 
-DLIBCXXABI_ENABLE_SHARED=ON 
-DLIBCXXABI_LIBCXX_INCLUDES=/home/flk/poky/build/tmp/work-shared/llvm-project-source-16.0.6-r0/git/libcxx/include 
-DLIBCXX_CXX_ABI=libcxxabi 
-DLIBCXX_CXX_ABI_INCLUDE_PATHS=/home/flk/poky/build/tmp/work-shared/llvm-project-source-16.0.6-r0/git/libcxxabi/include 
-DLIBCXX_CXX_ABI_LIBRARY_PATH=/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/build/lib 
-S 
/home/flk/poky/build/tmp/work-shared/llvm-project-source-16.0.6-r0/git/runtimes 
-DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi;libunwind' 
-DLLVM_LIBDIR_SUFFIX= -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON 
-DLIBCXXABI_ENABLE_EXCEPTIONS=ON -DDLIBCXX_ENABLE_EXCEPTIONS=ON 
-DLIBCXXABI_USE_LLVM_UNWINDER=ON -DLIBCXXABI_ENABLE_STATIC_UNWINDER=ON 
-DLIBUNWIND_ENABLE_SHARED=ON -Wno-dev'
WARNING: Backtrace (BB generated script):
 #1: cmake_do_configure, 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/temp/run.do_configure.6240, 
line 171
 #2: do_configure, 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/temp/run.do_configure.6240, 
line 150
 #3: main, 
/home/flk/poky/build/tmp/work/x86_64-linux/libcxx-native/16.0.6/temp/run.do_configure.6240, 
line 207
Khem Raj Aug. 20, 2023, 2:54 p.m. UTC | #11
On Sat, Aug 19, 2023 at 10:24 PM Khem Raj <raj.khem@gmail.com> wrote:

> On Thu, Aug 17, 2023 at 7:49 AM Markus Volk <f_l_k@t-online.de> wrote:
> >
> > Sorry for the late reply. I was on the road yesterday.
> >
> > I can't reproduce the issue unfortunately. That's because I've been
> running my build host with a homebuilt yocto image for a couple of weeks
> now to find runtime errors (and because it gets me better hardware
> support). So far this is running very well, but I seem to have a problem
> with libgcc-initial. When I want to use the clang toolchain, libcxx-native
> aborts with:
> >
> > | /home/flk/poky/build/tmp/hosttools/ld: cannot find crtbeginS.o: No
> such file or directory
> > | /home/flk/poky/build/tmp/hosttools/ld: cannot find -lgcc: No such file
> or directory
> > | /home/flk/poky/build/tmp/hosttools/ld: cannot find -lgcc: No such file
> or directory
> > | clang-16: error: linker command failed with exit code 1 (use -v to see
> the call)
> > | ninja: build stopped: subcommand failed.


Ok the cmdline looks normal what’s the install location of these files
above



>
> while it is interesting that you are using OE based distro on your
> build host, its not a combination thats commonly tested. Especially in
> native libcxx case, its using
> clang-native with runtime from build host and I am sure thats where
> problem is perhaps some paths are being detected wrong. Clang does
> encode distro information
> into its driver. Can you post full log of failed task may be it has
> some hints. It will be also good to see the output of failing linker
> cmdline with --verbose option, it will
> show what paths clang driver is looking for runtime stuff.
>
> >
> > Will have to look into this first. So far I have no idea what is going
> on. In any case, at most I'd be able to hack this with a 'cast', but I
> don't have enough knowledge of the gtk code to find the root cause
> >
> > I think the best thing would be to create an issue at gitlab, but I'm a
> bit afraid of that because I can't help if something needs to be tested or
> if I should add more context.
> >
> > In general this is an issue that should be fixed in gcc because this
> seems to be indeed a bug.
> >
> > Short term solutions might be to add -Wno-int-conversion to the cflags
> for clang to make it less strict or to disable the experimental vulkan
> support in gtk4 by default?
> >
> > On Wed, Aug 16 2023 at 07:44:50 AM -07:00:00, Khem Raj <
> raj.khem@gmail.com> wrote:
> >
> > clang finds more errors with this upgrade
> https://errors.yoctoproject.org/Errors/Details/731552/ On Tue, Aug 15,
> 2023 at 7:52 AM Markus Volk <f_l_k@t-online.de> wrote:
> >
> > gtk.h: gtkscrollinfo.h was added, no change of license gdk.h:
> gdkpixbuf.h was deprecated, no change of license update renamed
> build-options Overview of Changes in 4.12.0, 05-08-2023
> ========================================= * List widgets: - Add scroll_to
> APIs * GtkFileLauncher: - Add an always-ask property * GtkTextView: - Make
> backspace behavior match GtkEntry * gsk: - Fix handling of luminance in
> mask nodes * Text rendering: - Automate the setting of
> gtk-hint-font-metrics from the scale factor. This improves font rendering
> in flatpaks * Wayland: - Fix behavior of stylus buttons - Support suspended
> window state * Vulkan: - Many improvements * Tools: - Add
> gtk4-rendernode-tool * Debugging: - Drop the GTK_DEBUG_TOUCHSCREEN flag *
> Build: - Some build options have been renamed: gtk_doc -> documentation
> update_screenshots -> screenshots The old names still work Overview of
> Changes in 4.11.4, 03-07-2023 ========================================= *
> GtkFileChooser: - Default to sorting folders first - Fix a crash when
> visiting recent files * GtkTextView: - Fix corner cases in word navigation
> * GtkMenuButton: - Normalize label layout * GtkDropDown: - Add support for
> sections * GtkVideo: - Make the overlay icon clickable * GtkWindow: - Clear
> the resize cursors to avoid artifacts * GtkFileDialog: - Always set
> initial-folder * GtkDropDown: - Update on expression changes *
> GtkMapListModel: - Implement GtkSectionModel * Accessibility: -
> Improvements all over the place: GtkButton, GtkPasswordEntry,
> GtkFontChooserDialog, GtkColorChooserDialog, GtkShortcutsWindow,
> GtkMenuButton, GtkAboutDialog, GtkFileChooserDialog, GtkStackSidebar,
> GtkStackSwitcher, GtkMediaControls, GtkColorDialogButton, GtkDropDown,
> GtkInfoBar, GtkNotebook, GtkPrintUnixDialog, GtkModelButton - Make name
> computation follow the ARIA spec more closely - Adapt name computation for
> the common 'nested button' scenario - Change many containers to use
> `generic` instead of `group` - Use `generic` as the default role - Use
> `application` instead of `window` for windows - Add properties for
> accessible names of not directly exposed widgets in GtkListView,
> GtkGridView and GtkColumnView * DND: - Fix criticals when drops are
> rejected * X11: - Fix regressions in GLX setup * Windows: - Center newly
> created transient windows * Vulkan: - Add antialising for gradients - Do
> less work on clipped away nodes - Redo image uploading - Support different
> image depths and formats - Add a pipeline cache * Demos: - gtk4-demo:
> Improve window sizing - gtk4-demo: Improve focus behavior - gtk4-demo: Add
> many missing a11y properties * Tools: - gtk4-builder-tool: Make render an
> alias screenshot * Inspector: - Show more information in the a11y tab - Add
> an accessibility overlay with warnings and recommendations - Limit the
> width of the a11y tab * Build: - Require GLib 2.76 - Make asan builds work
> again - Fix the build if ld is not ld.bdf Overview of Changes in 4.11.3,
> 05-06-2023 ========================================= * GtkGridView: -
> Respect css border-spacing - Don't leak the factories * GtkListView: -
> Don't leak the factories * GtkColumnView: - Support displaying sections *
> GtkNotebook: - Make the pages model implement GtkSelectionModel *
> GtkScrolledWindow: - Propagate child measure size whenever possible *
> GtkPopoverMenu: - Avoid unnecessary left padding * GtkSearchEntry: -
> Improve size allocation for the clear icon * GtkBoxLayout: - Fix a
> regression from recent baseline work * CSS: - Add new binding-friendly css
> provider apis * Theme: - Show focus in the shortcuts window * GDK: -
> Support grayscale and alpha texture formats for loading and saving to png
> and tiff, and in GL - Fix some regressions in GL context initialization *
> GSK: - Support grayscale and alpha texture formats in the GL renderer -
> Support straight alpha textures in the GL renderer - Many improvements to
> the experimental Vulkan renderer * Wayland: - Make exporting surface
> handles more flexible * X11: - Trap XRandr errors - Stop using passive
> grabs during DND * Windows: - Many cleanups and simplifications * Tests: -
> Improve test coverage * Build: - Some build options have been renamed:
> demos -> build-demos profile -> demo-profile The old names still work *
> Deprecations: - gtk_css_provider_load_from_data -
> gdk_wayland_toplevel_unexport_handle - gdk_pixbuf_get_from_surface -
> gdk_pixbuf_get_from_texture - gtk_image_new_from_pixbuf -
> gtk_image_set_from_pixbuf - gtk_picture_new_for_pixbuf -
> gtk_picture_set_pixbuf Overview of Changes in 4.11.2, 09-05-2023
> ========================================= * GtkGLArea: - Add an
> allowed-apis property * GtkListBox: - Fix a problem with
> gtk_list_box_remove_all * Add the GtkSectionModel interface, and implement
> it in most of our list models * GtkListView: - Support displaying sections
> * GtkCenterBox: - Add a shrink-center-last property * GtkButton,
> GtkMenuButton: - Add a can-shrink property * GtkPopover: - Fix problems
> with grabs * GtkFileChooser: - Fix a problem with removing files - Make the
> date, time and location columns work - Fix filtering in the save entry
> popup - A few memory leak fixes - Handle webdav in the pathbar * GtkBox: -
> Support baselines in vertical orientation with GtkBox:baseline-child *
> Dialogs: - Destroy windows promptly when the async callback finishes -
> Detect absence of the OpenURI portal and fall back * Theme: - Add explicit
> style classes to a number of widgets - Fix some contrast issues in the dark
> theme * Accessibility: - Fix alert dialogs in the a11y tree - Improve
> accessibility of GtkShortcutsWindow * Layout: - Some fixes to baseline
> alignment - Separate GTK_ALIGN_BASELINE_CENTER and _FILL * CSS: - Fix a
> crash with color transitions * GSK: - Fix problems with negative scales -
> Improve scaling of offscreens for (cross-fades, masks, blends) * GL: - Add
> GdkGLTextureBuilder, a more flexible api for creating textures - Support
> setting update regions for GL textures - Ensure that we work with GLES 2 *
> Vulkan: - More fixes to the experimental Vulkan renderer - Rework glyph
> caching * Wayland: - Don't destroy wl_surfaces on hide - Plug leaks of
> compositor-side resources * X11: - Fix artifacts in gnome-shell frame
> decorations * Windows: - Fix GL context initialization * Inspector: -
> Improve the action list - Improve the accessibility pane - Fix a crash *
> Tools: - gtk4-node-editor: Improve scaling - gtk4-node-editor: Preserve
> aspect ratio of textures - gtk4-node-editor: Add some smarter editing -
> gtk4-demo: Make the stylus demo work with mice * Deprecations: -
> gtk_widget_get_allocated_width/height/baseline - GTK_ALIGN_BASELINE
> Overview of Changes in 4.11.1, 03-04-2023
> ========================================= * GtkLabel, GtkLinkButton: - Make
> file:// uris work again * GtkListView/GtkColumnView/GtkGridView: - Fix
> clipping issues - Handle focus movement better - Introduce ::tab-behavior
> properties - Introduce GtkListItem::focusable - Introduce GtkColumnViewCell
> - Introduce row factories in GtkColumnView - Make list grid and column
> views inert when not rendering * Drag-and-Drop: - Support resizing drag
> surfaces, using the new GdkDragSurface::compute-size signal * Theme: - Port
> .boxed-list style from Adwaita - Make insensitive pictures appear grayed
> out * Accessibility: - Fix memory leaks - Fix a crash * GDK: - Add
> gdk_surface_get_scale to get the fractional scale - Use fractional scales
> on Wayland with cairo - Use fractional scales on Wayland with GL if
> GDK_DEBUG=gl-fractional is set. This support is still experimental * GSK: -
> Allow limiting texture sizes with GSK_MAX_TEXTURE_SIZE - Use samplers for
> GL texture filtering - Fix problems with texture slicing - Avoid
> re-uploading textures when possible - Use mipmaps when it is beneficial *
> Wayland: - Fix handling of Drag hotspots - Fix a crash with cursor size 0 -
> Support absolute paths in WAYLAND_DISPLAY - Use the fractional scale
> protocol - Use a viewporter to set buffer scale * Windows: - Fix problems
> with WGL * Vulkan: - Some fixes to the experimental Vulkan renderer -
> Support fractional scaling * Debugging: - Show more Wayland-specific
> information in the inspector * Deprecations: -
> gtk_widget_translate_coordinates - gdk_surface_create_similar_surface *
> Documentation: - Add a section on coordinate systems * Build: - Require
> wayland-protocols 1.31 Signed-off-by: Markus Volk <f_l_k@t-online.de> ---
> .../gtk+/{gtk4_4.10.5.bb => gtk4_4.12.0.bb} | 10 +++++----- 1 file
> changed, 5 insertions(+), 5 deletions(-) rename meta/recipes-gnome/gtk+/{
> gtk4_4.10.5.bb => gtk4_4.12.0.bb} (94%) diff --git
> a/meta/recipes-gnome/gtk+/gtk4_4.10.5.bb b/meta/recipes-gnome/gtk+/
> gtk4_4.12.0.bb similarity index 94% rename from meta/recipes-gnome/gtk+/
> gtk4_4.10.5.bb rename to meta/recipes-gnome/gtk+/gtk4_4.12.0.bb index
> 85fff6c61e..4f38e0cb2c 100644 --- a/meta/recipes-gnome/gtk+/gtk4_4.10.5.bb
> +++ b/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb @@ -27,8 +27,8 @@ DEPENDS =
> " \ LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later"
> LIC_FILES_CHKSUM = " \ file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2
> \ - file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \ -
> file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \ +
> file://gtk/gtk.h;endline=25;md5=61900d77e8d5bc67cf15ad93de9a3490 \ +
> file://gdk/gdk.h;endline=25;md5=a0fb26c1f6b94e66d148279e192c333f \
> file://tests/testgtk.c;endline=25;md5=49d06770681b8322466b52ed19d29fb2 \ "
> @@ -37,7 +37,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] =
> "9bd5e437e41d48e3d6a224c336b0fd3fd490036dceb8956ed74b956369af609b"
> +SRC_URI[sha256sum] =
> "a6d10829f405b1afc0b65e2a9642c04126a1d1b638d11c6d97426da4f84f1f6f" S =
> "${WORKDIR}/gtk-${PV}" @@ -53,11 +53,11 @@ GSETTINGS_PACKAGE:class-native =
> "" ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
> REQUIRED_DISTRO_FEATURES = "opengl" -GTKDOC_MESON_OPTION = "gtk_doc"
> +GTKDOC_MESON_OPTION = "documentation" GIR_MESON_ENABLE_FLAG = 'enabled'
> GIR_MESON_DISABLE_FLAG = 'disabled' -EXTRA_OEMESON = " -Dbuild-tests=false
> -Dbuild-testsuite=false -Ddemos=false" +EXTRA_OEMESON = "
> -Dbuild-tests=false -Dbuild-testsuite=false -Dbuild-demos=false"
> PACKAGECONFIG ??= "gstreamer ${@bb.utils.filter('DISTRO_FEATURES', 'wayland
> x11 vulkan', d)}" PACKAGECONFIG:class-native =
> "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" -- 2.41.0
> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.
> View/Reply Online (#186069):
> https://lists.openembedded.org/g/openembedded-core/message/186069 Mute
> This Topic: https://lists.openembedded.org/mt/100759433/1997914 Group
> Owner: openembedded-core+owner@lists.openembedded.org Unsubscribe:
> https://lists.openembedded.org/g/openembedded-core/unsub [
> raj.khem@gmail.com] -=-=-=-=-=-=-=-=-=-=-=-
>
Markus Volk Aug. 20, 2023, 4:45 p.m. UTC | #12
On Sun, Aug 20 2023 at 07:54:19 AM -07:00:00, Khem Raj 
<raj.khem@gmail.com> wrote:
> Ok the cmdline looks normal what’s the install location of these 
> files above

flk@intel-corei7-64:~/poky/build$ ll /usr/lib/libgcc*
lrwxrwxrwx 1 root root   17 Mar  9  2018 /usr/lib/libgccpp.so.1 -> 
libgccpp.so.1.5.0
-rwxr-xr-x 1 root root  14K Mar  9  2018 /usr/lib/libgccpp.so.1.5.0
-rw-r--r-- 1 root root  132 Mar  9  2018 /usr/lib/libgcc_s.so
-rw-r--r-- 1 root root 143K Mar  9  2018 /usr/lib/libgcc_s.so.1
flk@intel-corei7-64:~/poky/build$ ll /usr/lib/x86_64-poky-linux/13.2.0/
total 6.3M
drwxr-xr-x 1 root root  260 Mar  9  2018 .
drwxr-xr-x 1 root root   12 Mar  9  2018 ..
-rw-r--r-- 1 root root 2.5K Mar  9  2018 crtbegin.o
-rw-r--r-- 1 root root 2.8K Mar  9  2018 crtbeginS.o
-rw-r--r-- 1 root root 3.0K Mar  9  2018 crtbeginT.o
-rw-r--r-- 1 root root 1.2K Mar  9  2018 crtend.o
-rw-r--r-- 1 root root 1.2K Mar  9  2018 crtendS.o
-rw-r--r-- 1 root root 3.8K Mar  9  2018 crtfastmath.o
-rw-r--r-- 1 root root 3.5K Mar  9  2018 crtprec32.o
-rw-r--r-- 1 root root 3.5K Mar  9  2018 crtprec64.o
-rw-r--r-- 1 root root 3.5K Mar  9  2018 crtprec80.o
drwxr-xr-x 1 root root   66 Mar  9  2018 include
-rw-r--r-- 1 root root 5.7M Mar  9  2018 libgcc.a
-rw-r--r-- 1 root root 322K Mar  9  2018 libgcc_eh.a
-rw-r--r-- 1 root root 292K Mar  9  2018 libgcov.a
diff mbox series

Patch

diff --git a/meta/recipes-gnome/gtk+/gtk4_4.10.5.bb b/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb
similarity index 94%
rename from meta/recipes-gnome/gtk+/gtk4_4.10.5.bb
rename to meta/recipes-gnome/gtk+/gtk4_4.12.0.bb
index 85fff6c61e..4f38e0cb2c 100644
--- a/meta/recipes-gnome/gtk+/gtk4_4.10.5.bb
+++ b/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb
@@ -27,8 +27,8 @@  DEPENDS = " \
 LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later"
 LIC_FILES_CHKSUM = " \
     file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
-    file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \
-    file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \
+    file://gtk/gtk.h;endline=25;md5=61900d77e8d5bc67cf15ad93de9a3490 \
+    file://gdk/gdk.h;endline=25;md5=a0fb26c1f6b94e66d148279e192c333f \
     file://tests/testgtk.c;endline=25;md5=49d06770681b8322466b52ed19d29fb2 \
 "
 
@@ -37,7 +37,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] = "9bd5e437e41d48e3d6a224c336b0fd3fd490036dceb8956ed74b956369af609b"
+SRC_URI[sha256sum] = "a6d10829f405b1afc0b65e2a9642c04126a1d1b638d11c6d97426da4f84f1f6f"
 
 S = "${WORKDIR}/gtk-${PV}"
 
@@ -53,11 +53,11 @@  GSETTINGS_PACKAGE:class-native = ""
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 REQUIRED_DISTRO_FEATURES = "opengl"
-GTKDOC_MESON_OPTION = "gtk_doc"
+GTKDOC_MESON_OPTION = "documentation"
 GIR_MESON_ENABLE_FLAG = 'enabled'
 GIR_MESON_DISABLE_FLAG = 'disabled'
 
-EXTRA_OEMESON = " -Dbuild-tests=false -Dbuild-testsuite=false -Ddemos=false"
+EXTRA_OEMESON = " -Dbuild-tests=false -Dbuild-testsuite=false -Dbuild-demos=false"
 
 PACKAGECONFIG ??= "gstreamer ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 vulkan', d)}"
 PACKAGECONFIG:class-native = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"