rpms/openbox/F-9 openbox-3.4.7.2-gdm.patch, NONE, 1.1 openbox.spec, 1.35, 1.36 xdg-menu, 1.1, 1.2

Miroslav Lichvar (mlichvar) fedora-extras-commits at redhat.com
Tue Jun 10 17:46:31 UTC 2008


Author: mlichvar

Update of /cvs/pkgs/rpms/openbox/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14859

Modified Files:
	openbox.spec xdg-menu 
Added Files:
	openbox-3.4.7.2-gdm.patch 
Log Message:
- Clean up properties after gdm in session scripts (#444135)
- Add license to xdg-menu script


openbox-3.4.7.2-gdm.patch:

--- NEW FILE openbox-3.4.7.2-gdm.patch ---
diff -up openbox-3.4.7.2/data/xsession/openbox-gnome-session.in.gdm openbox-3.4.7.2/data/xsession/openbox-gnome-session.in
--- openbox-3.4.7.2/data/xsession/openbox-gnome-session.in.gdm	2008-02-29 22:18:12.000000000 +0100
+++ openbox-3.4.7.2/data/xsession/openbox-gnome-session.in	2008-06-10 18:37:10.000000000 +0200
@@ -7,6 +7,9 @@ if test -n "$1"; then
   exit
 fi
 
+# Clean up after GDM
+xprop -root -remove _NET_NUMBER_OF_DESKTOPS -remove _NET_DESKTOP_NAMES -remove _NET_CURRENT_DESKTOP 2> /dev/null
+
 # Run GNOME with Openbox as its window manager
 export WINDOW_MANAGER="@bindir@/openbox"
 exec gnome-session --choose-session=openbox-session "$@"
diff -up openbox-3.4.7.2/data/xsession/openbox-kde-session.in.gdm openbox-3.4.7.2/data/xsession/openbox-kde-session.in
--- openbox-3.4.7.2/data/xsession/openbox-kde-session.in.gdm	2008-02-29 22:18:12.000000000 +0100
+++ openbox-3.4.7.2/data/xsession/openbox-kde-session.in	2008-06-10 18:37:26.000000000 +0200
@@ -7,6 +7,9 @@ if test -n "$1"; then
   exit
 fi
 
+# Clean up after GDM
+xprop -root -remove _NET_NUMBER_OF_DESKTOPS -remove _NET_DESKTOP_NAMES -remove _NET_CURRENT_DESKTOP 2> /dev/null
+
 # Run KDE with Openbox as its window manager
 export KDEWM="@bindir@/openbox"
 exec startkde "$@"
diff -up openbox-3.4.7.2/data/xsession/openbox-session.in.gdm openbox-3.4.7.2/data/xsession/openbox-session.in
--- openbox-3.4.7.2/data/xsession/openbox-session.in.gdm	2008-02-29 22:18:12.000000000 +0100
+++ openbox-3.4.7.2/data/xsession/openbox-session.in	2008-06-10 18:37:54.000000000 +0200
@@ -7,6 +7,9 @@ if test -n "$1"; then
   exit
 fi
 
+# Clean up after GDM
+xprop -root -remove _NET_NUMBER_OF_DESKTOPS -remove _NET_DESKTOP_NAMES -remove _NET_CURRENT_DESKTOP 2> /dev/null
+
 AUTOSTART="$HOME/.config/openbox/autostart.sh"
 GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
 


Index: openbox.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openbox/F-9/openbox.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- openbox.spec	20 May 2008 10:39:03 -0000	1.35
+++ openbox.spec	10 Jun 2008 17:45:27 -0000	1.36
@@ -1,6 +1,6 @@
 Name:		openbox
 Version:	3.4.7.2
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	A highly configurable and standards-compliant X11 window manager
 
 Group:		User Interface/Desktops
@@ -12,6 +12,7 @@
 Source3:	menu.xml
 
 Patch0:		openbox-3.4.7.1-autostartdir.patch
+Patch1:		openbox-3.4.7.2-gdm.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -65,6 +66,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .autostartdir
+%patch1 -p1 -b .gdm
 
 
 %build
@@ -132,6 +134,10 @@
 
 
 %changelog
+* Tue Jun 10 2008 Miroslav Lichvar <mlichvar at redhat.com> - 3.4.7.2-3
+- Clean up properties after gdm in session scripts (#444135)
+- Add license to xdg-menu script
+
 * Tue May 20 2008 Miroslav Lichvar <mlichvar at redhat.com> - 3.4.7.2-2
 - Drop numdesks patch (#444135)
 


Index: xdg-menu
===================================================================
RCS file: /cvs/pkgs/rpms/openbox/F-9/xdg-menu,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xdg-menu	14 May 2008 17:02:24 -0000	1.1
+++ xdg-menu	10 Jun 2008 17:45:27 -0000	1.2
@@ -1,4 +1,23 @@
 #!/usr/bin/env python
+#
+# Copyright (C) 2008  Red Hat, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Author(s): Luke Macken <lmacken at redhat.com>
+#            Miroslav Lichvar <mlichvar at redhat.com>
+
 
 import gmenu, sys
 from xml.sax.saxutils import escape




More information about the fedora-extras-commits mailing list