diff options
| author | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
| commit | cd2dad3bc7ae0ee0a18b7b20a945009362ec3851 (patch) | |
| tree | 5a622ec4193e9bc899f6499f936848a661be29cb /debian | |
| parent | 558c0b9d6ecf70c5222e2069ece1fea3656c75d7 (diff) | |
| parent | 291b3817bf0c7a742e9e17d42c94fc8c9530e40d (diff) | |
Merge branch 'debian/latest' into debian/trixie-backports
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 9 | ||||
| -rw-r--r-- | debian/control | 1 | ||||
| -rw-r--r-- | debian/copyright | 8 | ||||
| -rw-r--r-- | debian/patches/0006-cmake-modifications.patch | 92 | ||||
| -rw-r--r-- | debian/patches/0007-Documentation.patch | 62 | ||||
| -rw-r--r-- | debian/patches/0009-fix-ascidoctor-webfonts.patch | 14 | ||||
| -rw-r--r-- | debian/patches/0012-no-revisiontag.patch | 48 | ||||
| -rw-r--r-- | debian/patches/0013-qcustomplot-link.patch | 72 | ||||
| -rw-r--r-- | debian/patches/0014-xsltproc-nonet-manpages.patch | 16 | ||||
| -rw-r--r-- | debian/patches/0015-typos.patch | 16 | ||||
| -rw-r--r-- | debian/patches/defuse-expiry | 26 | ||||
| -rw-r--r-- | debian/patches/install-all-utils | 50 | ||||
| -rw-r--r-- | debian/patches/sounds-dir | 99 | ||||
| -rwxr-xr-x | debian/uupdate.sh | 22 | ||||
| -rw-r--r-- | debian/watch | 10 |
15 files changed, 265 insertions, 280 deletions
diff --git a/debian/changelog b/debian/changelog index faec34d7..b4cdbcdd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +wsjtx (3.0.0-1) unstable; urgency=medium + + * New upstream version 3.0.0. + * Move upstream location to https://github.com/WSJTX/wsjtx/tags. + * No tarball repacking required anymore. + * Remove unused Build-Dependency libqwt-qt5-dev. (Closes: #1131122) + + -- Christoph Berg <myon@debian.org> Tue, 07 Apr 2026 19:46:16 +0200 + wsjtx (3.0.0~rc1+repack-2~bpo13+1) trixie-backports; urgency=medium * Rebuild for trixie-backports. diff --git a/debian/control b/debian/control index 2ca86ae9..d78eaafd 100644 --- a/debian/control +++ b/debian/control @@ -21,7 +21,6 @@ Build-Depends: libqt5opengl5-dev, libqt5serialport5-dev, libqt5websockets5-dev, - libqwt-qt5-dev, libsamplerate0-dev, libudev-dev, portaudio19-dev, diff --git a/debian/copyright b/debian/copyright index b8ceafd8..f55dae31 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,14 +1,10 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: wsjtx Upstream-Contact: Joe Taylor <k1jt@arrl.net> -Source: https://sourceforge.net/projects/wsjt/ -Comment: The original upstream tarball contains two more tarballs, of which the - actual upstream tarball is src/wsjtx.tgz. (The rest is a hamlib copy, and - build instructions.) We ship only the wsjtx tarball. -Files-Excluded: *.dll *.exe +Source: https://github.com/WSJTX/wsjtx Files: * -Copyright: Copyright (C) 2001-2024 by Joe Taylor, K1JT. +Copyright: Copyright (C) 2001-2026 by Joe Taylor, K1JT. License: GPL-3 Files: contrib/QDarkStyleSheet/* diff --git a/debian/patches/0006-cmake-modifications.patch b/debian/patches/0006-cmake-modifications.patch index ba19e328..f62f1b88 100644 --- a/debian/patches/0006-cmake-modifications.patch +++ b/debian/patches/0006-cmake-modifications.patch @@ -4,52 +4,52 @@ Last-Update: 2018-02-20 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -1696,8 +1696,8 @@ if (UNIX) - add_dependencies (wsjtx manpages)
- endif (NOT WSJT_SKIP_MANPAGES)
- if (NOT APPLE)
-- add_subdirectory (debian)
-- add_dependencies (wsjtx debian)
-+ #add_subdirectory (debian)
-+ #add_dependencies (wsjtx debian)
- endif (NOT APPLE)
- endif (UNIX)
-
-@@ -1744,27 +1744,6 @@ install (TARGETS ft8code jt65code jt9cod - )
- endif(WSJT_BUILD_UTILS)
-
--install (PROGRAMS
-- ${RIGCTL_EXE}
-- DESTINATION ${CMAKE_INSTALL_BINDIR}
-- #COMPONENT runtime
-- RENAME rigctl-wsjtx${CMAKE_EXECUTABLE_SUFFIX}
-- )
--
--install (PROGRAMS
-- ${RIGCTLD_EXE}
-- DESTINATION ${CMAKE_INSTALL_BINDIR}
-- #COMPONENT runtime
-- RENAME rigctld-wsjtx${CMAKE_EXECUTABLE_SUFFIX}
-- )
--
--install (PROGRAMS
-- ${RIGCTLCOM_EXE}
-- DESTINATION ${CMAKE_INSTALL_BINDIR}
-- #COMPONENT runtime
-- RENAME rigctlcom-wsjtx${CMAKE_EXECUTABLE_SUFFIX}
-- )
--
- install (FILES
- README
- COPYING
+@@ -1739,8 +1739,8 @@ if (UNIX) + add_dependencies (wsjtx manpages) + endif (NOT WSJT_SKIP_MANPAGES) + if (NOT APPLE) +- add_subdirectory (debian) +- add_dependencies (wsjtx debian) ++ #add_subdirectory (debian) ++ #add_dependencies (wsjtx debian) + endif (NOT APPLE) + endif (UNIX) + +@@ -1787,27 +1787,6 @@ install (TARGETS ft8code jt65code jt9cod + ) + endif(WSJT_BUILD_UTILS) + +-install (PROGRAMS +- ${RIGCTL_EXE} +- DESTINATION ${CMAKE_INSTALL_BINDIR} +- #COMPONENT runtime +- RENAME rigctl-wsjtx${CMAKE_EXECUTABLE_SUFFIX} +- ) +- +-install (PROGRAMS +- ${RIGCTLD_EXE} +- DESTINATION ${CMAKE_INSTALL_BINDIR} +- #COMPONENT runtime +- RENAME rigctld-wsjtx${CMAKE_EXECUTABLE_SUFFIX} +- ) +- +-install (PROGRAMS +- ${RIGCTLCOM_EXE} +- DESTINATION ${CMAKE_INSTALL_BINDIR} +- #COMPONENT runtime +- RENAME rigctlcom-wsjtx${CMAKE_EXECUTABLE_SUFFIX} +- ) +- + install (FILES + README + COPYING --- a/wsjtx.pro +++ b/wsjtx.pro @@ -14,6 +14,7 @@ VERSION = "Not for Release" - TEMPLATE = app
- DEFINES = QT5
- QMAKE_CXXFLAGS += -std=c++11
-+QMAKE_CXXFLAGS += -std=c++11 $$system(pkg-config --cflags-only-I Qt5SerialPort)
- DEFINES += PROJECT_MANUAL="'\"http://www.physics.princeton.edu/pulsar/K1JT/wsjtx-doc/wsjtx-main.html\"'"
-
- isEmpty (DESTDIR) {
+ TEMPLATE = app + DEFINES = QT5 + QMAKE_CXXFLAGS += -std=c++11 ++QMAKE_CXXFLAGS += -std=c++11 $$system(pkg-config --cflags-only-I Qt5SerialPort) + DEFINES += PROJECT_MANUAL="'\"http://www.physics.princeton.edu/pulsar/K1JT/wsjtx-doc/wsjtx-main.html\"'" + + isEmpty (DESTDIR) { diff --git a/debian/patches/0007-Documentation.patch b/debian/patches/0007-Documentation.patch index 5fccb9f5..c27d1616 100644 --- a/debian/patches/0007-Documentation.patch +++ b/debian/patches/0007-Documentation.patch @@ -5,39 +5,39 @@ Last-Update: 2018-03-27 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -1745,17 +1745,6 @@ install (TARGETS ft8code jt65code jt9cod - endif(WSJT_BUILD_UTILS)
-
- install (FILES
-- README
-- COPYING
-- AUTHORS
-- THANKS
-- NEWS
-- BUGS
-- DESTINATION ${CMAKE_INSTALL_DOCDIR}
-- #COMPONENT runtime
-- )
--
--install (FILES
- cty.dat
- cty.dat_copyright.txt
- grid.dat
+@@ -1788,17 +1788,6 @@ install (TARGETS ft8code jt65code jt9cod + endif(WSJT_BUILD_UTILS) + + install (FILES +- README +- COPYING +- AUTHORS +- THANKS +- NEWS +- BUGS +- DESTINATION ${CMAKE_INSTALL_DOCDIR} +- #COMPONENT runtime +- ) +- +-install (FILES + cty.dat + cty.dat_copyright.txt + grid.dat --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt -@@ -299,7 +299,7 @@ foreach (_html ${htmls}) - string (REGEX REPLACE "_en$" "" _nwe ${_nwe})
- install (FILES
- ${_html}
-- DESTINATION ${CMAKE_INSTALL_DOCDIR}
-+ DESTINATION share/doc/wsjtx/
- RENAME ${_nwe}-${wsjtx_VERSION}${_ext}
- #COMPONENT runtime
- )
+@@ -298,7 +298,7 @@ foreach (_html ${htmls}) + string (REGEX REPLACE "_en$" "" _nwe ${_nwe}) + install (FILES + ${_html} +- DESTINATION ${CMAKE_INSTALL_DOCDIR} ++ DESTINATION share/doc/wsjtx/ + RENAME ${_nwe}-${wsjtx_VERSION}${_ext} + #COMPONENT runtime + ) --- a/wsjtx.desktop +++ b/wsjtx.desktop @@ -9,3 +9,4 @@ X-MultipleArgs=false - Type=Application
- Categories=AudioVideo;Audio;HamRadio;
- StartupNotify=true
-+Keywords=Radio
+ Type=Application + Categories=AudioVideo;Audio;HamRadio; + StartupNotify=true ++Keywords=Radio diff --git a/debian/patches/0009-fix-ascidoctor-webfonts.patch b/debian/patches/0009-fix-ascidoctor-webfonts.patch index ca9e13f0..17abab07 100644 --- a/debian/patches/0009-fix-ascidoctor-webfonts.patch +++ b/debian/patches/0009-fix-ascidoctor-webfonts.patch @@ -6,10 +6,10 @@ 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
- :description: Software for Amateur Radio Weak-Signal Communication
- :prog: WSJT-X
-+:!webfonts:
-
- // use global link file
- include::../../common/links.adoc[]
+ :keywords: amateur radio weak signal communication K1JT WSJT JT65 JT9 + :description: Software for Amateur Radio Weak-Signal Communication + :prog: WSJT-X ++:!webfonts: + + // use global link file + include::../../common/links.adoc[] diff --git a/debian/patches/0012-no-revisiontag.patch b/debian/patches/0012-no-revisiontag.patch index 83475419..1f5fc440 100644 --- a/debian/patches/0012-no-revisiontag.patch +++ b/debian/patches/0012-no-revisiontag.patch @@ -1,26 +1,26 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -1809,22 +1809,7 @@ add_custom_target (uninstall -
-
- # creates or updates ${PROJECT_BINARY_DIR}/scs_version.h using cmake script
--add_custom_target (revisiontag
-- COMMAND ${CMAKE_COMMAND}
-- -D SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}
-- -D BINARY_DIR=${CMAKE_CURRENT_BINARY_DIR}
-- -D OUTPUT_DIR=${PROJECT_BINARY_DIR}
-- -P ${CMAKE_CURRENT_SOURCE_DIR}/CMake/getsvn.cmake
-- VERBATIM
-- BYPRODUCTS scs_version.h
-- COMMENT "Getting source control system revision information"
-- )
--# explicitly say that the wsjt_qt depends on custom target, this is
--# done indirectly so that the revisiontag target gets built exactly
--# once per build
--add_dependencies (wsjt_qt revisiontag)
--add_dependencies (jt9 revisiontag)
--add_dependencies (wsprd revisiontag)
-+file (WRITE "${PROJECT_BINARY_DIR}/scs_version.h" "#define SCS_VERSION_STR\n")
-
-
- #
+@@ -1852,22 +1852,7 @@ add_custom_target (uninstall + + + # creates or updates ${PROJECT_BINARY_DIR}/scs_version.h using cmake script +-add_custom_target (revisiontag +- COMMAND ${CMAKE_COMMAND} +- -D SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR} +- -D BINARY_DIR=${CMAKE_CURRENT_BINARY_DIR} +- -D OUTPUT_DIR=${PROJECT_BINARY_DIR} +- -P ${CMAKE_CURRENT_SOURCE_DIR}/CMake/getsvn.cmake +- VERBATIM +- BYPRODUCTS scs_version.h +- COMMENT "Getting source control system revision information" +- ) +-# explicitly say that the wsjt_qt depends on custom target, this is +-# done indirectly so that the revisiontag target gets built exactly +-# once per build +-add_dependencies (wsjt_qt revisiontag) +-add_dependencies (jt9 revisiontag) +-add_dependencies (wsprd revisiontag) ++file (WRITE "${PROJECT_BINARY_DIR}/scs_version.h" "#define SCS_VERSION_STR\n") + + + # diff --git a/debian/patches/0013-qcustomplot-link.patch b/debian/patches/0013-qcustomplot-link.patch index 835bfd47..2edf1d37 100644 --- a/debian/patches/0013-qcustomplot-link.patch +++ b/debian/patches/0013-qcustomplot-link.patch @@ -1,38 +1,38 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -811,17 +811,12 @@ set (message_aggregator_STYLESHEETS - UDPExamples/qss/default.qss
- )
-
--set (qcp_CXXSRCS
-- qcustomplot-source/qcustomplot.cpp
-- )
--
- set (all_CXXSRCS
- ${wsjt_CXXSRCS}
- ${fort_qt_CXXSRCS}
- ${wsjt_qt_CXXSRCS}
- ${wsjt_qtmm_CXXSRCS}
- ${wsjtx_CXXSRCS}
-- ${qcp_CXXSRCS}
- )
-
- set (all_C_and_CXXSRCS
-@@ -1497,16 +1492,11 @@ endif (WIN32) - # targets dependent on Qt
- #
-
--# build a library for the QCustomPlot widget
--add_library (qcp STATIC ${qcp_CXXSRCS})
--target_include_directories (qcp PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/qcustomplot-source>)
--target_link_libraries (qcp Qt5::Widgets Qt5::PrintSupport)
--
- # build a library of package Qt functionality
- add_library (wsjt_qt STATIC ${wsjt_qt_CXXSRCS} ${wsjt_qt_GENUISRCS} ${GENAXSRCS})
- # set wsjtx_udp exports to static variants
- target_compile_definitions (wsjt_qt PUBLIC UDP_STATIC_DEFINE)
--target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log qcp Qt5::Widgets Qt5::Network Qt5::Sql Qt5::WebSockets)
-+target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log QCustomPlot Qt5::Widgets Qt5::Network Qt5::Sql Qt5::WebSockets)
- if (WIN32)
- target_link_libraries (wsjt_qt Qt5::AxContainer Qt5::AxBase)
- endif (WIN32)
+@@ -834,17 +834,12 @@ set (message_aggregator_STYLESHEETS + UDPExamples/qss/default.qss + ) + +-set (qcp_CXXSRCS +- qcustomplot-source/qcustomplot.cpp +- ) +- + set (all_CXXSRCS + ${wsjt_CXXSRCS} + ${fort_qt_CXXSRCS} + ${wsjt_qt_CXXSRCS} + ${wsjt_qtmm_CXXSRCS} + ${wsjtx_CXXSRCS} +- ${qcp_CXXSRCS} + ) + + set (all_C_and_CXXSRCS +@@ -1540,16 +1535,11 @@ endif (WIN32) + # targets dependent on Qt + # + +-# build a library for the QCustomPlot widget +-add_library (qcp STATIC ${qcp_CXXSRCS}) +-target_include_directories (qcp PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/qcustomplot-source>) +-target_link_libraries (qcp Qt5::Widgets Qt5::PrintSupport) +- + # build a library of package Qt functionality + add_library (wsjt_qt STATIC ${wsjt_qt_CXXSRCS} ${wsjt_qt_GENUISRCS} ${GENAXSRCS}) + # set wsjtx_udp exports to static variants + target_compile_definitions (wsjt_qt PUBLIC UDP_STATIC_DEFINE) +-target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log qcp Qt5::Widgets Qt5::Network Qt5::Sql Qt5::WebSockets) ++target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log QCustomPlot Qt5::Widgets Qt5::Network Qt5::Sql Qt5::WebSockets) + if (WIN32) + target_link_libraries (wsjt_qt Qt5::AxContainer Qt5::AxBase) + endif (WIN32) diff --git a/debian/patches/0014-xsltproc-nonet-manpages.patch b/debian/patches/0014-xsltproc-nonet-manpages.patch index d7af4dd8..7ea144df 100644 --- a/debian/patches/0014-xsltproc-nonet-manpages.patch +++ b/debian/patches/0014-xsltproc-nonet-manpages.patch @@ -6,11 +6,11 @@ Last-Update: 2020-07-05 --- a/manpages/CMakeLists.txt +++ b/manpages/CMakeLists.txt @@ -33,7 +33,7 @@ find_program (GZIP_EXECUTABLE NAMES gzip - find_program (SED_EXECUTABLE NAMES sed)
-
- set (XSLTPROC_OPTS
-- "-param man.endnotes.list.enabled 0 -param man.endnotes.are.numbered 0"
-+ "--nonet -param man.endnotes.list.enabled 0 -param man.endnotes.are.numbered 0"
- )
- set (A2X_OPTS
- --format=manpage
+ find_program (SED_EXECUTABLE NAMES sed) + + set (XSLTPROC_OPTS +- "-param man.endnotes.list.enabled 0 -param man.endnotes.are.numbered 0" ++ "--nonet -param man.endnotes.list.enabled 0 -param man.endnotes.are.numbered 0" + ) + set (A2X_OPTS + --format=manpage diff --git a/debian/patches/0015-typos.patch b/debian/patches/0015-typos.patch index 072b5691..17273056 100644 --- a/debian/patches/0015-typos.patch +++ b/debian/patches/0015-typos.patch @@ -3,11 +3,11 @@ Description: patch spelling typo(s) in source --- a/manpages/man1/fst4sim.1.txt +++ b/manpages/man1/fst4sim.1.txt @@ -64,7 +64,7 @@ QRA64 sub-mode designator. -
- *snr*::
-
-- Add Guassian noise to simulate SNR in 2500 Hz bandwidth.
-+ Add Gaussian noise to simulate SNR in 2500 Hz bandwidth.
-
- *W*::
-
+ + *snr*:: + +- Add Guassian noise to simulate SNR in 2500 Hz bandwidth. ++ Add Gaussian noise to simulate SNR in 2500 Hz bandwidth. + + *W*:: + diff --git a/debian/patches/defuse-expiry b/debian/patches/defuse-expiry index bff4179b..f616a8fa 100644 --- a/debian/patches/defuse-expiry +++ b/debian/patches/defuse-expiry @@ -1,15 +1,15 @@ --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp -@@ -1268,10 +1268,12 @@ MainWindow::MainWindow(QDir const& temp_ - splashTimer.setSingleShot (true);
- splashTimer.start (20 * 1000);
-
-+ /*
- if(QCoreApplication::applicationVersion().contains("-devel") or
- QCoreApplication::applicationVersion().contains("-rc")) {
- QTimer::singleShot (0, this, SLOT (not_GA_warning_message ()));
- }
-+ */
-
- m_bMyCallStd=stdCall(m_config.my_callsign ()); //ft8md
- m_bHisCallStd=stdCall(m_hisCall); //ft8md
+@@ -1277,10 +1277,12 @@ MainWindow::MainWindow(QDir const& temp_ + splashTimer.setSingleShot (true); + splashTimer.start (20 * 1000); + ++ /* + if(QCoreApplication::applicationVersion().contains("-devel") or + QCoreApplication::applicationVersion().contains("-rc")) { + // QTimer::singleShot (0, this, SLOT (not_GA_warning_message ())); + } ++ */ + + m_bMyCallStd=stdCall(m_config.my_callsign ()); //ft8md + m_bHisCallStd=stdCall(m_hisCall); //ft8md diff --git a/debian/patches/install-all-utils b/debian/patches/install-all-utils index e4fce31e..95f105a0 100644 --- a/debian/patches/install-all-utils +++ b/debian/patches/install-all-utils @@ -5,28 +5,28 @@ Last-Update: 2024-01-01 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -1729,6 +1729,24 @@ install (TARGETS jt9 wsprd fmtave fcal f - if(WSJT_BUILD_UTILS)
- install (TARGETS ft8code jt65code jt9code jt4code msk144code
- q65code fst4sim ft8sim q65sim EchoCallSim testEchoCall echosim hash22calc cablog
-+ encode77
-+ ft4code
-+ ft4sim_mult
-+ ft8sim
-+ jt49sim
-+ jt4sim
-+ jt65sim
-+ ldpcsim240_101
-+ ldpcsim240_74
-+ msk144sim
-+ q65_ftn_test
-+ record_time_signal
-+ rtty_spec
-+ sumsim
-+ test_q65
-+ test_snr
-+ wsprcode
-+ wsprsim
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
- BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
- )
+@@ -1772,6 +1772,24 @@ install (TARGETS jt9 wsprd fmtave fcal f + if(WSJT_BUILD_UTILS) + install (TARGETS ft8code jt65code jt9code jt4code msk144code + q65code fst4sim ft8sim q65sim EchoCallSim testEchoCall echosim hash22calc cablog ++ encode77 ++ ft4code ++ ft4sim_mult ++ ft8sim ++ jt49sim ++ jt4sim ++ jt65sim ++ ldpcsim240_101 ++ ldpcsim240_74 ++ msk144sim ++ q65_ftn_test ++ record_time_signal ++ rtty_spec ++ sumsim ++ test_q65 ++ test_snr ++ wsprcode ++ wsprsim + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime + BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime + ) diff --git a/debian/patches/sounds-dir b/debian/patches/sounds-dir index 41693129..bc323d05 100644 --- a/debian/patches/sounds-dir +++ b/debian/patches/sounds-dir @@ -1,51 +1,60 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -1778,7 +1778,7 @@ install (DIRECTORY -
- install (DIRECTORY
- ${PROJECT_SOURCE_DIR}/sounds
-- DESTINATION ${CMAKE_INSTALL_BINDIR}
-+ DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}
- #COMPONENT runtime
- )
-
+@@ -1821,7 +1821,7 @@ install (DIRECTORY + + 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 -@@ -929,7 +929,7 @@ void DisplayText::AudioAlerts() - connect(audio, SIGNAL(stateChanged(QAudio::State)), this, SLOT(handleStateChanged(QAudio::State)));
- #else
- if(m_config->alert_Enabled()) {
-- QString binPath = QCoreApplication::applicationDirPath();
-+ QString binPath = "/usr/share/wsjtx";
- #endif
- QFile *effect2 = new QFile(this);
- QFile *effect3 = new QFile(this);
+@@ -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); --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp -@@ -3332,7 +3332,7 @@ void MainWindow::fastSink(qint64 frames) - effect1->open(QIODevice::ReadOnly);
- audio->start(effect1);
- #else
-- QString binPath = QCoreApplication::applicationDirPath();
-+ QString binPath = "/usr/share/wsjtx";
- QSound::play(binPath + "/sounds/DXcall.wav"); // for Linux and macOS
- #endif
- play_DXcall = false;
-@@ -7102,7 +7102,7 @@ void MainWindow::readFromStdout() - effect1->open(QIODevice::ReadOnly);
- audio->start(effect1);
- #else
-- QString binPath = QCoreApplication::applicationDirPath();
-+ QString binPath = "/usr/share/wsjtx";
- QSound::play(binPath + "/sounds/DXcall.wav"); // for Linux and macOS
- #endif
- play_DXcall = false;
-@@ -10258,7 +10258,7 @@ void MainWindow::mousePressEvent(QMouseE - effect->open(QIODevice::ReadOnly);
- audio->start(effect);
- #else
-- QString binPath = QCoreApplication::applicationDirPath();
-+ QString binPath = "/usr/share/wsjtx";
- QSound::play(binPath + "/sounds/Testing_long.wav"); // for Linux and macOS
- #endif
- }
+@@ -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 + } diff --git a/debian/uupdate.sh b/debian/uupdate.sh deleted file mode 100755 index 0d12c4cb..00000000 --- a/debian/uupdate.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -# to be invoked from uscan (debian/watch) - -set -eux - -: $0 "$@" -# $1 is expected to be "--upstream-version" -version="$2" -tarball="wsjtx_$version.orig.tar.gz" - -# unpack original tarball, move inner tarball in place -tar xf ../$tarball -#mv wsjtx-*/src/wsjtx.tgz ../wsjtx_$version+repack.orig.tar.gz -mk-origtargz --copyright-file debian/copyright --force-repack --version $version+repack wsjtx-*/src/wsjtx.tgz -rm -rf wsjtx-*/ - -# import into git -echo "To import into git, do:" -echo gbp import-orig --pristine-tar --upstream-version=$version+repack ../wsjtx_$version+repack.orig.tar.xz - -#dch -v $version+repack-1 "New upstream version $version." diff --git a/debian/watch b/debian/watch index d5480751..9f433e9f 100644 --- a/debian/watch +++ b/debian/watch @@ -1,11 +1,5 @@ Version: 5 -# no-symlink so uscan doesn't try to invoke mk-origtargz to repack -# the upstream tarball; debian/uupdate.sh will handle this. -Source: https://wsjt.sourceforge.io/wsjtx.html -Matching-Pattern: .*wsjtx-(.*).tgz -Dversionmangle: s/\+repack// -No-Symlink: yes -Repacksuffix: +repack -Update-Script: debian/uupdate.sh +Source: https://github.com/WSJTX/wsjtx/tags +Matching-Pattern: .*/v(.*).tar.gz Uversionmangle: s/-rc/~rc/ |
