Accepting request 1190846 from GNOME:Factory

- Add missed optflags to CFLAGS. (forwarded request 1190845 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1190846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk4?expand=0&rev=76
This commit is contained in:
Dominique Leuenberger 2024-08-01 20:03:53 +00:00 committed by Git OBS Bridge
commit 9f26a0539c
6 changed files with 150 additions and 9 deletions

View File

@ -3,7 +3,7 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/gtk.git</param>
<param name="revision">4.14.4</param>
<param name="revision">4.15.4</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb5a08fab2bd70114a6be8501f668872ee130cb842af6c81d82829245d095eb6
size 88174606

3
gtk-4.15.4.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:557828536d3625f71194b22666b6485019c0c10cd3256938a7a987253fdf8ab9
size 89276942

View File

@ -1,4 +1,4 @@
name: gtk
version: 4.14.4
mtime: 1714692806
commit: 8593797a6fad9eadf0e9e0e3d502c83d423ef285
version: 4.15.4
mtime: 1722358222
commit: 322bbd2376f5279cf9b08925c2c836fa777e283b

View File

@ -1,3 +1,141 @@
-------------------------------------------------------------------
Thu Aug 1 04:33:31 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Add missed optflags to CFLAGS.
-------------------------------------------------------------------
Wed Jul 31 13:29:25 UTC 2024 - Filip Kastl <filip.kastl@suse.com>
- Add -Wno-int-conversion to CFLAGS to enable compilation with
GCC 14.
-------------------------------------------------------------------
Tue Jul 30 19:42:09 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.15.4:
+ GtkPopover: Fix size allocation with wrapping labels
+ GtkColumnView: Check column visibility when measuring
+ CSS:
- Fix fallout from recent changes
- Make implementation of currentcolor inheritance match browsers
+ Gdk:
- Introduce GdkColorState for encoding color space information.
Currently, we support srgb, srgb-linear, rec2100-pq and
rec2100-linear
- Add color states to GdkTexture, as well as to the texture
builder and downloader objects, and convert as necessary
- Add GdkMemoryTextureBuilder
- Attach color states when loading or saving textures
- Add GdkCicpParams to create color state objects for cicp
tuples
- Drop GDK_DEBUG=vulkan-validate. Use
VK_INSTEANCE_LAYERS=VK_LAYER_KHRONOS_validation instead
+ Gsk:
- Improve caching of glyphs and textures
- Remove the uber shader
- Numerous bug fixes
- Fix corner cases in offload handling
- Implement occlusion culling for opaque content
- Allow offloading (some) transformed textures
- Take colorstate into account when compositing
- Add GDK_DEBUG=linear to opt into linear compositing
- Implement tiling for large textures
- Stop using descriptors and go back to simpler texture
management that should work better with older GL
- Use correct shader clip mode for glyphs
- Improve shadow rendering
+ Media: Attach color states to textures obtained from gstreamer
+ Wayland:
- Allow offloading GL textures via dmabuf export
- Suppot the xx-color-management-v4 protocol
+ Deprecations: GskGLShader and the render node
+ Tools:
- Improve the rendernode tool extract command
- Add an image tool that is about manipulating textures
+ Build: GTK now requires a C11 compiler
+ Updated translations.
-------------------------------------------------------------------
Mon Jul 1 10:45:41 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 4.15.3:
+ Accessibility:
- Only emit notifications when cursor positions change in
GtkText.
- Fix handling of help text properties.
+ CSS: Fix some crashes introduced in recent currentcolor
changes.
+ DND: Avoid a critical.
+ Documentation: Fix many oversights and missing docs.
- Changes from version 4.15.2:
+ GtkFileChooserWidget:
- Plug some memory leaks.
- Make Ctrl-Shift-N create a new folder.
+ GtkPopover: Handle resizing and position changes better.
+ CSS:
- Support color(), oklab().
- Support color-mix() (https://www.w3.org/TR/css-color-5/).
- Support relative colors (https://www.w3.org/TR/css-color-5/).
- Support more colorspaces in color().
- Allow percentages for opacity.
- Handle currentcolor more correctly.
+ Accessibility: Avoid markup when reading labels.
+ GSK:
- Subset fonts when serializing node trees.
- Make ngl export render_texture results as dmabufs.
+ Wayland: Use xdg-dialog protocol for attached dialogs.
+ Documentation: Widget shortcuts and actions are now described
in the docs.
+ Debugging: Add GTK_DEBUG=css for warning about deprecated css
syntax.
+ Tools: rendernode-tool: Add an extract command for data urls.
+ Deprecations:
- CSS Color functions shade(), lighter(), darker(), alpha(),
mix().
+ Updated translations.
-------------------------------------------------------------------
Fri Jun 21 14:50:55 UTC 2024 - joan.torres@suse.com
- Update to version 4.15.1:
+ GtkGraphicsOffload: Don't crash without a child.
+ GtkSpinner: Don't animate when unmapped.
+ CSS:
- Support the :root selector.
- Support variables and custom properties.
- Implement math functions.
- Support modern syntax and calc in rgb() and hsl().
+ Icontheme:
- Make symbolic svg loading more efficient.
- Handle color-free symbolics more efficiently.
+ Accessibility:
- Make the gtk-demo sidebar search more accessible.
- Stop emitting focus events.
- Realize child contexts when necessary.
+ GDK:
- Support XDG_ACTIVATION_TOKEN.
- dmabuf: Be more defensive when importing unknown formats to
GL.
- dmabuf: Use narrow range for YUV.
- vulkan: Recreate swapchains when necessary or beneficial.
+ GSK:
- Improve logging for GDK_DEBUG=offload.
- Improve logging for GSK_DEBUG=renderer.
- gpu: Warn about inefficient texture import.
- gpu: Handle tiny offscreens correctly.
- vulkan: Add profiler marks in various places.
- vulkan: Fix a problem with imported dmabufs showing up black.
- cairo: Speed up mask nodes, since we use them for symbolic
icons.
+ Wayland: Use wl_compositor version 6.
+ X11: Implement a missing method.
+ Build: Fix many ubsan warnings.
+ Debugging:
- Show more texture details in the recorder.
- Use GTK_DEBUG=css to see CSS deprecations.
+ Deprecations: Use of @name colors in CSS.
+ Updated translations.
-------------------------------------------------------------------
Fri May 3 14:40:14 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -28,7 +28,7 @@
%endif
Name: gtk4
Version: 4.14.4
Version: 4.15.4
Release: 0
Summary: The GTK+ toolkit library (version 4)
License: LGPL-2.1-or-later
@ -99,7 +99,7 @@ BuildRequires: pkgconfig(tracker-sparql-3.0)
BuildRequires: pkgconfig(wayland-client) >= 1.21.0
BuildRequires: pkgconfig(wayland-cursor) >= 1.9.91
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-protocols) >= 1.25
BuildRequires: pkgconfig(wayland-protocols) >= 1.36
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xcursor)
@ -257,6 +257,7 @@ This package enhances gettext with an International Tag Set for GTK+ 4
%autosetup -p1 -n %{_name}-%{version}
%build
export CFLAGS="%{optflags} -Wno-int-conversion"
%meson \
-Ddocumentation=true \
-Dbroadway-backend=true \
@ -352,6 +353,7 @@ cp %{SOURCE3} %{buildroot}%{_rpmmacrodir}
%{_bindir}/gtk4-demo-application
%{_bindir}/gtk4-encode-symbolic-svg
%{_bindir}/gtk4-icon-browser
%{_bindir}/gtk4-image-tool
%{_bindir}/gtk4-node-editor
%{_bindir}/gtk4-print-editor
%{_bindir}/gtk4-rendernode-tool
@ -387,6 +389,7 @@ cp %{SOURCE3} %{buildroot}%{_rpmmacrodir}
%{_mandir}/man1/gtk4-demo.1%{?ext_man}
%{_mandir}/man1/gtk4-encode-symbolic-svg.1%{?ext_man}
%{_mandir}/man1/gtk4-icon-browser.1%{?ext_man}
%{_mandir}/man1/gtk4-image-tool.1%{?ext_man}
%{_mandir}/man1/gtk4-node-editor.1%{?ext_man}
%{_mandir}/man1/gtk4-path-tool.1%{?ext_man}
%{_mandir}/man1/gtk4-rendernode-tool.1%{?ext_man}