From b79f759f0a1fef9ce51e0244a850d5174aacd37c5972b7a68c2efb8ce334d89f Mon Sep 17 00:00:00 2001 From: Michael Hamilton Date: Sat, 9 Sep 2023 04:14:06 +0000 Subject: [PATCH] Accepting request 1109885 from home:mchnz:branches:utilities Sun 24 Jun 2023 21:50:00 UTC - Michael Hamilton - Version 1.11.0 * Made vdu_controls ddcutil-2.0-ready. * Added support for ddcutil versions earlier than 1.3 (issue #43, #53). * Main-Window: added a hide-on-focus-out option to minimize the main window on focus out (issue #57). * Main-Window: changed the layout to display brightness and contrast as the first two controls for each VDU. * Main-Window: added jump to clicked value to sliders (issue #59). * Main-Window: added a smart-main-window option to make main window placement and geometry preservation optional. * Main-Window: the main window can now be raised above the other sub-windows (gnome issue only). * Main-Window and Context Menu: added alt-key keyboard shortcuts (issue #13). * Context-Menu: added an indicator mark suffix to the currently active Preset (if any) (issue #55). * Context-Menu: made changes to Preset ordering propagate to the menu without requiring an application restart. * Tray-Icon: made the app icon un-themed so that overlaid active Preset text/icon is more visible (issue #55). * Settings-Dialog: added a Reset button to makes it possible to un-ignore a VDU (issue #51). * Settings-Dialog: added tool-tips to main config-settings, made them consistent with command line help (issue #52). * Preset-Dialog: combined the Activate and Edit buttons into one button (simpler and more intuitive). * Preset Dialog: made the dialog bold the text button of the currently active Preset (if any). * Preset Dialog: added code to detect and and warn of unsaved changes. * Preset Dialog: made the dialog lock out any scheduled or automatic VDU changes while a Preset is being edited. * Preset-Dialog: supplied a starter set of Prest icons - a selection of KDE breeze5-icons (issue #56). * Popup-Messages: made message box popups resizable for increased readability. * Command-line: made config-settings and command-line arguments consistent, command line has precedence (issue #52). * Command-line: fixed --sleep-multiplier so that it is actually applied (issue #54). * Prevented potential crashes in the event of utf-8 decoding errors for EDID's and capabilities (issue #49). * Added logging of stack traces for some errors if debugging is set to on (issue #49). * Improved the handling of ddcutil not found (issue #48). * Refactored to improve maintainability and run-time efficiency (issue #52). * Added Deepin 23 pyqt library compatibility. * Numerous minor enhancements and fixes. * An alpha release of vlux_meter.py, a system-tray webcam lux-meter, has been included in the sample scripts folder. OBS-URL: https://build.opensuse.org/request/show/1109885 OBS-URL: https://build.opensuse.org/package/show/utilities/vdu_controls?expand=0&rev=8 --- vdu_controls-1.10.2.tar.gz | 3 --- vdu_controls-1.11.0.tar.gz | 3 +++ vdu_controls.changes | 33 +++++++++++++++++++++++++++++++++ vdu_controls.spec | 13 +++++++++++-- 4 files changed, 47 insertions(+), 5 deletions(-) delete mode 100644 vdu_controls-1.10.2.tar.gz create mode 100644 vdu_controls-1.11.0.tar.gz diff --git a/vdu_controls-1.10.2.tar.gz b/vdu_controls-1.10.2.tar.gz deleted file mode 100644 index 7a5d88d..0000000 --- a/vdu_controls-1.10.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:448a6c715d6331e23275d7e7f0d83f73c04ea2628cdcf958b736bab2ddb646fc -size 3051251 diff --git a/vdu_controls-1.11.0.tar.gz b/vdu_controls-1.11.0.tar.gz new file mode 100644 index 0000000..01ac3c2 --- /dev/null +++ b/vdu_controls-1.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a2b646a5193ff4a072bdc1a17afe6ba7c471f7d2ca369d946c0ee3bc4c30a13 +size 3092452 diff --git a/vdu_controls.changes b/vdu_controls.changes index 15aa696..d8173bb 100644 --- a/vdu_controls.changes +++ b/vdu_controls.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Sun 24 Jun 2023 21:50:00 UTC - Michael Hamilton + +- Version 1.11.0 + * Made vdu_controls ddcutil-2.0-ready. + * Added support for ddcutil versions earlier than 1.3 (issue #43, #53). + * Main-Window: added a hide-on-focus-out option to minimize the main window on focus out (issue #57). + * Main-Window: changed the layout to display brightness and contrast as the first two controls for each VDU. + * Main-Window: added jump to clicked value to sliders (issue #59). + * Main-Window: added a smart-main-window option to make main window placement and geometry preservation optional. + * Main-Window: the main window can now be raised above the other sub-windows (gnome issue only). + * Main-Window and Context Menu: added alt-key keyboard shortcuts (issue #13). + * Context-Menu: added an indicator mark suffix to the currently active Preset (if any) (issue #55). + * Context-Menu: made changes to Preset ordering propagate to the menu without requiring an application restart. + * Tray-Icon: made the app icon un-themed so that overlaid active Preset text/icon is more visible (issue #55). + * Settings-Dialog: added a Reset button to makes it possible to un-ignore a VDU (issue #51). + * Settings-Dialog: added tool-tips to main config-settings, made them consistent with command line help (issue #52). + * Preset-Dialog: combined the Activate and Edit buttons into one button (simpler and more intuitive). + * Preset Dialog: made the dialog bold the text button of the currently active Preset (if any). + * Preset Dialog: added code to detect and and warn of unsaved changes. + * Preset Dialog: made the dialog lock out any scheduled or automatic VDU changes while a Preset is being edited. + * Preset-Dialog: supplied a starter set of Prest icons - a selection of KDE breeze5-icons (issue #56). + * Popup-Messages: made message box popups resizable for increased readability. + * Command-line: made config-settings and command-line arguments consistent, command line has precedence (issue #52). + * Command-line: fixed --sleep-multiplier so that it is actually applied (issue #54). + * Prevented potential crashes in the event of utf-8 decoding errors for EDID's and capabilities (issue #49). + * Added logging of stack traces for some errors if debugging is set to on (issue #49). + * Improved the handling of ddcutil not found (issue #48). + * Refactored to improve maintainability and run-time efficiency (issue #52). + * Added Deepin 23 pyqt library compatibility. + * Numerous minor enhancements and fixes. + * An alpha release of vlux_meter.py, a system-tray webcam lux-meter, has been included in the sample scripts folder. + ------------------------------------------------------------------- Thu 11 May 2023 23:56:00 UTC - Michael Hamilton diff --git a/vdu_controls.spec b/vdu_controls.spec index 0fb10ef..c4ca803 100644 --- a/vdu_controls.spec +++ b/vdu_controls.spec @@ -18,12 +18,12 @@ Name: vdu_controls -Version: 1.10.2 +Version: 1.11.0 Release: 0 Summary: Visual Display Unit virtual control panel License: GPL-3.0-or-later URL: https://github.com/digitaltrails/vdu_controls -Source0: https://github.com/digitaltrails/vdu_controls/archive/refs/tags/v1.10.2.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/digitaltrails/vdu_controls/archive/refs/tags/v1.11.0.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: coreutils BuildRequires: hicolor-icon-theme BuildArch: noarch @@ -63,25 +63,32 @@ install -d -m 0755 %{buildroot}%{_bindir} \ %{buildroot}%{_mandir}/man1/ \ %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/vdu_controls/translations \ + %{buildroot}%{_datadir}/vdu_controls/icons \ %{buildroot}%{_datadir}/vdu_controls/sample-scripts \ %{buildroot}%{_datadir}/icons/hicolor/256x256/apps install -m 0755 vdu_controls.py %{buildroot}/%{_bindir}/%{name} install -m 0644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop install -m 0644 %{name}.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png +install -m 0644 icons/* %{buildroot}%{_datadir}/vdu_controls/icons/ install -m 0644 translations/*.ts %{buildroot}%{_datadir}/vdu_controls/translations/ install -m 0644 translations/about_*.txt %{buildroot}%{_datadir}/vdu_controls/translations/ install -m 0755 sample-scripts/* %{buildroot}%{_datadir}/vdu_controls/sample-scripts/ install -m 0644 docs/_build/man/vdu_controls.1 %{buildroot}%{_mandir}/man1/ +%post +ln -s -f %{_datadir}/icons %{_datadir}/vdu_controls/icons/system-icons + %files %license LICENSE.md %dir %{_datadir}/vdu_controls +%dir %{_datadir}/vdu_controls/icons %dir %{_datadir}/vdu_controls/translations %dir %{_datadir}/vdu_controls/sample-scripts %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/256x256/apps/%{name}.png %{_mandir}/man1/%{name}.1%{?ext_man} +%{_datadir}/vdu_controls/icons/* %{_datadir}/vdu_controls/translations/da_DK.ts %{_datadir}/vdu_controls/translations/fr_FR.ts %{_datadir}/vdu_controls/translations/de_DE.ts @@ -90,5 +97,7 @@ install -m 0644 docs/_build/man/vdu_controls.1 %{buildroot}%{_mandir}/man1/ %{_datadir}/vdu_controls/translations/about_de_DE.txt %{_datadir}/vdu_controls/sample-scripts/lux-from-webcam.bash %{_datadir}/vdu_controls/sample-scripts/lux-from-webcam.py +%{_datadir}/vdu_controls/sample-scripts/vlux_meter.py +%ghost %{_datadir}/vdu_controls/icons/system-icons %changelog