pkgsrc-Changes archive

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

CVS commit: pkgsrc/ham/codec2



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb 27 13:43:35 UTC 2025

Modified Files:
        pkgsrc/ham/codec2: Makefile PLIST distinfo
Added Files:
        pkgsrc/ham/codec2/patches: patch-src_CMakeLists.txt

Log Message:
codec2: updated to 1.2.0

1.2.0

Major clean up to reduce repo size, remove old code, and unnecessary Git
history. A new repo based on a shallow clone of the previous codec2 repo, which
is still available (along with all previous releases) at codec-dev.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/ham/codec2/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/ham/codec2/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/ham/codec2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/ham/codec2/patches/patch-src_CMakeLists.txt

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

Modified files:

Index: pkgsrc/ham/codec2/Makefile
diff -u pkgsrc/ham/codec2/Makefile:1.8 pkgsrc/ham/codec2/Makefile:1.9
--- pkgsrc/ham/codec2/Makefile:1.8      Sun Aug 25 06:18:54 2024
+++ pkgsrc/ham/codec2/Makefile  Thu Feb 27 13:43:34 2025
@@ -1,27 +1,24 @@
-# $NetBSD: Makefile,v 1.8 2024/08/25 06:18:54 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.9 2025/02/27 13:43:34 adam Exp $
 
-# https://github.com/drowe67/codec2/archive/v0.9.2.tar.gz
-DISTNAME=      codec2-0.9.2
+DISTNAME=      codec2-1.2.0
 CATEGORIES=    ham
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=drowe67/}
-GITHUB_TAG=    v${PKGVERSION_NOREV}
+GITHUB_TAG=    ${PKGVERSION_NOREV}
 
 MAINTAINER=    dbj%NetBSD.org@localhost
 HOMEPAGE=      https://rowetel.com/codec2.html
 COMMENT=       Speech codec for between 700 and 3200 bit/s
-
 LICENSE=       gnu-lgpl-v2.1
 
-USE_LANGUAGES= c
+USE_CC_FEATURES=       c99
+USE_LANGUAGES=         c
 
-.include "../../devel/cmake/build.mk"
 CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE=Release
 
+.include "../../devel/cmake/build.mk"
 # XXX this creates a circular dependency between
 # lpcnetfreedv and codec2 that requires bootstrapping
 # and causes problems with pkg tools once created.
 #CMAKE_CONFIGURE_ARGS+=        -DLPCNET=ON
 #.include "../../ham/lpcnetfreedv/buildlink3.mk"
-
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/ham/codec2/PLIST
diff -u pkgsrc/ham/codec2/PLIST:1.5 pkgsrc/ham/codec2/PLIST:1.6
--- pkgsrc/ham/codec2/PLIST:1.5 Sun Nov 29 23:10:25 2020
+++ pkgsrc/ham/codec2/PLIST     Thu Feb 27 13:43:34 2025
@@ -1,35 +1,55 @@
-@comment $NetBSD: PLIST,v 1.5 2020/11/29 23:10:25 dbj Exp $
+@comment $NetBSD: PLIST,v 1.6 2025/02/27 13:43:34 adam Exp $
 bin/c2dec
 bin/c2enc
-bin/drs232
-bin/drs232_ldpc
+bin/c2sim
+bin/ch
+bin/cohpsk_demod
+bin/cohpsk_get_test_bits
+bin/cohpsk_mod
+bin/cohpsk_put_test_bits
+bin/deframer
 bin/fdmdv_demod
 bin/fdmdv_get_test_bits
 bin/fdmdv_mod
 bin/fdmdv_put_test_bits
-bin/fm_demod
+bin/framer
+bin/freedv_data_raw_rx
+bin/freedv_data_raw_tx
+bin/freedv_data_rx
+bin/freedv_data_tx
+bin/freedv_mixed_rx
+bin/freedv_mixed_tx
+bin/freedv_rx
+bin/freedv_tx
+bin/fsk_demod
+bin/fsk_get_test_bits
 bin/fsk_mod
-bin/insert_errors
+bin/fsk_put_test_bits
+bin/ldpc_dec
+bin/ldpc_enc
+bin/ldpc_noise
+bin/ofdm_demod
+bin/ofdm_get_test_bits
+bin/ofdm_mod
+bin/ofdm_put_test_bits
+bin/tollr
+bin/vhf_deframe_c2
+bin/vhf_frame_c2
 include/codec2/codec2.h
 include/codec2/codec2_cohpsk.h
 include/codec2/codec2_fdmdv.h
 include/codec2/codec2_fifo.h
 include/codec2/codec2_fm.h
+include/codec2/codec2_math.h
 include/codec2/codec2_ofdm.h
 include/codec2/comp.h
-include/codec2/comp_prim.h
-include/codec2/filter.h
 include/codec2/freedv_api.h
-include/codec2/freedv_api_internal.h
 include/codec2/fsk.h
-include/codec2/golay23.h
-include/codec2/horus_api.h
-include/codec2/kiss_fft.h
 include/codec2/modem_stats.h
-include/codec2/varicode.h
+include/codec2/reliable_text.h
 include/codec2/version.h
 lib/cmake/codec2/codec2-config-release.cmake
 lib/cmake/codec2/codec2-config.cmake
 lib/libcodec2.so
-lib/libcodec2.so.0.9
+lib/libcodec2.so.1.2
 lib/pkgconfig/codec2.pc

Index: pkgsrc/ham/codec2/distinfo
diff -u pkgsrc/ham/codec2/distinfo:1.7 pkgsrc/ham/codec2/distinfo:1.8
--- pkgsrc/ham/codec2/distinfo:1.7      Tue Oct 26 10:48:37 2021
+++ pkgsrc/ham/codec2/distinfo  Thu Feb 27 13:43:34 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:48:37 nia Exp $
+$NetBSD: distinfo,v 1.8 2025/02/27 13:43:34 adam Exp $
 
-BLAKE2s (codec2-0.9.2.tar.gz) = a051e198e3b3d24c0415ddb80ebcc91be5250b1e14f458050b53d0db328706af
-SHA512 (codec2-0.9.2.tar.gz) = 30a2eb95f7b0f47f0c0c7f08c9118f089acc32adf8b27f5b4354c89139efe80607d6d0ca5e0a9eefddf3640f02c483b9c804ad52c5dec6295968b7267f3a716c
-Size (codec2-0.9.2.tar.gz) = 12244006 bytes
+BLAKE2s (codec2-1.2.0.tar.gz) = 5191a79a978152e87fb5079baff6c5a716b7810cc8dce388c0003f68b3f269d4
+SHA512 (codec2-1.2.0.tar.gz) = a44e6eb3ec60b81e4dfefaa733c4f8a40c5e2e90454e964b14fbce896edd0877e32d917ce878a619d7e7e544c670231d7d0c9cd35659be6989fd18d474443489
+Size (codec2-1.2.0.tar.gz) = 7688549 bytes
+SHA1 (patch-src_CMakeLists.txt) = 704e96d6ca806e0e4d4532f74a78030ca90c3d70

Added files:

Index: pkgsrc/ham/codec2/patches/patch-src_CMakeLists.txt
diff -u /dev/null pkgsrc/ham/codec2/patches/patch-src_CMakeLists.txt:1.1
--- /dev/null   Thu Feb 27 13:43:35 2025
+++ pkgsrc/ham/codec2/patches/patch-src_CMakeLists.txt  Thu Feb 27 13:43:34 2025
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.1 2025/02/27 13:43:34 adam Exp $
+
+Install executables.
+
+--- src/CMakeLists.txt.orig    2025-02-27 13:06:58.143226305 +0000
++++ src/CMakeLists.txt
+@@ -379,6 +379,15 @@ target_link_libraries(ldpc_enc codec2)
+ add_executable(ldpc_dec ldpc_dec.c)
+ target_link_libraries(ldpc_dec codec2)
+ 
++install(TARGETS c2enc c2dec c2sim fdmdv_get_test_bits fdmdv_mod fdmdv_demod
++fdmdv_put_test_bits freedv_tx freedv_rx freedv_data_raw_tx freedv_data_raw_rx
++freedv_data_tx freedv_data_rx freedv_mixed_tx freedv_mixed_rx fsk_mod
++fsk_demod fsk_get_test_bits fsk_put_test_bits framer deframer cohpsk_mod
++ofdm_get_test_bits ofdm_put_test_bits ofdm_mod ofdm_demod vhf_deframe_c2
++vhf_frame_c2 cohpsk_demod cohpsk_get_test_bits cohpsk_put_test_bits ch tollr
++ldpc_noise ldpc_enc ldpc_dec
++DESTINATION ${CMAKE_INSTALL_BINDIR})
++
+ install(TARGETS codec2 EXPORT codec2-config
+     LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT lib
+     ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT lib



Home | Main Index | Thread Index | Old Index