diff options
| author | Iain R. Learmonth <irl@debian.org> | 2015-10-18 19:13:45 +0100 |
|---|---|---|
| committer | Iain R. Learmonth <irl@debian.org> | 2015-10-18 19:13:45 +0100 |
| commit | b607c5fb710c446322f2bbacf215bca9c6f11b5e (patch) | |
| tree | 8493c68e953b104eeeca30fb895093861c3a5876 /debian/patches/0001-add-start-script.patch | |
| parent | 8289226e8bfb0dcddb6e419cf7de47f94c5d6883 (diff) | |
Updates to patches
* Patches renamed to follow quilt series
* 0003-no-escape-buildroot.patch:
- Updated for new upstream build scripts
* 0004-inherit-cflags-fflags.patch:
- New patch
* mno-stack-arg-probe.patch:
- Removed as no longer relevant
Diffstat (limited to 'debian/patches/0001-add-start-script.patch')
| -rw-r--r-- | debian/patches/0001-add-start-script.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/0001-add-start-script.patch b/debian/patches/0001-add-start-script.patch new file mode 100644 index 00000000..722d2d00 --- /dev/null +++ b/debian/patches/0001-add-start-script.patch @@ -0,0 +1,32 @@ +Description: wsjtx start script + If missing, creates and populates ~/.wsjtx/ + cd ~/.wsjtx/ and run application binary. + . +Author: John T. Nogatch <jnogatch@gmail.com> + +--- /dev/null ++++ wsjtx-1.1.r3496/wsjtx +@@ -0,0 +1,23 @@ ++#!/bin/sh ++set -e ++ ++# wsjtx expects to write configuration files in the current directory, ++# which also needs to contain CALL3.TXT before starting. ++# If those don't currently exist, create them first. ++ ++cp -r --update /usr/share/wsjtx/.wsjtx $HOME ++ ++RUNDIR=$HOME/.wsjtx ++cd $RUNDIR ++ ++# wsjtx gets an error if this file does not exist, when trying to "Log QSO" ++if [ ! -f CALL3.TXT ]; then ++ touch CALL3.TXT ++fi ++# wsjtx & jt9 use applicationDirPath for configuration path prefix, ++# so they must reside here, in user's configuration dir ++cp --update /usr/lib/wsjtx/jt9 jt9 ++cp --update /usr/lib/wsjtx/wsjtx wsjtx ++ ++./wsjtx ++ |
