From 8497d3d5386dedbd8556a7554d4e8d71882964a0 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 16 Oct 2022 19:55:20 -0700 Subject: [PATCH 1/3] hamlib compile fix for python bindings pyqso --- functions/base.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/base.function b/functions/base.function index 8322bfa..c108e56 100644 --- a/functions/base.function +++ b/functions/base.function @@ -206,7 +206,7 @@ HAMLIB() { tar -xzf hamlib-${NEWRIG}.tar.gz rm hamlib-${NEWRIG}.tar.gz cd hamlib-${NEWRIG} || return - ./configure + ./configure --with-python-binding make sudo make install sudo ldconfig From 3cf3fe9858c0420d692764175873ffd0349cd96b Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 16 Oct 2022 20:38:54 -0700 Subject: [PATCH 2/3] add swig for python --- functions/base.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/base.function b/functions/base.function index c108e56..a6e7249 100644 --- a/functions/base.function +++ b/functions/base.function @@ -192,7 +192,7 @@ VARA() { HAMLIB() { PACKAGE=hamlib CLEANSOURCE - sudo apt install libusb-1.0-0 libusb-1.0-0-dev + sudo apt install -y libusb-1.0-0 libusb-1.0-0-dev swig cd ${BUILDDIR} || return NEWRIG=$(curl -s https://sourceforge.net/projects/hamlib/files/latest/download | grep -o https://downloads.sourceforge.net/project/hamlib/hamlib/[0-9].[0-9] | From 4867ebc0bdf905584abbf48d1aa80cb8bc3b5572 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 21 Oct 2022 18:34:09 -0700 Subject: [PATCH 3/3] Update app-check --- app-check | 1 + 1 file changed, 1 insertion(+) diff --git a/app-check b/app-check index b1291aa..bdf46ef 100644 --- a/app-check +++ b/app-check @@ -113,6 +113,7 @@ if ! hash rigctl 2>/dev/null; then else echo "Checking Rig Control" RIG=$(rigctl --version | grep Hamlib | sed s/"rigctl(d),\ Hamlib\ "//) + CURRENT=$(rigctl --version | sed 's/rigctl Hamlib //' | cut -d " " -f1) NEWRIG=$(curl -s https://sourceforge.net/projects/hamlib/files/latest/download | grep -o https://downloads.sourceforge.net/project/hamlib/hamlib/[0-9].[0-9] | head -n 1 | awk -F "/" '{print $7}')