Accepting request 61730 from home:vuntz:branches:GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/61730 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=51
This commit is contained in:
parent
1a2bc14bac
commit
e18cfd23c2
15
gnome-shell-handle-broken-glxinfo.patch
Normal file
15
gnome-shell-handle-broken-glxinfo.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Index: gnome-shell-2.91.6/src/gnome-shell.in
|
||||||
|
===================================================================
|
||||||
|
--- gnome-shell-2.91.6.orig/src/gnome-shell.in
|
||||||
|
+++ gnome-shell-2.91.6/src/gnome-shell.in
|
||||||
|
@@ -192,7 +192,9 @@ def _get_glx_extensions():
|
||||||
|
|
||||||
|
glxinfo = subprocess.Popen(["glxinfo"], stdout=subprocess.PIPE)
|
||||||
|
glxinfo_output = glxinfo.communicate()[0]
|
||||||
|
- glxinfo.wait()
|
||||||
|
+ ret = glxinfo.wait()
|
||||||
|
+ if ret != 0:
|
||||||
|
+ return (set(), set(), set())
|
||||||
|
|
||||||
|
glxinfo_map = {}
|
||||||
|
for m in GLXINFO_RE.finditer(glxinfo_output):
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 18 02:49:38 CET 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Add gnome-shell-handle-broken-glxinfo.patch to not crash if
|
||||||
|
glxinfo doesn't work. Fix bnc#672953.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 15 17:35:14 CET 2011 - sbrabec@suse.cz
|
Tue Feb 15 17:35:14 CET 2011 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
@ -32,6 +32,8 @@ Source1: gnome-shell-session
|
|||||||
Source2: gnome3.desktop
|
Source2: gnome3.desktop
|
||||||
# PATCH-FIX-OPENSUSE gnome-shell-integrate_114.patch vuntz@opensuse.org -- Fix integration with underlying packages available in openSUSE 11.4.
|
# PATCH-FIX-OPENSUSE gnome-shell-integrate_114.patch vuntz@opensuse.org -- Fix integration with underlying packages available in openSUSE 11.4.
|
||||||
Patch0: gnome-shell-integrate_114.patch
|
Patch0: gnome-shell-integrate_114.patch
|
||||||
|
# PATCH-FIX-UPSTREAM gnome-shell-handle-broken-glxinfo.patch bnc#672953 bgo#640680 vuntz@opensuse.org -- Fix crash on startup if glxinfo fails with a weird error
|
||||||
|
Patch1: gnome-shell-handle-broken-glxinfo.patch
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
@ -84,6 +86,7 @@ translation-update-upstream
|
|||||||
%if ! 0%{?BUILD_AGAINST_GNOME3}
|
%if ! 0%{?BUILD_AGAINST_GNOME3}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%endif
|
%endif
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
Loading…
Reference in New Issue
Block a user