Bug 285061 - comms/hamlib: Update to 4.6.2
Summary: comms/hamlib: Update to 4.6.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Diane Bruce
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-27 00:21 UTC by takefu
Modified: 2025-02-27 18:18 UTC (History)
2 users (show)

See Also:
vishwin: maintainer-feedback+


Attachments
hamlib-4.6.2.patch (5.20 KB, patch)
2025-02-27 00:21 UTC, takefu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description takefu 2025-02-27 00:21:16 UTC
Created attachment 258008 [details]
hamlib-4.6.2.patch

https://sourceforge.net/p/hamlib/code/ci/4.6.2/tree/NEWS

Version 4.6.2
        * Add missing levels for IC746/PRO RIG_LEVEL_RFPOWER_METER,RIG_LEVEL_RFPOWER_METER_WATTS,RIG_LEVEL_SWR,RIG_LEVEL_ALC
        * Fix IC905 for gpredict
        * Fix potential segfault on QMX 
        * Fix pmr171
        
Version 4.6.1
        * Fix C++ builds failing on rig_list_foreach function
        * Fix IC9100 rigctld startup to end up on VFOA
        * Fix grig build by removing sys/socket.h -- apparently not needed
        * Add new QMX entry to fix incompability with QDX
        * Fix IC746/PROT to not use data byte
        * FLRig to add DATA-U DATA-L modes
        * Fix TS570 RIG_LEVEL_STRENGTH with cal table
        * Remove get_powerstat from IC785X -- not supported
        * Fix SDRConsole by removing lots of things it does not have

Version 4.6
	* send_raw can now take hex digits as colon-separated -- e.g. send_raw icom xfe:xfe:x94:xe0:03:xfd
	* Add IC7760
        * IC7300 Mode filter can now be set by # (i.e. 1,2,3) 
        * Fixed AF6SA WRC rotor controller
        * Added Rhode&Schwarz XK852
        * Added Xiegu X6200
        * Added Commradio CTX-10
        * Added Guoehe PMR-171
        * Added csntechnoligies.net S.A.T Satellite rotor control
        * Added PSTRotator control
        * Added Flex SmartSDR slices A-H
        * Added Motorola Micom M2/M3
        * Added SDR Radio SDRConsole -- TS-2000 is now hardware flow control so need separate entry
        * Added --set-conf=filter_usb, filter_usbd, and filter_cw to allow Icom rigs set mode to set filter number too
        * 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. 
        * Added Guohe Q900 entry 
        * 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
        * Improve Icom backend to set/get frequency, mode and filter without VFO swapping if supported by the rig model
        * Improve Yaesu newcat backend split handling
        * Expose "Targetable features" (RIG_TARGETABLE_*) in dump_caps output to allow clients to determine which commands can be executed without VFO swapping
        * Added RIG_FUNC_SYNC for FTDX101D/MP
        * Added Barrett 4100
        * Added DL2MAN (tr)uSDX -- needs refinement
        * Added Thetis entry -- derived from FlexRadio/Apache PowerSDR
        * 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

        * IC7610 now has IPP, DPP, and TX_INHIBIT functions set/get
        * 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
        * reg get level displays meter number=name now
        * 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
        * Added BG2FX FX4/C/CR/L
        * Fixed IC7610 to use new 0x25 0x26 command added in latest firmware
        * Fix W command in rigctld to work properly -- can take terminating char or # of bytes to expect
        * Add rig_set_debug_filename so Python can redirect debug stream
        * Fix Yaesu LBL_NR to use proper values
        * Add IC-905
        * Add Anytone D578UVIII -- should work on any D558 model and perhaps others too
        * Add saebrtrack rotor https://sites.google.com/site/marklhammond/saebrtrack
        * Add offset_vfoa and offset_vfob applying to rig_set_freq
        * Fix K4 to put it in K40 mode when requesting ID
        * Fixes for M2 Rotors
        * Add rigctlsync utility to synchronize frequency from a rig to SDR# (or others)
        * Add SDR# rig for use with SDR#'s gpredict plugin -- can only get/set freq 
        * Add Apex Shared Loop rotator -- unidirectional only so far
        * 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
        * Add MDS 4710/9710 rigs
        * Add FLIR PTU-D48, E46, D100, D300 rotors
        * Fix FTDX3000 rig split

Version 4.5.6
        * Fix rigctld/rigctltcp information
        * Fix FT817 get/set_vfo
Comment 1 Charlie Li freebsd_committer freebsd_triage 2025-02-27 01:50:22 UTC
Did you test any of the consumer programs?
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-02-27 16:46:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=adcfc4eaba62d42cfecd4d9678c10a5a74ae147b

commit adcfc4eaba62d42cfecd4d9678c10a5a74ae147b
Author:     Diane Bruce <db@FreeBSD.org>
AuthorDate: 2025-02-27 15:51:38 +0000
Commit:     Diane Bruce <db@FreeBSD.org>
CommitDate: 2025-02-27 16:45:38 +0000

    comms/hamlib: Update to 4.6.2

    Fixed missing README.md in pkg-plist

    Version 4.6.2
            * Add missing levels for IC746/PRO RIG_LEVEL_RFPOWER_METER,RIG_LEVEL_RFPOWER_METER_WATTS,RIG_LEVEL_SWR,RIG_LEVEL_ALC
            * Fix IC905 for gpredict
            * Fix potential segfault on QMX
            * Fix pmr171

    Version 4.6.1
            * Fix C++ builds failing on rig_list_foreach function
            * Fix IC9100 rigctld startup to end up on VFOA
            * Fix grig build by removing sys/socket.h -- apparently not needed
            * Add new QMX entry to fix incompability with QDX
            * Fix IC746/PROT to not use data byte
            * FLRig to add DATA-U DATA-L modes
            * Fix TS570 RIG_LEVEL_STRENGTH with cal table
            * Remove get_powerstat from IC785X -- not supported
            * Fix SDRConsole by removing lots of things it does not have

    PR:             ports/285061
    Reported by:    takefu@airport.fm

 comms/hamlib/Makefile                                  |  4 +---
 comms/hamlib/distinfo                                  |  6 +++---
 .../files/patch-rigs_dummy_rot__pstrotator.c (new)     | 10 ++++++++++
 comms/hamlib/files/patch-src_misc.c (gone)             | 12 ------------
 comms/hamlib/pkg-descr                                 | 11 ++++-------
 comms/hamlib/pkg-plist                                 | 18 +++++++++++-------
 6 files changed, 29 insertions(+), 32 deletions(-)