rpms/lxsession-lite/devel lxsession-lite-0.3.6-session_name_fix.patch, NONE, 1.1 lxsession-lite.spec, 1.3, 1.4

Christoph Wickert cwickert at fedoraproject.org
Mon Apr 27 18:11:31 UTC 2009


Author: cwickert

Update of /cvs/pkgs/rpms/lxsession-lite/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31480

Modified Files:
	lxsession-lite.spec 
Added Files:
	lxsession-lite-0.3.6-session_name_fix.patch 
Log Message:
* Mon Apr 27 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.3.6-5
- Fix Session name (Andrew Lee)


lxsession-lite-0.3.6-session_name_fix.patch:

--- NEW FILE lxsession-lite-0.3.6-session_name_fix.patch ---

#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_session_name_fix.dpatch by Andrew Lee <andrew at linux.org.tw>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: fix session name other than LXDE can be used.

@DPATCH@
diff -urNad lxsession-lite-0.3.6~/lxsession/lxsession.c lxsession-lite-0.3.6/lxsession/lxsession.c
--- lxsession-lite-0.3.6~/lxsession/lxsession.c	2008-06-08 21:43:07.000000000 +0800
+++ lxsession-lite-0.3.6/lxsession/lxsession.c	2008-12-29 11:48:56.476492960 +0800
@@ -340,7 +340,7 @@
 
     register_signals();
 
-    if ( session_name )
+    if ( !session_name )
         session_name = "LXDE";
 
     g_setenv( "DESKTOP_SESSION", session_name, TRUE );



Index: lxsession-lite.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lxsession-lite/devel/lxsession-lite.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- lxsession-lite.spec	27 Apr 2009 17:36:25 -0000	1.3
+++ lxsession-lite.spec	27 Apr 2009 18:11:01 -0000	1.4
@@ -1,6 +1,6 @@
 Name:           lxsession-lite
 Version:        0.3.6
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Lightweight X11 session manager
 Summary(de):    Leichtgewichtiger X11 Sitzungsverwalter
 
@@ -9,7 +9,8 @@
 URL:            http://lxde.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
 Patch0:         lxsession-lite-0.3.6-icon_search_path_fix-1.patch
-Patch1:         lxsession-lite-0.3.6-new-gdm.patch
+Patch1:         lxsession-lite-0.3.6-session_name_fix.patch
+Patch2:         lxsession-lite-0.3.6-new-gdm.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel > 2.6 libICE-devel libSM-devel dbus-glib-devel
@@ -42,7 +43,8 @@
 %prep
 %setup -q
 %patch0 -p1 -b .icon-path
-%patch1 -p1 -b .new-gdm
+%patch1 -p1 -b .session-name
+%patch2 -p1 -b .new-gdm
 
 %build
 %configure
@@ -70,6 +72,9 @@
 %dir %{_sysconfdir}/xdg/lxsession
 
 %changelog
+* Mon Apr 27 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.3.6-5
+- Fix Session name (Andrew Lee)
+
 * Mon Apr 27 2009 Christoph Wickert <cwickert at fedoraproject.org> - 0.3.6-4
 - Support user switching also with newer gdm
 - Add patch to fix icon search path (Marty Jack)




More information about the fedora-extras-commits mailing list