Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GTK4 icon and text corruption #1408

Merged
merged 2 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions gvsbuild/patches/gtk4/0001-ngl-icon-drawing-fix.patch
Original file line number Diff line number Diff line change
@@ -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,
1 change: 1 addition & 0 deletions gvsbuild/projects/gtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <qignacio@amazon.com>", "Dan Yeaw <dan@yeaw.me>"]
license = "GPL-2.0-only"
Expand Down