pkgsrc-WIP-changes archive

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

(ham/ft8-lib) new package



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara (mef) <makoto%ki.nu@localhost>
Pushed By:	mef
Date:		Fri Mar 5 08:50:58 2021 +0900
Changeset:	0fa7c863d0187db5ae96810f8c9a16021d181aef

Added Files:
	ft8-lib/DESCR
	ft8-lib/Makefile
	ft8-lib/PLIST
	ft8-lib/distinfo
	ft8-lib/patches/patch-Makefile

Log Message:
(ham/ft8-lib) new package

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

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

diffstat:
 ft8-lib/DESCR                  | 24 ++++++++++++++++++++++++
 ft8-lib/Makefile               | 18 ++++++++++++++++++
 ft8-lib/PLIST                  |  2 ++
 ft8-lib/distinfo               |  7 +++++++
 ft8-lib/patches/patch-Makefile | 12 ++++++++++++
 5 files changed, 63 insertions(+)

diffs:
diff --git a/ft8-lib/DESCR b/ft8-lib/DESCR
new file mode 100644
index 0000000000..a2667e2440
--- /dev/null
+++ b/ft8-lib/DESCR
@@ -0,0 +1,24 @@
+  A C++ implementation of FT8 protocol, mostly intended for experimental use
+on microcontrollers.
+  The intent of this library is to foster experimentation with e.g. automated
+beacons. For example, FT8 supports free-text messages and raw telemetry
+data (71 bits).
+  The encoding process is relatively light on resources, and an Arduino
+should be perfectly capable of running this code.
+  Decoding is is still work in progress. So far a 15-second WAV file can be
+decoded on a desktop machine or SBC, and the routines are somewhat ready
+for a fast microcontroller, perhaps with some tradeoffs. One definite
+limitation is the necessity to store the whole 15-second window in some
+representation (either waveform or DFT spectrum) for decoding at the end of
+the time slot. The current implementation uses about 200 KB of RAM for that
+purpose.
+# ---  What works ---
+Currently the basic message set of the revised FT8 protocol with 77-bit
+payload (introduced since WSJT-X version 2.0) is supported:
+  * CQ {call} {grid}, e.g. CQ CA0LL GG77
+  * CQ {xy} {call} {grid}, e.g. CQ JA CA0LL GG77
+  * {call} {call} {report}, e.g. CA0LL OT7ER R-07
+  * {call} {call} 73/RRR/RR73, e.g. OT7ER CA0LL 73
+  * Free-text messages (up to 13 characters from a limited alphabet)
+    (decoding only, untested)
+  * Telemetry data (71 bits as 18 hex symbols)
diff --git a/ft8-lib/Makefile b/ft8-lib/Makefile
new file mode 100644
index 0000000000..4263d332b7
--- /dev/null
+++ b/ft8-lib/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	ft8_lib-0.1
+PKGNAME=	${DISTNAME:S/_/-/}
+CATEGORIES=	ham
+MASTER_SITES=	${MASTER_SITE_GITHUB:=kgoba/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/kgoba/ft8_lib/
+COMMENT=	C++ implementation of FT8 protocol, for use on microcontrollers
+LICENSE=	mit
+
+USE_TOOLS+=	gmake
+USE_LANGUAGES+=	c c++
+
+INSTALLATION_DIRS=	lib
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ft8-lib/PLIST b/ft8-lib/PLIST
new file mode 100644
index 0000000000..f2945a843f
--- /dev/null
+++ b/ft8-lib/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+lib/libft8.a
diff --git a/ft8-lib/distinfo b/ft8-lib/distinfo
new file mode 100644
index 0000000000..0f2f4291cb
--- /dev/null
+++ b/ft8-lib/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (ft8_lib-0.1.tar.gz) = 8ce293d53b8c24dc3b21e2843fdd8a8b0b0b3a7d
+RMD160 (ft8_lib-0.1.tar.gz) = 8dde1dfaff470d8ee7bb1319e1e291d861927585
+SHA512 (ft8_lib-0.1.tar.gz) = 7e162b0bc76d67f5989b9468054a23ceabac7364c021d9cba3e0172f7ced8bb6615ec52e84f91e903aa53900d01efd632af84271a51cc3320e37298664089881
+Size (ft8_lib-0.1.tar.gz) = 20549128 bytes
+SHA1 (patch-Makefile) = 9ec0cd552fa43d702e24f0532de61ee65215a216
diff --git a/ft8-lib/patches/patch-Makefile b/ft8-lib/patches/patch-Makefile
new file mode 100644
index 0000000000..1de0866d58
--- /dev/null
+++ b/ft8-lib/patches/patch-Makefile
@@ -0,0 +1,12 @@
+$NetBSD$
+
+honor $DESTDIR
+
+--- Makefile.orig	2021-02-20 23:36:13.000000000 +0900
++++ Makefile	2021-03-05 08:27:25.212358892 +0900
+@@ -23,4 +23,4 @@ clean:
+ 	rm -f *.o ft8/*.o common/*.o fft/*.o $(TARGETS)
+ install:
+ 	$(AR) rc libft8.a ft8/constants.o ft8/encode.o ft8/pack.o ft8/text.o common/wave.o 
+-	install libft8.a /usr/lib/libft8.a
++	${BSD_INSTALL} libft8.a ${DESTDIR}${PREFIX}/lib/libft8.a


Home | Main Index | Thread Index | Old Index