Publish Framework tray enhancements and idle fingerprint retry
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Name: plasma-always-show-unlock
|
||||
Version: 0.1.0
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: Immediately show the Plasma unlock prompt without requiring input
|
||||
|
||||
License: MIT AND GPL-2.0-or-later
|
||||
@@ -11,10 +11,13 @@ Source2: test-plasma-always-show-unlock
|
||||
Source3: LockScreenUi.qml
|
||||
Source4: LICENSE
|
||||
Source5: README.md
|
||||
Source6: FedoraToolsFingerprintRetry.qml
|
||||
Source7: tst_fingerprintretry.qml
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: bash
|
||||
BuildRequires: patch
|
||||
BuildRequires: qt6-qtdeclarative-devel
|
||||
Requires: bash
|
||||
Requires: patch
|
||||
Requires: plasma-desktop >= 6.7.4
|
||||
@@ -31,6 +34,11 @@ patch after plasma-desktop updates and leaves unknown future layouts unchanged.
|
||||
|
||||
%check
|
||||
bash %{SOURCE2} %{SOURCE0} %{SOURCE1} %{SOURCE3}
|
||||
mkdir -p qml-tests/tests
|
||||
cp %{SOURCE6} qml-tests/
|
||||
cp %{SOURCE7} qml-tests/tests/
|
||||
QT_QPA_PLATFORM=offscreen QT_QUICK_BACKEND=software \
|
||||
qmltestrunner-qt6 -input qml-tests/tests
|
||||
|
||||
%install
|
||||
install -Dpm 0755 %{SOURCE0} \
|
||||
@@ -41,6 +49,15 @@ install -Dpm 0644 %{SOURCE4} \
|
||||
%{buildroot}%{_licensedir}/%{name}/LICENSE
|
||||
install -Dpm 0644 %{SOURCE5} \
|
||||
%{buildroot}%{_docdir}/%{name}/README.md
|
||||
install -Dpm 0644 %{SOURCE6} \
|
||||
%{buildroot}%{_datadir}/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/FedoraToolsFingerprintRetry.qml
|
||||
|
||||
%pre
|
||||
# Revert using the installed helper and patch, before RPM replaces either.
|
||||
# The new patch must be applied to the original QML, not an older patched copy.
|
||||
if [ -x %{_libexecdir}/plasma-always-show-unlock ]; then
|
||||
%{_libexecdir}/plasma-always-show-unlock revert || exit 1
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ "$1" -eq 0 ]; then
|
||||
@@ -55,8 +72,14 @@ fi
|
||||
%doc %{_docdir}/%{name}/README.md
|
||||
%{_libexecdir}/plasma-always-show-unlock
|
||||
%{_datadir}/plasma-always-show-unlock/LockScreenUi.patch
|
||||
%{_datadir}/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/FedoraToolsFingerprintRetry.qml
|
||||
|
||||
%changelog
|
||||
* Mon Sep 14 2026 fedora-tools contributors - 0.1.0-11
|
||||
- Retry idle fingerprint conversations without polling or restarting fprintd
|
||||
- Preserve failed-scan handling and test timeout recovery in QML
|
||||
- Revert the installed patch before upgrading to a new revision
|
||||
|
||||
* Sat Sep 05 2026 fedora-tools contributors - 0.1.0-10
|
||||
- Clarify the package summary
|
||||
|
||||
|
||||
Reference in New Issue
Block a user