<pre style='margin:0'>
Aaron Madlon-Kay (amake) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/755f4aecf0420412523b9600c3e51d635b56e763">https://github.com/macports/macports-ports/commit/755f4aecf0420412523b9600c3e51d635b56e763</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 755f4aecf04 qcachegrind: update to 20.08.1, Qt5
</span>755f4aecf04 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 755f4aecf0420412523b9600c3e51d635b56e763
</span>Author: Aaron Madlon-Kay <amake@macports.org>
AuthorDate: Thu Sep 17 17:53:51 2020 +0900

<span style='display:block; white-space:pre;color:#404040;'>    qcachegrind: update to 20.08.1, Qt5
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    - Add missing license
</span><span style='display:block; white-space:pre;color:#404040;'>    - Fix graphviz integration
</span>---
 devel/qcachegrind/Portfile                         | 38 ++++++++++----------
 .../0001-Fix-shell-invocations-for-MacPorts.patch  | 42 ++++++++++++++++++++++
 2 files changed, 61 insertions(+), 19 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/qcachegrind/Portfile b/devel/qcachegrind/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 747cf6e2c75..1b69f976a08 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/qcachegrind/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/qcachegrind/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,39 +1,39 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 
 PortSystem          1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup           qt4 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           github 1.0
</span> 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup        KDE kcachegrind 20.08.1 v
</span> name                qcachegrind
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version             0.7.4
</span> categories          devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms           macosx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms           darwin
</span> maintainers         m4x.org:frederic.devernay
<span style='display:block; white-space:pre;background:#e0ffe0;'>+license             GPL-2
</span> 
 description         Callgrind profile data visualization
 
 long_description    ${description}
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage            http://kcachegrind.sourceforge.net/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites        http://kcachegrind.sourceforge.net/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname            kcachegrind-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.suffix      .tar.gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage            https://kcachegrind.github.io/html/Home.html
</span> 
 checksums \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    rmd160 a7d0ca0677e455720ad876e449cc7a003183d44d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    sha256 0bf6efb647d500bf09bbbab617d30a8a2a0a2cbf87fd1f2a1375d774c005b379
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib         port:qt4-mac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    rmd160  af03f33b85957ea81c340c229dc0e08611013062 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    sha256  1510710e0d58bf9c87460d53539bb485d8fbfb4adf3ad0a824ae33c97c69ff46 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    size    353614
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant   no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run         port:graphviz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          0001-Fix-shell-invocations-for-MacPorts.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patch.args          -p1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace -W ${worksrcpath} "s|@@PREFIX@@|${prefix}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        qcachegrind/qcgtoplevel.cpp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        libviews/callgraphview.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> 
 destroot {
     copy ${worksrcpath}/qcachegrind/qcachegrind.app \
          ${destroot}${applications_dir}
 }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cmd       {qmake}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.pre_args  INSTALLBASE="${prefix}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type      sourceforge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.name      kcachegrind
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex     "kcachegrind-(\[0-9\](\.\[0-9\]){1,2})"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/qcachegrind/files/0001-Fix-shell-invocations-for-MacPorts.patch b/devel/qcachegrind/files/0001-Fix-shell-invocations-for-MacPorts.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..645d8b5789d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/qcachegrind/files/0001-Fix-shell-invocations-for-MacPorts.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,42 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 2e2b1f4241a92d11e99b39b4c514173df3b2dcd4 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Aaron Madlon-Kay <aaron@wovn.io>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Fri, 18 Sep 2020 09:16:48 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Fix shell invocations for MacPorts
</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;'>+ libviews/callgraphview.cpp  | 4 ++--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qcachegrind/qcgtoplevel.cpp | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2 files changed, 3 insertions(+), 3 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/libviews/callgraphview.cpp b/libviews/callgraphview.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 2f3c25f..be6d683 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/libviews/callgraphview.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/libviews/callgraphview.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2069,9 +2069,9 @@ void CallGraphView::refresh()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     QString renderProgram;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     QStringList renderArgs;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     if (_layout == GraphOptions::Circular)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-        renderProgram = QStringLiteral("twopi");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++        renderProgram = QStringLiteral("@@PREFIX@@/bin/twopi");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-        renderProgram = QStringLiteral("dot");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++        renderProgram = QStringLiteral("@@PREFIX@@/bin/dot");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     renderArgs << QStringLiteral("-Tplain");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     _unparsedOutput = QString();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/qcachegrind/qcgtoplevel.cpp b/qcachegrind/qcgtoplevel.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 5c60ae7..1f61b37 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/qcachegrind/qcgtoplevel.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/qcachegrind/qcgtoplevel.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -904,7 +904,7 @@ void QCGTopLevel::exportGraph()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef Q_OS_UNIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     // shell commands only work in UNIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    QString cmd = QStringLiteral("(dot %1 -Tps > %2.ps; xdg-open %3.ps)&")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    QString cmd = QStringLiteral("(@@PREFIX@@/bin/dot %1 -Tps > %2.ps; open %3.ps)&")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                   .arg(n).arg(n).arg(n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     if (::system(QFile::encodeName( cmd ))<0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         qDebug() << "QCGTopLevel::exportGraph: can not run " << cmd;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-- 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.28.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>

</pre>