<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c56ba0bc687f44ad6ca2a35608d1daa3cab135cb">https://github.com/macports/macports-ports/commit/c56ba0bc687f44ad6ca2a35608d1daa3cab135cb</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c56ba0bc687f44ad6ca2a35608d1daa3cab135cb
</span>Author: Ken Cunningham <ken.cunningham.webuse@gmail.com>
AuthorDate: Wed Jun 10 19:21:14 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> gedit: add app bundle
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> make explicit x11 and quartz variants
</span><span style='display:block; white-space:pre;color:#404040;'> the app PG requires the x11 variant to be
</span><span style='display:block; white-space:pre;color:#404040;'> specified to know when to hide the dock icon
</span>---
gnome/gedit/Portfile | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gedit/Portfile b/gnome/gedit/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 38ebb99ab7d..9e78f28d69f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gedit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gedit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,6 +3,7 @@
</span> PortSystem 1.0
PortGroup active_variants 1.1
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup app 1.0
</span> PortGroup meson 1.0
name gedit
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,7 +57,6 @@ variant python35 conflicts python36 python37 description {Use python 3.5} {
</span> configure.python ${prefix}/bin/python3.5
set python_framework ${frameworks_dir}/Python.framework/Versions/3.5
configure.pkg_config_path ${python_framework}/lib/pkgconfig
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# configure.args-replace --disable-python --enable-python
</span> }
variant python36 conflicts python35 python37 description {Use python 3.6} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,7 +64,6 @@ variant python36 conflicts python35 python37 description {Use python 3.6} {
</span> configure.python ${prefix}/bin/python3.6
set python_framework ${frameworks_dir}/Python.framework/Versions/3.6
configure.pkg_config_path ${python_framework}/lib/pkgconfig
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# configure.args-replace --disable-python --enable-python
</span> }
variant python37 conflicts python35 python36 description {Use python 3.7} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,24 +71,29 @@ variant python37 conflicts python35 python36 description {Use python 3.7} {
</span> configure.python ${prefix}/bin/python3.7
set python_framework ${frameworks_dir}/Python.framework/Versions/3.7
configure.pkg_config_path ${python_framework}/lib/pkgconfig
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# configure.args-replace --disable-python --enable-python
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant quartz {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[variant_isset quartz]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- require_active_variants gtk3 quartz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gtk-osx-application-gtk3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant x11 conflicts quartz {
</span> require_active_variants gtk3 x11
depends_run-append port:yelp
patchfiles-append patch-meson-darwin-dont-assume-quartz.diff
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant quartz conflicts x11 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants gtk3 quartz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:gtk-osx-application-gtk3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset quartz]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +x11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {![variant_isset python35] && ![variant_isset python37]} {
default_variants +python36
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+app.icon ./logo.png
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> notes "For extra functionality install gedit-plugins"
post-activate {
</pre><pre style='margin:0'>
</pre>