diff options
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/0006-cmake-modifications.patch | 92 | ||||
| -rw-r--r-- | debian/patches/0007-Documentation.patch | 64 | ||||
| -rw-r--r-- | debian/patches/0009-fix-ascidoctor-webfonts.patch | 16 | ||||
| -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/series | 1 | ||||
| -rw-r--r-- | debian/patches/sounds-dir | 51 |
11 files changed, 252 insertions, 200 deletions
diff --git a/debian/patches/0006-cmake-modifications.patch b/debian/patches/0006-cmake-modifications.patch index e961a616..ba19e328 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 -@@ -1625,8 +1625,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) - -@@ -1673,27 +1673,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 +@@ -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
--- 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 31126fa8..5fccb9f5 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 -@@ -1610,17 +1610,6 @@ - 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 - contrib/Ephemeris/JPLEPH +@@ -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
--- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt -@@ -248,7 +248,7 @@ - string (REGEX REPLACE "_en$" "" _nwe ${_nwe}) - install (FILES - ${_html} -- DESTINATION ${CMAKE_INSTALL_DOCDIR} -+ DESTINATION share/doc/wsjtx/ - RENAME ${_nwe}-${wsjtx_VERSION}${_ext} - #COMPONENT runtime - ) +@@ -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
+ )
--- a/wsjtx.desktop +++ b/wsjtx.desktop -@@ -9,3 +9,4 @@ - Type=Application - Categories=AudioVideo;Audio;HamRadio; - StartupNotify=true -+Keywords=Radio +@@ -9,3 +9,4 @@ X-MultipleArgs=false + 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 03d224f7..ca9e13f0 100644 --- a/debian/patches/0009-fix-ascidoctor-webfonts.patch +++ b/debian/patches/0009-fix-ascidoctor-webfonts.patch @@ -5,11 +5,11 @@ 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 @@ Joseph H Taylor, Jr, K1JT - :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[] +@@ -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[]
diff --git a/debian/patches/0012-no-revisiontag.patch b/debian/patches/0012-no-revisiontag.patch index 6ad76571..83475419 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 -@@ -1650,22 +1650,7 @@ - - - # 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") - - - # +@@ -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")
+
+
+ #
diff --git a/debian/patches/0013-qcustomplot-link.patch b/debian/patches/0013-qcustomplot-link.patch index 024a3969..835bfd47 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 -@@ -696,17 +696,12 @@ - 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 -@@ -1362,16 +1357,11 @@ - # 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) -+target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log QCustomPlot Qt5::Widgets Qt5::Network Qt5::Sql) - if (WIN32) - target_link_libraries (wsjt_qt Qt5::AxContainer Qt5::AxBase) - endif (WIN32) +@@ -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)
diff --git a/debian/patches/0014-xsltproc-nonet-manpages.patch b/debian/patches/0014-xsltproc-nonet-manpages.patch index 7ea144df..d7af4dd8 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 17273056..072b5691 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 f77c85de..bff4179b 100644 --- a/debian/patches/defuse-expiry +++ b/debian/patches/defuse-expiry @@ -1,15 +1,15 @@ --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp -@@ -1080,10 +1080,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_specOp=m_config.special_op_id(); - +@@ -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
diff --git a/debian/patches/install-all-utils b/debian/patches/install-all-utils index 2aa10bd1..e4fce31e 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 -@@ -1594,6 +1594,24 @@ - if(WSJT_BUILD_UTILS) - install (TARGETS ft8code jt65code jt9code jt4code msk144code - q65code fst4sim q65sim 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 - ) +@@ -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
+ )
diff --git a/debian/patches/series b/debian/patches/series index ba150d47..465d6cf5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ 0015-typos.patch defuse-expiry install-all-utils +sounds-dir diff --git a/debian/patches/sounds-dir b/debian/patches/sounds-dir new file mode 100644 index 00000000..41693129 --- /dev/null +++ b/debian/patches/sounds-dir @@ -0,0 +1,51 @@ +--- 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
+ )
+
+--- 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);
+--- 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
+ }
|
