pkgsrc-Changes archive

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

CVS commit: pkgsrc/ham/hamlib



Module Name:    pkgsrc
Committed By:   gdt
Date:           Thu Dec 26 13:17:27 UTC 2024

Modified Files:
        pkgsrc/ham/hamlib: Makefile PLIST distinfo
Added Files:
        pkgsrc/ham/hamlib/patches: patch-include_hamlib_rig.h

Log Message:
ham/hamlib: Update to 4.6

Upstream NEWS, less bugfixes, addition of radios, and minor improvements.

Version 4.6 (2024-12-24)

        * send_raw can now take hex digits as colon-separated -- e.g. send_raw icom xfe:xfe:x94:xe0:03:xfd
        * Added macros for applications to obtain pointers to Hamlib structures(issues #1445, #1420, #487).
          Internal conversion is still a WIP, but use of these macros will make the final cutover transparent to applications.
        * Unify behavior of all rigctl split commands
          * Make the set_split_* commands modify the state of the specified split VFO -- the current or targeted VFO do not have any effect
          * Make the set_split_* commands enable split automatically if not enabled
          * Make the get_split_* commands return frequency of 0 Hz, mode NONE and filter of 0 Hz if split is not enabled
          * Allow all split commands to avoid VFO swapping if supported by the rig model
        * Expose "Targetable features" (RIG_TARGETABLE_*) in dump_caps output to allow clients to determine which commands can be executed without VFO swapping
        * Added VOICE/CW memory capability to many rigs -- thanks to David Balharrie M0DGB/G8FKH
        * Add -# --skip_init option to rigctl to skip rig initialization -- useful for executing commands quickly
        * rig_caps is no longer constant -- this may break some 3rd party relying on the "const" declaration.  Here's an example of how to handle compatibility.
            #ifdef RIGCAPS_NOT_CONST
            static int add_to_list(struct rig_caps* rc, void*)
            #else
            static int add_to_list(const struct rig_caps* rc, void*)
            #endif
        * Hamlib now starts a multicast server that sends out rig information.  Does not receive commands yet.
          See README.multicast
        * rigctld has new -b/bind-all option to try all interfaces -- restores original behavior.  This was done to fix duplicate rigctld instances on Windows
        * Yaesu rigs can now use send_morse to send keyer message 1-5 or a CW message up to 50 chars (which will use memory 1)
        * rig set level METER can now take SWR,COMP,ALC,IC/ID,DB,PO,VDD,TEMP arguments to set which meter to display
        * Added parm BANDSELECT for Yaesu rigs
            'p BANDSELECT' returns current band of VFOA
            'P BANDSELECT BAND160M' example selects the 160M band
            'P BANDSELECT ?' shows  bands available for the rig
        * Added rig_cm108_get/set_bit to API and get/set_gpio to rigctl(d) for GPIO1,2,3,4 access on CM108
        * Add client_version to rigctld so client can report it's version for future use/compatibility/alternatives
        * Add --set-conf=tuner_control_pathname=hamlib_tuner_control (default)
          If file exists then it will be called with 0/1 (Off/On) argument
          with 'U TUNER 0' or 'U TUNER 1"
          Default path is for current directory


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/ham/hamlib/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/ham/hamlib/PLIST
cvs rdiff -u -r1.31 -r1.32 pkgsrc/ham/hamlib/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/ham/hamlib/patches/patch-include_hamlib_rig.h

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

Modified files:

Index: pkgsrc/ham/hamlib/Makefile
diff -u pkgsrc/ham/hamlib/Makefile:1.64 pkgsrc/ham/hamlib/Makefile:1.65
--- pkgsrc/ham/hamlib/Makefile:1.64     Mon Aug 14 05:24:39 2023
+++ pkgsrc/ham/hamlib/Makefile  Thu Dec 26 13:17:27 2024
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.64 2023/08/14 05:24:39 wiz Exp $
+# $NetBSD: Makefile,v 1.65 2024/12/26 13:17:27 gdt Exp $
 #
 
-VERSION=       4.5.5
+VERSION=       4.6
 DISTNAME=      hamlib-${VERSION}
-PKGREVISION=   1
 CATEGORIES=    ham
 # hamlib is both at github and sourceforge, and upstream documents
 # that github is the canonical location.

Index: pkgsrc/ham/hamlib/PLIST
diff -u pkgsrc/ham/hamlib/PLIST:1.21 pkgsrc/ham/hamlib/PLIST:1.22
--- pkgsrc/ham/hamlib/PLIST:1.21        Tue Nov  1 17:17:37 2022
+++ pkgsrc/ham/hamlib/PLIST     Thu Dec 26 13:17:27 2024
@@ -1,19 +1,24 @@
-@comment $NetBSD: PLIST,v 1.21 2022/11/01 17:17:37 gdt Exp $
+@comment $NetBSD: PLIST,v 1.22 2024/12/26 13:17:27 gdt Exp $
 bin/ampctl
 bin/ampctld
 bin/rigctl
 bin/rigctlcom
 bin/rigctld
+bin/rigctlsync
+bin/rigctltcp
+bin/rigfreqwalk
 bin/rigmem
 bin/rigsmtr
 bin/rigswr
 bin/rigtestlibusb
+bin/rigtestmcast
+bin/rigtestmcastrx
 bin/rotctl
 bin/rotctld
 include/hamlib/ampclass.h
 include/hamlib/amplifier.h
 include/hamlib/amplist.h
-include/hamlib/config.h
+include/hamlib/multicast.h
 include/hamlib/rig.h
 include/hamlib/rig_dll.h
 include/hamlib/rigclass.h
@@ -29,6 +34,7 @@ man/man1/ampctld.1
 man/man1/rigctl.1
 man/man1/rigctlcom.1
 man/man1/rigctld.1
+man/man1/rigctlsync.1
 man/man1/rigmem.1
 man/man1/rigsmtr.1
 man/man1/rigswr.1
@@ -42,6 +48,6 @@ share/doc/hamlib/COPYING
 share/doc/hamlib/COPYING.LIB
 share/doc/hamlib/ChangeLog
 share/doc/hamlib/LICENSE
-share/doc/hamlib/README
 share/doc/hamlib/README.betatester
 share/doc/hamlib/README.developer
+share/doc/hamlib/README.md

Index: pkgsrc/ham/hamlib/distinfo
diff -u pkgsrc/ham/hamlib/distinfo:1.31 pkgsrc/ham/hamlib/distinfo:1.32
--- pkgsrc/ham/hamlib/distinfo:1.31     Fri Apr  7 13:16:42 2023
+++ pkgsrc/ham/hamlib/distinfo  Thu Dec 26 13:17:27 2024
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.31 2023/04/07 13:16:42 gdt Exp $
+$NetBSD: distinfo,v 1.32 2024/12/26 13:17:27 gdt Exp $
 
-BLAKE2s (hamlib-4.5.5.tar.gz) = c4594208491e3fcb86ae442376fa4ff420bd4e8f97c941c4027b2eba5f5bb32f
-SHA512 (hamlib-4.5.5.tar.gz) = 2cdff2630e89fa95c7ac40e998492e8a04e000fcca18b9491ddcb967927ffaa771ed2e6ac3232a060947883533a6ae7405042a2f8fdb1de157d71f74381f5899
-Size (hamlib-4.5.5.tar.gz) = 2603846 bytes
+BLAKE2s (hamlib-4.6.tar.gz) = 5326e1201f59e9dd41e0d0ab1ee801bbffc76578712a3939edbeff281a1821b4
+SHA512 (hamlib-4.6.tar.gz) = 50277061073d0e71eeea3850e4d8caf451dbe6d0c68935d2fd64e2e425af9efc67830ffccf3f23fc80bcd736d9cd213825aac8e924f5cc6c4b0a28435748d2f2
+Size (hamlib-4.6.tar.gz) = 2905124 bytes
+SHA1 (patch-include_hamlib_rig.h) = 64bada949331f585585823bf5eb9b728c14a1fe1
 SHA1 (patch-src_network.c) = ca55437ace4576abfbeb5693b400d5a85179e17d

Added files:

Index: pkgsrc/ham/hamlib/patches/patch-include_hamlib_rig.h
diff -u /dev/null pkgsrc/ham/hamlib/patches/patch-include_hamlib_rig.h:1.1
--- /dev/null   Thu Dec 26 13:17:27 2024
+++ pkgsrc/ham/hamlib/patches/patch-include_hamlib_rig.h        Thu Dec 26 13:17:27 2024
@@ -0,0 +1,17 @@
+$NetBSD: patch-include_hamlib_rig.h,v 1.1 2024/12/26 13:17:27 gdt Exp $
+
+rig.h uses va_list without first include stdarg.h, as POSIX requires:
+  https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/stdarg.h.html
+
+https://github.com/Hamlib/Hamlib/issues/1644
+
+--- include/hamlib/rig.h.orig  2024-12-26 12:58:56.497059287 +0000
++++ include/hamlib/rig.h
+@@ -36,6 +36,7 @@
+ #define HAMLIB_TRACE rig_debug(RIG_DEBUG_TRACE,"%s%s(%d) trace\n",spaces(STATE(rig)->depth), __FILE__, __LINE__)
+ #define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)
+ 
++#include <stdarg.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include <inttypes.h>



Home | Main Index | Thread Index | Old Index