Browse Source

Add lightdm-webkit2-greeter-3.5.1-dia.patch

sisyphus
Sergey Markov 2 years ago
parent
commit
8e1d47033e
  1. 21
      lightdm-webkit2-greeter-3.5.1-dia.patch
  2. 7
      lightdm-webkit2-greeter.spec

21
lightdm-webkit2-greeter-3.5.1-dia.patch

@ -0,0 +1,21 @@
diff -uNbBw lightdm-webkit2-greeter-3.5.1/src/bridge/Greeter.py lightdm-webkit2-greeter-3.5.1-new/src/bridge/Greeter.py
--- lightdm-webkit2-greeter-3.5.1/src/bridge/Greeter.py
+++ lightdm-webkit2-greeter-3.5.1-new/src/bridge/Greeter.py
@@ -96,16 +96,7 @@ class Greeter(BridgeObject):
LightDMGreeter.connect_to_daemon_sync()
except GError as err:
logger.error(err)
- dia = Dialog(
- title = "An error ocurred",
- message = "Detected a problem that could interfere" \
- " with the system login process",
- detail = f"LightDM: {err}\n" \
- "You can continue without major problems, " \
- "but you won't be able to log in",
- buttons = ["Okay"]
- )
- dia.exec()
+ logger.warn("Detected a problem that could interfere with the system login process. You can continue without major problems, but you won't be able to log in")
self._connect_signals()
self._determine_shared_data_directory_path()

7
lightdm-webkit2-greeter.spec

@ -1,6 +1,6 @@
Name: lightdm-webkit2-greeter Name: lightdm-webkit2-greeter
Version: 3.5.1 Version: 3.5.1
Release: alt1 Release: alt2
Summary: A modern, visually appealing greeter for LightDM. Summary: A modern, visually appealing greeter for LightDM.
License: GPL-3.0 License: GPL-3.0
@ -23,6 +23,7 @@ Source1: %name.conf
Patch: lightdm-webkit2-greeter-3.5.1-makefile.patch Patch: lightdm-webkit2-greeter-3.5.1-makefile.patch
Patch1: lightdm-webkit2-greeter-3.5.1-basedir.patch Patch1: lightdm-webkit2-greeter-3.5.1-basedir.patch
Patch2: lightdm-webkit2-greeter-3.5.1-opt.patch Patch2: lightdm-webkit2-greeter-3.5.1-opt.patch
Patch3: lightdm-webkit2-greeter-3.5.1-dia.patch
%add_python3_path %_libdir/web-greeter %add_python3_path %_libdir/web-greeter
@ -61,6 +62,7 @@ sed -i 's|\(#\!/usr/bin/env python\)$|\13|' src/bridge/*.py
%patch -p1 %patch -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1
subst 's,\<lib\>,%_lib,g' Makefile subst 's,\<lib\>,%_lib,g' Makefile
@ -109,6 +111,9 @@ install -m 644 %SOURCE1 %buildroot%_sysconfdir/lightdm/
%doc *.md %doc *.md
%changelog %changelog
* Sat Jan 7 2023 Sergey Markov <sergey@markow.su> 3.5.1-alt2
- Add lightdm-webkit2-greeter-3.5.1-dia.patch
* Sun Dec 11 2022 Sergey Markov <sergey@markow.su> 3.5.1-alt1 * Sun Dec 11 2022 Sergey Markov <sergey@markow.su> 3.5.1-alt1
- New version - New version

Loading…
Cancel
Save