From 079b9650bac3b9070ccc7f74e2bc11a85c99289523d014cb77668dd78c5ab660 Mon Sep 17 00:00:00 2001 From: Frank Kunz Date: Wed, 25 Jan 2023 22:07:28 +0000 Subject: [PATCH] Accepting request 1061063 from home:frank_kunz:branches:electronics - Update to new upstream version 2.4.23 - Allow saving config when Modbus master timeout is changed for RS485 Bricklet - Enable Python development mode when running from source - Fix socket leak on connect error - Add manual y-axis scaling for plot widget - Remove all driver files for Windows 7 and earlier - Fix calibration dialog title for Compass Bricklet plugin - Fix Galileo satellite numbers for GPS Bricklet 3.0 - Add support for IPv6 connections - Add commandline options to specify host, port and secret - Add tab select menu that stays in the top left corner - Fix corner cases in IMU Brick(let) plugin untab handling - Add manual firmware list update button if auto-search for updates is disabled OBS-URL: https://build.opensuse.org/request/show/1061063 OBS-URL: https://build.opensuse.org/package/show/electronics/brickv?expand=0&rev=27 --- ...ce-provider-country-codes-missing-in.patch | 36 ------------------- brickv-2.4.23.tar.gz | 3 ++ brickv.changes | 17 +++++++++ brickv.spec | 8 ++--- v2.4.22.tar.gz | 3 -- 5 files changed, 23 insertions(+), 44 deletions(-) delete mode 100644 0001-red-Handle-service-provider-country-codes-missing-in.patch create mode 100644 brickv-2.4.23.tar.gz delete mode 100644 v2.4.22.tar.gz diff --git a/0001-red-Handle-service-provider-country-codes-missing-in.patch b/0001-red-Handle-service-provider-country-codes-missing-in.patch deleted file mode 100644 index 97c7608..0000000 --- a/0001-red-Handle-service-provider-country-codes-missing-in.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 38339ae4a102acf13c250aa962d45acae5624b52 Mon Sep 17 00:00:00 2001 -From: Erik Fleckstein -Date: Wed, 27 Jul 2022 14:37:49 +0200 -Subject: [PATCH] red: Handle service provider country codes missing in - ISO-3166 database. - ---- - .../plugin_system/plugins/red/build_serviceproviders.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/src/brickv/plugin_system/plugins/red/build_serviceproviders.py b/src/brickv/plugin_system/plugins/red/build_serviceproviders.py -index 3b7d95ca..87a11c93 100644 ---- a/src/brickv/plugin_system/plugins/red/build_serviceproviders.py -+++ b/src/brickv/plugin_system/plugins/red/build_serviceproviders.py -@@ -3,7 +3,7 @@ - """ - Copyright (C) 2015 Ishraq Ibne Ashraf - Copyright (C) 2015 Matthias Bolte --Copyright (C) 2020 Erik Fleckstein -+Copyright (C) 2020, 2022 Erik Fleckstein - - build_serviceproviders.py: Generate python dicts for mobile internet feature - -@@ -114,6 +114,9 @@ def main(): - - for dict_c in dict_provider['country']: - code_country = dict_c['@code'] -+ if code_country.upper() not in dict_country_all: -+ print(' Skipping country with code {}: not found in ISO-3166 database'.format(code_country)) -+ continue - dict_country[code_country] = dict_country_all[code_country.upper()] - - except Exception as e: --- -2.37.1 - diff --git a/brickv-2.4.23.tar.gz b/brickv-2.4.23.tar.gz new file mode 100644 index 0000000..9189f7a --- /dev/null +++ b/brickv-2.4.23.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6cad7a2527ffd6749980e25a6ff3bda3c22a7defe2012036cebcda1165db1452 +size 9070950 diff --git a/brickv.changes b/brickv.changes index 8666f3b..418f3c1 100644 --- a/brickv.changes +++ b/brickv.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Jan 25 21:58:05 UTC 2023 - Frank Kunz + +- Update to new upstream version 2.4.23 + - Allow saving config when Modbus master timeout is changed for RS485 Bricklet + - Enable Python development mode when running from source + - Fix socket leak on connect error + - Add manual y-axis scaling for plot widget + - Remove all driver files for Windows 7 and earlier + - Fix calibration dialog title for Compass Bricklet plugin + - Fix Galileo satellite numbers for GPS Bricklet 3.0 + - Add support for IPv6 connections + - Add commandline options to specify host, port and secret + - Add tab select menu that stays in the top left corner + - Fix corner cases in IMU Brick(let) plugin untab handling + - Add manual firmware list update button if auto-search for updates is disabled + ------------------------------------------------------------------- Thu Aug 18 10:57:06 UTC 2022 - Frank Kunz diff --git a/brickv.spec b/brickv.spec index d98e78f..d1eee00 100644 --- a/brickv.spec +++ b/brickv.spec @@ -1,7 +1,7 @@ # # spec file for package brickv # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2019 Frank Kunz # # All modifications and additions to the file contributed by third parties @@ -18,14 +18,13 @@ Name: brickv -Version: 2.4.22 +Version: 2.4.23 Release: 0 Summary: Tinkerforge Brick Viewer License: GPL-2.0-only Group: Development/Tools/Debuggers URL: http://www.tinkerforge.com -Source0: https://github.com/Tinkerforge/brickv/archive/v%{version}.tar.gz -Patch0: 0001-red-Handle-service-provider-country-codes-missing-in.patch +Source0: https://github.com/Tinkerforge/brickv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module qt5} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -45,7 +44,6 @@ Small Qt GUI to control and test all Bricks and Bricklets from Tinkerforge. %prep %setup -q -%patch0 -p1 # remove unneeded shebangs sed -i 's|#!/usr/bin/env python3||g' src/brickv/main.py sed -i 's|#!/usr/bin/env python3||g' src/brickv/plugin_system/plugins/red/build_serviceproviders.py diff --git a/v2.4.22.tar.gz b/v2.4.22.tar.gz deleted file mode 100644 index 0be23cf..0000000 --- a/v2.4.22.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6346738ffaae975ed754216f48db76fb95c09c3daf623b6f62becb96048328f2 -size 18979004