summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-02-22 23:53:14 +0000
committerhibby <d@vehibberd.com>2018-02-22 23:53:14 +0000
commit7034875132f6766869cd93885af5f94ac8be74f1 (patch)
treed35dca7275224233651b35941f8705c27f9449ee /debian
parent0821a436092bab537eb294518b570c327c7774b5 (diff)
Some additions to organise documentation, groundwork for a -doc split
package and some handmade manpages
Diffstat (limited to 'debian')
-rw-r--r--debian/README.source4
-rw-r--r--debian/control8
-rw-r--r--debian/docs6
-rw-r--r--debian/install6
-rw-r--r--debian/manpages/jt9.1155
-rw-r--r--debian/patches/0007-Documentation.patch32
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/wsjtx-doc.install1
-rw-r--r--debian/wsjtx.doc-base9
-rw-r--r--debian/wsjtx.examples1
-rw-r--r--debian/wsjtx.install4
12 files changed, 226 insertions, 8 deletions
diff --git a/debian/README.source b/debian/README.source
index d12c0789..a630536e 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -13,4 +13,6 @@ forms our wsjtx-1.8.0+repack.orig.tar.gz archive unmodified.
5. CMakeLists.txt has had extensive patches - to make sure that we don't
install self-built hamlib and don't faff about with manpages.
-6. Manpages in the debian/ folder are from the upstream tarball.
+6. Unless listed below, manpages in the debian/ folder are from the upstream
+tarball:
+ - jt9.1 (Dave Hibberd <d@vehibberd.com>)
diff --git a/debian/control b/debian/control
index b24dea26..8f79d680 100644
--- a/debian/control
+++ b/debian/control
@@ -33,6 +33,14 @@ Depends: ${misc:Depends},
${shlibs:Depends},
${python:Depends},
libhamlib-utils
+Recommends: wsjtx-docs
Description: weak-signal amateur radio communications
wsjtx is designed to facilitate Amateur Radio communication under extreme
weak-signal conditions using modes JT9 and JT65.
+
+Package: wsjtx-doc
+Architecture: all
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ fonts-open-sans
+Description: Documentation and examples for the WSJT-X package
diff --git a/debian/docs b/debian/docs
index 509373c2..5452c581 100644
--- a/debian/docs
+++ b/debian/docs
@@ -2,3 +2,9 @@ jt9.txt
mouse_commands.txt
shortcuts.txt
wsjtx_changelog.txt
+README
+COPYING
+THANKS
+NEWS
+INSTALL
+BUGS
diff --git a/debian/install b/debian/install
deleted file mode 100644
index edb4c44a..00000000
--- a/debian/install
+++ /dev/null
@@ -1,6 +0,0 @@
-*.txt /usr/share/wsjtx/.wsjtx/
-*.dat /usr/share/wsjtx/.wsjtx/
-debian/130418_1742.wav /usr/share/wsjtx/.wsjtx/save/Samples/
-wsjtx.desktop /usr/share/applications/
-message_aggregator.desktop /usr/share/applications/
-debian/wsjtx.png /usr/share/pixmaps/
diff --git a/debian/manpages/jt9.1 b/debian/manpages/jt9.1
new file mode 100644
index 00000000..c81ac053
--- /dev/null
+++ b/debian/manpages/jt9.1
@@ -0,0 +1,155 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.5.
+.TH JT9 "1" "February 2018" "1.8.0" "User Commands"
+.SH NAME
+jt9 \- manual page for jt9
+
+.SH SYNOPSIS
+Usage: jt9 [OPTIONS] file1 [file2 ...]
+
+.SH DESCRIPTION
+.IP
+Reads data from *.wav files.
+.IP
+jt9 \fB\-s\fR <key> [\-w patience] [\-m threads] [\-e path] [\-a path] [\-t path]
+Gets data from shared memory region with key==<key>
+.IP
+.SH OPTIONS:
+.IP \fB\-h\fR 4
+.PD 0
+.IP \fB\-\-help\fR
+.PD
+Display this help message
+.IP "\fB\-s\fR KEY" 4
+.PD 0
+.IP "\fB\-\-shmem\fR KEY" 4
+.PD
+Use shared memory for sample data
+.IP "\fB\-p\fR MINUTES" 4
+.PD 0
+.IP "\fB\-\-tr\-period\fR MINUTES" 4
+.PD
+Tx/Rx period, default MINUTES=1
+.IP "\fB\-e\fR PATH" 4
+.PD 0
+.IP "\fB\-\-executable\-path\fR PATH" 4
+.PD
+Location of subordinate executables (KVASD) default PATH="."
+.IP "\fB\-a\fR PATH" 4
+.PD 0
+.HP "\fB\-\-data\-path\fR PATH" 4
+.PD
+Location of writeable data files, default PATH="."
+.IP "\fB\-t\fR PATH" 4
+.PD 0
+.IP "\fB\-\-temp\-path\fR PATH" 4
+.PD
+Temporary files path, default PATH="."
+.IP "\fB\-L\fR HERTZ" 4
+.PD 0
+.IP "\fB\-\-lowest\fR HERTZ" 4
+.PD
+Lowest frequency decoded (JT65), default HERTZ=200
+.IP "\fB\-H\fR HERTZ" 4
+.PD 0
+.IP "\fB\-\-highest\fR HERTZ" 4
+.PD
+Highest frequency decoded, default HERTZ=4007
+.IP "\fB\-S\fR HERTZ" 4
+.PD 0
+.IP "\fB\-\-split\fR HERTZ" 4
+.PD
+Lowest JT9 frequency decoded, default HERTZ=2700
+.IP "\fB\-f\fR HERTZ" 4
+.PD 0
+.IP "\fB\-\-rx\-frequency\fR HERTZ" 4
+.PD
+Receive frequency offset, default HERTZ=1500
+.IP "\fB\-w\fR PATIENCE" 4
+.PD 0
+.IP "\fB\-\-patience\fR PATIENCE" 4
+.PD
+FFTW3 planing patience (0\-4), default PATIENCE=1
+.IP "\fB\-m\fR THREADS"
+.PD 0
+.IP "\fB\-\-fft\-threads\fR THREADS" 4
+.PD
+Number of threads to process large FFTs, default THREADS=1
+.IP "\fB\-6\fR" 4
+.PD 0
+.IP "\fB\-\-jt65\fR" 4
+.PD
+JT65 mode
+.IP "\fB\-9\fR" 4
+.PD 0
+.IP "\fB\-\-jt9\fR" 4
+.PD
+JT9 mode
+.IP "\fB\-8\fR" 4
+.PD 0
+.IP "\fB\-\-ft8\fR" 4
+.PD
+FT8 mode
+.IP "\fB\-4\fR" 4
+.PD 0
+.IP "\fB\-\-jt4\fR" 4
+.PD
+JT4 mode
+.IP "\fB\-q\fR" 4
+.PD 0
+.IP "\fB\-\-qra64\fR" $
+.PD
+QRA64 mode
+.IP "\fB\-b\fR A" 4
+.PD 0
+.IP "\fB\-\-sub\-mode\fR A" 4
+.PD
+Sub mode, default SUBMODE=A
+.IP "\fB\-d\fR DEPTH" 4
+.PD 0
+.IP "\fB\-\-depth\fR DEPTH" 4
+.PD
+JT9 decoding depth (1\-3), default DEPTH=1
+.IP "\fB\-T\fR" 4
+.PD 0
+.IP "\fB\-\-tx\-jt9\fR" 4
+.PD
+Tx mode is JT9
+.IP "\fB\-c\fR CALL" 4
+.PD 0
+.IP "\fB\-\-my\-call\fR CALL" 4
+.PD
+my callsign.HP
+.IP "\fB\-G\fR GRID" 4
+.PD 0
+.IP "\fB\-\-my\-grid\fR GRID" 4
+.PD
+my grid locator
+.IP "\fB\-x\fR CALL" 4
+.PD 0
+.IP "\fB\-\-his\-call\fR CALL" 4
+.PD
+Their callsign
+.IP "\fB\-g\fR GRID" 4
+.PD 0
+.IP "\fB\-\-his\-grid\fR GRID" 4
+.PD
+Their grid locator
+.IP "\fB\-X\fR FLAGS" 4
+.PD 0
+.IP "\fB\-\-experience\-decode\fR FLAGS" 4
+.PD
+experience based decoding flags (1..n), default FLAGS=0
+.SH "SEE ALSO"
+The full documentation for
+.B jt9
+is maintained as a Texinfo manual. If the
+.B info
+and
+.B jt9
+programs are properly installed at your site, the command
+.IP
+.B info jt9
+.PP
+should give you access to the complete manual.
+.SH "AUTHOR"
+This manual page was written by Dave Hibberd <d@vehibberd.com>
diff --git a/debian/patches/0007-Documentation.patch b/debian/patches/0007-Documentation.patch
new file mode 100644
index 00000000..876a44af
--- /dev/null
+++ b/debian/patches/0007-Documentation.patch
@@ -0,0 +1,32 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1416,18 +1416,6 @@
+ )
+
+ install (FILES
+- README
+- COPYING
+- AUTHORS
+- THANKS
+- NEWS
+- INSTALL
+- BUGS
+- DESTINATION ${CMAKE_INSTALL_DOCDIR}
+- #COMPONENT runtime
+- )
+-
+-install (FILES
+ contrib/Ephemeris/JPLEPH
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}
+ #COMPONENT runtime
+--- a/doc/CMakeLists.txt
++++ b/doc/CMakeLists.txt
+@@ -235,7 +235,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
+ )
diff --git a/debian/patches/series b/debian/patches/series
index 20303b48..8d53538b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
0004-inherit-cflags-fflags.patch
0005-fix-fortran-includes.patch
0006-cmake-modifications.patch
+0007-Documentation.patch
diff --git a/debian/rules b/debian/rules
index 5f24df30..49c81d38 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,13 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
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_installexamples:
+ # Remove extraneous CMake files
+ rm samples/CMakeLists.txt
+ rm samples/make_contents.cmake
+ dh_installexamples
diff --git a/debian/wsjtx-doc.install b/debian/wsjtx-doc.install
index d4f45425..e69de29b 100644
--- a/debian/wsjtx-doc.install
+++ b/debian/wsjtx-doc.install
@@ -1 +0,0 @@
-#DOCS#
diff --git a/debian/wsjtx.doc-base b/debian/wsjtx.doc-base
new file mode 100644
index 00000000..6d5c7251
--- /dev/null
+++ b/debian/wsjtx.doc-base
@@ -0,0 +1,9 @@
+Document: wsjtx
+Title: WSJT-X Manual
+Author: Joseph H Taylor, Jr, K1JT
+Abstract: This is the user guide for WSJT-X
+Section: Amateur Radio
+
+Format: HTML
+Index: /usr/share/doc/wsjtx/wsjtx-main-1.8.0.html
+Files: /usr/share/doc/wsjtx/*.html
diff --git a/debian/wsjtx.examples b/debian/wsjtx.examples
new file mode 100644
index 00000000..781fb73e
--- /dev/null
+++ b/debian/wsjtx.examples
@@ -0,0 +1 @@
+samples/*
diff --git a/debian/wsjtx.install b/debian/wsjtx.install
new file mode 100644
index 00000000..ae168d64
--- /dev/null
+++ b/debian/wsjtx.install
@@ -0,0 +1,4 @@
+*.txt /usr/share/wsjtx/.wsjtx/
+*.dat /usr/share/wsjtx/.wsjtx/
+/usr/bin/
+/usr/share/