[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 623ff17f61e227d461fca
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: n0nb <n0...@us...> - 2025-07-01 20:36:47
|
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 623ff17f61e227d461fca524c60a331c9a897672 (commit) via 7acb809eef99b923149a3efa088aba05f3aaffca (commit) from ca7353abaab701eca3893bdad3f1895d22239b85 (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 623ff17f61e227d461fca524c60a331c9a897672 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Mon Jun 30 23:42:10 2025 +0200 Build all language bindings diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index d635fb592..3988d64e0 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -22,6 +22,7 @@ jobs: sudo apt install libgpiod-dev sudo apt install grep sudo apt install python3-dev python3-pytest + sudo apt install lua5.4 liblua5.4-dev libperl-dev tcl-dev - name: Install dependencies on macOS if: runner.os == 'macOS' run: | @@ -40,7 +41,7 @@ jobs: run: grep README Makefile.am - name: configure if: runner.os != 'macOS' - run: ./configure --with-python-binding + run: ./configure --with-lua-binding --with-perl-binding --with-python-binding --with-tcl-binding - name: configure on macOS if: runner.os == 'macOS' run: ./configure --without-python-binding commit 7acb809eef99b923149a3efa088aba05f3aaffca Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Mon Jun 30 23:41:12 2025 +0200 Do not try to compile Python code when building other bindings Fixes the issue reported by @dl8fcl https://github.com/Hamlib/Hamlib/commit/f7d38f92cac73fb8b952f5dde3853f40ef910e14#commitcomment-161078321 diff --git a/bindings/amplifier.swg b/bindings/amplifier.swg index a22a02765..d352cf3b4 100644 --- a/bindings/amplifier.swg +++ b/bindings/amplifier.swg @@ -148,6 +148,7 @@ typedef struct Amp { AMPMETHOD1GET(get_powerstat, powerstat_t) +#ifdef SWIGPYTHON PyObject * get_level(setting_t level) { value_t val; @@ -163,5 +164,5 @@ typedef struct Amp { return PyLong_FromLong(val.i); } - +#endif }; diff --git a/bindings/rotator.swg b/bindings/rotator.swg index 7cff51045..9aedbbd31 100644 --- a/bindings/rotator.swg +++ b/bindings/rotator.swg @@ -119,6 +119,7 @@ typedef struct Rot { ROTMETHOD2(set_conf, hamlib_token_t, const_char_string) +#ifdef SWIGPYTHON ROT_GET_LONG(func) ROT_GET_LONG(ext_func) @@ -127,6 +128,7 @@ typedef struct Rot { ROT_GET_VALUE_T(parm) ROT_GET_VALUE_T(ext_parm) +#endif const char *get_conf(hamlib_token_t tok) { static char s[128] = ""; ----------------------------------------------------------------------- Summary of changes: .github/workflows/c-cpp.yml | 3 ++- bindings/amplifier.swg | 3 ++- bindings/rotator.swg | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |