Debian Bug report logs - #524513
xkbcomp: fails to honour files in -I directory

version graph

Package: x11-xkb-utils; Maintainer for x11-xkb-utils is Debian X Strike Force <debian-x@lists.debian.org>; Source for x11-xkb-utils is src:x11-xkb-utils.

Reported by: martin f krafft <madduck@debian.org>

Date: Fri, 17 Apr 2009 16:39:22 UTC

Severity: normal

Tags: upstream

Found in version x11-xkb-utils/7.4+2

Done: martin f krafft <madduck@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#524513; Package x11-xkb-utils. (Fri, 17 Apr 2009 16:39:24 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin f krafft <madduck@debian.org>:
New Bug report received and forwarded. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Fri, 17 Apr 2009 16:39:24 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: martin f krafft <madduck@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xkbcomp: fails to honour files in -I directory
Date: Fri, 17 Apr 2009 16:21:14 +0200
[Message part 1 (text/plain, inline)]
Package: x11-xkb-utils
Version: 7.4+2
Severity: normal
File: /usr/bin/xkbcomp
Tags: upstream

I defined a partial symbols file to override an alphanumeric key and
verified that it works if I place it into
/usr/lib/X11/xkb/symbols/madduck and amended the xkb_symbols setting
of the xkb_keymap like this:

  xkb_symbols   { include "pc+us+inet(evdev)+madduck(basic)"   };

This is the file's contents:

  partial alphanumeric_keys
  xkb_symbols "basic" {
          key <AE03> {
                  symbols[Group1] = [     3,      sterling        ]
          };
  };

After installing it with xkbcomp, Shift-3 produces a £. \o/

Now I would like to steer clear of writing to /usr and thus created
~/.xkb/symbols and placed the file therein. Unfortunately, xkbcomp
does not seem to care:

  lapse:~|master|% xkbcomp -I~/.xkb ~/.xkb/map :0
  Error:            Can't find file "madduck" for symbols include
                    Exiting
                    Abandoning symbols file "(null)"
  Error:            success in unknown
                    Couldn't write keyboard description to :0

But:

  lapse:~|master|% ls -l .xkb/symbols/madduck
  -rw------- 1 madduck madduck 105 2009-04-17 16:07 .xkb/symbols/madduck

-I~/.xkb/symbols does not work either.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages x11-xkb-utils depends on:
ii  cpp                           4:4.3.3-2  The GNU C preprocessor (cpp)
ii  libc6                         2.9-7      GNU C Library: Shared libraries
ii  libice6                       2:1.0.5-1  X11 Inter-Client Exchange library
ii  libsm6                        2:1.1.0-2  X11 Session Management library
ii  libx11-6                      2:1.2.1-1  X11 client-side library
ii  libxaw7                       2:1.0.5-2  X11 Athena Widget library
ii  libxkbfile1                   1:1.0.5-1  X11 keyboard file manipulation lib
ii  libxmu6                       2:1.0.4-1  X11 miscellaneous utility library
ii  libxt6                        1:1.0.5-3  X11 toolkit intrinsics library
ii  x11-common                    1:7.4+1    X Window System (X.Org) infrastruc

x11-xkb-utils recommends no packages.

x11-xkb-utils suggests no packages.

-- debconf-show failed


-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#524513; Package x11-xkb-utils. (Fri, 17 Apr 2009 17:03:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (Fri, 17 Apr 2009 17:03:04 GMT) Full text and rfc822 format available.

Message #10 received at 524513@bugs.debian.org (full text, mbox):

From: Julien Cristau <jcristau@debian.org>
To: martin f krafft <madduck@debian.org>, 524513@bugs.debian.org
Subject: Re: Bug#524513: xkbcomp: fails to honour files in -I directory
Date: Fri, 17 Apr 2009 18:58:01 +0200
On Fri, 2009-04-17 at 16:21 +0200, martin f krafft wrote:
> Now I would like to steer clear of writing to /usr and thus created
> ~/.xkb/symbols and placed the file therein. Unfortunately, xkbcomp
> does not seem to care:
> 
>   lapse:~|master|% xkbcomp -I~/.xkb ~/.xkb/map :0
>   Error:            Can't find file "madduck" for symbols include
>                     Exiting
>                     Abandoning symbols file "(null)"
>   Error:            success in unknown
>                     Couldn't write keyboard description to :0

try with /home/madduck or whatever instead of ~.  The shell doesn't
expand ~ in ``-I~/.xkb''.

Cheers,
Julien




Reply sent to martin f krafft <madduck@debian.org>:
You have taken responsibility. (Sat, 18 Apr 2009 08:45:03 GMT) Full text and rfc822 format available.

Notification sent to martin f krafft <madduck@debian.org>:
Bug acknowledged by developer. (Sat, 18 Apr 2009 08:45:03 GMT) Full text and rfc822 format available.

Message #15 received at 524513-done@bugs.debian.org (full text, mbox):

From: martin f krafft <madduck@debian.org>
To: Julien Cristau <jcristau@debian.org>, 524513-done@bugs.debian.org
Subject: Re: Bug#524513: xkbcomp: fails to honour files in -I directory
Date: Sat, 18 Apr 2009 10:28:46 +0200
[Message part 1 (text/plain, inline)]
also sprach Julien Cristau <jcristau@debian.org> [2009.04.17.1858 +0200]:
> try with /home/madduck or whatever instead of ~.  The shell doesn't
> expand ~ in ``-I~/.xkb''.

Gosh do I feel silly now. Bug closed. Thanks,

-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 17 May 2009 07:27:03 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 01:25:15 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.