automatic version update by autodist [release 6.7.0-1mamba;Mon Oct 14 2024]

This commit is contained in:
Automatic Build System 2024-10-15 10:13:18 +02:00
parent 92d5155992
commit cece5044d4
3 changed files with 57 additions and 2 deletions

View File

@ -0,0 +1,34 @@
--- solid-6.7.0/src/tools/solid-power/solid-power.cpp.orig 2024-10-14 10:19:42.438657405 +0200
+++ solid-6.7.0/src/tools/solid-power/solid-power.cpp 2024-10-14 10:21:55.679962965 +0200
@@ -26,7 +26,7 @@
auto job = Solid::Power::isAcPlugged(this);
job->exec();
- QString status = job->isPlugged() ? "yes" : "no";
+ QString status = job->isPlugged() ? QLatin1String("yes") : QLatin1String("no");
sCout << "is AC plugged:\t" << status << Qt::endl;
}
@@ -37,7 +37,7 @@
connect(power, &Power::acPluggedChanged, [](bool plugged) {
QTextStream lOut(stdout);
- QString status = plugged ? "yes" : "no";
+ QString status = plugged ? QLatin1String("yes") : QLatin1String("no");
lOut << "\tAC plugged changed:\t" << status << Qt::endl;
});
--- solid-6.7.0/src/tools/solid-power/main.cpp.orig 2024-10-14 10:06:30.172840937 +0200
+++ solid-6.7.0/src/tools/solid-power/main.cpp 2024-10-14 10:19:03.459568017 +0200
@@ -21,9 +21,9 @@
QCommandLineParser parser;
parser.setApplicationDescription(QCoreApplication::translate("solid-power", "Tool to know and set the power management state of your device"));
parser.addHelpOption();
- parser.addPositionalArgument("command", QCoreApplication::translate("solid-power", "Command to execute"));
+ parser.addPositionalArgument(QLatin1String("command"), QCoreApplication::translate("solid-power", "Command to execute"));
- QCommandLineOption commands("commands", QCoreApplication::translate("solid-power", "Show available commands"));
+ QCommandLineOption commands(QLatin1String("commands"), QCoreApplication::translate("solid-power", "Show available commands"));
parser.addOption(commands);
parser.process(app);

View File

@ -0,0 +1,11 @@
diff --git a/src/solid/power/backends/freedesktop/logindinhibitionargument.cpp b/src/solid/power/backends/freedesktop/logindinhibitionargument.cpp
index 83e4425e..a85e5f0a 100644
--- a/src/solid/power/backends/freedesktop/logindinhibitionargument.cpp
+++ b/src/solid/power/backends/freedesktop/logindinhibitionargument.cpp
@@ -19,5 +19,5 @@ QString LogindInhibitionArgument::fromPowerState(Power::InhibitionTypes states)
if (states | Power::Shutdown) {
args << QStringLiteral("shutdown");
}
- return args.join(QChar(':'));
+ return args.join(QLatin1Char(':'));
}

View File

@ -3,7 +3,7 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: kf6-solid Name: kf6-solid
Version: 6.6.0 Version: 6.7.0
Release: 1mamba Release: 1mamba
Summary: KDE Frameworks 6 hardware abstraction framework Summary: KDE Frameworks 6 hardware abstraction framework
Group: Graphical Desktop/Libraries/KDE Group: Graphical Desktop/Libraries/KDE
@ -12,9 +12,15 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://invent.kde.org/frameworks/solid URL: https://invent.kde.org/frameworks/solid
Source: https://download.kde.org/%{stable_kf6}/frameworks/%{majver}/solid-%{version}.tar.xz Source: https://download.kde.org/%{stable_kf6}/frameworks/%{majver}/solid-%{version}.tar.xz
Patch0: kf6-solid-6.7.0-qt6-qtbase-6.7.3.patch
Patch1: kf6-solid-6.7.0-qt6-qtbase-6.7.3-2.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libQt6Core
BuildRequires: libQt6DBus
BuildRequires: libQt6Gui
BuildRequires: libQt6Xml
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libglvnd-devel BuildRequires: libglvnd-devel
BuildRequires: libimobiledevice-devel BuildRequires: libimobiledevice-devel
@ -22,7 +28,6 @@ BuildRequires: libmount-devel
BuildRequires: libplist-devel BuildRequires: libplist-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libudev-devel BuildRequires: libudev-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
@ -63,6 +68,8 @@ This package contains libraries and header files for developing applications tha
%prep %prep
%setup -q -n %{framework}-%{version} %setup -q -n %{framework}-%{version}
%patch 0 -p1 -b .qt6-qtbase-6.7.3
%patch 1 -p1 -b .qt6-qtbase-6.7.3-2
%build %build
%cmake_kf6 \ %cmake_kf6 \
@ -108,6 +115,9 @@ mv %{buildroot}%{_kf6_bindir}/solid-power{,6}
%doc README.md TODO %doc README.md TODO
%changelog %changelog
* Mon Oct 14 2024 Automatic Build System <autodist@openmamba.org> 6.7.0-1mamba
- automatic version update by autodist
* Sat Sep 14 2024 Automatic Build System <autodist@openmamba.org> 6.6.0-1mamba * Sat Sep 14 2024 Automatic Build System <autodist@openmamba.org> 6.6.0-1mamba
- automatic version update by autodist - automatic version update by autodist