* [gentoo-commits] repo/gentoo:master commit in: media-radio/wsjtx_improved/, media-radio/wsjtx_improved/files/
@ 2025-05-27 10:31 Thomas Beierlein
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Beierlein @ 2025-05-27 10:31 UTC (permalink / raw
To: gentoo-commits
commit: 099f9640690fcd3402ce065ae1ff0062d9eeab76
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Tue May 27 10:07:15 2025 +0000
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Tue May 27 10:31:00 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=099f9640
media-radio/wsjtx_improved: new package, add 2.8.0
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
media-radio/wsjtx_improved/Manifest | 1 +
.../wsjtx_improved/files/wsjtx-2.2.0-werror.patch | 11 ++++
.../files/wsjtx-2.3.0-drop-docs.patch | 33 ++++++++++
media-radio/wsjtx_improved/files/wsjtx-clang.patch | 20 ++++++
.../wsjtx_improved/files/wsjtx-fix-sound-dir.patch | 66 +++++++++++++++++++
media-radio/wsjtx_improved/metadata.xml | 15 +++++
.../wsjtx_improved/wsjtx_improved-2.8.0.ebuild | 74 ++++++++++++++++++++++
7 files changed, 220 insertions(+)
diff --git a/media-radio/wsjtx_improved/Manifest b/media-radio/wsjtx_improved/Manifest
new file mode 100644
index 000000000000..dfd7f50aec29
--- /dev/null
+++ b/media-radio/wsjtx_improved/Manifest
@@ -0,0 +1 @@
+DIST wsjtx-2.8.0_improved_PLUS_250501_qt6.tgz 32956533 BLAKE2B d74f7daa52b1e950f12ee45c46d4e0f92b9e177a8e67156adb5961c44f1e7cf78fb25d5b1615cb446b5855f0c2af6fe17320b16a85e2e9f6cc0860f66bb853cd SHA512 ec9c9415c070da39251862dc4bf07d75c42d1c1e0ad76075a045b34966148aa423a596886ca6ae7d6a8c5621ab9f8dbeae0478b692b4a361d6aaf10b2f8ebafa
diff --git a/media-radio/wsjtx_improved/files/wsjtx-2.2.0-werror.patch b/media-radio/wsjtx_improved/files/wsjtx-2.2.0-werror.patch
new file mode 100644
index 000000000000..dcde5b18a07a
--- /dev/null
+++ b/media-radio/wsjtx_improved/files/wsjtx-2.2.0-werror.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt 2020-07-09 12:52:57.776437846 +0200
++++ b/CMakeLists.txt 2020-07-09 12:53:16.607083283 +0200
+@@ -921,7 +921,7 @@
+ #
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
+
+-set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall -Wextra -fexceptions -frtti")
++set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -fexceptions -frtti")
+
+ if (NOT APPLE)
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-pragmas")
diff --git a/media-radio/wsjtx_improved/files/wsjtx-2.3.0-drop-docs.patch b/media-radio/wsjtx_improved/files/wsjtx-2.3.0-drop-docs.patch
new file mode 100644
index 000000000000..3654fda2f8f1
--- /dev/null
+++ b/media-radio/wsjtx_improved/files/wsjtx-2.3.0-drop-docs.patch
@@ -0,0 +1,33 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f92d3a6..c5fb9b4 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1497,10 +1497,6 @@ if (UNIX)
+ add_subdirectory (manpages)
+ add_dependencies (wsjtx manpages)
+ endif (NOT WSJT_SKIP_MANPAGES)
+- if (NOT APPLE)
+- add_subdirectory (debian)
+- add_dependencies (wsjtx debian)
+- endif (NOT APPLE)
+ endif (UNIX)
+
+ #
+@@ -1567,17 +1563,6 @@ install (PROGRAMS
+ RENAME rigctlcom-wsjtx${CMAKE_EXECUTABLE_SUFFIX}
+ )
+
+-install (FILES
+- README
+- COPYING
+- AUTHORS
+- THANKS
+- NEWS
+- BUGS
+- DESTINATION ${CMAKE_INSTALL_DOCDIR}
+- #COMPONENT runtime
+- )
+-
+ install (FILES
+ cty.dat
+ cty.dat_copyright.txt
diff --git a/media-radio/wsjtx_improved/files/wsjtx-clang.patch b/media-radio/wsjtx_improved/files/wsjtx-clang.patch
new file mode 100644
index 000000000000..bb6c97a538f6
--- /dev/null
+++ b/media-radio/wsjtx_improved/files/wsjtx-clang.patch
@@ -0,0 +1,20 @@
+--- a/CMakeLists.txt 2020-09-08 10:36:55.770304108 +0200
++++ b/CMakeLists.txt 2020-09-08 10:37:28.346406308 +0200
+@@ -1193,7 +1193,7 @@
+ if (OpenMP_C_FLAGS)
+ set_target_properties (wsjt_fort_omp
+ PROPERTIES
+- COMPILE_FLAGS "${OpenMP_C_FLAGS}"
++ COMPILE_FLAGS "${OpenMP_Fortran_FLAGS}"
+ )
+ endif ()
+ set_target_properties (wsjt_fort_omp
+@@ -1260,7 +1260,7 @@
+ if (OpenMP_C_FLAGS)
+ set_target_properties (jt9
+ PROPERTIES
+- COMPILE_FLAGS "${OpenMP_C_FLAGS}"
++ COMPILE_FLAGS "${OpenMP_Fortran_FLAGS}"
+ LINK_FLAGS "${OpenMP_C_FLAGS}"
+ )
+ endif ()
diff --git a/media-radio/wsjtx_improved/files/wsjtx-fix-sound-dir.patch b/media-radio/wsjtx_improved/files/wsjtx-fix-sound-dir.patch
new file mode 100644
index 000000000000..a51ec5431331
--- /dev/null
+++ b/media-radio/wsjtx_improved/files/wsjtx-fix-sound-dir.patch
@@ -0,0 +1,66 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a4d37ad..aaf771e 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1733,7 +1733,7 @@ install (DIRECTORY
+
+ install (DIRECTORY
+ ${PROJECT_SOURCE_DIR}/sounds
+- DESTINATION ${CMAKE_INSTALL_BINDIR}
++ DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}
+ #COMPONENT runtime
+ )
+
+diff --git a/widgets/displaytext.cpp b/widgets/displaytext.cpp
+index 371e7b6..66d6b23 100755
+--- a/widgets/displaytext.cpp
++++ b/widgets/displaytext.cpp
+@@ -917,7 +917,7 @@ void DisplayText::AudioAlerts()
+ {
+ if(m_config->alert_Enabled()) {
+ QAudioDevice info(QMediaDevices::defaultAudioOutput());
+- QString binPath = QCoreApplication::applicationDirPath();
++ QString binPath = "/usr/share/wsjtx";
+ QAudioFormat format;
+ format.setSampleRate(48000);
+ format.setChannelCount(1);
+diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp
+index 04aadde..8ba7b4c 100755
+--- a/widgets/mainwindow.cpp
++++ b/widgets/mainwindow.cpp
+@@ -2963,7 +2963,7 @@ void MainWindow::fastSink(qint64 frames)
+ QTimer::singleShot (100, [=] { // UR delete for versions without alerts
+ if ((m_config.alert_Enabled()) && (m_config.alert_DXcall()) && (play_DXcall) && (m_hisCall!="")) {
+ QAudioDevice info(QMediaDevices::defaultAudioOutput());
+- QString binPath = QCoreApplication::applicationDirPath();
++ QString binPath = "/usr/share/wsjtx";
+ QAudioFormat format;
+ format.setSampleRate(48000);
+ format.setChannelCount(1);
+@@ -6475,7 +6475,7 @@ void MainWindow::readFromStdout() //readFromStdout
+ QTimer::singleShot (100, [=] { // UR delete for versions without alerts
+ if (m_config.alert_Enabled() && m_config.alert_DXcall() && play_DXcall && m_hisCall!="") {
+ QAudioDevice info(QMediaDevices::defaultAudioOutput());
+- QString binPath = QCoreApplication::applicationDirPath();
++ QString binPath = "/usr/share/wsjtx";
+ QAudioFormat format;
+ format.setSampleRate(48000);
+ format.setChannelCount(1);
+@@ -9549,7 +9549,7 @@ void MainWindow::mousePressEvent(QMouseEvent *event) // mouse press events
+ // Testing the default audio device
+ if (ui->pbBandHopping->hasFocus() && event->button() & Qt::RightButton) {
+ QAudioDevice info(QMediaDevices::defaultAudioOutput());
+- QString binPath = QCoreApplication::applicationDirPath();
++ QString binPath = "/usr/share/wsjtx";
+ QAudioFormat format;
+ format.setSampleRate(48000);
+ format.setChannelCount(1);
+@@ -15768,7 +15768,7 @@ void MainWindow::remove_old_files(const QString &directoryPath, int daysOld)
+ void MainWindow::alertQSYmessage ()
+ {
+ QAudioDevice info(QMediaDevices::defaultAudioOutput());
+- QString binPath = QCoreApplication::applicationDirPath();
++ QString binPath = "/usr/share/wsjtx";
+ QAudioFormat format;
+ format.setSampleRate(48000);
+ format.setChannelCount(1);
diff --git a/media-radio/wsjtx_improved/metadata.xml b/media-radio/wsjtx_improved/metadata.xml
new file mode 100644
index 000000000000..a066d51b0a31
--- /dev/null
+++ b/media-radio/wsjtx_improved/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>tomjbe@gentoo.org</email>
+ <name>Thomas Beierlein</name>
+</maintainer>
+<maintainer type="project">
+ <email>radio@gentoo.org</email>
+ <name>Radio</name>
+</maintainer>
+<upstream>
+ <remote-id type="sourceforge">wsjt</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/media-radio/wsjtx_improved/wsjtx_improved-2.8.0.ebuild b/media-radio/wsjtx_improved/wsjtx_improved-2.8.0.ebuild
new file mode 100644
index 000000000000..6c36197e41ab
--- /dev/null
+++ b/media-radio/wsjtx_improved/wsjtx_improved-2.8.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake edos2unix flag-o-matic
+
+DESCRIPTION="Weak signal ham radio communication with improvements"
+HOMEPAGE="https://physics.princeton.edu//pulsar/K1JT/wsjtx.html"
+SRC_URI="https://downloads.sourceforge.net/wsjt-x-improved/wsjtx-${PV}_improved_PLUS_250501_qt6.tgz"
+
+S=${WORKDIR}/wsjtx
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="
+ !media-radio/wsjtx
+ dev-libs/boost:=[nls,python]
+ dev-qt/qtbase:6[concurrent,gui,network,sql,sqlite,widgets]
+ dev-qt/qtmultimedia:6
+ dev-qt/qtserialport:6
+ dev-qt/qtwebsockets:6
+ virtual/libusb:1
+ >=media-libs/hamlib-4.0:=
+ sci-libs/fftw:3.0=[threads,fortran]
+ virtual/fortran
+ app-text/asciidoc
+ doc? ( dev-ruby/asciidoctor )"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools"
+
+PATCHES=(
+ "${FILESDIR}/wsjtx-2.2.0-werror.patch"
+ "${FILESDIR}/wsjtx-2.3.0-drop-docs.patch"
+ "${FILESDIR}/wsjtx-clang.patch"
+ "${FILESDIR}/wsjtx-fix-sound-dir.patch"
+)
+
+DOCS=( AUTHORS BUGS NEWS README THANKS )
+
+src_unpack() {
+ unpack ${A}
+ unpack "${WORKDIR}/wsjtx-2.8.0/src/wsjtx.tgz"
+}
+
+src_prepare() {
+ edos2unix "${S}/message_aggregator.desktop"
+ edos2unix "${S}/wsjtx.desktop"
+ edos2unix "${S}/CMakeLists.txt"
+ sed -i -e "s/COMMAND \${GZIP_EXECUTABLE}/# COMMAND/" \
+ manpages/CMakeLists.txt || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ # fails to compile with -flto (bug #860417)
+ filter-lto
+
+ local mycmakeargs=(
+ -DWSJT_GENERATE_DOCS="$(usex doc)"
+ -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
+ )
+ append-ldflags -no-pie
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ rm "${D}"/usr/bin/rigctl{,d,com}-wsjtx || die
+ rm "${D}"/usr/share/man/man1/rigctl{,d,com}-wsjtx.1 || die
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-radio/wsjtx_improved/, media-radio/wsjtx_improved/files/
@ 2025-07-09 10:45 Thomas Beierlein
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Beierlein @ 2025-07-09 10:45 UTC (permalink / raw
To: gentoo-commits
commit: 8fbb68e1baedec6f1bd129ab2357e97987a06cfc
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 9 10:44:14 2025 +0000
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Wed Jul 9 10:44:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fbb68e1
media-radio/wsjtx_improved: Fix build with Qt-6.9.1
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
.../wsjtx_improved/files/wsjtx-2.8.0-qt691.patch | 40 ++++++++++++++++++++++
...2.8.0.ebuild => wsjtx_improved-2.8.0-r1.ebuild} | 1 +
2 files changed, 41 insertions(+)
diff --git a/media-radio/wsjtx_improved/files/wsjtx-2.8.0-qt691.patch b/media-radio/wsjtx_improved/files/wsjtx-2.8.0-qt691.patch
new file mode 100644
index 000000000000..97e7d207834c
--- /dev/null
+++ b/media-radio/wsjtx_improved/files/wsjtx-2.8.0-qt691.patch
@@ -0,0 +1,40 @@
+diff --git a/widgets/logqso.cpp b/widgets/logqso.cpp
+index 3f81b4d..eed2835 100755
+--- a/widgets/logqso.cpp
++++ b/widgets/logqso.cpp
+@@ -176,7 +176,7 @@ void LogQSO::loadSettings ()
+ QString comments_location; // load the content of comments.txt file to the comments combo box
+ QDir dataPath {QStandardPaths::writableLocation (QStandardPaths::AppDataLocation)};
+ comments_location = dataPath.exists("comments.txt") ? dataPath.absoluteFilePath("comments.txt") : m_config->data_dir ().absoluteFilePath ("comments.txt");
+- QFile file2 = {comments_location};
++ QFile file2 {comments_location};
+ QTextStream stream2(&file2);
+ if(file2.open (QIODevice::ReadOnly | QIODevice::Text)) {
+ while (!stream2.atEnd()) {
+@@ -538,7 +538,7 @@ void LogQSO::on_addButton_clicked()
+ if (m_comments_temp != "") {
+ QString comments_location = m_config->writeable_data_dir().absoluteFilePath("comments.txt");
+ if(QFileInfo::exists(m_config->writeable_data_dir().absoluteFilePath("comments.txt"))) {
+- QFile file2 = {comments_location};
++ QFile file2 {comments_location};
+ if (file2.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append)) {
+ QTextStream out(&file2);
+ out << m_comments_temp // append new line to comments.txt
+@@ -555,7 +555,7 @@ void LogQSO::on_addButton_clicked()
+ "\"comments.txt\" from your log directory");
+ }
+ } else {
+- QFile file2 = {comments_location};
++ QFile file2 {comments_location};
+ if (file2.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append)) {
+ QTextStream out(&file2);
+ out << ("\n" + m_comments_temp) // create file "comments.txt" and add a blank line
+@@ -573,7 +573,7 @@ void LogQSO::on_addButton_clicked()
+ }
+ }
+ ui->comments->clear(); // clear the comments combo box and reload updated content
+- QFile file2 = {comments_location};
++ QFile file2 {comments_location};
+ QTextStream stream2(&file2);
+ if(file2.open (QIODevice::ReadOnly | QIODevice::Text)) {
+ while (!stream2.atEnd()) {
diff --git a/media-radio/wsjtx_improved/wsjtx_improved-2.8.0.ebuild b/media-radio/wsjtx_improved/wsjtx_improved-2.8.0-r1.ebuild
similarity index 97%
rename from media-radio/wsjtx_improved/wsjtx_improved-2.8.0.ebuild
rename to media-radio/wsjtx_improved/wsjtx_improved-2.8.0-r1.ebuild
index 6c36197e41ab..5dc388325348 100644
--- a/media-radio/wsjtx_improved/wsjtx_improved-2.8.0.ebuild
+++ b/media-radio/wsjtx_improved/wsjtx_improved-2.8.0-r1.ebuild
@@ -37,6 +37,7 @@ PATCHES=(
"${FILESDIR}/wsjtx-2.3.0-drop-docs.patch"
"${FILESDIR}/wsjtx-clang.patch"
"${FILESDIR}/wsjtx-fix-sound-dir.patch"
+ "${FILESDIR}/wsjtx-2.8.0-qt691.patch"
)
DOCS=( AUTHORS BUGS NEWS README THANKS )
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-radio/wsjtx_improved/, media-radio/wsjtx_improved/files/
@ 2025-10-11 11:24 Thomas Beierlein
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Beierlein @ 2025-10-11 11:24 UTC (permalink / raw
To: gentoo-commits
commit: ba4535e1a59ba19fd62b5708e742ec9bc7d4b1c7
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 11 11:23:40 2025 +0000
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sat Oct 11 11:23:58 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba4535e1
media-radio/wsjtx_improved: add 3.0.0
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
media-radio/wsjtx_improved/Manifest | 1 +
.../files/wsjtx-3.0.0-fix-sound-dir.patch | 66 +++++++++++++++++++
.../wsjtx_improved/wsjtx_improved-3.0.0.ebuild | 76 ++++++++++++++++++++++
3 files changed, 143 insertions(+)
diff --git a/media-radio/wsjtx_improved/Manifest b/media-radio/wsjtx_improved/Manifest
index dfd7f50aec29..bc53ba114513 100644
--- a/media-radio/wsjtx_improved/Manifest
+++ b/media-radio/wsjtx_improved/Manifest
@@ -1 +1,2 @@
DIST wsjtx-2.8.0_improved_PLUS_250501_qt6.tgz 32956533 BLAKE2B d74f7daa52b1e950f12ee45c46d4e0f92b9e177a8e67156adb5961c44f1e7cf78fb25d5b1615cb446b5855f0c2af6fe17320b16a85e2e9f6cc0860f66bb853cd SHA512 ec9c9415c070da39251862dc4bf07d75c42d1c1e0ad76075a045b34966148aa423a596886ca6ae7d6a8c5621ab9f8dbeae0478b692b4a361d6aaf10b2f8ebafa
+DIST wsjtx-3.0.0_improved_PLUS_250924_qt6.tgz 35003895 BLAKE2B 6649bdac6cc390e966398a37d5854009d8b540ce951557c186803cbd81c90a0d5428f816593b22b44e73ea82f8dab6c2b91ff6581ddac87f6f90d43ec852e5db SHA512 70d34e9d6b03549d7445689709766fb2e1be50a56b3a54c405e3d489a93a72fd8038ad2d7e02ddfbca6a9794fbd3a8c3e3c914fd0bb4a5de02a12cc1311fe309
diff --git a/media-radio/wsjtx_improved/files/wsjtx-3.0.0-fix-sound-dir.patch b/media-radio/wsjtx_improved/files/wsjtx-3.0.0-fix-sound-dir.patch
new file mode 100644
index 000000000000..fe766504b6b9
--- /dev/null
+++ b/media-radio/wsjtx_improved/files/wsjtx-3.0.0-fix-sound-dir.patch
@@ -0,0 +1,66 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a4d37ad..aaf771e 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1733,7 +1733,7 @@ install (DIRECTORY
+
+ install (DIRECTORY
+ ${PROJECT_SOURCE_DIR}/sounds
+- DESTINATION ${CMAKE_INSTALL_BINDIR}
++ DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}
+ #COMPONENT runtime
+ )
+
+diff --git a/widgets/displaytext.cpp b/widgets/displaytext.cpp
+index f2f8ee1..b269261 100755
+--- a/widgets/displaytext.cpp
++++ b/widgets/displaytext.cpp
+@@ -918,7 +918,7 @@ void DisplayText::AudioAlerts()
+ {
+ if(m_config->alert_Enabled()) {
+ QAudioDevice info(QMediaDevices::defaultAudioOutput());
+- QString binPath = QCoreApplication::applicationDirPath();
++ QString binPath = "/usr/share/wsjtx";
+ QAudioFormat format;
+ format.setSampleRate(48000);
+ format.setChannelCount(1);
+diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp
+index 1536ba5..151417e 100755
+--- a/widgets/mainwindow.cpp
++++ b/widgets/mainwindow.cpp
+@@ -3299,7 +3299,7 @@ void MainWindow::fastSink(qint64 frames)
+ QTimer::singleShot (100, [=] { // UR delete for versions without alerts
+ if ((m_config.alert_Enabled()) && (m_config.alert_DXcall()) && (play_DXcall) && (m_hisCall!="")) {
+ QAudioDevice info(QMediaDevices::defaultAudioOutput());
+- QString binPath = QCoreApplication::applicationDirPath();
++ QString binPath = "/usr/share/wsjtx";
+ QAudioFormat format;
+ format.setSampleRate(48000);
+ format.setChannelCount(1);
+@@ -7052,7 +7052,7 @@ void MainWindow::readFromStdout() //readFromStdout
+ QTimer::singleShot (100, [=] { // UR delete for versions without alerts
+ if (m_config.alert_Enabled() && m_config.alert_DXcall() && play_DXcall && m_hisCall!="") {
+ QAudioDevice info(QMediaDevices::defaultAudioOutput());
+- QString binPath = QCoreApplication::applicationDirPath();
++ QString binPath = "/usr/share/wsjtx";
+ QAudioFormat format;
+ format.setSampleRate(48000);
+ format.setChannelCount(1);
+@@ -10219,7 +10219,7 @@ void MainWindow::mousePressEvent(QMouseEvent *event) // mouse press events
+ } else {
+ // Testing the default audio device
+ QAudioDevice info(QMediaDevices::defaultAudioOutput());
+- QString binPath = QCoreApplication::applicationDirPath();
++ QString binPath = "/usr/share/wsjtx";
+ QAudioFormat format;
+ format.setSampleRate(48000);
+ format.setChannelCount(1);
+@@ -16985,7 +16985,7 @@ void MainWindow::remove_old_files(const QString &directoryPath, int daysOld)
+ void MainWindow::alertQSYmessage ()
+ {
+ QAudioDevice info(QMediaDevices::defaultAudioOutput());
+- QString binPath = QCoreApplication::applicationDirPath();
++ QString binPath = "/usr/share/wsjtx";
+ QAudioFormat format;
+ format.setSampleRate(48000);
+ format.setChannelCount(1);
diff --git a/media-radio/wsjtx_improved/wsjtx_improved-3.0.0.ebuild b/media-radio/wsjtx_improved/wsjtx_improved-3.0.0.ebuild
new file mode 100644
index 000000000000..14cc5c798dd3
--- /dev/null
+++ b/media-radio/wsjtx_improved/wsjtx_improved-3.0.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake edos2unix flag-o-matic
+
+DESCRIPTION="Weak signal ham radio communication with improvements"
+HOMEPAGE="https://physics.princeton.edu//pulsar/K1JT/wsjtx.html"
+SRC_URI="https://downloads.sourceforge.net/wsjt-x-improved/wsjtx-${PV}_improved_PLUS_250924_qt6.tgz"
+
+S=${WORKDIR}/wsjtx
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="
+ !media-radio/wsjtx
+ dev-libs/boost:=[nls,python]
+ dev-qt/qtbase:6[concurrent,gui,network,sql,sqlite,widgets]
+ dev-qt/qtmultimedia:6
+ dev-qt/qtserialport:6
+ dev-qt/qtwebsockets:6
+ virtual/libusb:1
+ >=media-libs/hamlib-4.0:=
+ sci-libs/fftw:3.0=[threads,fortran]
+ virtual/fortran
+ app-text/asciidoc
+ doc? ( dev-ruby/asciidoctor )"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/qttools[linguist]"
+
+PATCHES=(
+ "${FILESDIR}/wsjtx-2.2.0-werror.patch"
+ "${FILESDIR}/wsjtx-2.3.0-drop-docs.patch"
+ "${FILESDIR}/wsjtx-clang.patch"
+ "${FILESDIR}/wsjtx-3.0.0-fix-sound-dir.patch"
+# "${FILESDIR}/wsjtx-2.8.0-qt691.patch"
+ "${FILESDIR}/wsjtx-2.8.0-qt692-audio.patch"
+)
+
+DOCS=( AUTHORS BUGS NEWS README THANKS )
+
+src_unpack() {
+ unpack ${A}
+ unpack "${WORKDIR}/wsjtx-3.0.0/src/wsjtx.tgz"
+}
+
+src_prepare() {
+ edos2unix "${S}/message_aggregator.desktop"
+ edos2unix "${S}/wsjtx.desktop"
+ edos2unix "${S}/CMakeLists.txt"
+ sed -i -e "s/COMMAND \${GZIP_EXECUTABLE}/# COMMAND/" \
+ manpages/CMakeLists.txt || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ # fails to compile with -flto (bug #860417)
+ filter-lto
+
+ local mycmakeargs=(
+ -DWSJT_GENERATE_DOCS="$(usex doc)"
+ -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}"
+ )
+ append-ldflags -no-pie
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ rm "${D}"/usr/bin/rigctl{,d,com}-wsjtx || die
+ rm "${D}"/usr/share/man/man1/rigctl{,d,com}-wsjtx.1 || die
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-11 11:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-27 10:31 [gentoo-commits] repo/gentoo:master commit in: media-radio/wsjtx_improved/, media-radio/wsjtx_improved/files/ Thomas Beierlein
-- strict thread matches above, loose matches on Subject: below --
2025-07-09 10:45 Thomas Beierlein
2025-10-11 11:24 Thomas Beierlein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox