Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kf6-kguiaddons for openSUSE:Factory checked in at 2025-07-14 10:48:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kf6-kguiaddons (Old) and /work/SRC/openSUSE:Factory/.kf6-kguiaddons.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-kguiaddons" Mon Jul 14 10:48:38 2025 rev:17 rq:1292141 version:6.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kf6-kguiaddons/kf6-kguiaddons.changes 2025-06-18 15:59:17.780031653 +0200 +++ /work/SRC/openSUSE:Factory/.kf6-kguiaddons.new.7373/kf6-kguiaddons.changes 2025-07-14 10:53:01.195913586 +0200 @@ -1,0 +2,14 @@ +Mon Jul 7 07:24:40 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Update to 6.16.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.16.0 +- Changes since 6.15.0: + * Update dependency version to 6.16.0 + * Add Python example for KDateValidator + * Add Python example for KIconUtils + * Add Python example for KColorSchemeWatcher + * Update version to 6.16.0 + +------------------------------------------------------------------- Old: ---- kguiaddons-6.15.0.tar.xz kguiaddons-6.15.0.tar.xz.sig New: ---- kguiaddons-6.16.0.tar.xz kguiaddons-6.16.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-kguiaddons.spec ++++++ --- /var/tmp/diff_new_pack.tnW5aQ/_old 2025-07-14 10:53:01.855940955 +0200 +++ /var/tmp/diff_new_pack.tnW5aQ/_new 2025-07-14 10:53:01.855940955 +0200 @@ -32,11 +32,11 @@ %define mypython_sitearch %{expand:%%%{mypython}_sitearch} %endif -# Full KF6 version (e.g. 6.15.0) +# Full KF6 version (e.g. 6.16.0) %{!?_kf6_version: %global _kf6_version %{version}} %bcond_without released Name: kf6-kguiaddons -Version: 6.15.0 +Version: 6.16.0 Release: 0 Summary: Utilities for graphical user interfaces License: LGPL-2.1-or-later ++++++ kguiaddons-6.15.0.tar.xz -> kguiaddons-6.16.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kguiaddons-6.15.0/CMakeLists.txt new/kguiaddons-6.16.0/CMakeLists.txt --- old/kguiaddons-6.15.0/CMakeLists.txt 2025-06-06 15:30:27.000000000 +0200 +++ new/kguiaddons-6.16.0/CMakeLists.txt 2025-07-04 17:12:43.000000000 +0200 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "6.15.0") # handled by release scripts +set(KF_VERSION "6.16.0") # handled by release scripts project(KGuiAddons VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 6.15.0 NO_MODULE) +find_package(ECM 6.16.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kguiaddons-6.15.0/examples/python/kcolorschemewatcher.py new/kguiaddons-6.16.0/examples/python/kcolorschemewatcher.py --- old/kguiaddons-6.15.0/examples/python/kcolorschemewatcher.py 1970-01-01 01:00:00.000000000 +0100 +++ new/kguiaddons-6.16.0/examples/python/kcolorschemewatcher.py 2025-07-04 17:12:43.000000000 +0200 @@ -0,0 +1,31 @@ +#!/usr/bin/env python3 + +# SPDX-FileCopyrightText: 2025 Nicolas Fella <nicolas.fe...@gmx.de> +# SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL + +import sys + +from KGuiAddons import KColorSchemeWatcher + +from PySide6 import QtCore + +def print_preference(preference): + if preference == KColorSchemeWatcher.NoPreference: + print("No preference") + if preference == KColorSchemeWatcher.PreferDark: + print("Dark") + if preference == KColorSchemeWatcher.PreferLight: + print("Light") + if preference == KColorSchemeWatcher.PreferHighContrast: + print("High Contrast") + + +app = QtCore.QCoreApplication() + +watcher = KColorSchemeWatcher() + +print_preference(watcher.systemPreference()) + +watcher.systemPreferenceChanged.connect(lambda: print_preference(watcher.systemPreference())) + +sys.exit(app.exec()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kguiaddons-6.15.0/examples/python/kdatevalidator.py new/kguiaddons-6.16.0/examples/python/kdatevalidator.py --- old/kguiaddons-6.15.0/examples/python/kdatevalidator.py 1970-01-01 01:00:00.000000000 +0100 +++ new/kguiaddons-6.16.0/examples/python/kdatevalidator.py 2025-07-04 17:12:43.000000000 +0200 @@ -0,0 +1,34 @@ +#!/usr/bin/env python3 + +# SPDX-FileCopyrightText: 2025 Nicolas Fella <nicolas.fe...@gmx.de> +# SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL + +import sys +from PySide6 import QtCore, QtWidgets, QtGui +from KGuiAddons import KDateValidator + +class MyWidget(QtWidgets.QWidget): + def __init__(self): + super().__init__() + + self.input = QtWidgets.QLineEdit() + self.input.editingFinished.connect(self.onEditFinished) + + validator = KDateValidator() + self.input.setValidator(validator) + + self.layout = QtWidgets.QVBoxLayout(self) + self.layout.addWidget(self.input) + + @QtCore.Slot() + def onEditFinished(self): + print("Got valid input") + +if __name__ == "__main__": + app = QtWidgets.QApplication([]) + + widget = MyWidget() + widget.resize(800, 600) + widget.show() + + sys.exit(app.exec()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kguiaddons-6.15.0/examples/python/kiconutils.py new/kguiaddons-6.16.0/examples/python/kiconutils.py --- old/kguiaddons-6.15.0/examples/python/kiconutils.py 1970-01-01 01:00:00.000000000 +0100 +++ new/kguiaddons-6.16.0/examples/python/kiconutils.py 2025-07-04 17:12:43.000000000 +0200 @@ -0,0 +1,29 @@ +#!/usr/bin/env python3 + +# SPDX-FileCopyrightText: 2025 Nicolas Fella <nicolas.fe...@gmx.de> +# SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL + +import sys +from PySide6 import QtCore, QtWidgets, QtGui +from KGuiAddons import KIconUtils + +class MyWidget(QtWidgets.QWidget): + def __init__(self): + super().__init__() + + self.icon = KIconUtils.addOverlays(QtGui.QIcon.fromTheme("cuttlefish"), ["edit-entry", "edit-delete"]) + + self.label = QtWidgets.QLabel() + self.label.setPixmap(self.icon.pixmap(64)) + + self.layout = QtWidgets.QVBoxLayout(self) + self.layout.addWidget(self.label) + +if __name__ == "__main__": + app = QtWidgets.QApplication([]) + + widget = MyWidget() + widget.resize(800, 600) + widget.show() + + sys.exit(app.exec())