pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(ham/wsjtx) mv TODO to files/TODO with some modification



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By:	mef
Date:		Thu Jan 8 23:15:01 2026 +0900
Changeset:	c17c39096846b9b4c25511ab352493ced3dc789f

Modified Files:
	wsjtx/Makefile
Added Files:
	wsjtx/files/TODO
Removed Files:
	wsjtx/TODO

Log Message:
(ham/wsjtx) mv TODO to files/TODO with some modification

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c17c39096846b9b4c25511ab352493ced3dc789f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 wsjtx/Makefile   |  2 +-
 wsjtx/TODO       | 56 ---------------------------------------
 wsjtx/files/TODO | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 81 insertions(+), 57 deletions(-)

diffs:
diff --git a/wsjtx/Makefile b/wsjtx/Makefile
index 72172a92f7..8d1d5e7d17 100644
--- a/wsjtx/Makefile
+++ b/wsjtx/Makefile
@@ -69,7 +69,7 @@ SUBST_VARS.hamlib=	PREFIX
 
 # To avoid jt9 to crash
 # https://mail-index.netbsd.org/pkgsrc-users/2025/12/23/msg042336.html
-NOT_PAX_MPROTECT_SAFE+= bin/jt9
+NOT_PAX_MPROTECT_SAFE+=	bin/jt9
 
 .include "../../devel/cmake/build.mk"
 .include "../../math/fftw/buildlink3.mk"
diff --git a/wsjtx/TODO b/wsjtx/TODO
deleted file mode 100644
index 2cfc35f249..0000000000
--- a/wsjtx/TODO
+++ /dev/null
@@ -1,56 +0,0 @@
-This program needs two things:
-
-1. When math/fftw is packaged,
-   PKG_OPTIONS.fftw+=     fftw-fortran
-  is required, and this is not default,
-  pbulk will fail as BROKEN package
-
-  Thanks IrisZzz at #pkgsrc on irc
-
-2. Requires huge memory,
-2.1
-   on NetBSD 10.99.12
-     ulimit -d 524288
-   is required on the shell to start
-2.2
-   on NetBSD 9.3 both hard and soft limit should be raised by
-     su -l root -c "sysctl -w proc.$$.rlimit.datasize.hard=536870912"
-   ulimit -d 524288
-   (536870912 = 1024 * 524288)
-
-  524,288 is for an example, not fully tested.
-
-2.3
-   If above operation is on zsh and you have problems, probably you 
-   may have suffered  from zsh cacheing issue on above limits.
-   Please try the same thing with sh (bin/sh). 
-
-   Thanks Riastradh@ to have figured out item 2 above 
-
-3. 
-   sample rate issue:
-   You may need following setup for sound card to sync to necessary rate
-   ---------------------------------------
-    netbsd-nuc# audiocfg list 1
-    1: [*] audio3 @ uaudio1: USB audio
-            playback: 2ch, 44100Hz
-            record:   2ch, 48000Hz
-            (P-) slinear_le 16/16, 2ch, { 44100 }
-            (P-) slinear_le 16/16, 2ch, { 44100 }
-            (-R) slinear_le 16/16, 2ch, 8000-48000Hz
-
-    netbsd-nuc# audiocfg set 1 r slinear_le 16 2 44100
-    setting audio3 to slinear_le:16, 2ch, 44100Hz
-
-    netbsd-nuc# audiocfg list 1
-    1: [*] audio3 @ uaudio1: USB audio
-            playback: 2ch, 44100Hz
-            record:   2ch, 44100Hz
-            (P-) slinear_le 16/16, 2ch, { 44100 }
-            (P-) slinear_le 16/16, 2ch, { 44100 }
-            (-R) slinear_le 16/16, 2ch, 8000-48000Hz
-    ------------------------------------------------
-    Thanks Ramiro and Michael mlelstv@
-    Ref:
-       https://mail-index.netbsd.org/pkgsrc-users/2026/01/06/msg042409.html
-4. To find where to document above 2 and 3  notes
diff --git a/wsjtx/files/TODO b/wsjtx/files/TODO
new file mode 100644
index 0000000000..e9d0cdc657
--- /dev/null
+++ b/wsjtx/files/TODO
@@ -0,0 +1,80 @@
+This program needs several things
+
+1. When math/fftw is packaged,
+   PKG_OPTIONS.fftw+=     fftw-fortran
+  is required, and this is not default,
+  pbulk will fail as BROKEN package
+
+  Thanks IrisZzz at #pkgsrc on irc
+
+2. Requires huge memory,
+2.1
+   on NetBSD 10.99.12
+     ulimit -d 524288
+   is required on the shell to start
+2.2
+   on NetBSD 9.3 both hard and soft limit should be raised by
+     su -l root -c "sysctl -w proc.$$.rlimit.datasize.hard=536870912"
+   ulimit -d 524288
+   (536870912 = 1024 * 524288)
+
+  524,288 is for an example, not fully tested.
+
+2.3
+   If above operation is on zsh and you have problems, probably you 
+   may have suffered  from zsh cacheing issue on above limits.
+   Please try the same thing with sh (bin/sh). 
+
+   Thanks Riastradh@ to have figured out item 2 above 
+
+3.  /dev/dtyU0 Permission
+   USB rig control will be done by serial device.
+   It usually be /dev/dtyU0. The permission may be -r--r--r--
+   which you can not send rig control. One work around is
+     chmod 644 /dev/dtyU0
+   If you run wsjtx by root, it communicates without permission change,
+   but in that case, audio selection may not appear.
+
+4.  Audio settings:
+   sample rate issue:
+   You may need following setup for sound card to sync to necessary rate
+   Following is just example. Please modify the first '1' to select audio
+   device correctly.
+   ---------------------------------------
+    netbsd-nuc# audiocfg list 1
+    1: [*] audio3 @ uaudio1: USB audio
+            playback: 2ch, 44100Hz
+            record:   2ch, 48000Hz
+            (P-) slinear_le 16/16, 2ch, { 44100 }
+            (P-) slinear_le 16/16, 2ch, { 44100 }
+            (-R) slinear_le 16/16, 2ch, 8000-48000Hz
+
+    netbsd-nuc# audiocfg set 1 r slinear_le 16 2 44100
+    setting audio3 to slinear_le:16, 2ch, 44100Hz
+
+    netbsd-nuc# audiocfg list 1
+    1: [*] audio3 @ uaudio1: USB audio
+            playback: 2ch, 44100Hz
+            record:   2ch, 44100Hz
+            (P-) slinear_le 16/16, 2ch, { 44100 }
+            (P-) slinear_le 16/16, 2ch, { 44100 }
+            (-R) slinear_le 16/16, 2ch, 8000-48000Hz
+    ------------------------------------------------
+    Thanks Ramiro and Michael mlelstv@
+    Ref:
+       https://mail-index.netbsd.org/pkgsrc-users/2026/01/06/msg042409.html
+
+5. If wsjtx stops by accident shared memory, a trace may be left out and in that
+   situation, you may get jt9 to crash.
+   Try
+      sudo ipcrm -m all
+   to remove the trace mentioned above.
+
+6. 40 m band USB or LSB.
+   It seems to me, if the band is changed to 40 m, the mode may be LSB,
+   but USB is required for that band, in the mean time, I would change it
+   manually.
+-- 
+
+   
+   
\ No newline at end of file


Home | Main Index | Thread Index | Old Index