summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-01-09 22:24:27 +0100
committerChristoph Berg <myon@debian.org>2025-01-09 22:24:27 +0100
commit65eedd75837be0e609489d8845040141be6058e6 (patch)
treeab44de49c0929a4a2911478754732e0cca6a7348 /debian/patches
parent98c02f78b26811ba5d9962ba27ec24cacf82bb22 (diff)
New upstream version 2.7.0~rc8+repack.debian/2.7.0_rc8+repack-1
Remove CR from all patches, upstream switched.
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0006-cmake-modifications.patch95
-rw-r--r--debian/patches/0007-Documentation.patch58
-rw-r--r--debian/patches/0009-fix-ascidoctor-webfonts.patch14
-rw-r--r--debian/patches/0012-no-revisiontag.patch46
-rw-r--r--debian/patches/0013-qcustomplot-link.patch68
-rw-r--r--debian/patches/0014-xsltproc-nonet-manpages.patch16
-rw-r--r--debian/patches/0015-typos.patch16
-rw-r--r--debian/patches/defuse-expiry24
-rw-r--r--debian/patches/install-all-utils48
9 files changed, 192 insertions, 193 deletions
diff --git a/debian/patches/0006-cmake-modifications.patch b/debian/patches/0006-cmake-modifications.patch
index ff7748ad..e961a616 100644
--- a/debian/patches/0006-cmake-modifications.patch
+++ b/debian/patches/0006-cmake-modifications.patch
@@ -4,53 +4,52 @@ Last-Update: 2018-02-20
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -1561,8 +1561,8 @@
- 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)
-
-@@ -1609,27 +1609,6 @@
- )
- 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
+@@ -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
--- a/wsjtx.pro
+++ b/wsjtx.pro
-@@ -13,7 +13,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) {
+@@ -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) {
diff --git a/debian/patches/0007-Documentation.patch b/debian/patches/0007-Documentation.patch
index 3ff45826..31126fa8 100644
--- a/debian/patches/0007-Documentation.patch
+++ b/debian/patches/0007-Documentation.patch
@@ -6,38 +6,38 @@ 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
+ 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
--- 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
- )
+ 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
+ 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 69927347..03d224f7 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 @@ 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[]
+ :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 17c80532..6ad76571 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")
-
-
- #
+
+
+ # 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 5ea3f98a..024a3969 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
+ 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)
+ # 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)
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 9890f65a..f77c85de 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();
-
+ 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();
+
diff --git a/debian/patches/install-all-utils b/debian/patches/install-all-utils
index 84c1ead2..2aa10bd1 100644
--- a/debian/patches/install-all-utils
+++ b/debian/patches/install-all-utils
@@ -6,27 +6,27 @@ 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
- )
+ 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
+ )