<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/378b7274634aa891cf0a1f7ae40f8dc6e79ca721">https://github.com/macports/macports-ports/commit/378b7274634aa891cf0a1f7ae40f8dc6e79ca721</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 378b7274634 gtk3*: quartz: don't require CoreGraphics for 10.7 and earlier See: https://trac.macports.org/ticket/67408#comment:10
</span>378b7274634 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 378b7274634aa891cf0a1f7ae40f8dc6e79ca721
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Wed May 17 09:00:14 2023 -0400

<span style='display:block; white-space:pre;color:#404040;'>    gtk3*: quartz: don't require CoreGraphics for 10.7 and earlier
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/67408#comment:10
</span>---
 gnome/gtk3-devel/Portfile                                     |  6 ++++++
 gnome/gtk3-devel/files/patch-quartz-disable-coregraphics.diff | 11 +++++++++++
 gnome/gtk3/Portfile                                           |  6 ++++++
 gnome/gtk3/files/patch-quartz-disable-coregraphics.diff       | 11 +++++++++++
 4 files changed, 34 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk3-devel/Portfile b/gnome/gtk3-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7943a8457a6..a5eb39305cd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk3-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk3-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -156,6 +156,12 @@ platform darwin {
</span>             patchfiles-append   patch-gdk_quartz_gdkcursor-quartz-10_6_compat.diff
         }
     }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.major} <= 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # Drop linking to 'CoreGraphics', not available for 10.7 and earlier
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        patchfiles-append patch-quartz-disable-coregraphics.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     if {${os.major} <= 12} {
         # requires cups 1.7
         configure.args-append \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk3-devel/files/patch-quartz-disable-coregraphics.diff b/gnome/gtk3-devel/files/patch-quartz-disable-coregraphics.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f078abd40b7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk3-devel/files/patch-quartz-disable-coregraphics.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- meson.build.orig       2023-05-17 08:34:45.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ meson.build    2023-05-17 08:35:10.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -650,7 +650,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if quartz_enabled
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  pc_gdk_extra_libs += ['-Wl,-framework,Cocoa', '-Wl,-framework,Carbon', '-Wl,-framework,CoreGraphics']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  pc_gdk_extra_libs += ['-Wl,-framework,Cocoa', '-Wl,-framework,Carbon']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   backend_immodules += ['quartz']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   cdata.set('QUARTZ_RELOCATION', 1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk3/Portfile b/gnome/gtk3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 03533f19546..0667eb0654d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -156,6 +156,12 @@ platform darwin {
</span>             patchfiles-append   patch-gdk_quartz_gdkcursor-quartz-10_6_compat.diff
         }
     }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.major} <= 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # Drop linking to 'CoreGraphics', not available for 10.7 and earlier
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        patchfiles-append patch-quartz-disable-coregraphics.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     if {${os.major} <= 12} {
         # requires cups 1.7
         configure.args-append \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk3/files/patch-quartz-disable-coregraphics.diff b/gnome/gtk3/files/patch-quartz-disable-coregraphics.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f078abd40b7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk3/files/patch-quartz-disable-coregraphics.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- meson.build.orig       2023-05-17 08:34:45.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ meson.build    2023-05-17 08:35:10.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -650,7 +650,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if quartz_enabled
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  pc_gdk_extra_libs += ['-Wl,-framework,Cocoa', '-Wl,-framework,Carbon', '-Wl,-framework,CoreGraphics']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  pc_gdk_extra_libs += ['-Wl,-framework,Cocoa', '-Wl,-framework,Carbon']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   backend_immodules += ['quartz']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   cdata.set('QUARTZ_RELOCATION', 1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span></pre><pre style='margin:0'>

</pre>