[packages/xinitrc-ng] add sddm support; rel 5
atler
atler at pld-linux.org
Thu Feb 18 13:40:33 CET 2021
commit 9dfb0afacfe050404f6fe913ed0d7699047cd987
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Feb 18 13:32:19 2021 +0100
add sddm support; rel 5
sddm.patch | 19 +++++++++++++++++++
xinitrc-ng.spec | 4 +++-
2 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/xinitrc-ng.spec b/xinitrc-ng.spec
index 5d74f39..1960251 100644
--- a/xinitrc-ng.spec
+++ b/xinitrc-ng.spec
@@ -4,12 +4,13 @@ Summary: The default startup scripts for the X Window System
Summary(pl.UTF-8): Domyślne skrypty startowe X Window System
Name: xinitrc-ng
Version: 1.1
-Release: 4
+Release: 5
License: GPL
Group: X11
Source0: %{name}-%{version}.tar.gz
# Source0-md5: f369317256368bf00dd07957929d5a63
Patch0: xinitrc-execute.patch
+Patch1: sddm.patch
URL: http://svn.pld-linux.org/trac/svn/wiki/packages/xinitrc-ng
Requires: /bin/sh
Requires: which
@@ -35,6 +36,7 @@ odpowiednie plik konfiguracyjne.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/sddm.patch b/sddm.patch
new file mode 100644
index 0000000..9fdb946
--- /dev/null
+++ b/sddm.patch
@@ -0,0 +1,19 @@
+--- xinitrc-ng-1.1/prefdm.orig 2012-04-27 20:26:14.000000000 +0200
++++ xinitrc-ng-1.1/prefdm 2021-02-18 13:31:01.084927767 +0100
+@@ -22,6 +22,8 @@
+ preferred=/usr/bin/wdm
+ elif [ "$DISPLAYMANAGER" = XDM ]; then
+ preferred=/usr/bin/xdm
++ elif [ "$DISPLAYMANAGER" = SDDM ]; then
++ preferred=/usr/bin/sddm
+ elif [ -n "$DISPLAYMANAGER" ]; then
+ preferred=$DISPLAYMANAGER
+ fi
+@@ -39,6 +41,7 @@
+ [ -x /usr/sbin/gdm ] && exec /usr/sbin/gdm "$@" >/dev/null 2>&1 </dev/null
+ [ -x /usr/bin/kdm ] && exec /usr/bin/kdm "$@" >/dev/null 2>&1 </dev/null
+ [ -x /usr/bin/wdm ] && exec /usr/bin/wdm "$@" >/dev/null 2>&1 </dev/null
++[ -x /usr/bin/sddm ] && exec /usr/bin/sddm "$@" >/dev/null 2>&1 </dev/null
+
+ # catch all exit error
+ exit 1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xinitrc-ng.git/commitdiff/9dfb0afacfe050404f6fe913ed0d7699047cd987
More information about the pld-cvs-commit
mailing list