signon-ui: initial commit, version 0.17

This commit is contained in:
Tim Biermann 2024-04-23 22:11:52 +02:00
parent 0f08046487
commit f6b9af1b07
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 53 additions and 0 deletions

10
signon-ui/.footprint Normal file
View File

@ -0,0 +1,10 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/signon-ui
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/signon-ui.desktop
drwxr-xr-x root/root usr/share/dbus-1/
drwxr-xr-x root/root usr/share/dbus-1/services/
-rw-r--r-- root/root usr/share/dbus-1/services/com.canonical.indicators.webcredentials.service
-rw-r--r-- root/root usr/share/dbus-1/services/com.nokia.singlesignonui.service

6
signon-ui/.signature Normal file
View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/kde-plasma-6.pub
RWTGxEYrvi0p3jQj+EKtglzDo18ddnEtFWDwBf447gE7Cfgz7bgjVk0z6ySYx2OUV10u0PBwyb+L64vKe2vKoJtt223XIIBK/wk=
SHA256 (Pkgfile) = 0ca58e60d92a35abbc128acbf0523a6021f2bdee9670e84e797e4fc9f901d593
SHA256 (.footprint) = aaafcd8f2f201392d4dac8b5b3ec66b9de8023c8e70cc21f74235ad06db30b2a
SHA256 (signon-ui-eef943f0edf3beee8ecb85d4a9dae3656002fc24.tar.bz2) = 0a3b559cc5cc4de31c3a620e7fb09a2e8aff521beea342379daf5ce190c8cae1
SHA256 (fake-user-agent.patch) = 5eb7782c6472e51a8107a25324d1d30052bac5d8e9050907cd957c89568fa577

25
signon-ui/Pkgfile Normal file
View File

@ -0,0 +1,25 @@
# Description: component responsible for handling the user interactions which can happen during the login process of an online account
# URL: https://gitlab.com/accounts-sso/signon-ui
# Maintainer: CRUX KDE Ports, kde-ports at crux dot nu
# Depends on: libaccounts-qt libnotify libproxy qt6-webengine signond
name=signon-ui
version=0.17
release=1
source=(https://gitlab.com/accounts-sso/signon-ui/-/archive/master/signon-ui-eef943f0edf3beee8ecb85d4a9dae3656002fc24.tar.bz2
fake-user-agent.patch)
build() {
cd $name-master-eef943f0edf3beee8ecb85d4a9dae3656002fc24
sed -e 's|src \\|src|' -e '/tests/d' -i signon-ui.pro
patch -Np1 -i $SRC/fake-user-agent.patch
qmake6 \
PREFIX=/usr \
LIBDIR=/usr/lib
make
make INSTALL_ROOT=$PKG install
}
# vim: set ts=4 et:

View File

@ -0,0 +1,12 @@
diff --git a/src/qml/WebView.qml b/src/qml/WebView.qml
index 33462b8..b720111 100644
--- a/src/qml/WebView.qml
+++ b/src/qml/WebView.qml
@@ -25,6 +25,7 @@ WebEngineView {
profile: WebEngineProfile {
cachePath: rootDir
persistentStoragePath: rootDir
+ httpUserAgent: "Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/77.0"
}
ProgressBar {