Add signon plugins and fix sonic-frameworks-sso devel files
Some checks failed
Build RPMs / build (push) Has been cancelled
Some checks failed
Build RPMs / build (push) Has been cancelled
Build signon-plugin-oauth2 (0.25 git snapshot) and signon-kwallet-extension (26.04.3) for SonicDE, linking against sonic-frameworks-sso and sonic-frameworks-keyring. Update sonic-frameworks-sso to release 9: install plugin development files (headers, pkgconfig, symlinks, CamelCase forwarding headers) that the CMake fork doesn't install, needed to build signon plugins. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
4bd37a877e
commit
2598c93286
3 changed files with 221 additions and 1 deletions
60
signon-kwallet-extension/signon-kwallet-extension.spec
Normal file
60
signon-kwallet-extension/signon-kwallet-extension.spec
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
%undefine __cmake_in_source_build
|
||||
|
||||
Name: signon-kwallet-extension
|
||||
Version: 26.04.3
|
||||
Release: 1%{?dist}
|
||||
Summary: KWallet integration for Sign-on framework
|
||||
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://invent.kde.org/network/%{name}
|
||||
|
||||
%global revision %(echo %{version} | cut -d. -f3)
|
||||
%if %{revision} >= 50
|
||||
%global stable unstable
|
||||
%else
|
||||
%global stable stable
|
||||
%endif
|
||||
Source0: https://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: cmake
|
||||
BuildRequires: sonic-frameworks-cmake-modules
|
||||
BuildRequires: sonic-frameworks-keyring-devel
|
||||
BuildRequires: qt6-qtbase-devel
|
||||
BuildRequires: sonic-frameworks-sso-devel
|
||||
|
||||
Supplements: (sonic-frameworks-keyring-libs and sonic-frameworks-sso)
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
# Fix FindSignOnExtension.cmake to look for the actual header filename
|
||||
# (upstream uses CamelCase but the SonicDE SSO fork installs lowercase headers)
|
||||
sed -i 's|SignOn/AbstractSecretsStorage|SignOn/abstract-secrets-storage.h|' \
|
||||
cmake/modules/FindSignOnExtension.cmake
|
||||
|
||||
# Fix includes: SonicDE SSO fork uses lowercase header names
|
||||
sed -i 's|#include <SignOn/ExtensionInterface>|#include <SignOn/extension-interface.h>|' \
|
||||
src/keyringplugin.h
|
||||
sed -i 's|#include <SignOn/AbstractSecretsStorage>|#include <SignOn/abstract-secrets-storage.h>|' \
|
||||
src/keyringplugin.cpp src/secretsstorage.h src/secretsstorage.cpp
|
||||
|
||||
%build
|
||||
%cmake_kf6 \
|
||||
-DQT_MAJOR_VERSION=6
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%{_libdir}/signond/extensions/libkeyring-kwallet.so
|
||||
|
||||
%changelog
|
||||
* Fri Aug 28 2026 SonicDE <dev@sonicde.org> - 26.04.3-1
|
||||
- Build 26.04.3 for SonicDE, link against sonic-frameworks-sso and sonic-frameworks-keyring
|
||||
Loading…
Add table
Add a link
Reference in a new issue