<pre style='margin:0'>
Chih-Hsuan Yen (yan12125) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/122121bd03a7eb61708cca69e7525ada02ee8db4">https://github.com/macports/macports-ports/commit/122121bd03a7eb61708cca69e7525ada02ee8db4</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 122121b  xorg-{xcb-proto,libxcb}: add notes about Python dependencies
</span>122121b is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 122121bd03a7eb61708cca69e7525ada02ee8db4
</span>Author: Chih-Hsuan Yen <yan12125@gmail.com>
AuthorDate: Sat Aug 3 22:40:26 2019 +0800

<span style='display:block; white-space:pre;color:#404040;'>    xorg-{xcb-proto,libxcb}: add notes about Python dependencies
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    See discussions in my previous commits [1][2].
</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/ae53b6b0f446bfb57eeedaa778c3895974c0a665
</span><span style='display:block; white-space:pre;color:#404040;'>    [2] https://github.com/macports/macports-ports/commit/ebf645f6789d57183fef6a525cff1a31e19349aa
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/58727
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/58582
</span>---
 x11/xorg-libxcb/Portfile    | 8 ++++++++
 x11/xorg-xcb-proto/Portfile | 7 +++++++
 2 files changed, 15 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/xorg-libxcb/Portfile b/x11/xorg-libxcb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 53c4afc..0a4fb44 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/xorg-libxcb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/xorg-libxcb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,6 +50,14 @@ variant docs description "Install extra documentation" {
</span>         DOXYGEN=${prefix}/bin/doxygen
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# No need to use require_active_variants here. Technically, `xorg-libxcb +python37` builds fine
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# with `xorg-xcb-proto +python36` as the xcbgen module in xorg-xcb-proto is not located using
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# usual Python import mechanism. Instead, the path for xcbgen is recorded in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# `$prefix/lib/pkgconfig/xcb-proto.pc` as the pythondir variable when building xorg-xcb-proto
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# and the build system of libxcb loads xcbgen using that pkg-config variable [1].
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# [1] https://gitlab.freedesktop.org/xorg/lib/libxcb/blob/1.13.1/configure.ac#L85
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant python35 conflicts python36 python37 description {Use python 3.5} {
     depends_build-append    port:python35
     configure.python        ${prefix}/bin/python3.5
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/xorg-xcb-proto/Portfile b/x11/xorg-xcb-proto/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b874140..4f2fe5e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/xorg-xcb-proto/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/xorg-xcb-proto/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,6 +27,13 @@ use_autoreconf  yes
</span> 
 depends_run     port:libxml2
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Using depends_build instead of depends_lib for pythonXY even if there is a Python module xcbgen
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# as the xcbgen module is only used to build X bindings like libxcb or xpp [1]. It's intended for
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# neither applications nor end users. In other words, xcbgen is not needed to run applications
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# using XCB.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# [1] https://github.com/polybar/xpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant python35 conflicts python36 python37 description {Use python 3.5} {
     depends_build-append    port:python35
     configure.python        ${prefix}/bin/python3.5
</pre><pre style='margin:0'>

</pre>