Skip to content

Commit d3ae54c

Browse files
committed
Update modulesets.
1 parent 0b0b350 commit d3ae54c

File tree

5 files changed

+41
-10
lines changed

5 files changed

+41
-10
lines changed

modulesets/gtk-osx-network.modules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
USE_WOFF2: Requires Woff2. No module for this
275275
USE_WPE_RENDERER: For embedded systems, not Macs. -->
276276
<cmake id="webkit2gtk3"
277-
cmakeargs='-DPORT=GTK -DENABLE_X11_TARGET=OFF -DENABLE_QUARTZ_TARGET=ON -DENABLE_MINIBROWSER=ON -DENABLE_INTROSPECTION=ON -DUSE_SYSTEMD=OFF -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF -DENABLE_GEOLOCATION=OFF -DUSE_LIBNOTIFY=OFF -DUSE_LIBHYPHEN=OFF -DUSE_LIBSECRET=OFF -DENABLE_TOUCH_EVENTS=OFF -DUSE_OPENJPEG=OFF -DUSE_WOFF2=OFF -DUSE_WPE_RENDERER=OFF -DENABLE_GRAPHICS_CONTEXT_GL=OFF -DENABLE_GAMEPAD=OFF -DUSE_APPLE_ICU=NO -DCMAKE_CXX_FLAGS="-stdlib=libc++ -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-deprecated-copy" -DCMAKE_MACOSX_RPATH=OFF -DCMAKE_INSTALL_NAME_DIR="${JHBUILD_PREFIX}/lib"'>
277+
cmakeargs='-DPORT=GTK -DENABLE_X11_TARGET=OFF -DENABLE_QUARTZ_TARGET=ON -DENABLE_MINIBROWSER=ON -DENABLE_INTROSPECTION=ON -DUSE_SYSTEMD=OFF -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF -DENABLE_GEOLOCATION=OFF -DUSE_LIBNOTIFY=OFF -DUSE_LIBHYPHEN=OFF -DUSE_LIBSECRET=OFF -DENABLE_TOUCH_EVENTS=OFF -DUSE_OPENJPEG=OFF -DUSE_WOFF2=OFF -DUSE_WPE_RENDERER=OFF -DENABLE_GRAPHICS_CONTEXT_GL=OFF -DENABLE_GAMEPAD=OFF -DUSE_APPLE_ICU=NO -DCMAKE_CXX_FLAGS="-stdlib=libc++ -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-deprecated-copy -Wno-missing-template-arg-list-after-template-kw" -DCMAKE_MACOSX_RPATH=OFF -DCMAKE_INSTALL_NAME_DIR="${JHBUILD_PREFIX}/lib"'>
278278
<branch module="webkitgtk-2.32.0.tar.xz"
279279
version="2.32.0"
280280
hash="sha256:9d7df4dae9ada2394257565acc2a68ace9308c4c61c3fcc00111dc1f11076bf0"

modulesets/gtk-osx.modules

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,7 @@
282282
version="3.24.48"
283283
hash="sha256:d10ce9ea9df44c1016d8d1721f39e55d3d607fcfb85334aec0d236cdc9a70556">
284284
<patch file="gtk-3.24.48-check-all-dnd-windows.patch" strip="1" />
285-
<!-- This patch causes issues with resizing windows. Maybe they're not so redundant.
286-
patch file="gtk-3.24.48-remove-redundant-NSView-calls.patch" strip="1" / -->
285+
<patch file="gtk-3.24.48-fix-context-menus-non-Retina.patch" strip="1" />
287286
<patch file="gtk-3.24.48-fix-leaking-cairo-surface.patch" strip="1" />
288287
<patch file="gtk-3.24.48-GtkNotebook-drag-operation-failed.patch" strip="1" />
289288
</branch>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
From ae49ae3f657dc0086eca8873213cf9dcee953ab8 Mon Sep 17 00:00:00 2001
2+
From: John Ralls <[email protected]>
3+
Date: Thu, 12 Jun 2025 16:06:02 -0700
4+
Subject: [PATCH] [Quartz] Set the view's frame in a move for temp windows.
5+
6+
Temp windows (context menus mostly) are created at 0,0 then moved to the
7+
pointer location. When the move is from a Retina to a non-Retina monitor
8+
the view needs to be redrawn at the new scale, but macOS doesn't recognize
9+
that and the menu ends up truncated. Setting the frame on the view forces
10+
the redraw.
11+
12+
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/7598
13+
---
14+
gdk/quartz/gdkwindow-quartz.c | 4 ++++
15+
1 file changed, 4 insertions(+)
16+
17+
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
18+
index 9a6aea9c6f..08e47dd089 100644
19+
--- a/gdk/quartz/gdkwindow-quartz.c
20+
+++ b/gdk/quartz/gdkwindow-quartz.c
21+
@@ -1393,6 +1393,10 @@ move_resize_window_internal (GdkWindow *window,
22+
23+
frame_rect = [impl->toplevel frameRectForContentRect:content_rect];
24+
[impl->toplevel setFrame:frame_rect display:YES];
25+
+
26+
+ if (window->window_type == GDK_WINDOW_TEMP)
27+
+ [impl->view setFrame:content_rect];
28+
+
29+
impl->cairo_surface = gdk_quartz_ref_cairo_surface (window);
30+
cairo_surface_destroy (impl->cairo_surface); // Remove the extra reference
31+
}
32+
--
33+
2.39.5 (Apple Git-154)
34+

modulesets/upstream-ref

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
commit 881d9778f91ebae028feb01a42571330fd88d2fc
1+
commit 60b034689933384a3b6d6a45560b64a43f442f6e
22
Author: John Ralls <[email protected]>
3-
Date: Tue May 13 09:17:34 2025 -0700
3+
Date: Thu Jun 12 16:39:45 2025 -0700
44

5-
Disable new gdk-pixbuf dependency glycin.
6-
7-
According to glycin's README.md it is Linux-only.
5+
New error suppression flags for webkit on SDK15.5.

pins.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# https://gitlab.gnome.org/GNOME/gtk-osx/-/commits/master
2-
# use latest commit (2025-05-13)
3-
PIN_GTK_OSX_COMMIT='881d9778'
2+
# use latest commit (2025-06-12)
3+
PIN_GTK_OSX_COMMIT='60b03468'
44

55
# https://gitlab.gnome.org/GNOME/gtk-mac-bundler/-/commits/master
66
# use latest commit (2025-03-20)

0 commit comments

Comments
 (0)