Accepting request 930549 from electronics

- Update to new upstream version 2.4.20
  - Hide unused custom line ending controls in hex mode in RS485 Bricklet plugin
  - Reuse thread in Data Logger timer to avoid slow memory leak
  - Fix Data Logger device list clearing on config loading
  - Fix slow memory leak in Data Logger data tab
  - Add firmware version column to Health Monitor dialog
  - Improve udev rule compatibility on Linux
  - Add support for RTC driver config to HAT Brick plugin
  - Add support for simple mode to NFC Bricklet plugin
  - Increase required PySerial version to 3.0
  - Add support for flashing ESP32 (Ethernet) Bricks
- remove upstream patch 0001-udev-rules-Fix-ATTR-assignment.patch

OBS-URL: https://build.opensuse.org/request/show/930549
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/brickv?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2021-11-10 20:46:24 +00:00 committed by Git OBS Bridge
commit 96a03a6b20
5 changed files with 21 additions and 38 deletions

View File

@ -1,32 +0,0 @@
From 497f502561c805927ae7320bf19b9a54045fadc9 Mon Sep 17 00:00:00 2001
From: Frank Kunz <mailinglists@kunz-im-inter.net>
Date: Mon, 6 Sep 2021 22:01:53 +0200
Subject: [PATCH] udev-rules: Fix ATTR assignment
Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>
---
.../lib/udev/rules.d/99-tinkerforge-brick-flash.rules | 2 +-
.../linux/brickv/lib/udev/rules.d/99-tinkerforge-brickv.rules | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/build_data/linux/brick-flash/lib/udev/rules.d/99-tinkerforge-brick-flash.rules b/src/build_data/linux/brick-flash/lib/udev/rules.d/99-tinkerforge-brick-flash.rules
index b50de5c8..e646f3ac 100644
--- a/src/build_data/linux/brick-flash/lib/udev/rules.d/99-tinkerforge-brick-flash.rules
+++ b/src/build_data/linux/brick-flash/lib/udev/rules.d/99-tinkerforge-brick-flash.rules
@@ -1,3 +1,3 @@
# Disable autosuspend for Tinkerforge Brick bootloader mode
# Bootloader otherwise stops working the first time autosuspend is enabled
-ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTR{idProduct}=="6124", TEST=="power/autosuspend", ATTR{power/autosuspend}:="-1"
+ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTR{idProduct}=="6124", TEST=="power/autosuspend", ATTR{power/autosuspend}="-1"
diff --git a/src/build_data/linux/brickv/lib/udev/rules.d/99-tinkerforge-brickv.rules b/src/build_data/linux/brickv/lib/udev/rules.d/99-tinkerforge-brickv.rules
index b50de5c8..e646f3ac 100644
--- a/src/build_data/linux/brickv/lib/udev/rules.d/99-tinkerforge-brickv.rules
+++ b/src/build_data/linux/brickv/lib/udev/rules.d/99-tinkerforge-brickv.rules
@@ -1,3 +1,3 @@
# Disable autosuspend for Tinkerforge Brick bootloader mode
# Bootloader otherwise stops working the first time autosuspend is enabled
-ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTR{idProduct}=="6124", TEST=="power/autosuspend", ATTR{power/autosuspend}:="-1"
+ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTR{idProduct}=="6124", TEST=="power/autosuspend", ATTR{power/autosuspend}="-1"
--
2.33.0

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Nov 9 19:00:57 UTC 2021 - Frank Kunz <mailinglists@kunz-im-inter.net>
- Update to new upstream version 2.4.20
- Hide unused custom line ending controls in hex mode in RS485 Bricklet plugin
- Reuse thread in Data Logger timer to avoid slow memory leak
- Fix Data Logger device list clearing on config loading
- Fix slow memory leak in Data Logger data tab
- Add firmware version column to Health Monitor dialog
- Improve udev rule compatibility on Linux
- Add support for RTC driver config to HAT Brick plugin
- Add support for simple mode to NFC Bricklet plugin
- Increase required PySerial version to 3.0
- Add support for flashing ESP32 (Ethernet) Bricks
- remove upstream patch 0001-udev-rules-Fix-ATTR-assignment.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 7 19:23:04 UTC 2021 - Frank Kunz <mailinglists@kunz-im-inter.net> Tue Sep 7 19:23:04 UTC 2021 - Frank Kunz <mailinglists@kunz-im-inter.net>

View File

@ -18,14 +18,13 @@
Name: brickv Name: brickv
Version: 2.4.19 Version: 2.4.20
Release: 0 Release: 0
Summary: Tinkerforge Brick Viewer Summary: Tinkerforge Brick Viewer
License: GPL-2.0-only License: GPL-2.0-only
Group: Development/Tools/Debuggers Group: Development/Tools/Debuggers
URL: http://www.tinkerforge.com URL: http://www.tinkerforge.com
Source0: https://github.com/Tinkerforge/brickv/archive/v%{version}.tar.gz Source0: https://github.com/Tinkerforge/brickv/archive/v%{version}.tar.gz
Patch0: 0001-udev-rules-Fix-ATTR-assignment.patch
BuildRequires: %{python_module qt5} BuildRequires: %{python_module qt5}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
@ -45,7 +44,6 @@ Small Qt GUI to control and test all Bricks and Bricklets from Tinkerforge.
%prep %prep
%setup -q %setup -q
%patch0 -p1
# remove unneeded shebangs # 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/main.py
sed -i 's|#!/usr/bin/env python3||g' src/brickv/plugin_system/plugins/red/build_serviceproviders.py sed -i 's|#!/usr/bin/env python3||g' src/brickv/plugin_system/plugins/red/build_serviceproviders.py
@ -73,6 +71,7 @@ popd
%files -n %{name} %files -n %{name}
%doc src/changelog README.rst %doc src/changelog README.rst
%license license.txt
%{_bindir}/%{name} %{_bindir}/%{name}
%{python3_sitelib}/brickv* %{python3_sitelib}/brickv*
%{_udevrulesdir}/*.rules %{_udevrulesdir}/*.rules

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a36bc243580e95e2508e7730f23fa9b29d82b9debe3a0965b9e84fcee2e10381
size 11374866

3
v2.4.20.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6817540fe4f1f2439a792a88f3e3a2869346fdba5d92ad6591eafef061c7b098
size 11468486