[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771427: unblock: lxsession/0.5.1-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package lxsession

The package lxsession has three bugs of severity "important":

 #768043
 #770975
 #771147

The source of problems in all mentioned bugs was fixed by upstream and
therefore adding the commit as a patch would fix it in Debian. Changelog
follows:

  * Adding 02-fix-db-update.patch from upstream to fix block on database update
    (Closes: #768043, #770975, #771147).
  * Adding valac into Build-Depends, patching requires it.
  * Cleaning lxsession_lxsession_vala.stamp, patching requires it.

I also attach the debdiff to this message.

unblock lxsession/0.5.1-2

With best regards,
Andriy.
diff -Nru lxsession-0.5.1/debian/changelog lxsession-0.5.1/debian/changelog
--- lxsession-0.5.1/debian/changelog	2014-10-18 03:33:22.000000000 +0300
+++ lxsession-0.5.1/debian/changelog	2014-11-29 15:01:54.000000000 +0200
@@ -1,3 +1,12 @@
+lxsession (0.5.1-2) unstable; urgency=high
+
+  * Adding 02-fix-db-update.patch from upstream to fix block on database update
+    (Closes: #768043, #770975, #771147).
+  * Adding valac into Build-Depends, patching requires it.
+  * Cleaning lxsession_lxsession_vala.stamp, patching requires it.
+
+ -- Andriy Grytsenko <andrej@rep.kiev.ua>  Sat, 29 Nov 2014 14:55:02 +0200
+
 lxsession (0.5.1-1) unstable; urgency=medium
 
   [ Andriy Grytsenko ]
diff -Nru lxsession-0.5.1/debian/clean lxsession-0.5.1/debian/clean
--- lxsession-0.5.1/debian/clean	1970-01-01 03:00:00.000000000 +0300
+++ lxsession-0.5.1/debian/clean	2014-11-29 14:48:30.000000000 +0200
@@ -0,0 +1 @@
+lxsession_lxsession_vala.stamp
diff -Nru lxsession-0.5.1/debian/control lxsession-0.5.1/debian/control
--- lxsession-0.5.1/debian/control	2014-10-18 02:59:27.000000000 +0300
+++ lxsession-0.5.1/debian/control	2014-11-29 14:43:10.000000000 +0200
@@ -8,7 +8,8 @@
 Build-Depends:
  debhelper (>= 9), autotools-dev,
  intltool, libdbus-glib-1-dev,
- libgtk2.0-dev, libpolkit-agent-1-dev
+ libgtk2.0-dev, libpolkit-agent-1-dev,
+ valac
 Standards-Version: 3.9.6
 Homepage: http://www.lxde.org/
 Vcs-Browser: http://git.lxde.org/gitweb/?p=debian/lxsession.git
diff -Nru lxsession-0.5.1/debian/patches/02-fix-db-update.patch lxsession-0.5.1/debian/patches/02-fix-db-update.patch
--- lxsession-0.5.1/debian/patches/02-fix-db-update.patch	1970-01-01 03:00:00.000000000 +0300
+++ lxsession-0.5.1/debian/patches/02-fix-db-update.patch	2014-11-29 14:27:52.000000000 +0200
@@ -0,0 +1,56 @@
+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)
+-- 
+2.1.1
+
diff -Nru lxsession-0.5.1/debian/patches/series lxsession-0.5.1/debian/patches/series
--- lxsession-0.5.1/debian/patches/series	2014-10-17 23:47:25.000000000 +0300
+++ lxsession-0.5.1/debian/patches/series	2014-11-25 20:47:30.000000000 +0200
@@ -1 +1,2 @@
 01-no-dup-polkit.patch
+02-fix-db-update.patch

Reply to: