Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vdu_controls for openSUSE:Factory 
checked in at 2026-07-10 17:39:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vdu_controls (Old)
 and      /work/SRC/openSUSE:Factory/.vdu_controls.new.1991 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vdu_controls"

Fri Jul 10 17:39:04 2026 rev:20 rq:1364796 version:2.6.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/vdu_controls/vdu_controls.changes        
2026-04-20 16:12:17.899625865 +0200
+++ /work/SRC/openSUSE:Factory/.vdu_controls.new.1991/vdu_controls.changes      
2026-07-10 17:42:06.926850897 +0200
@@ -1,0 +2,47 @@
+Mon Jul  6 19:38:21 UTC 2026 - Michael Hamilton <[email protected]>
+
+- Version 2.6.5 
+  * The required minimum python3 version has risen from 3.8 to 3.9.
+  * vdu_controls now defaults to a _single-instance_ mode. Subsequent launches 
+    focus the existing window. Uncheck the _single-instance_ option to 
override. 
+    Contributed by Mohammed Elsayed Ahmed.
+  * The ambient-light-level slider works even if location is not set.
+  * The ambient-light-level slider behaves better when dragged after sunset 
+    and when dragged beyond the estimated solar lux level.
+  * The laptop-panel option now defaults to enabled.
+  * The Settings-Dialog global-options have been grouped under subheadings.
+  * The Settings-Dialog offers more popup-guidance on dependencies 
+    between options.
+  * The Light-Metering-Dialog includes two profile starter-templates.
+    One for older monitors and one for newer monitors.
+  * The layout of the Preset and Light-Metering dialogs better reflect
+    the new style of the main panel.
+  * The system-tray icon is now primarily monochrome.
+  * The program-icon and splash-screen icons have been redesigned and 
+    reimplemented as scalable vector graphics. The new program-icon is theme 
aware.
+  * Tick marks on control-sliders are now optional, see Settings-Dialog -> 
tick-marks.
+  * The right-mouse action that could irretrievably hide the toolbar has been
+    disabled.
+  * An Online-Help button has been added to the Help-Dialog and About-Dialog.
+  * When parsing monitor metadata, if the same VCP-feature-code is 
+    defined multiple times, the first definition is kept and any following 
+    definitions are logged (rather than silently overwriting the first). 
+    This allows some monitors with incorrect metadata to work out-of-the-box.
+    Contributed by Mohammed Elsayed Ahmed.
+  * When parsing monitor metadata, well known "Continuous" VCP-feature 
+    definitions, such as brightness, will always be regarded as "Continuous".
+    Any attached 'Value:' metadata that implies otherwise will be ignored
+    (with a warning logged).  Contributed by Mohammed Elsayed Ahmed.
+    This allows some monitors with incorrect metadata to work out-of-the-box.
+  * The protect NVRAM option has been made mandatory.
+  * A cascade-guard has been added to protect NVRAM from cascading writes  
+    due to application, driver, or hardware bugs (or _cats on keyboards_).
+    If the application or user sets a VDU feature more than 20 times in 65
+    seconds, an error-popup blocks further attempts until dismissed.
+  * The script's source code has been refactored into multiple source files.
+  * The executable is now a Python _zipapp_ containing the source hierarchy.
+  * The included set of language-translations has been expanded. All of 
+    the translations have been generated for testing purposes and may not 
+    be accurate.  Layouts now correctly handle right-to-left langauages.
+
+-------------------------------------------------------------------

Old:
----
  vdu_controls-2.6.0.tar.gz

New:
----
  vdu_controls-2.6.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vdu_controls.spec ++++++
--- /var/tmp/diff_new_pack.O9LkIb/_old  2026-07-10 17:42:08.854917004 +0200
+++ /var/tmp/diff_new_pack.O9LkIb/_new  2026-07-10 17:42:08.854917004 +0200
@@ -2,7 +2,7 @@
 # spec file for package vdu_controls
 #
 # Copyright (c) 2023 SUSE LLC
-# Copyright (c) 2021-2023 Michael Hamilton <[email protected]>
+# Copyright (c) 2021-2026 Contributors to vdu_controls 
<https://github.com/digitaltrails/vdu_controls>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,39 +16,42 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-
 Name:           vdu_controls
-Version:        2.6.0
+Version:        2.6.5
 Release:        0
 Summary:        Visual Display Unit virtual control panel
 License:        GPL-3.0-or-later
 Group:          System/GUI/Other
 URL:            https://github.com/digitaltrails/vdu_controls
 Source0:        
https://github.com/digitaltrails/vdu_controls/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-BuildRequires:  coreutils
+
+# This forces the openSUSE macros to only target the main system interpreter
+%define python_flavors python3
+%define skip_python314 1
+%define skip_python311 1
+
 BuildRequires:  hicolor-icon-theme
+BuildRequires:  python3-devel
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
+
 %if 0%{?suse_version}
 Requires:       ddcutil
 Requires:       noto-sans-math-fonts
 Requires:       noto-sans-symbols2-fonts
-Requires:       python3
-%if 0%{?sle_version} > 150000 && 0%{?is_opensuse}
-Requires:       python3-qt5
-%else
+Requires:       python3 >= 3.9
 Requires:       python3-qt6
-%endif
 Recommends:     ddcutil-service
 Recommends:     python3-pyserial
 Recommends:     python3-pyudev
 Recommends:     brightnessctl
 %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
 Suggests:       python3-pyserial
 Suggests:       python3-pyudev
@@ -66,30 +69,42 @@
 %autosetup
 
 %build
-#Just a placeholder, no build required.
+# Nothing to build – we only copy source files.
+# Translations are shipped as editable .ts files for end-user contributions.
 
 %install
+# Create the filesystem tree
 install -d -m 0755 %{buildroot}%{_bindir} \
                    %{buildroot}%{_mandir}/man1/ \
                    %{buildroot}%{_datadir}/applications \
                    %{buildroot}%{_datadir}/%{name}/translations \
                    %{buildroot}%{_datadir}/%{name}/icons \
                    %{buildroot}%{_datadir}/%{name}/sample-scripts \
-                   %{buildroot}%{_datadir}/icons/hicolor/256x256/apps
-install -m 0755 %{name}.py  %{buildroot}/%{_bindir}/%{name}
+                   %{buildroot}%{_datadir}/icons/hicolor/256x256/apps \
+
+# Copy the source package into the private app directory
+cp -r src/vdu_controls %{buildroot}%{_datadir}/%{name}
+
+# Copy other assets
 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 src/%{name}/resources/icons/app/%{name}.svg \
+                    
%{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.svg
 install -m 0644 icons/* %{buildroot}%{_datadir}/%{name}/icons/
+# Install .ts files, editable by end users, app has code to use them directly.
 install -m 0644 translations/*.ts %{buildroot}%{_datadir}/%{name}/translations/
-install -m 0644 translations/about_*.txt 
%{buildroot}%{_datadir}/%{name}/translations/
 install -m 0755 sample-scripts/* 
%{buildroot}%{_datadir}/%{name}/sample-scripts/
 install -m 0644 docs/_build/man/%{name}.1 %{buildroot}%{_mandir}/man1/
 
-# This script is supposed to work with any python3 - so leave the shebang alone
-# %%if 0%{?suse_version}
-# %%python3_fix_shebang
-# %%endif
+# Byte-compile everything in the private app directory
+%{__python3} -m compileall -q -f %{buildroot}%{_datadir}/%{name}
 
+# Install the wrapper script
+install -p -m 0755 packaging/vdu_controls.wrapper 
%{buildroot}%{_bindir}/%{name}
+
+# Fix shebang to exact Python version (for openSUSE strictness)
+sed -i "s|/usr/bin/python3|/usr/bin/python%{python3_version}|" 
%{buildroot}%{_bindir}/%{name}
+
+# Make it easy for the user to find a range of icons
 %post
 ln -s -f %{_datadir}/icons %{_datadir}/%{name}/icons/system-icons
 
@@ -101,30 +116,12 @@
 %dir %{_datadir}/%{name}/sample-scripts
 %{_bindir}/%{name}
 %{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
-%{_mandir}/man1/%{name}.1%{?ext_man}
+%{_datadir}/icons/hicolor/256x256/apps/%{name}.svg
+%{_mandir}/man1/%{name}.1*
 %{_datadir}/%{name}/icons/*
-%{_datadir}/%{name}/translations/da_DK.ts
-%{_datadir}/%{name}/translations/fr_FR.ts
-%{_datadir}/%{name}/translations/de_DE.ts
-%{_datadir}/%{name}/translations/cs_CZ.ts
-%{_datadir}/%{name}/translations/about_da_DK.txt
-%{_datadir}/%{name}/translations/about_fr_FR.txt
-%{_datadir}/%{name}/translations/about_de_DE.txt
-%{_datadir}/%{name}/translations/about_cs_CZ.txt
-%{_datadir}/%{name}/sample-scripts/lux-from-webcam.bash
-%{_datadir}/%{name}/sample-scripts/lux-from-webcam.py
-%{_datadir}/%{name}/sample-scripts/vlux_meter.py
-%{_datadir}/%{name}/sample-scripts/laptop-ddcutil-emulator.bash
+%{_datadir}/%{name}/translations/*.ts
+%{_datadir}/%{name}/sample-scripts/*
+%{_datadir}/%{name}/vdu_controls
+
 %ghost %{_datadir}/%{name}/icons/system-icons
 
-# Build service notes:
-# 0) Build service page: 
https://build.opensuse.org/package/show/utilities/vdu_controls
-# 1) branch the package (link on left margin of page)
-# 2) upload/alter package files in branch (should be the github versions)
-#    check that changelog lines are less than 67 characters.
-# 3) wait for builds to complete
-# 4) when OK/finished/happy, submit
-# 5) check assigned tasks: self approve submission and opt to remove branch
-# 6) check build service page (above) has updated
-# 7) wait for propagation to experimental package 
https://software.opensuse.org/package/vdu_controls

++++++ vdu_controls-2.6.0.tar.gz -> vdu_controls-2.6.5.tar.gz ++++++
++++ 51964 lines of diff (skipped)

Reply via email to