Bug#657440: xkb-data: cannot switch between two kb layout in gnome

2012-12-14 Thread Sébastien Villemot
Le vendredi 14 décembre 2012 à 21:28 +0100, Sébastien Villemot a écrit :
> This is actually an xkb-data bug that has been fixed upstream and for which I 
> attach the
> relevant patch. 

Attaching the missing patch, sorry.

-- 
 .''`.Sébastien Villemot
: :' :Debian Developer
`. `' http://www.dynare.org/sebastien
  `-  GPG Key: 4096R/381A7594

diff -u xkeyboard-config-2.5.1/debian/changelog xkeyboard-config-2.5.1/debian/changelog
--- xkeyboard-config-2.5.1/debian/changelog
+++ xkeyboard-config-2.5.1/debian/changelog
@@ -1,3 +1,14 @@
+xkeyboard-config (2.5.1-2.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add ossmath-is-five-levels.patch: some keymaps like fr/oss and fr/bepo
+fail to load because they include ossmath (via keypad(oss)) which
+misconfigures the keypad as 4-level when it should be 5-level. This
+patch from upstream fixes this by adding the 5th level to the ossmath
+definition. (Closes: #657440)
+
+ -- Sébastien Villemot   Thu, 13 Dec 2012 21:29:57 +0100
+
 xkeyboard-config (2.5.1-2.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u xkeyboard-config-2.5.1/debian/patches/series xkeyboard-config-2.5.1/debian/patches/series
--- xkeyboard-config-2.5.1/debian/patches/series
+++ xkeyboard-config-2.5.1/debian/patches/series
@@ -3,0 +4 @@
+ossmath-is-five-levels.diff
only in patch2:
unchanged:
--- xkeyboard-config-2.5.1.orig/debian/patches/ossmath-is-five-levels.diff
+++ xkeyboard-config-2.5.1/debian/patches/ossmath-is-five-levels.diff
@@ -0,0 +1,36 @@
+Description: ossmath is CTRL+ALT, not FOUR_LEVEL
+ Having KPMU defined as FOUR_LEVEL, with 4 symbols only, triggers an xkb error
+ when the keypad stuff picks up the CTRL+ALT (from x11) and waits for 5 symbols
+ instead.
+Origin: http://cgit.freedesktop.org/xkeyboard-config/commit/?id=49ed96928f6036bf07c8daa5aa886485fc3635e4
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=43541
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657440
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/985065
+Reviewed-by: Sébastien Villemot 
+Last-Update: 2012-12-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/symbols/keypad
 b/symbols/keypad
+@@ -267,13 +267,12 @@ xkb_symbols "legacymath" {
+ partial keypad_keys
+ xkb_symbols "ossmath" {
+ 
+-key.type[Group1]="FOUR_LEVEL_X" ;
+-
+-key  { [   KP_Divide, 0x1002215, 0x1F7, XF86_Ungrab ] }; // / ∕ ÷ 
+-key  { [ KP_Multiply, 0x10022C5, 0x1D7,  XF86_ClearGrab ] }; // * ⋅ ×  
+-key  { [ KP_Subtract, 0x1002212, 0x1002212, XF86_Prev_VMode ] }; // - − − 
++key.type[Group1]="CTRL+ALT" ;
+ 
+-key  { [  KP_Add, 0x12B, 0x12B, XF86_Next_VMode ] }; // + + + 
++key  { [   KP_Divide, 0x1002215, 0x1F7, VoidSymbol, XF86_Ungrab ] }; // / ∕ ÷ 
++key  { [ KP_Multiply, 0x10022C5, 0x1D7, VoidSymbol,  XF86_ClearGrab ] }; // * ⋅ ×  
++key  { [ KP_Subtract, 0x1002212, 0x1002212, VoidSymbol, XF86_Prev_VMode ] }; // - − − 
++key  { [  KP_Add, 0x12B, 0x12B, VoidSymbol, XF86_Next_VMode ] }; // + + + 
+ 
+ };
+ 
+-- 
+1.7.10.2
+


signature.asc
Description: This is a digitally signed message part


Processed: Re: Bug#657440: xkb-data: cannot switch between two kb layout in gnome

2012-12-14 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 xkb-data 2.5.1-2.1
Bug #657440 [gnome-settings-daemon] xkb-data: cannot switch between two kb 
layout in gnome
Bug reassigned from package 'gnome-settings-daemon' to 'xkb-data'.
Ignoring request to alter found versions of bug #657440 to the same values 
previously set
Ignoring request to alter fixed versions of bug #657440 to the same values 
previously set
Bug #657440 [xkb-data] xkb-data: cannot switch between two kb layout in gnome
Marked as found in versions xkeyboard-config/2.5.1-2.1.
> severity -1 important
Bug #657440 [xkb-data] xkb-data: cannot switch between two kb layout in gnome
Severity set to 'important' from 'normal'
> tags -1 + upstream fixed-upstream patch
Bug #657440 [xkb-data] xkb-data: cannot switch between two kb layout in gnome
Added tag(s) upstream, fixed-upstream, and patch.
> forwarded -1 https://bugs.freedesktop.org/show_bug.cgi?id=43541
Bug #657440 [xkb-data] xkb-data: cannot switch between two kb layout in gnome
Set Bug forwarded-to-address to 
'https://bugs.freedesktop.org/show_bug.cgi?id=43541'.

-- 
657440: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657440
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.b657440.13555168986186.transcr...@bugs.debian.org



Bug#653327: Bug#695903: razorqt-session: sessions choosing a specific window manager do not work from gdm3

2012-12-14 Thread Manuel A. Fernandez Montecelo
tags 695903 + upstream  confirmed
found 695903 0.4.1-2
stop

Hi Paul,

2012/12/14 Paul Wise :
> Package: razorqt-session
> Version: 0.4.1-1~exp1
> Severity: normal
>
> These sessions that set a specific window manager do not work even
> though I have all three window managers installed.
>
> razorqt-session: /usr/share/xsessions/razor-kwin.desktop
> razorqt-session: /usr/share/xsessions/razor-metacity.desktop
> razorqt-session: /usr/share/xsessions/razor-openbox.desktop
>
> When I try them I get a dialog that contains these texts:
>
> Xsession: unable to launch "razor-session -w kwin" X session ---
> "razor-session -w kwin" not found; falling back to default session.
>
> Xsession: unable to launch "razor-session -w metacity" X session ---
> "razor-session -w metacity" not found; falling back to default session.
>
> Xsession: unable to launch "razor-session -w openbox" X session ---
> "razor-session -w openbox" not found; falling back to default session.

This seems to be an error from upstream .desktop files:
https://groups.google.com/group/razor-qt/browse_thread/thread/9555a74cf7188ad2

It's fixed in newer versions by commenting out the "TryExec", which
(even if it works -- it doesn't for me when modifying my .desktop
files by hand) is not very optimal, since then one has entries for
window managers not really available in the system:
https://github.com/Razor-qt/razor-qt/commit/bc8148c5e7741de9400f7436f188e178a51b5b96

I guess that this is a duplicate of #653327 , due to the following
line having several arguments:
  Exec=razor-session -w openbox

Comments?


Cheers.
-- 
Manuel A. Fernandez Montecelo 


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAPQ4b8=gHhjNtJR+CXGgHJB9-+4A7OGueH=tb5p1gtrx-0c...@mail.gmail.com