Accepting request 332816 from GNOME:Next
Update to 3.18.0 OBS-URL: https://build.opensuse.org/request/show/332816 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=182
This commit is contained in:
parent
ea483abb55
commit
bba0f247fe
@ -1,47 +0,0 @@
|
||||
From b7aca078447031ac85550216a3836b6d5e81576a Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
|
||||
Date: Thu, 17 Sep 2015 11:40:59 +0800
|
||||
Subject: Revert "launcher: simplify getting session dbus proxy"
|
||||
|
||||
Signals are sent to a specific ID, so we can't use "self" here. After
|
||||
this revert, VT switching works again.
|
||||
|
||||
This reverts commit 8e22bf5bc96a7d9ff1aba8ea8217a4c3ca06b4ce.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=753434
|
||||
|
||||
diff --git a/src/backends/native/meta-launcher.c b/src/backends/native/meta-launcher.c
|
||||
index 6fc4505..618bd68 100644
|
||||
--- a/src/backends/native/meta-launcher.c
|
||||
+++ b/src/backends/native/meta-launcher.c
|
||||
@@ -71,17 +71,26 @@ report_error_and_die (const char *prefix,
|
||||
static Login1Session *
|
||||
get_session_proxy (GCancellable *cancellable)
|
||||
{
|
||||
+ char *proxy_path;
|
||||
+ char *session_id;
|
||||
Login1Session *session_proxy;
|
||||
GError *error = NULL;
|
||||
|
||||
+ if (sd_pid_get_session (getpid (), &session_id) < 0)
|
||||
+ return NULL;
|
||||
+
|
||||
+ proxy_path = get_escaped_dbus_path ("/org/freedesktop/login1/session", session_id);
|
||||
+
|
||||
session_proxy = login1_session_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
|
||||
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
|
||||
"org.freedesktop.login1",
|
||||
- "/org/freedesktop/login1/session/self",
|
||||
+ proxy_path,
|
||||
cancellable, &error);
|
||||
if (!session_proxy)
|
||||
report_error_and_die ("Failed getting session proxy", error);
|
||||
|
||||
+ free (proxy_path);
|
||||
+
|
||||
return session_proxy;
|
||||
}
|
||||
|
||||
--
|
||||
cgit v0.10.2
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3d77433bc888f8562dc1a133dfb2f8cdf6a1addab242d16cc4a3ba647744eba
|
||||
size 1475376
|
3
mutter-3.18.0.tar.xz
Normal file
3
mutter-3.18.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9fb287976b9c65f0a2aca09d0e2c4c2748d3d2cfa5f38921dbeafe4cd1d541b1
|
||||
size 1467668
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 22 06:48:55 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
- Update to version 3.18.0:
|
||||
+ Misc. fixes: bgo#753434.
|
||||
+ Updated translations.
|
||||
- Drop Revert-launcher-simplify-getting-session-dbus-proxy.patch:
|
||||
fixed upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 19 11:08:06 UTC 2015 - zaitor@opensuse.org
|
||||
|
||||
|
@ -23,15 +23,13 @@
|
||||
%endif
|
||||
|
||||
Name: mutter
|
||||
Version: 3.17.92
|
||||
Version: 3.18.0
|
||||
Release: 0
|
||||
Summary: Window and compositing manager based on Clutter
|
||||
License: GPL-2.0+
|
||||
Group: System/GUI/GNOME
|
||||
Url: http://www.gnome.org
|
||||
Source: http://download.gnome.org/sources/mutter/3.17/%{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-UPSTREAM Revert-launcher-simplify-getting-session-dbus-proxy.patch zaitor@opensuse.org -- Fix VT switching with wayland.
|
||||
Patch0: Revert-launcher-simplify-getting-session-dbus-proxy.patch
|
||||
Source: http://download.gnome.org/sources/mutter/3.18/%{name}-%{version}.tar.xz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gobject-introspection-devel >= 0.9.5
|
||||
BuildRequires: intltool
|
||||
@ -137,7 +135,6 @@ to develop applications that require these.
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
translation-update-upstream
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user