[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 53b7cef53797338f26e72
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: n0nb <n0...@us...> - 2025-07-27 23:00:20
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hamlib -- Ham radio control libraries".
The branch, master has been updated
via 53b7cef53797338f26e72e6646fdbf4ce170c2f6 (commit)
via 464076f193f64f9ee9c52705185790ce51536a7e (commit)
via 4c28ba0bde5d7d068660c7f3632f7846c0bdd6d3 (commit)
via 95bd993dd76b731945f7a5ec9d46f0a2a236dd42 (commit)
from 96d5abab4750fdd7c9a08ef3abbab14955923dfd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 53b7cef53797338f26e72e6646fdbf4ce170c2f6
Merge: 96d5abab4 464076f19
Author: Nate Bargmann <n0...@n0...>
Date: Sun Jul 27 17:10:45 2025 -0500
Merge GitHub PR #1817
commit 464076f193f64f9ee9c52705185790ce51536a7e
Author: Daniele Forsi IU5HKX <iu...@gm...>
Date: Sun Jul 27 16:23:09 2025 +0200
Disable Tcl bindings for macOS when running make distcheck
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 44db443ad..77953f3d9 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -94,4 +94,4 @@ jobs:
run: make distcheck V=0 --no-print-directory AM_DISTCHECK_CONFIGURE_FLAGS="${{ matrix.configure_args }} --without-perl-binding"
- name: make distcheck on macOS
if: runner.os == 'macOS'
- run: make distcheck V=0 --no-print-directory AM_DISTCHECK_CONFIGURE_FLAGS="${{ matrix.configure_args }} --without-perl-binding --without-lua-binding PYTHON=/opt/homebrew/bin/python3"
+ run: make distcheck V=0 --no-print-directory AM_DISTCHECK_CONFIGURE_FLAGS="${{ matrix.configure_args }} --without-perl-binding --without-lua-binding --without-tcl-binding PYTHON=/opt/homebrew/bin/python3"
commit 4c28ba0bde5d7d068660c7f3632f7846c0bdd6d3
Author: Daniele Forsi IU5HKX <iu...@gm...>
Date: Sun Jul 27 15:56:51 2025 +0200
Run the TCL tests using the library from build
diff --git a/bindings/Makefile.am b/bindings/Makefile.am
index 9d66c1df9..5f4c84729 100644
--- a/bindings/Makefile.am
+++ b/bindings/Makefile.am
@@ -177,7 +177,7 @@ hamlibtcl_wrap.c: $(SWGDEP)
-I$(top_srcdir)/bindings \
-o $@ $$(test -f hamlib.swg || echo '$(srcdir)/')hamlib.swg
-do_subst = sed -e 's,[@]tcldir[@],$(tcldir),g'
+do_subst = sed -e 's,[@]tcldir[@],$(tcldir),g' -e 's,[@]builddir[@],$(builddir),g'
tcltest.tcl: tcltest.tcl.in Makefile
$(AM_V_GEN)$(do_subst) < $(srcdir)/tcltest.tcl.in > tcltest.tcl
diff --git a/bindings/tcltest.tcl.in b/bindings/tcltest.tcl.in
index 51e9c0b70..1996224c4 100644
--- a/bindings/tcltest.tcl.in
+++ b/bindings/tcltest.tcl.in
@@ -6,7 +6,8 @@ exec tclsh "$0" "$@"
lappend ::auto_path @tcldir@
## Brute force loading
-#load "@tcldir@/hamlibtcl.so" Hamlib
+# load "@tcldir@/hamlibtcl.so" Hamlib ; # from the installation directory
+load "@builddir@/.libs/hamlibtcl.so" Hamlib ; # from the build directory
## Preferred package loading
package require hamlib
commit 95bd993dd76b731945f7a5ec9d46f0a2a236dd42
Author: Daniele Forsi IU5HKX <iu...@gm...>
Date: Sun Jul 27 15:10:10 2025 +0200
Do not clobber the return value of failed tests
While printing an error message is nice, it prevented "make check"
to fail; and the other two binding didn't print any.
diff --git a/bindings/Makefile.am b/bindings/Makefile.am
index 41b44a92a..9d66c1df9 100644
--- a/bindings/Makefile.am
+++ b/bindings/Makefile.am
@@ -186,8 +186,7 @@ all-tcl: pkgIndex.tcl $(tcl_ltlib) tcltest.tcl
check-tcl: all-tcl
$(AM_V_at)cp $(builddir)/pkgIndex.tcl $(builddir)/.libs
- $(AM_V_at)TCLLIBPATH=$(builddir)/.libs tclsh $(builddir)/tcltest.tcl \
- || echo "Tcl test failed" 1>&2
+ $(AM_V_at)TCLLIBPATH=$(builddir)/.libs tclsh $(builddir)/tcltest.tcl
$(AM_V_at)rm -f $(builddir)/.libs/pkgIndex.tcl
install-tcl:
@@ -220,8 +219,7 @@ Hamliblua_la_LTLIBRARIES = $(luaexec_ltlib)
all-lua: $(luaexec_ltlib)
check-lua: all-lua
- $(AM_V_at)LUA_CPATH="$(abs_builddir)/.libs/?.so" $(LUA) $(srcdir)/luatest.lua \
- || echo "Lua test failed" 1>&2
+ $(AM_V_at)LUA_CPATH="$(abs_builddir)/.libs/?.so" $(LUA) $(srcdir)/luatest.lua
Hamlib.lua: hamliblua_wrap.c
-----------------------------------------------------------------------
Summary of changes:
.github/workflows/c-cpp.yml | 2 +-
bindings/Makefile.am | 8 +++-----
bindings/tcltest.tcl.in | 3 ++-
3 files changed, 6 insertions(+), 7 deletions(-)
hooks/post-receive
--
Hamlib -- Ham radio control libraries
|