summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-03-27 19:51:51 +0100
committerhibby <d@vehibberd.com>2018-03-27 20:22:40 +0100
commit8c0dbae3c331b5e312849c88c08d03141ae3ac46 (patch)
tree16baa27e4fe540eab7f7d00c05bfe4ed4ba84937
parentf2581153b540f46c5bbbc29a2306dac16777ace6 (diff)
Little bits for lintian cleanliness and splitting the examples and doc
-rw-r--r--.gitignore1
-rw-r--r--debian/changelog4
-rw-r--r--debian/control2
-rw-r--r--debian/docs2
-rw-r--r--debian/manpages/jt9.12
-rw-r--r--debian/manpages/wsjtx.12
-rw-r--r--debian/patches/0007-Documentation.patch11
-rwxr-xr-xdebian/rules3
-rw-r--r--debian/wsjtx-doc.doc-base (renamed from debian/wsjtx.doc-base)0
-rw-r--r--debian/wsjtx-doc.examples (renamed from debian/wsjtx.examples)0
-rw-r--r--debian/wsjtx-doc.install1
-rw-r--r--debian/wsjtx-doc.links (renamed from debian/wsjtx.links)0
-rw-r--r--debian/wsjtx.install4
13 files changed, 22 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 9db84e7e..d69ca736 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
TAGS
tags
+.pc/
diff --git a/debian/changelog b/debian/changelog
index ed50ad69..ba565cb7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,10 +4,10 @@ wsjtx (1.8.0+repack-1) UNRELEASED; urgency=medium
* Patches refreshed
- 0006 updated to strip out things to not build or install
* debian/rules rewritten
- * dh compatability brought to 11
+ * dh compatibility brought to 11
[ Iain Learmonth ]
- * Tweaks for QT5 compatability (Closes: #875235)
+ * Tweaks for QT5 compatibility (Closes: #875235)
-- Dave Hibberd <d@vehibberd.com> Fri, 16 Feb 2018 15:25:57 +0000
diff --git a/debian/control b/debian/control
index 8f79d680..07ceeb06 100644
--- a/debian/control
+++ b/debian/control
@@ -33,7 +33,7 @@ Depends: ${misc:Depends},
${shlibs:Depends},
${python:Depends},
libhamlib-utils
-Recommends: wsjtx-docs
+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.
diff --git a/debian/docs b/debian/docs
index 5452c581..af1a67ad 100644
--- a/debian/docs
+++ b/debian/docs
@@ -3,8 +3,6 @@ mouse_commands.txt
shortcuts.txt
wsjtx_changelog.txt
README
-COPYING
THANKS
NEWS
-INSTALL
BUGS
diff --git a/debian/manpages/jt9.1 b/debian/manpages/jt9.1
index fbdf9fb1..c40c10c3 100644
--- a/debian/manpages/jt9.1
+++ b/debian/manpages/jt9.1
@@ -96,7 +96,7 @@ FT8 mode
JT4 mode
.IP "\fB\-q\fR" 4
.PD 0
-.IP "\fB\-\-qra64\fR" $
+.IP "\fB\-\-qra64\fR" 4
.PD
QRA64 mode
.IP "\fB\-b\fR A" 4
diff --git a/debian/manpages/wsjtx.1 b/debian/manpages/wsjtx.1
index 59381734..51c2e245 100644
--- a/debian/manpages/wsjtx.1
+++ b/debian/manpages/wsjtx.1
@@ -90,7 +90,7 @@ Is the default location for saved \&.WAV files recorded by the application\&. Th
.PP
~/\&.local/share/WSJT\-X[ \- RIGNAME]/save/samples/
.RS 4
-Sample \&.WAV files suppied with the application are found in this directory, they may be played back in the application and are referred to in the user guide tutorial sections\&.
+Sample \&.WAV files supplied with the application are found in this directory, they may be played back in the application and are referred to in the user guide tutorial sections\&.
.RE
.PP
~/\&.local/share/WSJT\-X[ \-RIGNAME]/timer\&.out
diff --git a/debian/patches/0007-Documentation.patch b/debian/patches/0007-Documentation.patch
index 3086d47c..dce1d767 100644
--- a/debian/patches/0007-Documentation.patch
+++ b/debian/patches/0007-Documentation.patch
@@ -1,6 +1,6 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -1410,18 +1410,6 @@
+@@ -1410,18 +1410,6 @@ install (TARGETS jt9 jt65code qra64code
)
install (FILES
@@ -21,7 +21,7 @@
#COMPONENT runtime
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
-@@ -235,7 +235,7 @@
+@@ -235,7 +235,7 @@ foreach (_html ${htmls})
string (REGEX REPLACE "_en$" "" _nwe ${_nwe})
install (FILES
${_html}
@@ -30,3 +30,10 @@
RENAME ${_nwe}-${wsjtx_VERSION}${_ext}
#COMPONENT runtime
)
+--- a/wsjtx.desktop
++++ b/wsjtx.desktop
+@@ -9,3 +9,4 @@ X-MultipleArgs=false
+ Type=Application
+ Categories=AudioVideo;Audio;HamRadio;
+ StartupNotify=true
++Keywords=Radio
diff --git a/debian/rules b/debian/rules
index 49c81d38..66cf3e6e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,6 +28,9 @@ override_dh_auto_build:
cat wsjtx_changelog.txt >> CHANGELOG
dh_auto_build
+#override_dh_install:
+# rm
+
override_dh_installexamples:
# Remove extraneous CMake files
rm samples/CMakeLists.txt
diff --git a/debian/wsjtx.doc-base b/debian/wsjtx-doc.doc-base
index 6d5c7251..6d5c7251 100644
--- a/debian/wsjtx.doc-base
+++ b/debian/wsjtx-doc.doc-base
diff --git a/debian/wsjtx.examples b/debian/wsjtx-doc.examples
index 781fb73e..781fb73e 100644
--- a/debian/wsjtx.examples
+++ b/debian/wsjtx-doc.examples
diff --git a/debian/wsjtx-doc.install b/debian/wsjtx-doc.install
index e69de29b..39e5dd31 100644
--- a/debian/wsjtx-doc.install
+++ b/debian/wsjtx-doc.install
@@ -0,0 +1 @@
+usr/share/doc/wsjtx/wsjtx-main-1.8.0.html
diff --git a/debian/wsjtx.links b/debian/wsjtx-doc.links
index 2b077432..2b077432 100644
--- a/debian/wsjtx.links
+++ b/debian/wsjtx-doc.links
diff --git a/debian/wsjtx.install b/debian/wsjtx.install
index ae168d64..4594ca57 100644
--- a/debian/wsjtx.install
+++ b/debian/wsjtx.install
@@ -1,4 +1,6 @@
*.txt /usr/share/wsjtx/.wsjtx/
*.dat /usr/share/wsjtx/.wsjtx/
/usr/bin/
-/usr/share/
+/usr/share/applications/
+/usr/share/pixmaps/
+/usr/share/wsjtx/