diff options
| author | Enrico Rossi <e.rossi@tecnobrain.com> | 2018-08-22 15:50:50 +0200 |
|---|---|---|
| committer | Enrico Rossi <e.rossi@tecnobrain.com> | 2018-08-22 15:50:50 +0200 |
| commit | 5b7f8259a0b91063c37de06428b741205b3e23cb (patch) | |
| tree | b692d80692781b0bbd7b44fdecdd93560e6cfd8f | |
| parent | c7515c898d49c23fea9a5e8a7b91350cc5073065 (diff) | |
fix lintian errors
* spelling errors.
* webfonts generated by asciidoctor.
* improved package description.
| -rw-r--r-- | debian/control | 18 | ||||
| -rw-r--r-- | debian/patches/0009-fix-ascidoctor-webfonts.patch | 15 | ||||
| -rw-r--r-- | debian/patches/0010-spelling-errors.patch | 44 | ||||
| -rw-r--r-- | debian/patches/series | 2 | ||||
| -rwxr-xr-x | debian/rules | 8 |
5 files changed, 83 insertions, 4 deletions
diff --git a/debian/control b/debian/control index d3bd1b07..10550dd0 100644 --- a/debian/control +++ b/debian/control @@ -38,14 +38,26 @@ Depends: ${python:Depends}, libhamlib-utils, Recommends: wsjtx-doc -Description: weak-signal amateur radio communications - wsjtx is designed to facilitate Amateur Radio communication under extreme - weak-signal conditions using modes JT9 and JT65. +Description: Weak-signal amateur radio communications + WSJT-X implements communication protocols or "modes" called FT8, JT4, + JT9, JT65, QRA64, ISCAT, MSK144, and WSPR, as well as one called Echo + for detecting and measuring your own radio signals reflected from the + Moon. These modes were all designed for making reliable, confirmed QSOs + under extreme weak-signal conditions. Package: wsjtx-doc +Section: doc Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, + fonts-font-awesome, fonts-open-sans, Description: Documentation and examples for the WSJT-X package + WSJT-X implements communication protocols or "modes" called FT8, JT4, + JT9, JT65, QRA64, ISCAT, MSK144, and WSPR, as well as one called Echo + for detecting and measuring your own radio signals reflected from the + Moon. These modes were all designed for making reliable, confirmed QSOs + under extreme weak-signal conditions. + . + This package provides the software documentation. diff --git a/debian/patches/0009-fix-ascidoctor-webfonts.patch b/debian/patches/0009-fix-ascidoctor-webfonts.patch new file mode 100644 index 00000000..03d224f7 --- /dev/null +++ b/debian/patches/0009-fix-ascidoctor-webfonts.patch @@ -0,0 +1,15 @@ +Description: Remove link to google fonts + Asciidoctor generates by default a stylesheet with google fonts link. +Author: Enrico Rossi <e.rossi@tecnobrain.com> +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[] diff --git a/debian/patches/0010-spelling-errors.patch b/debian/patches/0010-spelling-errors.patch new file mode 100644 index 00000000..a1065001 --- /dev/null +++ b/debian/patches/0010-spelling-errors.patch @@ -0,0 +1,44 @@ +Description: Fix spelling error +Author: Enrico Rossi <e.rossi@tecnobrain.com> +Last-Update: 2018-08-22 + +--- a/Configuration.ui ++++ b/Configuration.ui +@@ -869,7 +869,7 @@ a few, particularly some Kenwood rigs, require it).</string> + <item row="0" column="1"> + <widget class="QRadioButton" name="PTT_DTR_radio_button"> + <property name="toolTip"> +- <string><html><head/><body><p>Use the RS-232 DTR control line to toggle your radio's PTT, requires hardware to inteface the line.</p><p>Some commercial interface units also use this method.</p><p>The DTR control line of the CAT serial port may be used for this or a DTR control line on a different serial port may be used.</p></body></html></string> ++ <string><html><head/><body><p>Use the RS-232 DTR control line to toggle your radio's PTT, requires hardware to interface the line.</p><p>Some commercial interface units also use this method.</p><p>The DTR control line of the CAT serial port may be used for this or a DTR control line on a different serial port may be used.</p></body></html></string> + </property> + <property name="text"> + <string>&DTR</string> +@@ -900,7 +900,7 @@ other hardware interface for PTT.</string> + <item row="1" column="1"> + <widget class="QRadioButton" name="PTT_RTS_radio_button"> + <property name="toolTip"> +- <string><html><head/><body><p>Use the RS-232 RTS control line to toggle your radio's PTT, requires hardware to inteface the line.</p><p>Some commercial interface units also use this method.</p><p>The RTS control line of the CAT serial port may be used for this or a RTS control line on a different serial port may be used. Note that this option is not available on the CAT serial port when hardware flow control is used.</p></body></html></string> ++ <string><html><head/><body><p>Use the RS-232 RTS control line to toggle your radio's PTT, requires hardware to interface the line.</p><p>Some commercial interface units also use this method.</p><p>The RTS control line of the CAT serial port may be used for this or a RTS control line on a different serial port may be used. Note that this option is not available on the CAT serial port when hardware flow control is used.</p></body></html></string> + </property> + <property name="text"> + <string>R&TS</string> +@@ -998,7 +998,7 @@ or bandwidth is selected).</string> + <item row="0" column="2"> + <widget class="QRadioButton" name="mode_data_radio_button"> + <property name="toolTip"> +- <string>If this is availabe then it is usually the correct mode for this program.</string> ++ <string>If this is available then it is usually the correct mode for this program.</string> + </property> + <property name="text"> + <string>Data/P&kt</string> +--- a/mainwindow.ui ++++ b/mainwindow.ui +@@ -1773,7 +1773,7 @@ list. The list can be maintained in Settings (F2).</string> + <item> + <widget class="QCheckBox" name="WSPR_prefer_type_1_check_box"> + <property name="toolTip"> +- <string><html><head/><body><p>6 digit locators cause 2 different mesages to be sent, the second contains the full locator but only a hashed callsign, other stations must have decoded the first once before they can decode your call in the second. Check this option to only send 4 digit locators if it will avoid the two message protocol.</p></body></html></string> ++ <string><html><head/><body><p>6 digit locators cause 2 different messages to be sent, the second contains the full locator but only a hashed callsign, other stations must have decoded the first once before they can decode your call in the second. Check this option to only send 4 digit locators if it will avoid the two message protocol.</p></body></html></string> + </property> + <property name="text"> + <string>Prefer type 1 messages</string> diff --git a/debian/patches/series b/debian/patches/series index 430ab617..27ed385a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -5,3 +5,5 @@ 0006-cmake-modifications.patch 0007-Documentation.patch 0008-fix-recent-fortran-C-interop.patch +0009-fix-ascidoctor-webfonts.patch +0010-spelling-errors.patch diff --git a/debian/rules b/debian/rules index 0b823fe1..946bc029 100755 --- a/debian/rules +++ b/debian/rules @@ -20,10 +20,16 @@ export WSJT_SKIP_MANPAGES=1 export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: - dh $@ + dh $@ override_dh_auto_build: # Combine change details into changelog cat v1.7_Features.txt > CHANGELOG cat wsjtx_changelog.txt >> CHANGELOG dh_auto_build + +override_dh_installdocs: + # Fix font-awesome from cloudflare + sed -i -e 's/https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/4.7.0\/css\/font-awesome.min.css/\/usr\/share\/fonts-font-awesome\/css\/font-awesome.min.css/g' \ + debian/tmp/usr/share/doc/wsjtx/wsjtx-main-1.8.0.html + dh_installdocs |
