Turn off excessive debug spew

This commit is contained in:
Matthias Clasen 2009-03-06 17:14:35 +00:00
parent 6099235dea
commit d508c43c68
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up gnome-session-2.25.92/gnome-session/main.c.debug-spew gnome-session-2.25.92/gnome-session/main.c
--- gnome-session-2.25.92/gnome-session/main.c.debug-spew 2009-03-06 12:10:21.724791954 -0500
+++ gnome-session-2.25.92/gnome-session/main.c 2009-03-06 12:10:46.640936065 -0500
@@ -57,7 +57,7 @@
static gboolean failsafe = FALSE;
static gboolean show_version = FALSE;
-static gboolean debug = TRUE;
+static gboolean debug = FALSE;
static void
on_bus_name_lost (DBusGProxy *bus_proxy,

View File

@ -10,11 +10,15 @@
Summary: GNOME session manager Summary: GNOME session manager
Name: gnome-session Name: gnome-session
Version: 2.25.92 Version: 2.25.92
Release: 1%{?dist} Release: 2%{?dist}
URL: http://www.gnome.org URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-session/2.25/%{name}-%{version}.tar.bz2 Source0: http://download.gnome.org/sources/gnome-session/2.25/%{name}-%{version}.tar.bz2
Source1: redhat-default-session Source1: redhat-default-session
Source2: gnome.desktop Source2: gnome.desktop
# http://bugzilla.gnome.org/show_bug.cgi?id=574399
Patch0: gnome-session-debug-spew.patch
License: GPLv2+ License: GPLv2+
Group: User Interface/Desktops Group: User Interface/Desktops
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -75,6 +79,7 @@ Desktop file to add GNOME to display manager session menu.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .debug-spew
#workaround broken perl-XML-Parser on 64bit arches #workaround broken perl-XML-Parser on 64bit arches
export PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.2 perl export PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.2 perl
@ -173,6 +178,9 @@ fi
%changelog %changelog
* Fri Mar 6 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.92-2
- Turn off excessive debug spew
* Tue Mar 3 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.92-1 * Tue Mar 3 2009 Matthias Clasen <mclasen@redhat.com> - 2.25.92-1
- Update to 2.25.92 - Update to 2.25.92