mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
media-radio/wsjtx_improved: drop 3.0.0-r1, 3.0.0_p20251212
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST wsjtx-3.0.0_improved_PLUS_250924_qt6.tgz 35003895 BLAKE2B 6649bdac6cc390e966398a37d5854009d8b540ce951557c186803cbd81c90a0d5428f816593b22b44e73ea82f8dab6c2b91ff6581ddac87f6f90d43ec852e5db SHA512 70d34e9d6b03549d7445689709766fb2e1be50a56b3a54c405e3d489a93a72fd8038ad2d7e02ddfbca6a9794fbd3a8c3e3c914fd0bb4a5de02a12cc1311fe309
|
||||
DIST wsjtx-3.0.0_improved_PLUS_251212_qt6.tgz 35225077 BLAKE2B 3184910c38eeb3e6a590242d5c84213e3c4af53a8ec091dfa32d2f42187fb3e9e7d49209ee976acd063e2fe2dac019d1c3cea0c8d3474f0a3f36238419c30eea SHA512 2cd381f3eea3549a2fc689b438ea954e0498ffb749219c8532159eb15cce1d2d4dc45439d45a2f4f35646ee98e5c216b8a191c740c76e2fedc643085f70710ae
|
||||
DIST wsjtx-3.1.0_improved_PLUS_260306_qt6.tgz 69069886 BLAKE2B a2166fa416d43ef60bcadc0d2897b30801bb5cd5191f62b5f35b342214512d56a504f1122a07e27152aa4a78d0344f620cc4c1fb51bc2498396475a7712fa036 SHA512 fdb5cee4fc114c787de0242501a8bd166160c6430d4139f9603460d1c1d27fdb66e250e1932a0cc3ac284fe49af8a92a459e8ae6196c0e879d9c22889795a0e4
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- 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")
|
||||
@@ -1,22 +0,0 @@
|
||||
# fixes Bug #https://bugs.gentoo.org/963899
|
||||
# Due to changes on the pulseaudio backend >=Qt 692 needs a bytesAvailable() function defined which returns more than zero.
|
||||
diff --git a/Modulator/Modulator.hpp b/Modulator/Modulator.hpp
|
||||
index fee2877..7203696 100755
|
||||
--- a/Modulator/Modulator.hpp
|
||||
+++ b/Modulator/Modulator.hpp
|
||||
@@ -50,14 +50,12 @@ protected:
|
||||
{
|
||||
return -1; // we don't consume data
|
||||
}
|
||||
-#if defined(Q_OS_WIN)
|
||||
-// On Windows, bytesAvailable() must return a size that exceeds some threshold
|
||||
+// bytesAvailable() must return a size that exceeds some threshold
|
||||
// in order for the AudioSink to go into Active state and start pulling data.
|
||||
qint64 bytesAvailable () const
|
||||
{
|
||||
return 8000;
|
||||
}
|
||||
-#endif
|
||||
|
||||
private:
|
||||
qint16 postProcessSample (qint16 sample) const;
|
||||
@@ -1,66 +0,0 @@
|
||||
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);
|
||||
@@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2026 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://wsjt-x-improved.sourceforge.io/"
|
||||
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-3.0.0-gcc16.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
|
||||
# fix executable stack from fortran nested functions, placing them on the
|
||||
# heap. Switch is only supported for newer GCC versions (bug #968790).
|
||||
append-fflags $(test-flags-FC -ftrampoline-impl=heap)
|
||||
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
|
||||
}
|
||||
@@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2026 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://wsjt-x-improved.sourceforge.io/"
|
||||
SRC_URI="https://downloads.sourceforge.net/wsjt-x-improved/wsjtx-3.0.0_improved_PLUS_251212_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-gcc16.patch"
|
||||
"${FILESDIR}/wsjtx-3.0.0_p251212-fix-sound-dir.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
|
||||
# fix executable stack from fortran nested functions, placing them on the
|
||||
# heap. Switch is only supported for newer GCC versions (bug #968790).
|
||||
append-fflags $(test-flags-FC -ftrampoline-impl=heap)
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user