diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-27 00:19:40 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-27 00:19:40 +0200 |
| commit | f13e6eb39d944289a612dee1aa94b15e0a91e88c (patch) | |
| tree | fd0529c69d107ff81e1ae0add42574541e7aad87 | |
| parent | 69344560ea394c06ca94acac46a2e4c3e8b7b229 (diff) | |
New upstream version 3.2.0~rc1+dfsg.
Use a manually built tarball as the github one lacks the samples/
directory which the tests need.
| -rw-r--r-- | debian/changelog | 8 | ||||
| -rw-r--r-- | debian/patches/0006-cmake-modifications.patch | 40 | ||||
| -rw-r--r-- | debian/patches/0007-Documentation.patch | 22 | ||||
| -rw-r--r-- | debian/patches/0009-fix-ascidoctor-webfonts.patch | 8 | ||||
| -rw-r--r-- | debian/patches/0012-no-revisiontag.patch | 46 | ||||
| -rw-r--r-- | debian/patches/0013-qcustomplot-link.patch | 26 | ||||
| -rw-r--r-- | debian/patches/defuse-expiry | 26 | ||||
| -rw-r--r-- | debian/patches/format-security | 11 | ||||
| -rw-r--r-- | debian/patches/install-all-utils | 32 | ||||
| -rw-r--r-- | debian/patches/series | 4 | ||||
| -rw-r--r-- | debian/patches/sounds-dir | 22 | ||||
| -rwxr-xr-x | debian/rules | 7 | ||||
| -rw-r--r-- | debian/wsjtx.docs | 3 |
13 files changed, 56 insertions, 199 deletions
diff --git a/debian/changelog b/debian/changelog index ee5c848e..e3d78d97 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +wsjtx (3.2.0~rc1+dfsg-1) unstable; urgency=medium + + * New upstream version 3.2.0~rc1+dfsg. + * Use a manually built tarball as the github one lacks the samples/ + directory which the tests need. + + -- Christoph Berg <myon@debian.org> Sat, 26 Sep 2026 22:22:24 +0200 + wsjtx (3.0.2+dfsg-2) unstable; urgency=medium * Wrap tests in xvfb-run. diff --git a/debian/patches/0006-cmake-modifications.patch b/debian/patches/0006-cmake-modifications.patch index f62f1b88..cd62dc93 100644 --- a/debian/patches/0006-cmake-modifications.patch +++ b/debian/patches/0006-cmake-modifications.patch @@ -4,7 +4,7 @@ Last-Update: 2018-02-20 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -1739,8 +1739,8 @@ if (UNIX) +@@ -1330,8 +1330,8 @@ if (UNIX) add_dependencies (wsjtx manpages) endif (NOT WSJT_SKIP_MANPAGES) if (NOT APPLE) @@ -15,41 +15,3 @@ Last-Update: 2018-02-20 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) { diff --git a/debian/patches/0007-Documentation.patch b/debian/patches/0007-Documentation.patch index c27d1616..b4ce381c 100644 --- a/debian/patches/0007-Documentation.patch +++ b/debian/patches/0007-Documentation.patch @@ -3,29 +3,9 @@ Description: Little bits for lintian cleanliness and Author: hibby <d@vehibberd.com> Last-Update: 2018-03-27 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -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 -@@ -298,7 +298,7 @@ foreach (_html ${htmls}) +@@ -303,7 +303,7 @@ foreach (_html ${htmls}) string (REGEX REPLACE "_en$" "" _nwe ${_nwe}) install (FILES ${_html} diff --git a/debian/patches/0009-fix-ascidoctor-webfonts.patch b/debian/patches/0009-fix-ascidoctor-webfonts.patch index 99d06911..50461555 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 @@ Copyright 2026 by Joe Taylor, K1JT - :keywords: amateur radio weak signal communication K1JT WSJT FT8 Q65 MSK!44 JT65 +@@ -13,6 +13,7 @@ Copyright 2001-2026 by the WSJT Developm + :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[] + [.copyright] + _You may use and distribute unmodified copies of this document, diff --git a/debian/patches/0012-no-revisiontag.patch b/debian/patches/0012-no-revisiontag.patch index 1f5fc440..8bde4f0f 100644 --- a/debian/patches/0012-no-revisiontag.patch +++ b/debian/patches/0012-no-revisiontag.patch @@ -1,26 +1,20 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -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") - - - # +--- a/CMake/getsvn.cmake ++++ b/CMake/getsvn.cmake +@@ -1,7 +1,7 @@ + message (STATUS "Checking for revision information") + set (__scs_header_file ${BINARY_DIR}/scs_version.h.txt) + file (WRITE ${__scs_header_file} "/* SCS version information */\n\n") +-if (EXISTS "${SOURCE_DIR}/.svn") ++if (EXISTS "${SOURCE_DIR}/.xxx-svn") + message (STATUS "Checking for Subversion revision information") + find_package (Subversion QUIET REQUIRED) + # the FindSubversion.cmake module is part of the standard distribution +@@ -28,7 +28,7 @@ if (EXISTS "${SOURCE_DIR}/.svn") + set (SCS_VERSION_STR "${SCS_VERSION}") + endif () + message (STATUS "${SOURCE_DIR} contains a .svn and is revision ${SCS_VERSION}") +-elseif (EXISTS "${SOURCE_DIR}/.git") ++elseif (EXISTS "${SOURCE_DIR}/.xxx-git") + if (EXISTS "${SOURCE_DIR}/.git/svn/.metadata") # try git-svn + message (STATUS "Checking for Subversion revision information using git-svn") + include (${SOURCE_DIR}/CMake/Modules/FindGitSubversion.cmake) diff --git a/debian/patches/0013-qcustomplot-link.patch b/debian/patches/0013-qcustomplot-link.patch index 2edf1d37..83962d45 100644 --- a/debian/patches/0013-qcustomplot-link.patch +++ b/debian/patches/0013-qcustomplot-link.patch @@ -1,38 +1,22 @@ --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -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) +@@ -653,18 +653,12 @@ endif (WIN32) # targets dependent on Qt # -# build a library for the QCustomPlot widget -add_library (qcp STATIC ${qcp_CXXSRCS}) +-wsjt_enable_qt_automoc (qcp) -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}) + wsjt_enable_qt_automoc (wsjt_qt) # 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) +-target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log qcp Qt5::Widgets Qt5::Network Qt5::Multimedia Qt5::SerialPort Qt5::Sql Qt5::WebSockets) ++target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log QCustomPlot Qt5::Widgets Qt5::Network Qt5::Multimedia Qt5::SerialPort Qt5::Sql Qt5::WebSockets) if (WIN32) target_link_libraries (wsjt_qt Qt5::AxContainer Qt5::AxBase) endif (WIN32) diff --git a/debian/patches/defuse-expiry b/debian/patches/defuse-expiry index f616a8fa..3cfd21c6 100644 --- a/debian/patches/defuse-expiry +++ b/debian/patches/defuse-expiry @@ -1,15 +1,11 @@ ---- a/widgets/mainwindow.cpp -+++ b/widgets/mainwindow.cpp -@@ -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 +--- a/main.cpp ++++ b/main.cpp +@@ -895,7 +895,7 @@ int main(int argc, char *argv[]) + w.show(); + PerformanceTrace::milestone ("ui.show_returned"); + smoke_phase ("MainWindow shown"); +- if (prerelease_notice_pending) ++ if (0 && prerelease_notice_pending) + { + prerelease_notice_pending = false; + QTimer::singleShot (0, &w, [&w, automated_test, prerelease_expiration] { diff --git a/debian/patches/format-security b/debian/patches/format-security deleted file mode 100644 index 9bff088c..00000000 --- a/debian/patches/format-security +++ /dev/null @@ -1,11 +0,0 @@ ---- 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/install-all-utils b/debian/patches/install-all-utils deleted file mode 100644 index 95f105a0..00000000 --- a/debian/patches/install-all-utils +++ /dev/null @@ -1,32 +0,0 @@ -Description: Install all utility programs -Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024761 -Forwarded: not-needed -Last-Update: 2024-01-01 - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -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/series b/debian/patches/series index f285a5b5..969fd1d9 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,7 +6,3 @@ 0014-xsltproc-nonet-manpages.patch 0015-typos.patch defuse-expiry -install-all-utils -sounds-dir -allcall7-location -format-security diff --git a/debian/patches/sounds-dir b/debian/patches/sounds-dir deleted file mode 100644 index 4caed08e..00000000 --- a/debian/patches/sounds-dir +++ /dev/null @@ -1,22 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -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 ---- 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 -- QString root {QCoreApplication::applicationDirPath () + "/sounds"}; -+ QString root {"/usr/share/wsjtx/sounds"}; - #endif - auto child = subdirectory; - while (child.startsWith (QChar {'/'})) diff --git a/debian/rules b/debian/rules index 44d69625..e0ccefab 100755 --- a/debian/rules +++ b/debian/rules @@ -15,7 +15,7 @@ include /usr/share/dpkg/buildflags.mk override_dh_auto_configure: # look for documentation in /usr/share/doc/wsjtx instead of .../WSJT-X - dh_auto_configure -- -DCMAKE_INSTALL_DOCDIR=share/doc/wsjtx + dh_auto_configure -- -DCMAKE_INSTALL_DOCDIR=share/doc/wsjtx -DWSJT_BUILD_UTILS=ON override_dh_installchangelogs: # there are various files with upstream notes, NEWS is the most comprehensive one @@ -31,4 +31,7 @@ override_dh_installdocs-indep: cd debian/wsjtx-doc/usr/share/doc/wsjtx && ln -s wsjtx-main-*.html wsjtx-main.html override_dh_auto_test: - xvfb-run dh_auto_test + # C.UTF-8 to fix the test_frequency_editors test + # the release archive identity tests expect the pristine upstream tree + # (unexpanded $Format:%H$ placeholder, export-subst .gitattributes) + LANG=C.UTF-8 xvfb-run dh_auto_test -- ARGS+=-E ARGS+=test_release diff --git a/debian/wsjtx.docs b/debian/wsjtx.docs index 0e1d6279..33b81078 100644 --- a/debian/wsjtx.docs +++ b/debian/wsjtx.docs @@ -1,3 +1,2 @@ +g4wjs.txt jt9.txt -README -THANKS |
