[packages/sddm] add basic pldized wayland-session wrapper; rel 2
atler
atler at pld-linux.org
Thu Feb 18 13:40:05 CET 2021
commit 5bd9c7e293ee0903068f27ca6a418fbef21afaaa
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Feb 18 13:20:36 2021 +0100
add basic pldized wayland-session wrapper; rel 2
sddm.spec | 4 +++-
wayland-session | 6 ++++++
2 files changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/sddm.spec b/sddm.spec
index fb62c41..cdb6a85 100644
--- a/sddm.spec
+++ b/sddm.spec
@@ -3,11 +3,12 @@
Summary: QML based X11 desktop manager
Name: sddm
Version: 0.19.0
-Release: 1
+Release: 2
License: GPLv2+ and CC-BY-SA
Group: X11/Applications
Source0: https://github.com/sddm/sddm/archive/v%{version}.tar.gz
# Source0-md5: 2e3268a30531d6ae98f02cbf3772fea1
+Source1: wayland-session
Source10: %{name}.pam
Source11: %{name}-autologin.pam
Source12: tmpfiles-%{name}.conf
@@ -85,6 +86,7 @@ install -Dpm 644 %{SOURCE11} $RPM_BUILD_ROOT/etc/pam.d/sddm-autologin
install -Dpm 644 %{SOURCE12} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/sddm.conf
install -Dpm 644 %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/sddm.conf
install -Dpm 644 %{SOURCE14} $RPM_BUILD_ROOT%{_datadir}/sddm/scripts/Xsession
+install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/sddm/scripts/wayland-session
%clean
rm -rf $RPM_BUILD_ROOT
diff --git a/wayland-session b/wayland-session
new file mode 100755
index 0000000..3dbb34f
--- /dev/null
+++ b/wayland-session
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -f /etc/profile ] && . /etc/profile
+[ -f $HOME/.profile ] && . $HOME/.profile
+
+exec $@
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sddm.git/commitdiff/5bd9c7e293ee0903068f27ca6a418fbef21afaaa
More information about the pld-cvs-commit
mailing list