Package: uim
Version: 1:1.2.1-9
Followup-For: Bug #377808

Greetings maintainers, developpers, and bug victims :)

I suffered from this bug on a freshly installed Etch system, with
symptoms in iceweasel and nautilus:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=412053
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422758

I was quite surprised, because on my home computer running Etch, I have
no problems with these programs. I finally managed to figure out that
the contents of $HOME/.xinput.d are different in both machines, and that
the safe one is not available on the crashing mashine.

Crash:
-------------------------------------------------------
# UIM with GTK systray indicator
XIM=uim
XIM_PROGRAM=/usr/bin/uim-xim
XIM_ARGS=
GTK_IM_MODULE=xim
QT_IM_MODULE=xim
# It seems to me that the system needs to be initialized.
# Folowing trick will wait 10 seconds without slowing down X start up.
XIM_PROGRAM_XTRA="(sleep 10; uim-toolbar-gtk-systray)"
DEPENDS="uim-xim,uim-gtk2.0|uim-qt,uim-anthy|uim-canna|uim-prime|uim-skk|uim-m17nlib"
--------------------------------------------------------


No crash:
--------------------------------------------------------
XIM=uim
XIM_PROGRAM=/usr/bin/uim-xim
XIM_ARGS=
GTK_IM_MODULE=uim
ENGINE=anthy

if [ -r "$HOME/.uim" ]; then
  TMPFILE=$(mktemp) || exit 1
  if [ "$(grep "; IM-SWITCH VALUE" $HOME/.uim)" ]; then
    sed "s/(define default-im-name '[^)]*) ; IM-SWITCH VALUE/(define 
default-im-name '$ENGINE) ; IM-SWITCH VALUE/" <
$HOME/.uim > $TMPFILE
  else
    cat $HOME/.uim > $TMPFILE
    if [ "$(grep -E "^\(define[[:space:]]+default-im-name[[:space:]]" 
$HOME/.uim)" ]; then
      echo "; (define default-im-name '$ENGINE) ; IM-SWITCH VALUE" >> $TMPFILE
    else
      echo "(define default-im-name '$ENGINE) ; IM-SWITCH VALUE" >> $TMPFILE
    fi
  fi
  mv $TMPFILE $HOME/.uim
else
  echo "(define default-im-name '$ENGINE) ; IM-SWITCH VALUE" > $HOME/.uim
fi
--------------------------------------------------------

What shall I do with the iceweasel and nautilus bugs ?

Have a nice day,

-- Charles Plessy, Wako, Saitama, Japan

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-powerpc64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages uim-xim depends on:
ii  libatk1.0-0               1.12.4-3       The ATK accessibility toolkit
ii  libc6                     2.3.6.ds1-13   GNU C Library: Shared libraries
ii  libcairo2                 1.2.4-4        The Cairo 2D vector graphics libra
ii  libfontconfig1            2.4.2-1.2      generic font configuration library
ii  libgcc1                   1:4.1.1-21     GCC support library
ii  libglib2.0-0              2.12.4-2       The GLib library of C routines
ii  libgtk2.0-0               2.8.20-7       The GTK+ graphical user interface 
ii  libpango1.0-0             1.14.8-5       Layout and rendering of internatio
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libstdc++6                4.1.1-21       The GNU Standard C++ Library v3
ii  libuim3                   1:1.2.1-9      Simple and flexible input method c
ii  libx11-6                  2:1.0.3-7      X11 client-side library
ii  libxcursor1               1.1.7-4        X cursor management library
ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
ii  libxfixes3                1:4.0.1-5      X11 miscellaneous 'fixes' extensio
ii  libxft2                   2.1.8.2-8      FreeType-based font drawing librar
ii  libxi6                    1:1.0.1-4      X11 Input extension library
ii  libxinerama1              1:1.0.1-4.1    X11 Xinerama extension library
ii  libxrandr2                2:1.1.0.2-5    X11 RandR extension library
ii  libxrender1               1:0.9.1-3      X Rendering Extension client libra
ii  uim-common                1:1.2.1-9      Common files for uim
ii  uim-utils                 1:1.2.1-9      Utilities for uim
ii  zlib1g                    1:1.2.3-13     compression library - runtime

uim-xim recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to