<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ef0d17dd086334a9496ce2da67c728067cc50a48">https://github.com/macports/macports-ports/commit/ef0d17dd086334a9496ce2da67c728067cc50a48</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 ef0d17dd086 gtk3: Add missing build dependency on mesa
</span>ef0d17dd086 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ef0d17dd086334a9496ce2da67c728067cc50a48
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Sun Aug 11 14:56:09 2024 +0200
<span style='display:block; white-space:pre;color:#404040;'> gtk3: Add missing build dependency on mesa
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Partially reverts 4fb8088b2838539db152705c8ec612d71aa4d237.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> According to [1], this only is a problem when epoxy was configured with
</span><span style='display:block; white-space:pre;color:#404040;'> mesa present, but until somebody fixes epoxy to never add
</span><span style='display:block; white-space:pre;color:#404040;'> `Requires.private: gl` to its pkg-config file when built with +quartz,
</span><span style='display:block; white-space:pre;color:#404040;'> we must assume user systems out there have it and value build stability
</span><span style='display:block; white-space:pre;color:#404040;'> over minimal dependencies.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> [1]: https://github.com/macports/macports-ports/commit/4fb8088b2838539db152705c8ec612d71aa4d237#commitcomment-142476278
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://lists.macports.org/pipermail/macports-users/2024-August/052836.html
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/70184
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Clemens Lang <cal@macports.org>
</span>---
gnome/gtk3-devel/Portfile | 11 ++++++++++-
gnome/gtk3/Portfile | 11 ++++++++++-
2 files changed, 20 insertions(+), 2 deletions(-)
<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 9b922c4ef68..eb7ca17c04d 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;'>@@ -46,9 +46,18 @@ minimum_xcodeversions {9 3.1}
</span>
set port_ver_major [lindex [split ${version} .] 0]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# libexpoxy installs epoxy.pc, which contains `Requires.private: gl`, which is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# provided by mesa. Attempting to configure gtk3 without mesa installed causes:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# | Package gl was not found in the pkg-config search path.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# | Perhaps you should add the directory containing `gl.pc'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# | to the PKG_CONFIG_PATH environment variable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# | Package 'gl', required by 'epoxy', not found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This is also true for libexpoxy +quartz. Do not remove the mesa build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependency without testing a gtk3 +quartz build.
</span> depends_build-append \
port:gtk-doc \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- path:bin/pkg-config:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/pkg-config:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:mesa
</span>
depends_lib-append \
port:atk \
<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 4c28a35418b..22161549f47 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;'>@@ -46,9 +46,18 @@ minimum_xcodeversions {9 3.1}
</span>
set port_ver_major [lindex [split ${version} .] 0]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# libexpoxy installs epoxy.pc, which contains `Requires.private: gl`, which is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# provided by mesa. Attempting to configure gtk3 without mesa installed causes:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# | Package gl was not found in the pkg-config search path.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# | Perhaps you should add the directory containing `gl.pc'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# | to the PKG_CONFIG_PATH environment variable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# | Package 'gl', required by 'epoxy', not found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This is also true for libexpoxy +quartz. Do not remove the mesa build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependency without testing a gtk3 +quartz build.
</span> depends_build-append \
port:gtk-doc \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- path:bin/pkg-config:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/pkg-config:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:mesa
</span>
depends_lib-append \
port:atk \
</pre><pre style='margin:0'>
</pre>