<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b55e21164126d3144b8e9a405f61c822c101b5c9">https://github.com/macports/macports-ports/commit/b55e21164126d3144b8e9a405f61c822c101b5c9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b55e21164126d3144b8e9a405f61c822c101b5c9
</span>Author: Marcus Calhoun-Lopez <marcuscalhounlopez@gmail.com>
AuthorDate: Thu Sep 28 03:28:41 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> qt5 PG: change name qt5.using_kde->qt5.kde_variant
</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/53777
</span>---
_resources/port1.0/group/qt5-1.0.tcl | 15 ++++++++-------
audio/phonon/Portfile | 10 ++--------
kde/qtcurve/Portfile | 6 +-----
3 files changed, 11 insertions(+), 20 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/qt5-1.0.tcl b/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index d7c580d..06dfb6d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,7 +34,7 @@
</span> # Usage:
# PortGroup qt5 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-options qt5.using_kde qt5.base_version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+options qt5.base_version
</span>
global available_qt_versions
array set available_qt_versions {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -141,11 +141,9 @@ proc qt5.get_default_name {} {
</span> global qt_name
if { [info exists qt_name] } {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default qt5.using_kde no
</span> default qt5.base_version ${qt_name}
} else {
set qt_name [qt5.get_default_name]
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default qt5.using_kde no
</span> default qt5.base_version {[qt5.get_default_name]}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -550,6 +548,9 @@ proc qt5.depends_build_component {args} {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+options qt5.kde_variant
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default qt5.kde_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # no universal binary support in Qt 5
# see http://lists.qt-project.org/pipermail/interest/2012-December/005038.html
# and https://bugreports.qt.io/browse/QTBUG-24952
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -657,12 +658,12 @@ if {![info exists building_qt5]} {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# add qt5kde variant if one does not exist and one is requested via qt5.using_kde
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# variant is added in eval_variants so that qt5.using_kde can be set anywhere in the Portfile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# add qt5kde variant if one does not exist and one is requested via qt5.kde_variant
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# variant is added in eval_variants so that qt5.kde_variant can be set anywhere in the Portfile
</span> rename ::eval_variants ::real_qt5_eval_variants
proc eval_variants {variations} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- global qt5.using_kde
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ![variant_exists qt5kde] && [tbool qt5.using_kde] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global qt5.kde_variant
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ![variant_exists qt5kde] && [tbool qt5.kde_variant] } {
</span> variant qt5kde description {use Qt patched for KDE compatibility} {}
}
uplevel ::real_qt5_eval_variants $variations
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/phonon/Portfile b/audio/phonon/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 62d2aa0..885dedc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/phonon/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/phonon/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,14 +27,8 @@ subport ${name}-qt5 {
</span> framework for the application developer. This is the Phonon 4\
transitional library for Qt5 (API compatible with regular Phonon4)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# If and when port:qt5-kde is committed we can add the following
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# dependencies in a more elegant fashion, using
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# qt5.depends_component \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# qtdeclarative qttools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![info exists qt5.using_kde] || !${qt5.using_kde}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:qt5-qtdeclarative port:qt5-qttools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.depends_component \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtdeclarative qttools
</span>
depends_build-append port:kde-extra-cmake-modules
configure.args-append -DPHONON_BUILD_PHONON4QT5:BOOL=ON
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/kde/qtcurve/Portfile b/kde/qtcurve/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a9a4e14..7355c5d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/kde/qtcurve/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/kde/qtcurve/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -198,11 +198,7 @@ if {(${subport} ne "${name}-gtk2") && (${subport} ne "${name}-extra")} {
</span> cmake.install_rpath-prepend \
${qt_libs_dir}
configure.args-append -DQTC_QT5_ENABLE_KDE:BOOL=OFF
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # if and when port:qt5-kde is committed we can add the QtSvg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # dependency in a more elegant fashion, using qt5.depends_components.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![info exists qt5.using_kde] || !${qt5.using_kde}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:qt5-qtsvg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.depends_component qtsvg
</span> }
# CMake will look for automoc4, but will of course not use it.
</pre><pre style='margin:0'>
</pre>