diff options
| author | Christoph Berg <myon@debian.org> | 2026-06-22 12:34:39 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-06-22 12:34:39 +0200 |
| commit | ae94301bf472d3ec7534afb0a25c3800a70bb1fa (patch) | |
| tree | 2a39d9fa88c8ba109b59c46425a2a9ab2d1c3fc3 /debian | |
| parent | de18fc13175a5bf0e2b48a042d2fc06e87c88d24 (diff) | |
New upstream version 3.0.2+dfsg.debian/3.0.2+dfsg-1
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 6 | ||||
| -rw-r--r-- | debian/patches/0009-fix-ascidoctor-webfonts.patch | 4 | ||||
| -rw-r--r-- | debian/patches/allcall7-location | 28 | ||||
| -rw-r--r-- | debian/patches/format-security | 11 | ||||
| -rw-r--r-- | debian/patches/series | 1 | ||||
| -rw-r--r-- | debian/patches/sounds-dir | 70 |
6 files changed, 36 insertions, 84 deletions
diff --git a/debian/changelog b/debian/changelog index 9fdea893..33fee01a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +wsjtx (3.0.2+dfsg-1) unstable; urgency=medium + + * New upstream version 3.0.2+dfsg. + + -- Christoph Berg <myon@debian.org> Mon, 22 Jun 2026 12:03:55 +0200 + wsjtx (3.0.1+dfsg-1) unstable; urgency=medium * New upstream version 3.0.1+dfsg. diff --git a/debian/patches/0009-fix-ascidoctor-webfonts.patch b/debian/patches/0009-fix-ascidoctor-webfonts.patch index 17abab07..99d06911 100644 --- a/debian/patches/0009-fix-ascidoctor-webfonts.patch +++ b/debian/patches/0009-fix-ascidoctor-webfonts.patch @@ -5,8 +5,8 @@ Last-Update: 2018-08-22 --- a/doc/user_guide/en/wsjtx-main.adoc +++ b/doc/user_guide/en/wsjtx-main.adoc -@@ -13,6 +13,7 @@ - :keywords: amateur radio weak signal communication K1JT WSJT JT65 JT9 +@@ -13,6 +13,7 @@ Copyright 2026 by Joe Taylor, K1JT + :keywords: amateur radio weak signal communication K1JT WSJT FT8 Q65 MSK!44 JT65 :description: Software for Amateur Radio Weak-Signal Communication :prog: WSJT-X +:!webfonts: diff --git a/debian/patches/allcall7-location b/debian/patches/allcall7-location index 3464bd94..ab2964ef 100644 --- a/debian/patches/allcall7-location +++ b/debian/patches/allcall7-location @@ -1,20 +1,3 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1848,13 +1848,8 @@ install (FILES - sat.dat - contrib/Ephemeris/JPLEPH - eclipse.txt -- DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME} -- #COMPONENT runtime -- ) -- --install (FILES - ALLCALL7.TXT -- DESTINATION ${CMAKE_INSTALL_BINDIR} -+ DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME} - #COMPONENT runtime - ) - --- a/CMakeLists_wsjtx.txt +++ b/CMakeLists_wsjtx.txt @@ -1826,13 +1826,8 @@ install (FILES @@ -32,14 +15,3 @@ #COMPONENT runtime ) ---- a/widgets/mainwindow.cpp -+++ b/widgets/mainwindow.cpp -@@ -17343,7 +17343,7 @@ void MainWindow::on_actionErase_Ignore_L - - 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()) { diff --git a/debian/patches/format-security b/debian/patches/format-security new file mode 100644 index 00000000..9bff088c --- /dev/null +++ b/debian/patches/format-security @@ -0,0 +1,11 @@ +--- a/map65/libm65/tmoonsub.c ++++ b/map65/libm65/tmoonsub.c +@@ -36,7 +36,7 @@ void tmoonsub_(double *day, double *glat + double *mrv, double *l, double *b, double *paxis); + + static const char +-*usage = " Usage: tmoon date[yyyymm] timz[+/-h.hh] long[+/-dddmm] lat[+/-ddmm]\n" ++usage[] = " Usage: tmoon date[yyyymm] timz[+/-h.hh] long[+/-dddmm] lat[+/-ddmm]\n" + "example: tmoon 200009 0 -00155 5230\n"; + + /* diff --git a/debian/patches/series b/debian/patches/series index 3d3b46d0..f285a5b5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -9,3 +9,4 @@ defuse-expiry install-all-utils sounds-dir allcall7-location +format-security diff --git a/debian/patches/sounds-dir b/debian/patches/sounds-dir index bc323d05..4caed08e 100644 --- a/debian/patches/sounds-dir +++ b/debian/patches/sounds-dir @@ -1,60 +1,22 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -1821,7 +1821,7 @@ install (DIRECTORY - +@@ -1916,7 +1916,7 @@ install (DIRECTORY + if (APPLE) + set (WSJT_SOUND_DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}) + else () +- set (WSJT_SOUND_DESTINATION ${CMAKE_INSTALL_BINDIR}) ++ set (WSJT_SOUND_DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}) + endif () install (DIRECTORY ${PROJECT_SOURCE_DIR}/sounds -- DESTINATION ${CMAKE_INSTALL_BINDIR} -+ DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME} - #COMPONENT runtime - ) - ---- 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))); +--- a/qt_helpers.cpp ++++ b/qt_helpers.cpp +@@ -56,7 +56,7 @@ QString app_sounds_directory (QString co + #if defined (__APPLE__) + QString root {QCoreApplication::applicationDirPath () + "/../Resources/sounds"}; #else - if(m_config->alert_Enabled()) { -- QString audioPath = QCoreApplication::applicationDirPath() + "/sounds" + m_config->voicesPath() + "/"; -+ QString audioPath = "/usr/share/wsjtx/sounds" + m_config->voicesPath() + "/"; +- QString root {QCoreApplication::applicationDirPath () + "/sounds"}; ++ QString root {"/usr/share/wsjtx/sounds"}; #endif - QFile *effect2 = new QFile(this); - QFile *effect3 = new QFile(this); ---- a/widgets/mainwindow.cpp -+++ b/widgets/mainwindow.cpp -@@ -3383,7 +3383,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 -@@ -7210,7 +7210,7 @@ void MainWindow::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 -@@ -10406,7 +10406,7 @@ void MainWindow::mousePressEvent(QMouseE - 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 - } -@@ -17385,7 +17385,7 @@ void MainWindow::alertQSYmessage () - effect1->open(QIODevice::ReadOnly); - audio->start(effect1); - #else -- QString binPath = QCoreApplication::applicationDirPath(); -+ QString binPath = "/usr/share/wsjtx"; - QSound::play(binPath + "/sounds/Message.wav"); // for Linux and macOS - #endif - } + auto child = subdirectory; + while (child.startsWith (QChar {'/'})) |
