forked from pool/lxsession
Accepting request 258269 from X11:lxde
1 OBS-URL: https://build.opensuse.org/request/show/258269 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxsession?expand=0&rev=33
This commit is contained in:
commit
25f6a22877
25
lxsession-0.5.1-duplicate-lxpolkit-invocation-fix.patch
Normal file
25
lxsession-0.5.1-duplicate-lxpolkit-invocation-fix.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 486e8b5221d214a491ac41e8b0ee1adba8f0a8d6 Mon Sep 17 00:00:00 2001
|
||||
From: Andriy Grytsenko <andrej@rep.kiev.ua>
|
||||
Date: Mon, 20 Oct 2014 15:34:20 +0300
|
||||
Subject: [PATCH] Fix duplicate lxpolkit invocation by setting Hidden=true in
|
||||
lxpolkit.desktop.
|
||||
|
||||
It supposed to be autostarted if set to, but lxsession even without
|
||||
built-in one handles that differently. So let it be hidden always.
|
||||
---
|
||||
data/lxpolkit.desktop.in.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/data/lxpolkit.desktop.in.in b/data/lxpolkit.desktop.in.in
|
||||
index 40c1269..b86b1df 100644
|
||||
--- a/data/lxpolkit.desktop.in.in
|
||||
+++ b/data/lxpolkit.desktop.in.in
|
||||
@@ -6,4 +6,4 @@ Exec=lxpolkit
|
||||
TryExec=lxpolkit
|
||||
Icon=gtk-dialog-authentication
|
||||
NotShowIn=GNOME;KDE;
|
||||
-Hidden=@HIDE_LXPOLKIT_AUTOSTART@
|
||||
+Hidden=true
|
||||
--
|
||||
1.7.10.4
|
||||
|
57
lxsession-0.5.1-lxsession-db-SF692-fix.patch
Normal file
57
lxsession-0.5.1-lxsession-db-SF692-fix.patch
Normal file
@ -0,0 +1,57 @@
|
||||
From 04a5a75ba10adeee261dc46a78314a08cfe093f3 Mon Sep 17 00:00:00 2001
|
||||
From: Julien Lavergne <julien.lavergne@gmail.com>
|
||||
Date: Mon, 20 Oct 2014 00:17:36 +0200
|
||||
Subject: [PATCH] Correctly connect and emit signals for lxsession-db (sould
|
||||
really fix #692)
|
||||
|
||||
---
|
||||
lxsession-db/desktop-files-backend.vala | 9 +++++----
|
||||
1 file changed, 5 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/lxsession-db/desktop-files-backend.vala b/lxsession-db/desktop-files-backend.vala
|
||||
index be9622b..1e538e4 100644
|
||||
--- a/lxsession-db/desktop-files-backend.vala
|
||||
+++ b/lxsession-db/desktop-files-backend.vala
|
||||
@@ -186,7 +186,7 @@ namespace Lxsession
|
||||
|
||||
public void on_finish_scanning_installed()
|
||||
{
|
||||
- message("Signal finish scanning with mode: %s",this.mode);
|
||||
+ message("Signal finish scanning installed with mode: %s",this.mode);
|
||||
if (this.mode == "display")
|
||||
{
|
||||
print_values_installed ();
|
||||
@@ -206,7 +206,7 @@ namespace Lxsession
|
||||
|
||||
public void on_finish_scanning_available()
|
||||
{
|
||||
- message("Signal finish scanning with mode: %s",this.mode);
|
||||
+ message("Signal finish scanning available with mode: %s",this.mode);
|
||||
if (this.mode == "display")
|
||||
{
|
||||
global_db.print_values_available ();
|
||||
@@ -263,6 +263,7 @@ namespace Lxsession
|
||||
else
|
||||
{
|
||||
message ("%s doesn't exist. Pass", folder);
|
||||
+ finish_scanning_available();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -274,11 +275,11 @@ namespace Lxsession
|
||||
|
||||
public void update ()
|
||||
{
|
||||
- update_installed();
|
||||
finish_scanning_installed.connect(on_finish_scanning_installed);
|
||||
+ finish_scanning_available.connect(on_finish_scanning_available);
|
||||
|
||||
+ update_installed();
|
||||
update_available();
|
||||
- finish_scanning_available.connect(on_finish_scanning_available);
|
||||
}
|
||||
|
||||
private async void list_desktop_files (string path, string mode)
|
||||
--
|
||||
1.7.10.4
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 23 18:39:34 UTC 2014 - trcs@gmx.com
|
||||
|
||||
- added
|
||||
* lxsession-0.5.1-duplicate-lxpolkit-invocation-fix.patch
|
||||
* lxsession-0.5.1-lxsession-db-SF692-fix.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 21 07:49:16 UTC 2014 - andrea@opensuse.org
|
||||
|
||||
|
@ -24,6 +24,8 @@ License: GPL-2.0
|
||||
Group: System/GUI/LXDE
|
||||
Url: http://www.lxde.org/
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Patch0: lxsession-0.5.1-duplicate-lxpolkit-invocation-fix.patch
|
||||
Patch1: lxsession-0.5.1-lxsession-db-SF692-fix.patch
|
||||
BuildRequires: dbus-1-glib-devel
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
@ -50,7 +52,8 @@ use when a user logs out and to restart them the next time the user logs in.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
|
Loading…
Reference in New Issue
Block a user