Files
vdu_controls/vdu_controls.spec

104 lines
4.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package vdu_controls
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2021-2023 Michael Hamilton <michael@actrix.gen.nz>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: vdu_controls
Accepting request 1109885 from home:mchnz:branches:utilities Sun 24 Jun 2023 21:50:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - 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
2023-09-09 04:14:06 +00:00
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
Accepting request 1109885 from home:mchnz:branches:utilities Sun 24 Jun 2023 21:50:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - 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
2023-09-09 04:14:06 +00:00
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
%if 0%{?suse_version}
Requires: ddcutil
Requires: noto-sans-math-fonts
Requires: noto-sans-symbols2-fonts
Requires: python3
Requires: python3-qt5
Accepting request 1084547 from home:mchnz:branches:utilities Sun 26 Mar 2023 07:34:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - Version 1.10.0 * Added hardware lux metering options (GY30/BH1750+Arduino, UNIX-fifo, or executable-script). * Added lux-to-brightness profiles per VDU. * Added sample scripts for using a webcam to produce approximate lux values. * Added an option to transition smoothly on UNIX signal. * Replaced the transition combo-box with a button+checkboxes. * Added drag-to-change, click-to-delete, to the elevation chart component. * Added a setting to quickly disable weather and another for elevation-scheduling. * Cleanup of thread handling - clarification of GUI/non-GUI thread operations. * Reduced logging and eliminated popup dialogs when monitors are suspended or powered off. Sat 18 Feb 2023 23:18:56 UTC - Michael Hamilton <michael@actrix.gen.nz> - Version 1.9.2 optional Smooth Transitions for presets: * The Presets Dialog now includes an option to set a Preset to Transition Smoothly. * The tray, main panel, and Preset Dialog indicate when a smooth transition is in progress. * Transitions are performed by a non-GUI thread, the GUI remains accessible during smooth transitions. * A smooth transition can be interrupted by moving the controls being transitioned or invoking a preset. Wed 25 Jan 2023 23:08:56 UTC - Michael Hamilton <michael@actrix.gen.nz> - Updated to version 1.9.1 * Busy spinners and control lockouts applied during refresh and preset activation. Introducing SpinBox input fields. Use EDID. - Clean up build in preparation for development repository and Factory submission. - Updated to version 1.9.0: * Bug fixes and speedy performance improvements. - Updated to version 1.8.3: * Fix crash when network is down and weather site is not contactable. - Updated to version 1.8.1: * Fix daily scheduling of presets. - Updated to version 1.8.0: * New feature, allow presets to be scheduled by solar elevation. - Updated to version 1.7.2: * Better handle monitor being powered off. * Allow presets to be reordered on the menu. - Updated to version 1.7.1: * Fix for signal handling from Mark Lowne. - Updated to version 1.7.0: * Display current preset in window and tray title, preset icons. - Updated to version 1.6.11: * Cleaning up the help and Linux man page. - Updated to version 1.6.10: * Cope better with transient slider values, cope better with session startup delays to detection. - Update to version 1.6.8: - Fix preset save/restore bug introduced in 1.6.7. - Updated to version 1.6.7: * Fix issues with gnome 42.2 tray: when in gnome do as the gnomens do. - Updated to version 1.6.5: * Widen handling of pare exceptions for VDU capabilities - catch more exceptions. - Updated to version 1.6.4: * Wayland wait for system tray at login. * Enable HiDPI icons. - Updated to version 1.6.3: * Added a hamburger menu to provide alternate access to the context menu. - Updated to version 1.6.2: * Add a feature Values: min..max override. - Updated to version 1.6.1: * Wayland fixes. - Updated to version 1.6.0: * Let other processes trigger preset changes and settings refreshes via UNIX/Linux signals. - Updated to version 1.5.9: * Cleanly handle monitors that do not respond to ddcutil commands. - Updated to version 1.5.7: * Check if a system tray is available before applying system_tray_enabled. - Updated to version 1.5.5: * Fix tray for some desktops. * Combobox value enhancements/fixes. * Login-restart support/ - Updated to version 1.5.3: * Detect and handle light/dark theme changes. - Version 1.5.2: * Packaged for rpm vdu_controls. OBS-URL: https://build.opensuse.org/request/show/1084547 OBS-URL: https://build.opensuse.org/package/show/utilities/vdu_controls?expand=0&rev=5
2023-05-04 22:06:26 +00:00
Requires: python3-pyserial
%endif
%if 0%{?fedora_version}
%define ext_man *
Requires: ddcutil
Requires: google-noto-sans-math-fonts
Requires: google-noto-sans-symbols2-fonts
Requires: python3
Requires: python3-qt5
Accepting request 1084547 from home:mchnz:branches:utilities Sun 26 Mar 2023 07:34:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - Version 1.10.0 * Added hardware lux metering options (GY30/BH1750+Arduino, UNIX-fifo, or executable-script). * Added lux-to-brightness profiles per VDU. * Added sample scripts for using a webcam to produce approximate lux values. * Added an option to transition smoothly on UNIX signal. * Replaced the transition combo-box with a button+checkboxes. * Added drag-to-change, click-to-delete, to the elevation chart component. * Added a setting to quickly disable weather and another for elevation-scheduling. * Cleanup of thread handling - clarification of GUI/non-GUI thread operations. * Reduced logging and eliminated popup dialogs when monitors are suspended or powered off. Sat 18 Feb 2023 23:18:56 UTC - Michael Hamilton <michael@actrix.gen.nz> - Version 1.9.2 optional Smooth Transitions for presets: * The Presets Dialog now includes an option to set a Preset to Transition Smoothly. * The tray, main panel, and Preset Dialog indicate when a smooth transition is in progress. * Transitions are performed by a non-GUI thread, the GUI remains accessible during smooth transitions. * A smooth transition can be interrupted by moving the controls being transitioned or invoking a preset. Wed 25 Jan 2023 23:08:56 UTC - Michael Hamilton <michael@actrix.gen.nz> - Updated to version 1.9.1 * Busy spinners and control lockouts applied during refresh and preset activation. Introducing SpinBox input fields. Use EDID. - Clean up build in preparation for development repository and Factory submission. - Updated to version 1.9.0: * Bug fixes and speedy performance improvements. - Updated to version 1.8.3: * Fix crash when network is down and weather site is not contactable. - Updated to version 1.8.1: * Fix daily scheduling of presets. - Updated to version 1.8.0: * New feature, allow presets to be scheduled by solar elevation. - Updated to version 1.7.2: * Better handle monitor being powered off. * Allow presets to be reordered on the menu. - Updated to version 1.7.1: * Fix for signal handling from Mark Lowne. - Updated to version 1.7.0: * Display current preset in window and tray title, preset icons. - Updated to version 1.6.11: * Cleaning up the help and Linux man page. - Updated to version 1.6.10: * Cope better with transient slider values, cope better with session startup delays to detection. - Update to version 1.6.8: - Fix preset save/restore bug introduced in 1.6.7. - Updated to version 1.6.7: * Fix issues with gnome 42.2 tray: when in gnome do as the gnomens do. - Updated to version 1.6.5: * Widen handling of pare exceptions for VDU capabilities - catch more exceptions. - Updated to version 1.6.4: * Wayland wait for system tray at login. * Enable HiDPI icons. - Updated to version 1.6.3: * Added a hamburger menu to provide alternate access to the context menu. - Updated to version 1.6.2: * Add a feature Values: min..max override. - Updated to version 1.6.1: * Wayland fixes. - Updated to version 1.6.0: * Let other processes trigger preset changes and settings refreshes via UNIX/Linux signals. - Updated to version 1.5.9: * Cleanly handle monitors that do not respond to ddcutil commands. - Updated to version 1.5.7: * Check if a system tray is available before applying system_tray_enabled. - Updated to version 1.5.5: * Fix tray for some desktops. * Combobox value enhancements/fixes. * Login-restart support/ - Updated to version 1.5.3: * Detect and handle light/dark theme changes. - Version 1.5.2: * Packaged for rpm vdu_controls. OBS-URL: https://build.opensuse.org/request/show/1084547 OBS-URL: https://build.opensuse.org/package/show/utilities/vdu_controls?expand=0&rev=5
2023-05-04 22:06:26 +00:00
Requires: python3-pyserial
%endif
%description
vdu_controls is a virtual control panel for externally connected
VDU's (visual display units). Controls are included for backlight
brightness, and contrast. vdu_controls uses the ddcutil command
line utility to interact with external displays via VESA Display
Data Channel (DDC) Virtual Control Panel (VCP) standards.
%prep
%autosetup
%build
#Just a placeholder, no build required.
%install
install -d -m 0755 %{buildroot}%{_bindir} \
%{buildroot}%{_mandir}/man1/ \
%{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/vdu_controls/translations \
Accepting request 1109885 from home:mchnz:branches:utilities Sun 24 Jun 2023 21:50:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - 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
2023-09-09 04:14:06 +00:00
%{buildroot}%{_datadir}/vdu_controls/icons \
Accepting request 1084547 from home:mchnz:branches:utilities Sun 26 Mar 2023 07:34:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - Version 1.10.0 * Added hardware lux metering options (GY30/BH1750+Arduino, UNIX-fifo, or executable-script). * Added lux-to-brightness profiles per VDU. * Added sample scripts for using a webcam to produce approximate lux values. * Added an option to transition smoothly on UNIX signal. * Replaced the transition combo-box with a button+checkboxes. * Added drag-to-change, click-to-delete, to the elevation chart component. * Added a setting to quickly disable weather and another for elevation-scheduling. * Cleanup of thread handling - clarification of GUI/non-GUI thread operations. * Reduced logging and eliminated popup dialogs when monitors are suspended or powered off. Sat 18 Feb 2023 23:18:56 UTC - Michael Hamilton <michael@actrix.gen.nz> - Version 1.9.2 optional Smooth Transitions for presets: * The Presets Dialog now includes an option to set a Preset to Transition Smoothly. * The tray, main panel, and Preset Dialog indicate when a smooth transition is in progress. * Transitions are performed by a non-GUI thread, the GUI remains accessible during smooth transitions. * A smooth transition can be interrupted by moving the controls being transitioned or invoking a preset. Wed 25 Jan 2023 23:08:56 UTC - Michael Hamilton <michael@actrix.gen.nz> - Updated to version 1.9.1 * Busy spinners and control lockouts applied during refresh and preset activation. Introducing SpinBox input fields. Use EDID. - Clean up build in preparation for development repository and Factory submission. - Updated to version 1.9.0: * Bug fixes and speedy performance improvements. - Updated to version 1.8.3: * Fix crash when network is down and weather site is not contactable. - Updated to version 1.8.1: * Fix daily scheduling of presets. - Updated to version 1.8.0: * New feature, allow presets to be scheduled by solar elevation. - Updated to version 1.7.2: * Better handle monitor being powered off. * Allow presets to be reordered on the menu. - Updated to version 1.7.1: * Fix for signal handling from Mark Lowne. - Updated to version 1.7.0: * Display current preset in window and tray title, preset icons. - Updated to version 1.6.11: * Cleaning up the help and Linux man page. - Updated to version 1.6.10: * Cope better with transient slider values, cope better with session startup delays to detection. - Update to version 1.6.8: - Fix preset save/restore bug introduced in 1.6.7. - Updated to version 1.6.7: * Fix issues with gnome 42.2 tray: when in gnome do as the gnomens do. - Updated to version 1.6.5: * Widen handling of pare exceptions for VDU capabilities - catch more exceptions. - Updated to version 1.6.4: * Wayland wait for system tray at login. * Enable HiDPI icons. - Updated to version 1.6.3: * Added a hamburger menu to provide alternate access to the context menu. - Updated to version 1.6.2: * Add a feature Values: min..max override. - Updated to version 1.6.1: * Wayland fixes. - Updated to version 1.6.0: * Let other processes trigger preset changes and settings refreshes via UNIX/Linux signals. - Updated to version 1.5.9: * Cleanly handle monitors that do not respond to ddcutil commands. - Updated to version 1.5.7: * Check if a system tray is available before applying system_tray_enabled. - Updated to version 1.5.5: * Fix tray for some desktops. * Combobox value enhancements/fixes. * Login-restart support/ - Updated to version 1.5.3: * Detect and handle light/dark theme changes. - Version 1.5.2: * Packaged for rpm vdu_controls. OBS-URL: https://build.opensuse.org/request/show/1084547 OBS-URL: https://build.opensuse.org/package/show/utilities/vdu_controls?expand=0&rev=5
2023-05-04 22:06:26 +00:00
%{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
Accepting request 1109885 from home:mchnz:branches:utilities Sun 24 Jun 2023 21:50:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - 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
2023-09-09 04:14:06 +00:00
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/
Accepting request 1084547 from home:mchnz:branches:utilities Sun 26 Mar 2023 07:34:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - Version 1.10.0 * Added hardware lux metering options (GY30/BH1750+Arduino, UNIX-fifo, or executable-script). * Added lux-to-brightness profiles per VDU. * Added sample scripts for using a webcam to produce approximate lux values. * Added an option to transition smoothly on UNIX signal. * Replaced the transition combo-box with a button+checkboxes. * Added drag-to-change, click-to-delete, to the elevation chart component. * Added a setting to quickly disable weather and another for elevation-scheduling. * Cleanup of thread handling - clarification of GUI/non-GUI thread operations. * Reduced logging and eliminated popup dialogs when monitors are suspended or powered off. Sat 18 Feb 2023 23:18:56 UTC - Michael Hamilton <michael@actrix.gen.nz> - Version 1.9.2 optional Smooth Transitions for presets: * The Presets Dialog now includes an option to set a Preset to Transition Smoothly. * The tray, main panel, and Preset Dialog indicate when a smooth transition is in progress. * Transitions are performed by a non-GUI thread, the GUI remains accessible during smooth transitions. * A smooth transition can be interrupted by moving the controls being transitioned or invoking a preset. Wed 25 Jan 2023 23:08:56 UTC - Michael Hamilton <michael@actrix.gen.nz> - Updated to version 1.9.1 * Busy spinners and control lockouts applied during refresh and preset activation. Introducing SpinBox input fields. Use EDID. - Clean up build in preparation for development repository and Factory submission. - Updated to version 1.9.0: * Bug fixes and speedy performance improvements. - Updated to version 1.8.3: * Fix crash when network is down and weather site is not contactable. - Updated to version 1.8.1: * Fix daily scheduling of presets. - Updated to version 1.8.0: * New feature, allow presets to be scheduled by solar elevation. - Updated to version 1.7.2: * Better handle monitor being powered off. * Allow presets to be reordered on the menu. - Updated to version 1.7.1: * Fix for signal handling from Mark Lowne. - Updated to version 1.7.0: * Display current preset in window and tray title, preset icons. - Updated to version 1.6.11: * Cleaning up the help and Linux man page. - Updated to version 1.6.10: * Cope better with transient slider values, cope better with session startup delays to detection. - Update to version 1.6.8: - Fix preset save/restore bug introduced in 1.6.7. - Updated to version 1.6.7: * Fix issues with gnome 42.2 tray: when in gnome do as the gnomens do. - Updated to version 1.6.5: * Widen handling of pare exceptions for VDU capabilities - catch more exceptions. - Updated to version 1.6.4: * Wayland wait for system tray at login. * Enable HiDPI icons. - Updated to version 1.6.3: * Added a hamburger menu to provide alternate access to the context menu. - Updated to version 1.6.2: * Add a feature Values: min..max override. - Updated to version 1.6.1: * Wayland fixes. - Updated to version 1.6.0: * Let other processes trigger preset changes and settings refreshes via UNIX/Linux signals. - Updated to version 1.5.9: * Cleanly handle monitors that do not respond to ddcutil commands. - Updated to version 1.5.7: * Check if a system tray is available before applying system_tray_enabled. - Updated to version 1.5.5: * Fix tray for some desktops. * Combobox value enhancements/fixes. * Login-restart support/ - Updated to version 1.5.3: * Detect and handle light/dark theme changes. - Version 1.5.2: * Packaged for rpm vdu_controls. OBS-URL: https://build.opensuse.org/request/show/1084547 OBS-URL: https://build.opensuse.org/package/show/utilities/vdu_controls?expand=0&rev=5
2023-05-04 22:06:26 +00:00
install -m 0755 sample-scripts/* %{buildroot}%{_datadir}/vdu_controls/sample-scripts/
install -m 0644 docs/_build/man/vdu_controls.1 %{buildroot}%{_mandir}/man1/
Accepting request 1109885 from home:mchnz:branches:utilities Sun 24 Jun 2023 21:50:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - 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
2023-09-09 04:14:06 +00:00
%post
ln -s -f %{_datadir}/icons %{_datadir}/vdu_controls/icons/system-icons
%files
%license LICENSE.md
%dir %{_datadir}/vdu_controls
Accepting request 1109885 from home:mchnz:branches:utilities Sun 24 Jun 2023 21:50:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - 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
2023-09-09 04:14:06 +00:00
%dir %{_datadir}/vdu_controls/icons
%dir %{_datadir}/vdu_controls/translations
Accepting request 1084547 from home:mchnz:branches:utilities Sun 26 Mar 2023 07:34:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - Version 1.10.0 * Added hardware lux metering options (GY30/BH1750+Arduino, UNIX-fifo, or executable-script). * Added lux-to-brightness profiles per VDU. * Added sample scripts for using a webcam to produce approximate lux values. * Added an option to transition smoothly on UNIX signal. * Replaced the transition combo-box with a button+checkboxes. * Added drag-to-change, click-to-delete, to the elevation chart component. * Added a setting to quickly disable weather and another for elevation-scheduling. * Cleanup of thread handling - clarification of GUI/non-GUI thread operations. * Reduced logging and eliminated popup dialogs when monitors are suspended or powered off. Sat 18 Feb 2023 23:18:56 UTC - Michael Hamilton <michael@actrix.gen.nz> - Version 1.9.2 optional Smooth Transitions for presets: * The Presets Dialog now includes an option to set a Preset to Transition Smoothly. * The tray, main panel, and Preset Dialog indicate when a smooth transition is in progress. * Transitions are performed by a non-GUI thread, the GUI remains accessible during smooth transitions. * A smooth transition can be interrupted by moving the controls being transitioned or invoking a preset. Wed 25 Jan 2023 23:08:56 UTC - Michael Hamilton <michael@actrix.gen.nz> - Updated to version 1.9.1 * Busy spinners and control lockouts applied during refresh and preset activation. Introducing SpinBox input fields. Use EDID. - Clean up build in preparation for development repository and Factory submission. - Updated to version 1.9.0: * Bug fixes and speedy performance improvements. - Updated to version 1.8.3: * Fix crash when network is down and weather site is not contactable. - Updated to version 1.8.1: * Fix daily scheduling of presets. - Updated to version 1.8.0: * New feature, allow presets to be scheduled by solar elevation. - Updated to version 1.7.2: * Better handle monitor being powered off. * Allow presets to be reordered on the menu. - Updated to version 1.7.1: * Fix for signal handling from Mark Lowne. - Updated to version 1.7.0: * Display current preset in window and tray title, preset icons. - Updated to version 1.6.11: * Cleaning up the help and Linux man page. - Updated to version 1.6.10: * Cope better with transient slider values, cope better with session startup delays to detection. - Update to version 1.6.8: - Fix preset save/restore bug introduced in 1.6.7. - Updated to version 1.6.7: * Fix issues with gnome 42.2 tray: when in gnome do as the gnomens do. - Updated to version 1.6.5: * Widen handling of pare exceptions for VDU capabilities - catch more exceptions. - Updated to version 1.6.4: * Wayland wait for system tray at login. * Enable HiDPI icons. - Updated to version 1.6.3: * Added a hamburger menu to provide alternate access to the context menu. - Updated to version 1.6.2: * Add a feature Values: min..max override. - Updated to version 1.6.1: * Wayland fixes. - Updated to version 1.6.0: * Let other processes trigger preset changes and settings refreshes via UNIX/Linux signals. - Updated to version 1.5.9: * Cleanly handle monitors that do not respond to ddcutil commands. - Updated to version 1.5.7: * Check if a system tray is available before applying system_tray_enabled. - Updated to version 1.5.5: * Fix tray for some desktops. * Combobox value enhancements/fixes. * Login-restart support/ - Updated to version 1.5.3: * Detect and handle light/dark theme changes. - Version 1.5.2: * Packaged for rpm vdu_controls. OBS-URL: https://build.opensuse.org/request/show/1084547 OBS-URL: https://build.opensuse.org/package/show/utilities/vdu_controls?expand=0&rev=5
2023-05-04 22:06:26 +00:00
%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}
Accepting request 1109885 from home:mchnz:branches:utilities Sun 24 Jun 2023 21:50:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - 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
2023-09-09 04:14:06 +00:00
%{_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
%{_datadir}/vdu_controls/translations/about_da_DK.txt
%{_datadir}/vdu_controls/translations/about_fr_FR.txt
%{_datadir}/vdu_controls/translations/about_de_DE.txt
Accepting request 1084547 from home:mchnz:branches:utilities Sun 26 Mar 2023 07:34:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - Version 1.10.0 * Added hardware lux metering options (GY30/BH1750+Arduino, UNIX-fifo, or executable-script). * Added lux-to-brightness profiles per VDU. * Added sample scripts for using a webcam to produce approximate lux values. * Added an option to transition smoothly on UNIX signal. * Replaced the transition combo-box with a button+checkboxes. * Added drag-to-change, click-to-delete, to the elevation chart component. * Added a setting to quickly disable weather and another for elevation-scheduling. * Cleanup of thread handling - clarification of GUI/non-GUI thread operations. * Reduced logging and eliminated popup dialogs when monitors are suspended or powered off. Sat 18 Feb 2023 23:18:56 UTC - Michael Hamilton <michael@actrix.gen.nz> - Version 1.9.2 optional Smooth Transitions for presets: * The Presets Dialog now includes an option to set a Preset to Transition Smoothly. * The tray, main panel, and Preset Dialog indicate when a smooth transition is in progress. * Transitions are performed by a non-GUI thread, the GUI remains accessible during smooth transitions. * A smooth transition can be interrupted by moving the controls being transitioned or invoking a preset. Wed 25 Jan 2023 23:08:56 UTC - Michael Hamilton <michael@actrix.gen.nz> - Updated to version 1.9.1 * Busy spinners and control lockouts applied during refresh and preset activation. Introducing SpinBox input fields. Use EDID. - Clean up build in preparation for development repository and Factory submission. - Updated to version 1.9.0: * Bug fixes and speedy performance improvements. - Updated to version 1.8.3: * Fix crash when network is down and weather site is not contactable. - Updated to version 1.8.1: * Fix daily scheduling of presets. - Updated to version 1.8.0: * New feature, allow presets to be scheduled by solar elevation. - Updated to version 1.7.2: * Better handle monitor being powered off. * Allow presets to be reordered on the menu. - Updated to version 1.7.1: * Fix for signal handling from Mark Lowne. - Updated to version 1.7.0: * Display current preset in window and tray title, preset icons. - Updated to version 1.6.11: * Cleaning up the help and Linux man page. - Updated to version 1.6.10: * Cope better with transient slider values, cope better with session startup delays to detection. - Update to version 1.6.8: - Fix preset save/restore bug introduced in 1.6.7. - Updated to version 1.6.7: * Fix issues with gnome 42.2 tray: when in gnome do as the gnomens do. - Updated to version 1.6.5: * Widen handling of pare exceptions for VDU capabilities - catch more exceptions. - Updated to version 1.6.4: * Wayland wait for system tray at login. * Enable HiDPI icons. - Updated to version 1.6.3: * Added a hamburger menu to provide alternate access to the context menu. - Updated to version 1.6.2: * Add a feature Values: min..max override. - Updated to version 1.6.1: * Wayland fixes. - Updated to version 1.6.0: * Let other processes trigger preset changes and settings refreshes via UNIX/Linux signals. - Updated to version 1.5.9: * Cleanly handle monitors that do not respond to ddcutil commands. - Updated to version 1.5.7: * Check if a system tray is available before applying system_tray_enabled. - Updated to version 1.5.5: * Fix tray for some desktops. * Combobox value enhancements/fixes. * Login-restart support/ - Updated to version 1.5.3: * Detect and handle light/dark theme changes. - Version 1.5.2: * Packaged for rpm vdu_controls. OBS-URL: https://build.opensuse.org/request/show/1084547 OBS-URL: https://build.opensuse.org/package/show/utilities/vdu_controls?expand=0&rev=5
2023-05-04 22:06:26 +00:00
%{_datadir}/vdu_controls/sample-scripts/lux-from-webcam.bash
%{_datadir}/vdu_controls/sample-scripts/lux-from-webcam.py
Accepting request 1109885 from home:mchnz:branches:utilities Sun 24 Jun 2023 21:50:00 UTC - Michael Hamilton <michael@actrix.gen.nz> - 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
2023-09-09 04:14:06 +00:00
%{_datadir}/vdu_controls/sample-scripts/vlux_meter.py
%ghost %{_datadir}/vdu_controls/icons/system-icons
%changelog