Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Tue, 21 Mar 2023 19:43:56 UTC Commit: 7e9ec224d514717a492370449289fdca9c2ede22 https://github.com/geany/geany-osx/commit/7e9ec224d514717a492370449289fdca9c...
Log Message: ----------- Update to latest cairo version
Modified Paths: -------------- modulesets-stable/gtk-osx.modules patches/cairo-1.17.6-snapshot-memory-leak.patch
Modified: modulesets-stable/gtk-osx.modules 8 lines changed, 3 insertions(+), 5 deletions(-) =================================================================== @@ -196,12 +196,10 @@ they are both built into cairo. --> <meson id="cairo"> - <branch module="1.17.6/cairo-1.17.6.tar.bz2" - version="1.17.6" - hash="sha256:90496d135c9ef7612c98f8ee358390cdec0825534573778a896ea021155599d2" + <branch module="1.17.8/cairo-1.17.8.tar.bz2" + version="1.17.8" + hash="sha256:ead4724423eb969f98b456fe1e3ee1e1741fe1c8dfb1a41ca12afa81a6c1665f" repo="cairographics-temp"> - <patch file="cairo-1.17.6-snapshot-memory-leak.patch" - strip="1" /> </branch> <dependencies> <dep package="pixman" />
Modified: patches/cairo-1.17.6-snapshot-memory-leak.patch 27 lines changed, 0 insertions(+), 27 deletions(-) =================================================================== @@ -1,27 +0,0 @@ -From 243938c61a08dac8911153352e55933e0618581e Mon Sep 17 00:00:00 2001 -From: John Ralls jralls@ceridwen.us -Date: Sat, 23 Apr 2022 16:38:01 -0700 -Subject: [PATCH] [quartz] Destroy local copy of snapshot after attaching it. - -Because cairo_surface_snapshot_attach refs the snapshot. - -Fixes https://gitlab.freedesktop.org/cairo/cairo/-/issues/562 ---- - src/cairo-quartz-surface.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c -index 5681918c4..fa6d9b1c9 100644 ---- a/src/cairo-quartz-surface.c -+++ b/src/cairo-quartz-surface.c -@@ -2609,6 +2609,7 @@ _cairo_quartz_surface_snapshot_get_image (cairo_quartz_surface_t *surface) - if (unlikely (!snapshot || cairo_surface_status (snapshot))) - return NULL; - _cairo_surface_attach_snapshot (&surface->base, snapshot, NULL); -+ cairo_surface_destroy (snapshot); - } - - return CGImageRetain (((cairo_quartz_snapshot_t*)snapshot)->image); --- -2.32.0 (Apple Git-132) -
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).