update to 0.5.0 [release 0.5.0-1mamba;Sun Jul 13 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 06:34:13 +01:00
parent 85caaed7ab
commit d3b1011a6c
6 changed files with 39 additions and 47 deletions

View File

@ -1,12 +0,0 @@
diff -Nru lxdm-0.4.1.orig/data/lxdm.conf.in lxdm-0.4.1/data/lxdm.conf.in
--- lxdm-0.4.1.orig/data/lxdm.conf.in 2013-07-15 13:19:08.816228232 +0200
+++ lxdm-0.4.1/data/lxdm.conf.in 2013-07-15 13:19:51.428794540 +0200
@@ -21,7 +21,7 @@
[server]
active_vt=1
## arg used to start xserver, not fully function
-# arg=/usr/bin/X -background vt1
+arg=/usr/bin/Xorg -background none -nolisten tcp
[display]
## gtk theme used by greeter

View File

@ -1,11 +0,0 @@
diff -Nru lxdm-0.4.1.orig/data/lxdm.conf.in lxdm-0.4.1/data/lxdm.conf.in
--- lxdm-0.4.1.orig/data/lxdm.conf.in 2011-07-29 15:42:33.000000000 +0200
+++ lxdm-0.4.1/data/lxdm.conf.in 2013-05-25 22:06:56.406509276 +0200
@@ -19,6 +19,7 @@
greeter=@FULL_LIBEXECDIR@/lxdm-greeter-gtk
[server]
+active_vt=1
## arg used to start xserver, not fully function
# arg=/usr/bin/X -background vt1

View File

@ -1,9 +0,0 @@
diff -Nru lxdm-0.4.1.orig/pam/lxdm lxdm-0.4.1/pam/lxdm
--- lxdm-0.4.1.orig/pam/lxdm 2011-07-29 15:42:33.000000000 +0200
+++ lxdm-0.4.1/pam/lxdm 2013-04-26 16:29:31.953845992 +0200
@@ -5,5 +5,4 @@
session optional pam_keyinit.so force revoke
session include system-auth
session required pam_loginuid.so
-session optional pam_console.so
session optional pam_gnome_keyring.so auto_start

13
lxdm-0.5.0-conf.patch Normal file
View File

@ -0,0 +1,13 @@
--- lxdm-0.5.0.orig/data/lxdm.conf.in 2012-02-27 12:28:25.000000000 +0100
+++ lxdm-0.5.0/data/lxdm.conf.in 2014-07-13 13:33:35.923741574 +0200
@@ -22,8 +22,9 @@
greeter=@FULL_LIBEXECDIR@/lxdm-greeter-gtk
[server]
+active_vt=1
## arg used to start xserver, not fully function
-# arg=/usr/bin/X -background vt1
+arg=/usr/bin/Xorg -background none
# uncomment this if you really want xserver listen to tcp
# tcp_listen=1
# uncoment this if you want reset the xserver after logou

View File

@ -0,0 +1,10 @@
diff -Nru lxdm-0.5.0.orig/pam/lxdm lxdm-0.5.0/pam/lxdm
--- lxdm-0.5.0.orig/pam/lxdm 2013-09-08 06:52:35.000000000 +0200
+++ lxdm-0.5.0/pam/lxdm 2014-07-13 13:30:47.786743289 +0200
@@ -4,6 +4,5 @@
account include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
-session optional pam_console.so
session optional pam_gnome_keyring.so auto_start
session optional pam_selinux.so

View File

@ -1,38 +1,35 @@
Name: lxdm Name: lxdm
Version: 0.4.1 Version: 0.5.0
Release: 10mamba Release: 1mamba
Summary: Login manager for the Lightweight X11 Desktop Environment Summary: Login manager for the Lightweight X11 Desktop Environment
Group: Graphical Desktop/Applications/Environment Group: Graphical Desktop/Applications/Environment
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Fabio Giani <fabio.giani@gmail.com> Packager: Fabio Giani <fabio.giani@gmail.com>
URL: http://www.lxde.org/ URL: http://www.lxde.org/
Source: http://downloads.sourceforge.net/project/lxde/lxdm/LXDM%20%{version}/lxdm-%{version}.tar.gz Source: https://downloads.sourceforge.net/project/lxdm/lxdm%20%{version}/lxdm-%{version}.tar.xz
Patch0: %{name}-0.3.0-Xsession-default-profile.patch Patch0: %{name}-0.3.0-Xsession-default-profile.patch
Patch1: %{name}-0.4.1-glib-2.32.patch Patch1: %{name}-0.4.1-glib-2.32.patch
Patch2: lxdm-0.4.1-pam_console_remove.patch Patch2: lxdm-0.5.0-pam_console_remove.patch
Patch3: lxdm-0.4.1-active_vt_1.patch Patch3: lxdm-0.5.0-conf.patch
Patch4: lxdm-0.4.1-Xorg-no-background.patch
Patch5: lxdm-0.4.1-disable-consolekit.patch Patch5: lxdm-0.4.1-disable-consolekit.patch
Patch6: lxdm-0.4.1-automake-1.14.patch Patch6: lxdm-0.4.1-automake-1.14.patch
License: GPL License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: ConsoleKit-devel
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libatk-devel BuildRequires: libatk-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libfontconfig-devel BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgtk2-devel BuildRequires: libgtk2-devel
BuildRequires: libpam-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libX11-devel
BuildRequires: libxcb-devel BuildRequires: libxcb-devel
BuildRequires: pam-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Login manager for the Lightweight X11 Desktop Environment. Login manager for the Lightweight X11 Desktop Environment.
@ -42,12 +39,12 @@ Login manager for the Lightweight X11 Desktop Environment.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1 #%patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1 %patch3 -p1
%patch4 -p1 %patch4 -p1
%patch5 -p1 #%patch5 -p1
%patch6 -p1 #%patch6 -p1
# Remove pregenerated lxdm.conf to recreate with passed directories # Remove pregenerated lxdm.conf to recreate with passed directories
# Fixes configuring for using /usr/local/libexec # Fixes configuring for using /usr/local/libexec
rm -f data/lxdm.conf rm -f data/lxdm.conf
@ -107,7 +104,7 @@ exit 0
%posttrans %posttrans
# runtime fix a configuration issue when upgrading from previous buggy releases # runtime fix a configuration issue when upgrading from previous buggy releases
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
sed -i "s|/usr/local/libexec/lxdm-greeter-gtk|%{_libexecdir}/lxdm-greeter-gtk|" %{_sysconfdir}/lxdm/lxdm.conf sed -i "s|/usr/local/libexec/lxdm-greeter-gtk|%{_libexecdir}/lxdm-greeter-gtk|" %{_sysconfdir}/lxdm/lxdm.conf
fi fi
: :
@ -123,6 +120,7 @@ fi
%{_libexecdir}/lxdm-greeter-gdk %{_libexecdir}/lxdm-greeter-gdk
%{_libexecdir}/lxdm-greeter-gtk %{_libexecdir}/lxdm-greeter-gtk
%{_libexecdir}/lxdm-numlock %{_libexecdir}/lxdm-numlock
%{_libexecdir}/lxdm-session
/lib/systemd/system/lxdm.service /lib/systemd/system/lxdm.service
%dir %{_datadir}/lxdm %dir %{_datadir}/lxdm
%{_datadir}/lxdm/config.ui %{_datadir}/lxdm/config.ui
@ -134,6 +132,9 @@ fi
#README TODO #README TODO
%changelog %changelog
* Sun Jul 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-1mamba
- update to 0.5.0
* Mon Jun 30 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-10mamba * Mon Jun 30 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-10mamba
- rebuilt without ConsoleKit (added patch) - rebuilt without ConsoleKit (added patch)