Bug#780229: unblock (pre-approval): mate-settings-daemon/1.8.2-3

2015-03-11 Thread Niels Thykier
Control: tags -1 confirmed moreinfo

On 2015-03-10 20:49, Mike Gabriel wrote:
 Package: release.debian.org
 Severity: normal
 User: release.debian@packages.debian.org
 Usertags: unblock
 
 Please consider unblocking planned upload of package mate-settings-daemon.
 
 [...]
 While triaging bug reports in the MATE upstream issue tracker, I stumbled
 over the patch shipped with this upload proposal (see #780226 for
 details).
 
 The provided patch by Nilesh Govindrajan fixes the high CPU load issue
 (and probably also another issue observed under X2Go [1]).
 
 light+love,
 Mike
 
 
 [1] http://bugs.x2go.org/402
 
 unblock mate-settings-daemon/1.8.2-3
 
 [...]

Ack, please upload to unstable and remove the moreinfo tag.

Thanks,
~Niels


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#780229: unblock (pre-approval): mate-settings-daemon/1.8.2-3

2015-03-11 Thread Mike Gabriel

Control: tags -1 - moreinfo

Hi Niels,

On  Mi 11 Mär 2015 21:43:38 CET, Niels Thykier wrote:


Control: tags -1 confirmed moreinfo

On 2015-03-10 20:49, Mike Gabriel wrote:

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

Please consider unblocking planned upload of package mate-settings-daemon.

[...]
While triaging bug reports in the MATE upstream issue tracker, I stumbled
over the patch shipped with this upload proposal (see #780226 for
details).

The provided patch by Nilesh Govindrajan fixes the high CPU load issue
(and probably also another issue observed under X2Go [1]).

light+love,
Mike


[1] http://bugs.x2go.org/402

unblock mate-settings-daemon/1.8.2-3

[...]


Ack, please upload to unstable and remove the moreinfo tag.

Thanks,
~Niels


uploaded and accepted in unstable.

light+love
Mike
--

mike gabriel aka sunweaver (Debian Developer)
fon: +49 (1520) 1976 148

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: sunwea...@debian.org, http://sunweavers.net



pgper8LHDkSyS.pgp
Description: Digitale PGP-Signatur


Bug#780229: unblock (pre-approval): mate-settings-daemon/1.8.2-3

2015-03-10 Thread Mike Gabriel
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please consider unblocking planned upload of package mate-settings-daemon.

+  * debian/changelo:
++ Fix typo in previous changelog stanza.

Is that ok as I did that in the .debdiff? Should this be mentioned here?

+  * debian/patches:
++ Add debian/patches/1001_fix-numlock-cpu-usage.patch. Prevent m-s-d from
+  causing high CPU load if the user repetitively toggles the NUMLOCK key
+  while being connected via a remote session (NX, X2Go, VNC, xrdp, etc.)
+  or sometimes also in a local X.org session. (Closes: #780226,
+  LP:1364111).

- This issue has been bugging me personally and also a customer of mine
for a while now when connected to MATE via X2Go. I always thought that it
was related to nxagent/x2goagent.

While triaging bug reports in the MATE upstream issue tracker, I stumbled
over the patch shipped with this upload proposal (see #780226 for
details).

The provided patch by Nilesh Govindrajan fixes the high CPU load issue
(and probably also another issue observed under X2Go [1]).

light+love,
Mike


[1] http://bugs.x2go.org/402

unblock mate-settings-daemon/1.8.2-3

-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing-updates'), (500, 
'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
diff -Nru mate-settings-daemon-1.8.2/debian/changelog mate-settings-daemon-1.8.2/debian/changelog
--- mate-settings-daemon-1.8.2/debian/changelog	2015-03-10 18:00:07.0 +0100
+++ mate-settings-daemon-1.8.2/debian/changelog	2015-03-10 20:40:59.0 +0100
@@ -1,10 +1,23 @@
+mate-settings-daemon (1.8.2-3) unstable; urgency=medium
+
+  * debian/changelo:
++ Fix typo in previous changelog stanza.
+  * debian/patches:
++ Add debian/patches/1001_fix-numlock-cpu-usage.patch. Prevent m-s-d from
+  causing high CPU load if the user repetitively toggles the NUMLOCK key
+  while being connected via a remote session (NX, X2Go, VNC, xrdp, etc.)
+  or sometimes also in a local X.org session. (Closes: #780226,
+  LP:1364111).
+
+ -- Mike Gabriel sunwea...@debian.org  Tue, 10 Mar 2015 20:36:14 +0100
+
 mate-settings-daemon (1.8.2-2) unstable; urgency=medium
 
   [ Mike Gabriel ]
   * debian/patches:
 + Add README file explaining our patch naming scheme.
 + Add 0002_fix-a11y-keyboard-dialog-segfaults.patch. Fix segfaults when
-  clicking on the checkboxes in the a11y-keybord configuration dialog.
+  clicking on the checkboxes in the a11y-keyboard configuration dialog.
   (Closes: #779916).
 
  -- Mike Gabriel sunwea...@debian.org  Tue, 10 Mar 2015 17:59:38 +0100
diff -Nru mate-settings-daemon-1.8.2/debian/patches/1001_fix-numlock-cpu-usage.patch mate-settings-daemon-1.8.2/debian/patches/1001_fix-numlock-cpu-usage.patch
--- mate-settings-daemon-1.8.2/debian/patches/1001_fix-numlock-cpu-usage.patch	1970-01-01 01:00:00.0 +0100
+++ mate-settings-daemon-1.8.2/debian/patches/1001_fix-numlock-cpu-usage.patch	2015-03-10 20:35:25.0 +0100
@@ -0,0 +1,35 @@
+Author: Nilesh Govindrajan (https://github.com/nilesh)
+Description: Prevent nxagent/xrdp/xvnc from causing high CPU loads on toggling NUMLOCK
+Origin: https://github.com/mate-desktop/mate-settings-daemon/issues/57#issuecomment-73353036
+
+--- a/plugins/keyboard/msd-keyboard-manager.c2015-02-07 12:17:03.372168487 +0530
 b/plugins/keyboard/msd-keyboard-manager.c 2015-02-07 10:57:10.936047797 +0530
+@@ -267,10 +267,6 @@
+ bell_volume   = (volume_string  !strcmp (volume_string, on)) ? 50 : 0;
+ g_free (volume_string);
+
+-#ifdef HAVE_X11_EXTENSIONS_XKB_H
+-rnumlock  = g_settings_get_boolean  (settings, KEY_NUMLOCK_REMEMBER);
+-#endif /* HAVE_X11_EXTENSIONS_XKB_H */
+-
+ gdk_error_trap_push ();
+ if (repeat) {
+ gboolean rate_set = FALSE;
+@@ -306,9 +302,13 @@
+ kbdcontrol);
+
+ #ifdef HAVE_X11_EXTENSIONS_XKB_H
+-if (manager-priv-have_xkb  rnumlock) {
+-numlock_set_xkb_state (numlock_get_settings_state (settings));
+-}
++rnumlock  = g_settings_get_boolean  (settings, KEY_NUMLOCK_REMEMBER);
++
++   if(rnumlock == 0 || key == NULL) {
++   if (manager-priv-have_xkb  rnumlock) {
++   numlock_set_xkb_state (numlock_get_settings_state (settings));
++   }
++   }
+ #endif /* HAVE_X11_EXTENSIONS_XKB_H */
+
+ XSync (GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), FALSE);
+
diff -Nru mate-settings-daemon-1.8.2/debian/patches/series mate-settings-daemon-1.8.2/debian/patches/series
--- mate-settings-daemon-1.8.2/debian/patches/series