From eaacaa46a7e7832cd2764de3a5d68813082226c4 Mon Sep 17 00:00:00 2001 From: Dan Yeaw Date: Sun, 11 Aug 2024 12:37:01 -0400 Subject: [PATCH 1/2] Fix GTK4 icon and text corruption --- gvsbuild/patches/gtk4/0001-ngl-icon-drawing-fix.patch | 11 +++++++++++ gvsbuild/projects/gtk.py | 1 + 2 files changed, 12 insertions(+) create mode 100644 gvsbuild/patches/gtk4/0001-ngl-icon-drawing-fix.patch diff --git a/gvsbuild/patches/gtk4/0001-ngl-icon-drawing-fix.patch b/gvsbuild/patches/gtk4/0001-ngl-icon-drawing-fix.patch new file mode 100644 index 000000000..2ed6ddf2b --- /dev/null +++ b/gvsbuild/patches/gtk4/0001-ngl-icon-drawing-fix.patch @@ -0,0 +1,11 @@ +--- gtk-4.14.1/gsk/gpu/shaders/common-gl.glsl.orig 2024-03-17 01:52:15.000000000 +0100 ++++ gtk-4.14.1/gsk/gpu/shaders/common-gl.glsl 2024-03-29 12:55:20.259693400 +0100 +@@ -91,7 +91,7 @@ + #define gsk_get_int(id) (floatBitsToInt(gsk_get_float(id))) + #define gsk_get_uint(id) (floatBitsToUint(gsk_get_float(id))) + +-#if __VERSION__ < 400 || defined(GSK_GLES) ++#if 1 + + vec4 + gsk_texture (uint id, diff --git a/gvsbuild/projects/gtk.py b/gvsbuild/projects/gtk.py index 4851fec0b..7f79bd559 100644 --- a/gvsbuild/projects/gtk.py +++ b/gvsbuild/projects/gtk.py @@ -138,6 +138,7 @@ def __init__(self): "glib", "fribidi", ], + patches=["0001-ngl-icon-drawing-fix.patch"], ) if self.opts.enable_gi: self.add_dependency("gobject-introspection") From 6b58ea486f0f8d15d434850ebf42cbf328886279 Mon Sep 17 00:00:00 2001 From: Dan Yeaw Date: Sun, 11 Aug 2024 13:05:37 -0400 Subject: [PATCH 2/2] Bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8f2ed003a..0c4bd03c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "gvsbuild" -version = "2024.8.0" +version = "2024.8.1" description = "GTK stack for Windows" authors = ["Ignacio Casal Quinteiro ", "Dan Yeaw "] license = "GPL-2.0-only"