diff options
| author | hibby <d@vehibberd.com> | 2026-10-06 21:24:40 +0100 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2026-10-06 21:24:40 +0100 |
| commit | c25cbdf6fb6d946175f4335fab77bfea601b56db (patch) | |
| tree | 6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /debian | |
| parent | 71f5689252c9f13e70e1c24856904475b2307809 (diff) | |
| parent | 0685fcada9f95fe90f70b387cd7d757da8209624 (diff) | |
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 28 | ||||
| -rw-r--r-- | debian/control | 7 | ||||
| -rw-r--r-- | debian/patches/0006-cmake-modifications.patch | 23 | ||||
| -rw-r--r-- | debian/patches/0007-Documentation.patch | 22 | ||||
| -rw-r--r-- | debian/patches/0009-fix-ascidoctor-webfonts.patch | 6 | ||||
| -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/0016-sse2-i386.patch | 32 | ||||
| -rw-r--r-- | debian/patches/allcall7-location | 28 | ||||
| -rw-r--r-- | debian/patches/defuse-expiry | 26 | ||||
| -rw-r--r-- | debian/patches/install-all-utils | 32 | ||||
| -rw-r--r-- | debian/patches/series | 4 | ||||
| -rw-r--r-- | debian/patches/sounds-dir | 60 | ||||
| -rwxr-xr-x | debian/rules | 16 | ||||
| -rw-r--r-- | debian/watch | 7 | ||||
| -rw-r--r-- | debian/wsjtx.docs | 3 |
16 files changed, 134 insertions, 232 deletions
diff --git a/debian/changelog b/debian/changelog index 0ea230f9..821aae93 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,31 @@ +wsjtx (3.2.0~rc1+dfsg-2) unstable; urgency=medium + + * Ignore warning from inside boost on armhf. + * Restrict to little-endian architectures. Signal and message processing + does not support big-endian currently. + + -- Christoph Berg <myon@debian.org> Mon, 28 Sep 2026 21:01:12 +0200 + +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. + + -- Christoph Berg <myon@debian.org> Mon, 22 Jun 2026 14:09:39 +0000 + +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~bpo13+1) trixie-backports; urgency=medium * Rebuild for trixie-backports. diff --git a/debian/control b/debian/control index d78eaafd..b7ec29a0 100644 --- a/debian/control +++ b/debian/control @@ -7,6 +7,7 @@ Uploaders: Section: hamradio Priority: optional Build-Depends: + architecture-is-little-endian, asciidoc, asciidoctor, cmake, @@ -28,10 +29,12 @@ Build-Depends: qttools5-dev, qtmultimedia5-dev, texinfo, -Standards-Version: 4.7.0 + xauth, + xvfb, +Standards-Version: 4.7.4 Vcs-Browser: https://salsa.debian.org/debian-hamradio-team/wsjtx Vcs-Git: https://salsa.debian.org/debian-hamradio-team/wsjtx.git -Homepage: https://wsjt.sourceforge.io/wsjtx.html +Homepage: https://wsjtx.github.io/wsjtx/index.html Rules-Requires-Root: no Package: wsjtx diff --git a/debian/patches/0006-cmake-modifications.patch b/debian/patches/0006-cmake-modifications.patch index f62f1b88..c2f751a0 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) @@ -14,9 +14,11 @@ Last-Update: 2018-02-20 + #add_dependencies (wsjtx debian) endif (NOT APPLE) endif (UNIX) - -@@ -1787,27 +1787,6 @@ install (TARGETS ft8code jt65code jt9cod - ) + +--- a/CMake/Install.cmake ++++ b/CMake/Install.cmake +@@ -69,27 +69,6 @@ + endif(WSJT_BUILD_UTILS) -install (PROGRAMS @@ -41,15 +43,6 @@ Last-Update: 2018-02-20 - ) - 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\"'" + README.md + DESTINATION ${CMAKE_INSTALL_DOCDIR} - 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 17abab07..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 @@ +@@ -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/0016-sse2-i386.patch b/debian/patches/0016-sse2-i386.patch new file mode 100644 index 00000000..24d4a065 --- /dev/null +++ b/debian/patches/0016-sse2-i386.patch @@ -0,0 +1,32 @@ +Description: Build C and Fortran sources with SSE2 on i386 + On 32-bit Intel targets the default x87 floating point model keeps + intermediate results in 80-bit extended precision. That breaks bit-exact + comparisons between equivalent computations in the unit tests, and slows + the Q65 LDPC decoders down until test_q65_decode_pipeline times out. + Building the C and Fortran sources with SSE2 makes every operation round + to 64-bit IEEE double precision, matching the 64-bit build behaviour. +Author: Christoph Berg <myon@debian.org> +Last-Update: 2026-09-27 + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -88,6 +88,19 @@ + LANGUAGES C CXX Fortran + ) + ++# ++# On 32-bit Intel targets the default x87 floating point model keeps ++# intermediate results in 80-bit extended precision. That breaks bit-exact ++# comparisons between equivalent computations in the unit tests, and slows ++# the Q65 LDPC decoders down until test_q65_decode_pipeline times out. ++# Build the C and Fortran sources with SSE2, where every operation rounds ++# to 64-bit IEEE double precision, matching the 64-bit build behaviour. ++# ++if (UNIX AND CMAKE_SYSTEM_PROCESSOR MATCHES "i.86") ++ string (APPEND CMAKE_C_FLAGS " -msse2 -mfpmath=sse") ++ string (APPEND CMAKE_Fortran_FLAGS " -msse2 -mfpmath=sse") ++endif (UNIX) ++ + set (CMAKE_CXX_STANDARD 17) + set (CMAKE_CXX_STANDARD_REQUIRED ON) + set (CMAKE_CXX_EXTENSIONS ON) 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/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/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 3d3b46d0..ad5ef0f2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -5,7 +5,5 @@ 0013-qcustomplot-link.patch 0014-xsltproc-nonet-manpages.patch 0015-typos.patch +0016-sse2-i386.patch defuse-expiry -install-all-utils -sounds-dir -allcall7-location diff --git a/debian/patches/sounds-dir b/debian/patches/sounds-dir deleted file mode 100644 index bc323d05..00000000 --- a/debian/patches/sounds-dir +++ /dev/null @@ -1,60 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -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 -@@ -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 -@@ -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/rules b/debian/rules index 7b8eb96b..2c19e289 100755 --- a/debian/rules +++ b/debian/rules @@ -7,6 +7,14 @@ export WSJT_SKIP_MANPAGES=1 # Debian Hardening export DEB_BUILD_MAINT_OPTIONS=hardening=+all +# GCC 16 (trixie) reports a -Wmaybe-uninitialized false positive in system +# Boost headers on armhf; demote that warning on armhf only. Must be set +# before buildflags.mk is included. +include /usr/share/dpkg/architecture.mk +ifeq ($(DEB_HOST_ARCH),armhf) +DEB_CXXFLAGS_MAINT_APPEND = -Wno-error=maybe-uninitialized +endif + DPKG_EXPORT_BUILDFLAGS := true include /usr/share/dpkg/buildflags.mk @@ -15,7 +23,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 @@ -29,3 +37,9 @@ override_dh_installdocs-indep: debian/tmp/usr/share/doc/wsjtx/wsjtx-main-*.html # Create non-version-dependant filename cd debian/wsjtx-doc/usr/share/doc/wsjtx && ln -s wsjtx-main-*.html wsjtx-main.html + +override_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/watch b/debian/watch index e0b45441..8efd6318 100644 --- a/debian/watch +++ b/debian/watch @@ -1,7 +1,8 @@ Version: 5 -Source: https://github.com/WSJTX/wsjtx/tags -Matching-Pattern: .*/v(.*).tar.gz -Uversionmangle: s/-rc/~rc/ +Template: Github +Owner: WSJTX +Project: wsjtx +Uversionmangle: auto Dversionmangle: s/\+dfsg// Repacksuffix: +dfsg 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 |
