pkgsrc-Bugs archive

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

pkg/44036: [PATCH] ham/cwtext 0.95 -> 0.96



>Number:         44036
>Category:       pkg
>Synopsis:       [PATCH] ham/cwtext 0.95 -> 0.96
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 04 06:10:00 +0000 2010
>Originator:     Makoto Fujiwara
>Release:        NetBSD 5.0_STABLE
>Organization:
KINU Corporation
>Environment:
        
        
System: NetBSD modena 5.0_STABLE NetBSD 5.0_STABLE (XEN3_DOM0) #0: Wed Apr 7 
02:17:52 UTC 2010 
builds%b8.netbsd.org@localhost:/home/builds/ab/netbsd-5/amd64/201004070000Z-obj/home/builds/ab/netbsd-5/src/sys/arch/amd64/compile/XEN3_DOM0
 amd64
Architecture: x86_64
Machine: amd64
>Description:
(1)
Version 0.96
Added envelope support: no more keyclick!
Prosign support: use *sk* for example.
Default bitrate is now 44100. To get the old 8000 bitrate use -lowrez.

(2) README -> MESSAGE
The original has no document at all, README has important info:
So let MESSAGE have the info included in README.

>How-To-Repeat:
        cd pkgsrc/ham/cwtext; make package
>Fix:
Index: ham/cwtext/MESSAGE
===================================================================
RCS file: ham/cwtext/MESSAGE
diff -N ham/cwtext/MESSAGE
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ ham/cwtext/MESSAGE  4 Nov 2010 04:05:55 -0000
@@ -0,0 +1,38 @@
+===========================================================================
+$NetBSD$
+
+Uses of CWTEXT:
+
+cat message | cwtext | mail root@localhost -s "test message in morse code"
+        Convert local file 'message' to 'dotscii' and mail to root.
+
+finger @finger.kernel.org | cwpcm > /dev/dsp
+        Get the latest Linux kernel version numbers, convert to
+        morse and send to the sound card.
+
+cat COPYING | cwpcm -ss -f 800 -lowrez | \
+ sox -r 8000 -bu -t raw - copying.wav lowp 1800
+        Convert the text file COPYING to morse code in 'copying.wav'
+        audio file. The CW signal is at 800 Hz. Sox converts the audio
+        to a .wav file and applies low pass filter to eliminate key click.
+
+echo vvv | cwpcm -w 20 -F 24 -lowrez | dsp-lowpass
+        Test signal at 20 wpm, characters at 24 wpm. dsp-lowpass is a
+        script that uses sox to filter key click and send the output
+        to /dev/dsp.
+
+cwpcm interface:
+-f FFFF to set the output frequency (40 to 3200 Hz)
+-w NN   to set the rate (WPM)
+-F NN   to set the character (Farnsworth) rate
+-v NN   to set the volume (0-100%)
+-lowrez output at 8000 samples/second (default is 44100)
+-d      debug: shows settings for speed, frequency and volume
+
+(classic interface - works for now but deprecated)
+-ss for slow code rate (5 wpm, characters at farnsworth 15 wpm)
+-sm for medium code rate (12 wpm, characters at 18 wpm)
+-sf for fast code rate (18 wpm)
+-sx for extra fast code rate (20 wpm)
+-f:FFFF to set the output frequency
+===========================================================================
Index: ham/cwtext/Makefile
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/ham/cwtext/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- ham/cwtext/Makefile 10 Feb 2010 19:17:40 -0000      1.18
+++ ham/cwtext/Makefile 4 Nov 2010 03:51:09 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.18 2010/02/10 19:17:40 joerg Exp $
 
-DISTNAME=      cwtext-0.95
-PKGREVISION=   3
+DISTNAME=      cwtext-0.96
+#PKGREVISION=
 CATEGORIES=    ham
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=cwtext/}
 
Index: ham/cwtext/distinfo
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/ham/cwtext/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- ham/cwtext/distinfo 14 Jan 2006 12:39:06 -0000      1.4
+++ ham/cwtext/distinfo 4 Nov 2010 03:47:42 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.4 2006/01/14 12:39:06 wulf Exp $
 
-SHA1 (cwtext-0.95.tar.gz) = 9adb97a3c605337d48b9de45818f71e809526547
-RMD160 (cwtext-0.95.tar.gz) = 6427ad50c037d24a39f1c6c7f9e222ccb7c2325b
-Size (cwtext-0.95.tar.gz) = 15206 bytes
+SHA1 (cwtext-0.96.tar.gz) = 5e6d7d57b5329de80fce84eb65d47c0b776f2d4f
+RMD160 (cwtext-0.96.tar.gz) = 1d47de9a6441846484e993708b9c0fdd9042e8ba
+Size (cwtext-0.96.tar.gz) = 16596 bytes

>Unformatted:
 Update ham/cwtext 0.95 -> 0.96
        
        


Home | Main Index | Thread Index | Old Index