Include an upstream patch to fix a possible crasher
This commit is contained in:
parent
1990263ecd
commit
61ce8597e8
27
g-s-d-fix-crasher-screensaver-unlock.patch
Normal file
27
g-s-d-fix-crasher-screensaver-unlock.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
commit 90c0f8676b06041c599fd941514e09ba8704f0ef
|
||||||
|
Author: Martin Pitt <martin.pitt@ubuntu.com>
|
||||||
|
Date: Tue Feb 22 08:35:37 2011 +0100
|
||||||
|
|
||||||
|
automount: Fix crash when unlocking screen saver
|
||||||
|
|
||||||
|
Fix commit 71deedf: We _do_ expect that some volumes have queued up in
|
||||||
|
check_volume_queue() once the screen saver got inactive, so don't crash with an
|
||||||
|
assertion failure in this case.
|
||||||
|
|
||||||
|
Just check whether the screen saver is active, and don't mount anything if so.
|
||||||
|
|
||||||
|
diff --git a/plugins/automount/gsd-automount-manager.c b/plugins/automount/gsd-automount-manager.c
|
||||||
|
index 788a5fe..5988f2b 100644
|
||||||
|
--- a/plugins/automount/gsd-automount-manager.c
|
||||||
|
+++ b/plugins/automount/gsd-automount-manager.c
|
||||||
|
@@ -184,8 +184,8 @@ check_volume_queue (GsdAutomountManager *manager)
|
||||||
|
|
||||||
|
l = manager->priv->volume_queue;
|
||||||
|
|
||||||
|
- if (!manager->priv->screensaver_active) {
|
||||||
|
- g_assert (l == NULL);
|
||||||
|
+ if (manager->priv->screensaver_active) {
|
||||||
|
+ return;
|
||||||
|
}
|
||||||
|
|
||||||
|
while (l != NULL) {
|
@ -1,6 +1,6 @@
|
|||||||
Name: gnome-settings-daemon
|
Name: gnome-settings-daemon
|
||||||
Version: 2.91.90
|
Version: 2.91.90
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
|
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -35,6 +35,8 @@ BuildRequires: autoconf automake libtool
|
|||||||
BuildRequires: libxklavier-devel
|
BuildRequires: libxklavier-devel
|
||||||
BuildRequires: gsettings-desktop-schemas-devel >= 0.1.7
|
BuildRequires: gsettings-desktop-schemas-devel >= 0.1.7
|
||||||
|
|
||||||
|
Patch1: g-s-d-fix-crasher-screensaver-unlock.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A daemon to share settings from GNOME to other applications. It also
|
A daemon to share settings from GNOME to other applications. It also
|
||||||
handles global keybindings, as well as a number of desktop-wide settings.
|
handles global keybindings, as well as a number of desktop-wide settings.
|
||||||
@ -52,6 +54,8 @@ developing applications that use %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
%patch1 -p1 -b .unlock
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
|
# https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
|
||||||
#export LIBS="-lX11 -lm"
|
#export LIBS="-lX11 -lm"
|
||||||
@ -114,6 +118,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
|
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 23 2011 Cosimo Cecchi <cosimoc@redhat.com> - 2.91.90-2
|
||||||
|
- Include an upstream patch to fix a possible crasher
|
||||||
|
|
||||||
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> 2.91.90-1
|
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> 2.91.90-1
|
||||||
- Update to 2.91.90
|
- Update to 2.91.90
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user