Followup-For: Bug #541990
Package: fbxkb
Version: 0.6-1

The bug is present even in Debian-6.0 prereleases.
The problem is, that parsing doesnot accept more complex options
specifications. I.e.:

  pc+us+inet(evdev)+terminate(ctrl_alt_bksp)

Simple working solution is to skip these options in the parser.

Best wishes,

              Pavel

-- System Information:
Debian Release: 5.0.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35.7 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fbxkb depends on:
ii  libatk1.0-0             1.22.0-1         The ATK accessibility toolkit
ii  libc6                   2.7-18lenny6     GNU C Library: Shared libraries
ii  libcairo2               1.8.8-2~bpo50+1  The Cairo 2D vector graphics libra
ii  libfontconfig1          2.6.0-3          generic font configuration library
ii  libglib2.0-0            2.22.4-1~bpo50+1 The GLib library of C routines
ii  libgtk2.0-0             2.18.6-1~bpo50+1 The GTK+ graphical user interface 
ii  libpango1.0-0           1.20.5-6         Layout and rendering of internatio
ii  libx11-6                2:1.3-1          X11 client-side library
ii  libxcursor1             1:1.1.9-1        X cursor management library
ii  libxext6                2:1.0.99.4-1     X11 miscellaneous extension librar
ii  libxfixes3              1:4.0.3-2        X11 miscellaneous 'fixes' extensio
ii  libxi6                  2:1.2.99.4-1     X11 Input extension library
ii  libxinerama1            2:1.0.3-2        X11 Xinerama extension library
ii  libxmu6                 2:1.0.4-1        X11 miscellaneous utility library
ii  libxrandr2              2:1.2.3-1        X11 RandR extension library
ii  libxrender1             1:0.9.4-2        X Rendering Extension client libra

fbxkb recommends no packages.

fbxkb suggests no packages.

-- no debconf information

-------------- patch init ---------------------------------

--- fbxkb-0.6.orig/fbxkb.c      2010-12-18 17:46:56.311844985 +0100
+++ fbxkb-0.6/fbxkb.c   2010-12-18 17:48:56.652095559 +0100
@@ -355,6 +355,7 @@
          *    % xlsatoms | grep pc
          *    150 pc/pc(pc101)+pc/us+pc/ru(phonetic):2+group(shift_toggle)
          *    470 
pc(pc105)+us+ru(phonetic):2+il(phonetic):3+group(shifts_toggle)+group(switch)
+         *        pc+us+inet(evdev)+terminate(ctrl_alt_bksp)
          */
         DBG("sym_name=%s\n", sym_name);
         for (tok = strtok(sym_name, "+"); tok; tok = strtok(NULL, "+")) {
@@ -372,7 +373,8 @@
             *tmp = 0;
 
             DBG("map=%s no=%d\n", tok, no);
-            if (!strcmp(tok, "pc") || !strcmp(tok, "group"))
+            if (!strcmp(tok, "pc") || !strcmp(tok, "group") ||
+               !strcmp(tok,"inet") || !strcmp(tok, "terminate"))
                 continue;
           
             g_assert((no >= 0) && (no < ngroups));
-------------- patch end ---------------------------------



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

Reply via email to