[Lunar-commits] CVS: moonbase/ham/cwtext cw.h, NONE, 1.1 BUILD, 1.1.1.1, 1.2 DETAILS, 1.1.1.1, 1.2

v3rt1g0 at lunar-linux.org v3rt1g0 at lunar-linux.org
Mon Sep 6 00:55:54 UTC 2004


Update of /var/cvs/lunar/moonbase/ham/cwtext
In directory espresso.lunar-linux.org:/tmp/cvs-serv12098/cwtext

Modified Files:
	BUILD DETAILS 
Added Files:
	cw.h 
Log Message:
Version bump from 0.90 to 0.94.  Added a sha1 hash and updated the 
long description.  See issue "Cwtext -> new version" for some more
info about this module.


--- NEW FILE: cw.h ---
/* International Morse Code */
#define CWSTARTMASK (0x1f)
#define CWSIZEMASK (0x07)
#define CWSIZESHIFT (0x05)
char *crypt=".....-----....-.-.--..--..-...--.- ";
char *plain=".,:?-/=@!0123456789abcdefghijklmnopqrstuvwxyz";
char *code="\xcd\xd2\xc7\xd4\xc9\xb7\xad\xcb\xcb\xa5\xa4\xa3\xa2\xa1\xa0\xa9\xa8\xa7\xa6\x44\x89\x8e\x69\x20\x8c\x68\x80\x40\x84\x6e\x99\x45\x49\x65\x91\x9e\x6d\x60\x25\x63\x82\x64\x93\x90\x88";

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/ham/cwtext/BUILD,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- BUILD	21 Aug 2002 00:55:16 -0000	1.1.1.1
+++ BUILD	6 Sep 2004 00:55:52 -0000	1.2
@@ -1,8 +1,19 @@
 (
-
-  make                         &&
-  prepare_install              &&
-  install -sc cwtext /usr/bin  &&
-  install -sc cwpcm  /usr/bin
-
+ 
+   # Workaround for machines that do not have Python
+   # because it would be silly to require python for
+   # this little module.
+   if ! module_installed Python ; then
+     echo "Python is not installed, improvising..."
+     sedit 's/^sw.h: gencw.py//' makefile         &&
+     sedit 's/python gencw.py > cw.h//' makefile  &&
+     cp $SCRIPT_DIRECTORY/cw.h $SOURCE_DIRECTORY/
+   fi
+   
+   make ALL        &&
+   prepare_install &&
+   
+   sedit 's:PREFIX=/usr/local:PREFIX=/usr:' makefile &&
+   make install
+   
 ) > $C_FIFO 2>&1

Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/ham/cwtext/DETAILS,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- DETAILS	21 Aug 2002 00:55:16 -0000	1.1.1.1
+++ DETAILS	6 Sep 2004 00:55:52 -0000	1.2
@@ -1,17 +1,21 @@
-           MODULE=cwtext
-         VERSION=0.90
+          MODULE=cwtext
+         VERSION=0.94
           SOURCE=$MODULE-$VERSION.tar.gz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
-   SOURCE_URL[0]=$SFORGE_URL/$MODULE/$SOURCE
-        WEB_SITE=http://sourceforge.net/projects/$MODULE/
+      SOURCE_URL=$SFORGE_URL/$MODULE/$SOURCE
+      SOURCE_VRY=sha1:ad2dc3002cbb977d8b735680820d4264bb7cc184
+        WEB_SITE=http://$MODULE.sourceforge.net
          ENTERED=20011212
-         UPDATED=20011212
+         UPDATED=20040905
            SHORT="Converts text to morse code"
       MAINTAINER=w9ya at amsat.org
 
 cat << EOF
-Convert text to International Morse Code.  Input is ASCII text. 
-Output can be: - . -..- - on the console, raw 8bit PCM suitable for
-piping to /dev/audio, .wav files or even (mp3|ogg).  Good for headlines
-on your MP3 player or code practice.
+cwtext converts plain ASCII to International Morse Code.
+
+It includes three programs,
+ cwtext: convert text to 'dotscii' - . -..- -
+  cwpcm: convert text to raw 8bit PCM audio stream
+   cwmm: convert text to MorseMail XML format (see 
+         http://www.seanet.com/~harrypy/MorseMail/ for information)
 EOF



More information about the Lunar-commits mailing list