<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/d455bd0a8b50adbae57ba8ca7625942181cb4b27">https://github.com/macports/macports-ports/commit/d455bd0a8b50adbae57ba8ca7625942181cb4b27</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d455bd0a8b50adbae57ba8ca7625942181cb4b27
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Thu Jan 4 20:13:02 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> CsoundQt: use fixed version from upstream for Qt4
</span>---
aqua/CsoundQt/Portfile | 18 +++++++-----
aqua/CsoundQt/files/patch-qt4-compat.diff | 47 -------------------------------
2 files changed, 11 insertions(+), 54 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/CsoundQt/Portfile b/aqua/CsoundQt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e8169f675af..acc17da7845 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/CsoundQt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/CsoundQt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,16 +7,20 @@ PortGroup active_variants 1.1
</span> if {${os.platform} eq "darwin" && ${os.major} < 11} {
PortGroup qmake 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See: https://github.com/CsoundQt/CsoundQt/issues/393
</span> github.setup CsoundQt CsoundQt 0.9.7
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 de2e910e66ae1f9290091b11168a5a6515c183f8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c12242d4e1f745ac2c1ae23d1ef72661d68cb51baf110c17140deb1c994cfa1f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 66170886
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 a7fbcf9b68c4ddba3eb7d30766d1545a113f7cbe \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6f82998cbbc212d488179e68f6463a98b102e83061e3e47b5761f15f94d9028d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 67231374
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.tarball_from releases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${name}-qt4-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_zip yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ worksrcdir ${name}-qt4
</span>
patchfiles-append patch-qcs-macx.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-fix-includes.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-qt4-compat.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-fix-includes.diff
</span> } else {
PortGroup qmake5 1.0
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/CsoundQt/files/patch-qt4-compat.diff b/aqua/CsoundQt/files/patch-qt4-compat.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 8d92f33392b..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/CsoundQt/files/patch-qt4-compat.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,47 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Reverts a broken commit: https://github.com/CsoundQt/CsoundQt/commit/9da46b9e139a869416fb85568568b57392a2de43
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-And masks some corrupt code.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/qutecsound.cpp 2020-01-16
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/qutecsound.cpp 2023-12-31
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -5665,21 +5665,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- QListWidgetItem *item = list->currentItem();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (!item) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- qDebug() << "Empty list. Create empty score file";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- QString companion = "";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if (documentPages[curPage]->getFileName().endsWith(".orc")) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- // create an empty score file to run the orchestra scorelessly
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#ifdef USE_QT5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- companion = QStandardPaths::writableLocation(QStandardPaths::TempLocation) + "/empty.sco"; // QT >5.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- QFile f(companion); // does it create it here
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- companion = QDesktopServices::storageLocation(QDesktopServices::TempLocation) + "/empty.sco";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- f.open(QIODevice::ReadWrite | QIODevice::Text);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- f.close();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- qDebug() << "Created empty score file as companion: " << companion;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- documentPages[curPage]->setCompanionFileName(companion);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ documentPages[curPage]->setCompanionFileName("");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- QString itemText = item->text();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/qutewidget.cpp 2020-01-16
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/qutewidget.cpp 2023-12-31
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -311,10 +311,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- menu.addSeparator();
</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:#ffe0e0;'>-- if (acceptsMidi()) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- menu.addAction(tr("Midi learn"), this, &QuteWidget::openMidiDialog ); //midi learn act
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- menu.addSeparator();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+// The following code is broken, no matching function available.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+// if (acceptsMidi()) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+// menu.addAction(tr("Midi learn"), this, &QuteWidget::openMidiDialog ); //midi learn act
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+// menu.addSeparator();
</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:#ffe0e0;'>- QList<QAction *> actionList = getParentActionList();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>