Compare commits

...
Sign in to create a new pull request.

96 commits

Author SHA1 Message Date
Fedora Release Engineering
5642f2f14a Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:56:48 +00:00
Jaroslav Škarvada
6b7d92a212 Fixed build
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2026-05-04 16:59:00 +02:00
Jaroslav Škarvada
252764a18d New version
Resolves: rhbz#2464806
2026-05-04 16:18:49 +02:00
Jaroslav Škarvada
3107511312 Minor spec cleanup
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2026-04-15 00:08:53 +02:00
Jaroslav Škarvada
00686dbf86 Fixed building and some minor changes
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2026-04-14 18:11:12 +02:00
Jaroslav Škarvada
46480ecc51 New version 2026-04-14 15:59:03 +02:00
Fedora Release Engineering
6af8bb114e Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:23:09 +00:00
Jaroslav Škarvada
f9d89bdab8 Rebuilt for boost
Resolves: rhbz#2429735
2026-01-15 10:07:43 +01:00
Jaroslav Škarvada
eaf731bd39 Added patch
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2026-01-10 02:27:12 +01:00
Jaroslav Škarvada
b22913d80b New version 2026-01-10 02:26:36 +01:00
AsciiWolf
8217eb9acc Update AppStream metadata 2025-10-10 16:00:55 +02:00
Fedora Release Engineering
8882a691fa Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:33:38 +00:00
Richard Shaw
a506bea2c1 Update to 2.8.0 final release. 2025-03-30 20:30:17 -05:00
Richard Shaw
66a019d783 Rebuild for hamlib 4.6. 2025-02-05 20:56:18 -06:00
Fedora Release Engineering
764ee60941 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 15:17:34 +00:00
Richard Shaw
cf20511687 Update to 2.7.0 RC8. 2025-01-07 20:52:43 -06:00
Richard Shaw
dcb21187da Hamlib no longer builds for i686. 2024-12-31 10:50:46 -06:00
Richard Shaw
1057968ef7 Rebuild for Hamlib 4.6. 2024-12-31 10:27:06 -06:00
Richard Shaw
1f300b23eb Update to 2.7.0 RC7. 2024-10-01 06:32:38 -05:00
Richard Shaw
8a6c20d03b Remove superfox binaries and patch build system. 2024-09-13 20:08:04 -05:00
Richard Shaw
837073e3d7 Update to 2.7.0 RC6. 2024-08-01 17:03:18 -05:00
Miroslav Suchý
3984584b35 convert GPLv3+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-25 13:32:39 +02:00
Fedora Release Engineering
5e8ec731f9 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 09:35:01 +00:00
Richard Shaw
733f9caaed Upload sources. 2024-01-23 21:19:15 -06:00
Richard Shaw
94b87de4c6 Update to 2.7.0 RC3. 2024-01-22 20:53:47 -06:00
Jonathan Wakely
eacccfb17e Rebuilt for Boost 1.83 2024-01-18 00:06:17 +00:00
Richard Shaw
ff1d82283b Include changes needed for 2.7.0. 2023-05-23 13:30:51 -05:00
Richard Shaw
9753a0edcc Rebuilt for Boost 1.81 2023-05-23 13:29:08 -05:00
Jonathan Wakely
3f438e2ef4 Rebuilt for Boost 1.81 2023-02-20 22:20:07 +00:00
Richard Shaw
ff248e86cf Update to 2.6.0. 2023-01-19 17:04:59 -06:00
Richard Shaw
85ada643a0 Rebuild for updated hamlib 4.5. 2022-11-07 17:08:52 -06:00
Fedora Release Engineering
f94ea1a538 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 12:40:42 +00:00
Thomas Rodgers
d57f2b08bd Rebuilt for Boost 1.78 2022-05-04 11:42:41 +02:00
Fedora Release Engineering
e60665e0bf - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 04:42:46 +00:00
Richard Shaw
e17c6c0f43 Update to 2.5.4. 2022-01-03 12:37:01 -06:00
Richard Shaw
95c75a5e65 Rebuild for hamlib 4.4. 2021-12-23 16:45:53 -06:00
Jaroslav Škarvada
21972c6002 New version
Resolves: rhbz#2034707
2021-12-23 22:28:28 +01:00
Richard Shaw
23b9b30a70 36-build-side-49086 2021-12-23 12:41:30 -06:00
Jaroslav Škarvada
f779bd1ed3 New version
Resolves: rhbz#2020399
2021-11-29 21:12:14 +01:00
Jaroslav Škarvada
95f90dcea6 New version
Resolves: rhbz#2016506
2021-10-25 19:40:14 +02:00
Jaroslav Škarvada
5b37f0ae68 Dropped the compile-fix patch
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2021-10-18 18:53:53 +02:00
Jaroslav Škarvada
4d23cfc50e New version
Resolves: rhbz#2008230
2021-10-18 18:49:44 +02:00
Richard Shaw
e454db2d1f Rebuild for hamlib 4.3.1. 2021-10-11 20:30:07 -05:00
Jonathan Wakely
170c90f7e2 Rebuilt for Boost 1.76 2021-08-07 04:21:06 +01:00
Fedora Release Engineering
4f8e335cc8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 21:11:08 +00:00
Richard Shaw
ccb97cfd07 Updatea appdata file. 2021-07-03 15:59:50 -05:00
Richard Shaw
83591e261a Rebuild for hamlib 4.2. 2021-05-30 08:48:18 -05:00
Richard Shaw
7d8adcc0c5 Update to 2.4.0. 2021-05-24 18:15:19 -05:00
Jonathan Wakely
00f622605b Rebuilt for removed libstdc++ symbol (#1937698) 2021-03-30 19:41:05 +01:00
Richard Shaw
7a87c629ab Update to 2.3.1. 2021-03-26 11:33:13 -05:00
Richard Shaw
d5baa92505 Update to 2.3.0 final. 2021-02-03 07:27:01 -06:00
Richard Shaw
8cdc90c15f Update to 2.3.0 final. 2021-02-03 07:25:50 -06:00
Richard Shaw
296ee95c4c Rebuild for hamlib 4.1. 2021-02-02 07:48:18 -06:00
Fedora Release Engineering
cfa56b4da0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 23:42:38 +00:00
Richard Shaw
42f5bfafb9 Add conditional around appdata validation. 2021-01-01 15:04:58 -06:00
Richard Shaw
21cf280f8f Rebuilt for hamlib 4.0 release. 2021-01-01 12:45:04 -06:00
Jaroslav Škarvada
9b84954c9a Fixed FTBFS
Resolves: rhbz#1865629
2020-08-05 11:15:35 +02:00
Fedora Release Engineering
824671b9c2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 09:40:27 +00:00
Fedora Release Engineering
aa9bd9244f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 14:22:04 +00:00
Jeff Law
13b91ffd44 Disable LTO 2020-06-30 13:33:19 -06:00
Richard Shaw
6db6ab8b82 Add appdata installation to spec file. 2020-06-28 15:14:43 -05:00
Richard Shaw
c21cd048f1 Spec updates for EPEL 8. 2020-06-22 12:18:16 -05:00
Richard Shaw
b8975a7078 Update to 2.2.2. 2020-06-22 11:11:32 -05:00
Richard Shaw
29de100145 Update to 2.2.1. 2020-06-06 17:56:53 -05:00
Richard Shaw
83db99bd81 Remove unneeded patch. 2020-06-03 06:40:03 -05:00
Richard Shaw
58407cc871 Update to 2.2.0. 2020-06-02 16:16:29 -05:00
Richard Shaw
4e028d6226 Update patch to deal with changes in hamlib types. 2020-03-31 12:45:40 -05:00
Richard Shaw
b5122fc3f9 Rebuilt with hamlib 4.0. 2020-03-31 10:49:20 -05:00
Richard Shaw
17e59e6ca0 Fix fortran errors and remove workaround flag. 2020-02-21 14:02:00 -06:00
Jaroslav Škarvada
481897261e Fixed FTBFS with gcc-10
Resolves: rhbz#1800262
2020-02-10 19:07:36 +01:00
Fedora Release Engineering
8ce82584d7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 03:59:19 +00:00
Richard Shaw
33fd83bb6f Update to 2.1.2. 2019-11-26 12:52:17 -06:00
Richard Shaw
5ea007ecc3 Upate to 2.2.1. 2019-11-25 21:03:04 -06:00
Fedora Release Engineering
f9504e7fb6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:45:23 +00:00
Richard Shaw
b448ee1502 Update to 2.1.0. 2019-07-15 11:22:59 -05:00
Richard Shaw
73cb35b6a4 Updated patch. 2019-02-25 13:19:15 -06:00
Richard Shaw
4cb0f1d4cc Update to 2.0.1. 2019-02-25 10:24:07 -06:00
Richard Shaw
218d2115e6 Update to 2.0.1. 2019-02-25 10:21:29 -06:00
Fedora Release Engineering
b43279f10b - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:58:28 +00:00
Richard Shaw
ac5d52509a Update to 2.0.0 GA. 2018-12-10 09:14:01 -06:00
Richard Shaw
75f178629e Remove BR: execstack as it is no longer needed. 2018-11-20 18:50:30 -06:00
Richard Shaw
2821636157 Tweaks for EPEL 7. 2018-11-20 11:53:30 -06:00
Richard Shaw
c2de23ce8a Rebuild for hamlib 3.3. 2018-09-28 10:12:30 -05:00
Fedora Release Engineering
e13e4be2b3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:01:07 +00:00
Richard Shaw
c067aca8db Update to 1.9.1.
Update compile patch to deal with qt5_use_modules no longer being available in
  rawhide/f29.
2018-05-31 11:23:01 -05:00
Richard Shaw
854f338c86 Update to 1.9.1. 2018-05-31 09:06:29 -05:00
Jaroslav Škarvada
f502bf507a New version
Dropped gcc-8.0.1-compile-fix patch (not needed)
2018-05-29 17:37:12 +02:00
Richard Shaw
8c3b1bd59a Fix qt style settings in desktop file. 2018-05-16 11:31:25 -05:00
Jaroslav Škarvada
79b5165c0d New version
De-fuzzified patches
2018-05-02 11:18:09 +02:00
Jaroslav Škarvada
b89b7b95ad New version
Updated gcc-8.0.1-compile-fix patch
2018-03-21 11:18:56 +01:00
Jaroslav Škarvada
9a1c675ab0 New version
Fixed compilation with gcc-8.0.1
  Resolves: rhbz#1556544
De-fuzzified compile-fix patch
2018-03-16 17:27:31 +01:00
Fedora Release Engineering
764dd143d3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 21:11:49 +00:00
Jaroslav Škarvada
2497bc8424 Rebuilt for new fortran 2018-01-31 10:37:50 +01:00
Jaroslav Škarvada
3300dfe648 Do not force non-executable stack
Resolves: rhbz#1535987
  Resolves: rhbz#1523446
2018-01-19 11:07:48 +01:00
Jaroslav Škarvada
5f31f13687 New version
Resolves: rhbz#1534099
De-fuzzified compile-fix patch
2018-01-15 11:35:00 +01:00
Jaroslav Škarvada
c5b466f7fa Initial import (#1487776)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2017-09-18 14:38:27 +02:00
6 changed files with 614 additions and 3 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
/wsjtx-*.tgz
/wsjtx-3.0.0.tar.gz
/wsjtx-3.0.1.tar.gz

View file

@ -1,3 +0,0 @@
# wsjtx
The wsjtx package

View file

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>edu.princeton.physics.WSJTX</id>
<launchable type="desktop-id">wsjtx.desktop</launchable>
<name>wsjtx</name>
<summary>Amateur Radio Weak Signal Operating</summary>
<developer_name>Joe Taylor and others</developer_name>
<description>
<p>
WSJT-X Version 2.1 offers ten different protocols or modes: FT4, FT8,
JT4, JT9, JT65, QRA64, ISCAT, MSK144, WSPR, and Echo. The first six
are designed for making reliable QSOs under weak-signal
conditions. They use nearly identical message structure and source
encoding. JT65 and QRA64 were designed for EME (“moonbounce”) on the
VHF/UHF bands and have also proven very effective for worldwide QRP
communication on the HF bands. QRA64 has a number of advantages over
JT65, including better performance on the very weakest signals. We
imagine that over time it may replace JT65 for EME use. JT9 was
originally designed for the LF, MF, and lower HF bands. Its submode
JT9A is 2 dB more sensitive than JT65 while using less than 10% of the
bandwidth. JT4 offers a wide variety of tone spacings and has proven
highly effective for EME on microwave bands up to 24 GHz. These four
“slow” modes use one-minute timed sequences of alternating
transmission and reception, so a minimal QSO takes four to six minutes
— two or three transmissions by each station, one sending in odd UTC
minutes and the other even. FT8 is operationally similar but four
times faster (15-second T/R sequences) and less sensitive by a few
dB. FT4 is faster still (7.5 s T/R sequences) and especially well
suited for radio contesting. On the HF bands, world-wide QSOs are
possible with any of these modes using power levels of a few watts (or
even milliwatts) and compromise antennas. QSOs are possible at signal
levels 10 to 15 dB below those required for CW.
</p>
<p>
Note that even though their T/R sequences are short, FT4 and FT8 are
classified as slow modes because their message frames are sent only
once per transmission. All fast modes in WSJT-X send their message
frames repeatedly, as many times as will fit into the Tx sequence
length.
</p>
<p>
ISCAT, MSK144, and optionally submodes JT9E-H are “fast” protocols
designed to take advantage of brief signal enhancements from ionized
meteor trails, aircraft scatter, and other types of scatter
propagation. These modes use timed sequences of 5, 10, 15, or 30 s
duration. User messages are transmitted repeatedly at high rate (up to
250 characters per second, for MSK144) to make good use of the
shortest meteor-trail reflections or “pings”. ISCAT uses free-form
messages up to 28 characters long, while MSK144 uses the same
structured messages as the slow modes and optionally an abbreviated
format with hashed callsigns.
</p>
<p>
WSPR (pronounced “whisper”) stands for Weak Signal Propagation
Reporter. The WSPR protocol was designed for probing potential
propagation paths using low-power transmissions. WSPR messages
normally carry the transmitting stations callsign, grid locator, and
transmitter power in dBm, and they can be decoded at signal-to-noise
ratios as low as -31 dB in a 2500 Hz bandwidth. WSPR users with
internet access can automatically upload reception reports to a
central database called WSPRnet that provides a mapping facility,
archival storage, and many other features.
</p>
<p>
Echo mode allows you to detect and measure your own stations echoes
from the moon, even if they are far below the audible threshold.
</p>
<p>
WSJT-X provides spectral displays for receiver passbands as wide as 5
kHz, flexible rig control for nearly all modern radios used by
amateurs, and a wide variety of special aids such as automatic Doppler
tracking for EME QSOs and Echo testing. The program runs equally well
on Windows, Macintosh, and Linux systems, and installation packages
are available for all three platforms.
</p>
</description>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<url type="bugtracker">https://sourceforge.net/projects/wsjt/lists/wsjt-devel</url>
<url type="homepage">https://wsjt.sourceforge.io/wsjtx.html</url>
<screenshots>
<screenshot type="default">
<caption>Main WSJT-X window</caption>
<image>https://sourceforge.net/p/wsjt/wsjtx/ci/master/tree/doc/user_guide/en/images/main-ui.png?format=raw</image>
</screenshot>
</screenshots>
<content_rating type="oars-1.1" />
<update_contact>hobbes1069@fedoraproject.org</update_contact>
</component>

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (wsjtx-3.0.1.tar.gz) = b1ba505f31e35908eba9f73be2995e20ba17b81b1ca16cbe13bed3f6f458bb7e8bd7f176fef83097edef3ea0823a73560cf421a8ea4b9d9e8cd8b0d31e6dd8a9

124
wsjtx-3.0.0-path-fix.patch Normal file
View file

@ -0,0 +1,124 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cb951fd..d27c7c7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1832,7 +1832,7 @@ install (FILES
install (FILES
ALLCALL7.TXT
- DESTINATION ${CMAKE_INSTALL_BINDIR}
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}
#COMPONENT runtime
)
@@ -1845,7 +1845,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/Configuration.cpp b/Configuration.cpp
index f56139c..e896653 100644
--- a/Configuration.cpp
+++ b/Configuration.cpp
@@ -4979,7 +4979,7 @@ void Configuration::impl::on_voices_combo_box_currentIndexChanged (int /* index
void Configuration::impl::read_voices ()
{
- QString audioPath = QCoreApplication::applicationDirPath() + "/sounds/";
+ QString audioPath = "/usr/share/wsjtx/sounds/";
QString voiceList = audioPath + "voices.dat"; // load the content of voices.dat file to the voices combo box
QFile file2 {voiceList};
QStringList wordList;
@@ -5023,7 +5023,7 @@ void Configuration::impl::on_pb_test_alerts_clicked (bool)
effect->open(QIODevice::ReadOnly);
audio->start(effect);
#else
- QString audioPath = QCoreApplication::applicationDirPath() + "/sounds" + voicesPath_ + "/";
+ QString audioPath = "/usr/share/wsjtx/sounds" + voicesPath_ + "/";
QSound::play(audioPath + "Testing123.wav"); // for Linux and macOS
#endif
}
diff --git a/lib/ft8var/cwfilter.f90 b/lib/ft8var/cwfilter.f90
index 913c7e3..087bc70 100644
--- a/lib/ft8var/cwfilter.f90
+++ b/lib/ft8var/cwfilter.f90
@@ -17,7 +17,7 @@ subroutine cwfilter(first)
!note that with new, larger ALLCALL7.TXT files, dimensions of various ncall arrays may need to be increased in jt65_mod9.f90
!on 20250709 callj dim was increased from 9000 to 10000 when updated ALLCALL7.TXT file was added
if(first) then
- open(24,file='ALLCALL7.TXT',status='unknown') ! accepting Australian 7-char callsigns
+ open(24,file='/usr/share/wsjtx/ALLCALL7.TXT',status='unknown') ! accepting Australian 7-char callsigns
do i=1,MAXC
read(24,1004,end=20) line
1004 format(a80)
diff --git a/widgets/displaytext.cpp b/widgets/displaytext.cpp
index 1e2f642..421e032 100644
--- a/widgets/displaytext.cpp
+++ b/widgets/displaytext.cpp
@@ -931,7 +931,7 @@ void DisplayText::AudioAlerts()
connect(audio, SIGNAL(stateChanged(QAudio::State)), this, SLOT(handleStateChanged(QAudio::State)));
#else
if(m_config->alert_Enabled()) {
- QString audioPath = QCoreApplication::applicationDirPath() + "/sounds" + m_config->voicesPath() + "/";
+ QString audioPath = "/usr/share/wsjtx/sounds" + m_config->voicesPath() + "/";
#endif
QFile *effect2 = new QFile(this);
QFile *effect3 = new QFile(this);
diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp
index b2c399e..0cb4b55 100644
--- a/widgets/mainwindow.cpp
+++ b/widgets/mainwindow.cpp
@@ -3381,7 +3381,7 @@ void MainWindow::fastSink(qint64 frames)
effect1->open(QIODevice::ReadOnly);
audio->start(effect1);
#else
- QString audioPath = QCoreApplication::applicationDirPath() + "/sounds" + m_config.voicesPath() + "/";
+ QString audioPath = "/usr/share/wsjtx/sounds" + m_config.voicesPath() + "/";
if (m_config.alert_DXcall() && play_DXcall) QSound::play(audioPath + "DXcall.wav"); // for Linux and macOS
else if (m_config.alert_DXcall() && play_Wanted) QSound::play(audioPath + "Wanted.wav"); // for Linux and macOS
#endif
@@ -7208,7 +7208,7 @@ void MainWindow::readFromStdout() //readFromStdout
effect1->open(QIODevice::ReadOnly);
audio->start(effect1);
#else
- QString audioPath = QCoreApplication::applicationDirPath() + "/sounds" + m_config.voicesPath() + "/";
+ QString audioPath = "/usr/share/wsjtx/sounds" + m_config.voicesPath() + "/";
if (m_config.alert_DXcall() && play_DXcall) QSound::play(audioPath + "DXcall.wav"); // for Linux and macOS
else if (m_config.alert_DXcall() && play_Wanted) QSound::play(audioPath + "Wanted.wav"); // for Linux and macOS
#endif
@@ -10404,7 +10404,7 @@ void MainWindow::mousePressEvent(QMouseEvent *event) // mouse press events
effect->open(QIODevice::ReadOnly);
audio->start(effect);
#else
- QString audioPath = QCoreApplication::applicationDirPath() + "/sounds" + m_config.voicesPath() + "/";
+ QString audioPath = "/usr/share/wsjtx/sounds" + m_config.voicesPath() + "/";
QSound::play(audioPath + "Testing_long.wav"); // for Linux and macOS
#endif
}
@@ -17332,7 +17332,7 @@ void MainWindow::on_actionErase_Ignore_List_triggered()
void MainWindow::read_ALLCALL7()
{
- static QFile AllCall7File {"ALLCALL7.TXT"};
+ static QFile AllCall7File {"/usr/share/wsjtx/ALLCALL7.TXT"};
QTextStream AllCall7Stream(&AllCall7File);
if(AllCall7File.open(QIODevice::ReadOnly | QIODevice::Text)) {
while (!AllCall7Stream.atEnd()) {
@@ -17379,11 +17379,11 @@ void MainWindow::alertQSYmessage ()
audio = new QAudioOutput(format, this);
connect(audio, SIGNAL(stateChanged(QAudio::State)), this, SLOT(handleStateChanged(QAudio::State)));
QFile *effect1 = new QFile(this);
- effect1->setFileName(QString("%1/%2").arg(binPath, "/sounds/Message.wav"));
+ effect1->setFileName(QString("%1/%2").arg("/usr/share/wsjtx", "/sounds/Message.wav"));
effect1->open(QIODevice::ReadOnly);
audio->start(effect1);
#else
QString binPath = QCoreApplication::applicationDirPath();
- QSound::play(binPath + "/sounds/Message.wav"); // for Linux and macOS
+ QSound::play("/usr/share/wsjtx/sounds/Message.wav"); // for Linux and macOS
#endif
}

397
wsjtx.spec Normal file
View file

@ -0,0 +1,397 @@
# for fortran nested functions that (still in 2026) in gfortran implementation uses
# trampolines that require executable stack
%undefine _hardened_linker_errors
Name: wsjtx
Version: 3.0.1
Release: 2%{?dist}
Summary: Weak Signal communication by K1JT
License: GPL-3.0-or-later
URL: https://github.com/WSJTX/wsjtx
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Source100: edu.princeton.physics.WSJTX.metainfo.xml
ExcludeArch: i686
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gcc-gfortran
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-linguist
BuildRequires: qt5-qtserialport-devel
BuildRequires: qt5-qtmultimedia-devel
BuildRequires: qt5-qtwebsockets-devel
BuildRequires: desktop-file-utils
BuildRequires: hamlib-devel
BuildRequires: fftw-devel
BuildRequires: libusbx-devel
BuildRequires: systemd-devel
%if 0%{?rhel} && 0%{?rhel} < 9
BuildRequires: boost169-devel
%else
BuildRequires: boost-devel
%endif
BuildRequires: portaudio-devel
%if 0%{?fedora}
BuildRequires: asciidoc
BuildRequires: rubygem-asciidoctor
BuildRequires: libappstream-glib
%endif
# Temporal fix, problem reported upstream
# https://github.com/WSJTX/wsjtx/issues/5
# https://www.mail-archive.com/wsjt-devel@lists.sourceforge.net/msg28480.html
Patch: wsjtx-3.0.0-path-fix.patch
%description
WSJT-X is a computer program designed to facilitate basic amateur radio
communication using very weak signals. It implements communication protocols
or "modes" called JT4, JT9, JT65, QRA64, ISCAT, MSK144, and WSPR, as well as
one called Echo for detecting and measuring your own radio signals reflected
from the Moon.
%prep
%autosetup -p1
%build
# The fortran code in this package is not type safe and will thus not work
# with LTO. Additionally there are numerous bogus strncat calls that also
# need to be fixed for this package to work with LTO
%define _lto_cflags %{nil}
# -fcommon is a workaround for build with gcc-10, reported upstream
export CFLAGS="%{build_cflags} -fcommon -Wno-error=maybe-uninitialized"
# reported upstream
export CXXFLAGS="%{build_cxxflags} -Wno-error=maybe-uninitialized"
export LDFLAGS="%{build_ldflags}"
# workaround for hamlib check, i.e. for hamlib_LIBRARY_DIRS not to be empty
export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
%cmake -Dhamlib_STATIC=FALSE \
-DBoost_NO_SYSTEM_PATHS=FALSE \
%if 0%{?rhel}
-DBOOST_INCLUDEDIR=%{_includedir}/boost169 \
-DBOOST_LIBRARYDIR=%{_libdir}/boost169 \
-DWSJT_GENERATE_DOCS=FALSE \
-DWSJT_SKIP_MANPAGES=TRUE
%endif
%cmake_build
%install
%cmake_install
# Make sure the right style is used.
desktop-file-edit --set-key=Exec --set-value="wsjtx --style=fusion" \
%{buildroot}/%{_datadir}/applications/%{name}.desktop
# desktop files
desktop-file-validate %{buildroot}%{_datadir}/applications/wsjtx.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/message_aggregator.desktop
%if 0%{?fedora}
# metainfo file
mkdir -p %{buildroot}%{_metainfodir}
install -pm 0644 %{SOURCE100} %{buildroot}%{_metainfodir}/
%endif
# fix docs
install -p -m 0644 -t %{buildroot}%{_datadir}/doc/%{name} GUIcontrols.txt jt9.txt \
v1.7_Features.txt wsjtx_changelog.txt NEWS README THANKS
# drop copies of the hamlib bins
# https://github.com/WSJTX/wsjtx/issues/6
rm -f %{buildroot}%{_bindir}/rigctl*-wsjtx
%if 0%{?fedora}
%check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
%endif
%files
%license COPYING
%doc %{_datadir}/doc/%{name}
%{_bindir}/cablog
%{_bindir}/echosim
%{_bindir}/fcal
%{_bindir}/fmeasure
%{_bindir}/fmtave
%{_bindir}/fst4sim
%{_bindir}/hash22calc
%{_bindir}/jt4code
%{_bindir}/jt65code
%{_bindir}/jt9
%{_bindir}/jt9code
%{_bindir}/ft8code
%{_bindir}/message_aggregator
%{_bindir}/msk144code
%{_bindir}/qmap
%{_bindir}/q65sim
%{_bindir}/q65code
%{_bindir}/udp_daemon
%{_bindir}/wsjtx
%{_bindir}/wsjtx_app_version
%{_bindir}/wsprd
%{_bindir}/EchoCallSim
%{_bindir}/ft8sim
%{_bindir}/testEchoCall
%{?fedora:%{_mandir}/man1/*.1.gz}
%{?fedora:%{_metainfodir}/*.xml}
%{_datadir}/applications/wsjtx.desktop
%{_datadir}/applications/message_aggregator.desktop
%{_datadir}/pixmaps/wsjtx_icon.png
%{_datadir}/%{name}
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Mon May 04 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.1-1
- New version
Resolves: rhbz#2464806
* Tue Apr 14 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.0-1
- New version
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0~rc1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Thu Jan 15 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.0~rc1-2
- Rebuilt for boost
Resolves: rhbz#2429735
* Mon Jan 05 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.0~rc1-1
- New version
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Mar 31 2025 Richard Shaw <hobbes1069@gmail.com> - 2.7.0-13
- Update to 2.8.0 final release.
* Thu Feb 06 2025 Richard Shaw <hobbes1069@gmail.com> - 2.7.0-12
- Rebuild for hamlib 4.6.
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Tue Jan 07 2025 Richard Shaw <hobbes1069@gmail.com> - 2.7.0-10
- Update to 2.7.0 RC8.
* Tue Dec 31 2024 Richard Shaw <hobbes1069@gmail.com> - 2.7.0-9
- Rebuild for Hamlib 4.6.
* Tue Oct 01 2024 Richard Shaw <hobbes1069@gmail.com> - 2.7.0-8
- Update to 2.7.0 RC7.
* Sat Sep 14 2024 Richard Shaw <hobbes1069@gmail.com> - 2.7.0-7
- Remove superfox binaries and patch build system.
* Thu Aug 1 2024 Richard Shaw <hobbes1069@gmail.com> - 2.7.0-6
- Update to 2.7.0 RC6.
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 2.7.0-5
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jul 01 2024 Richard Shaw <hobbes1069@gmail.com> - 2.7.0-5
- Update to 2.7.0 RC5.
* Mon Jan 22 2024 Richard Shaw <hobbes1069@gmail.com> - 2.7.0-3
- Update to 2.7.0 RC3.
* Thu Jan 18 2024 Jonathan Wakely <jwakely@redhat.com> - 2.7.0-2
- Rebuilt for Boost 1.83
* Mon Feb 20 2023 Jonathan Wakely <jwakely@redhat.com> - 2.6.1-2
- Rebuilt for Boost 1.81
* Thu Jan 19 2023 Richard Shaw <hobbes1069@gmail.com> - 2.6.1-1
- Update to 2.6.0.
* Mon Nov 07 2022 Richard Shaw <hobbes1069@gmail.com> - 2.5.4-5
- Rebuild for updated hamlib 4.5.
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 2.5.4-3
- Rebuilt for Boost 1.78
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Jan 03 2022 Richard Shaw <hobbes1069@gmail.com> - 2.5.4-1
- Update to 2.5.4.
* Thu Dec 23 2021 Richard Shaw <hobbes1069@gmail.com> - 2.5.3-2
- Rebuild for hamlib 4.4.
* Thu Dec 23 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.3-1
- New version
Resolves: rhbz#2034707
* Thu Dec 23 2021 Richard Shaw <hobbes1069@gmail.com> - 2.5.2-2
- 36-build-side-49086
* Mon Nov 29 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.2-1
- New version
Resolves: rhbz#2020399
* Mon Oct 25 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-1
- New version
Resolves: rhbz#2016506
* Wed Oct 13 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.0-1
- New version
Resolves: rhbz#2008230
* Tue Oct 12 2021 Richard Shaw <hobbes1069@gmail.com> - 2.4.0-5
- Rebuild for hamlib 4.3.1.
* Sat Aug 07 2021 Jonathan Wakely <jwakely@redhat.com> - 2.4.0-4
- Rebuilt for Boost 1.76
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun May 30 2021 Richard Shaw <hobbes1069@gmail.com> - 2.4.0-2
- Rebuild for hamlib 4.2.
* Mon May 24 2021 Richard Shaw <hobbes1069@gmail.com> - 2.4.0-1
- Update to 2.4.0.
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 2.3.1-2
- Rebuilt for removed libstdc++ symbol (#1937698)
* Fri Mar 26 2021 Richard Shaw <hobbes1069@gmail.com> - 2.3.1-1
- Update to 2.3.1.
* Wed Feb 03 2021 Richard Shaw <hobbes1069@gmail.com> - 2.3.0-1
- Update to 2.3.0 final.
* Tue Feb 02 2021 Richard Shaw <hobbes1069@gmail.com> - 2.2.2-8
- Rebuild for hamlib 4.1.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 01 2021 Richard Shaw <hobbes1069@gmail.com> - 2.2.2-6
- Rebuilt for hamlib 4.0 release.
* Wed Aug 5 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.2.2-5
- Fixed FTBFS
Resolves: rhbz#1865629
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-4
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 30 2020 Jeff Law <law@redhat.com> - 2.2.2-2
- Disable LTO
* Mon Jun 22 2020 Richard Shaw <hobbes1069@gmail.com> - 2.2.2-1
- Update to 2.2.2.
* Sat Jun 06 2020 Richard Shaw <hobbes1069@gmail.com> - 2.2.1-1
- Update to 2.2.1.
* Tue Jun 02 2020 Richard Shaw <hobbes1069@gmail.com> - 2.2.0-1
- Update to 2.2.0.
* Tue Mar 31 2020 Richard Shaw <hobbes1069@gmail.com> - 2.1.2-4
- Rebuilt with hamlib 4.0.
* Mon Feb 10 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.1.2-3
- Fixed FTBFS with gcc-10
Resolves: rhbz#1800262
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Nov 26 2019 Richard Shaw <hobbes1069@gmail.com> - 2.1.2-1
- Update to 2.1.2.
* Tue Nov 26 2019 Richard Shaw <hobbes1069@gmail.com> - 2.1.1-1
- Upate to 2.2.1.
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jul 15 2019 Richard Shaw <hobbes1069@gmail.com> - 2.1.0-1
- Update to 2.1.0.
* Mon Feb 25 2019 Richard Shaw <hobbes1069@gmail.com> - 2.0.1-1
- Update to 2.0.1.
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-8.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Dec 10 2018 Richard Shaw <hobbes1069@gmail.com> - 2.0.0-8
- Update to 2.0.0 GA.
* Fri Sep 28 2018 Richard Shaw <hobbes1069@gmail.com> - 1.9.1-2
- Rebuild for hamlib 3.3.
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu May 31 2018 Richard Shaw <hobbes1069@gmail.com> - 1.9.1-1
- Update to 1.9.1.
- Update compile patch to deal with qt5_use_modules no longer being available in
rawhide/f29.
* Tue May 29 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.9.0-1
- New version
- Dropped gcc-8.0.1-compile-fix patch (not needed)
* Wed May 2 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.9.0-0.3.rc4
- New version
- De-fuzzified patches
* Wed Mar 21 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.9.0-0.2.rc3
- New version
- Updated gcc-8.0.1-compile-fix patch
* Fri Mar 16 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.9.0-0.1.rc2
- New version
- Fixed compilation with gcc-8.0.1
Resolves: rhbz#1556544
- De-fuzzified compile-fix patch
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-3.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jan 31 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-3
- Rebuilt for new fortran
* Fri Jan 19 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-2
- Do not force non-executable stack
Resolves: rhbz#1535987
Resolves: rhbz#1523446
* Mon Jan 15 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-1
- New version
Resolves: rhbz#1534099
- De-fuzzified compile-fix patch
* Fri Sep 8 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-0.3.rc2
- Dropped rigctl*-wsjtx (hamlib copy)
* Sun Sep 3 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-0.2.rc2
- New version
* Fri Sep 1 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.0-0.1.rc1
- Initial version