[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-18 Thread Sebastien Bacher
** Changed in: ibus (Ubuntu)
   Importance: Undecided = Low

** Summary changed:

- [Natty Alpha2] no ibus input method is registered after fresh install
+ no ibus input method is registered after fresh install

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-17 Thread Nobuto MURATA
Upstream is going to change patched lines using LC_CTYPE instead of
LC_MESSAGES. I will mark as In Progress again to tweak the patch.

** Changed in: ibus (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: ibus (Ubuntu)
 Assignee: (unassigned) = Nobuto MURATA (nobuto)

** Tags added: patch-needswork
** Tags removed: patch-accepted-upstream

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-15 Thread Nobuto MURATA
Now that locale was changed yesterday (probably by new gdm or language-selector 
package?), this issue is no longer reproducible on fresh-install.
But for some cases that locale values are set separately, the patch should be 
considered to be applied.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-14 Thread Nobuto MURATA
I will backport the patch from upstream.

** Changed in: ibus (Ubuntu)
   Status: New = In Progress

** Changed in: ibus (Ubuntu)
 Assignee: (unassigned) = Nobuto MURATA (nobuto)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-14 Thread Launchpad Bug Tracker
** Branch linked: lp:~nobuto/ubuntu/natty/ibus/locale-parser

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-14 Thread Nobuto MURATA

** Patch added: 06_locale_parser.patch
   
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/716314/+attachment/1850637/+files/06_locale_parser.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-14 Thread Nobuto MURATA

** Patch added: debdiff-from-1.3.9-0ubuntu1.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/716314/+attachment/1850638/+files/debdiff-from-1.3.9-0ubuntu1.debdiff

** Tags added: patch-accepted-upstream

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-14 Thread Nobuto MURATA
I attached debdiff.

** Changed in: ibus (Ubuntu)
   Status: In Progress = Confirmed

** Changed in: ibus (Ubuntu)
 Assignee: Nobuto MURATA (nobuto) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-14 Thread Nobuto MURATA
This is the URL of commit to upstream master.
https://github.com/ibus/ibus/commit/661f1e860ea0d5145485a3c141c811e999f522a4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-11 Thread Nobuto MURATA
** Bug watch added: IBus bugs #1203
   http://code.google.com/p/ibus/issues/detail?id=1203

** Also affects: ibus via
   http://code.google.com/p/ibus/issues/detail?id=1203
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-11 Thread Yusuke Sato
hmm... not able to reproduce the segv issue. Furthermore, as I wrote in
http://code.google.com/p/ibus/issues/detail?id=1203#c1, I'm not sure if
the segv in gconf2 is related to the original problem (I mean, the no
ibus input method is registered after fresh install one.)

I'd be very much appreciated if you could check if the 1-line patch in
the comment #2 can fix the original problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-11 Thread Nobuto MURATA
 hmm... not able to reproduce the segv issue. Furthermore, as I wrote
in http://code.google.com/p/ibus/issues/detail?id=1203#c1, I'm not sure
if the segv in gconf2 is related to the original problem (I mean, the
no ibus input method is registered after fresh install one.)

OK. I will file segmentation fault issue as a separate bug. Sorry for
bothering.

 I'd be very much appreciated if you could check if the 1-line patch in
the comment #2 can fix the original problem.

I will try that too.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-11 Thread Nobuto MURATA
I filed as another bug.  I will change upstream bug number.

** Bug watch added: IBus bugs #1204
   http://code.google.com/p/ibus/issues/detail?id=1204

** Changed in: ibus
 Remote watch: IBus bugs #1203 = IBus bugs #1204

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-11 Thread Nobuto MURATA
I filed segmentation fault issue as Bug #717183.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-11 Thread Yusuke Sato
Thanks!
Another workaround could be to change the value of LC_ MESSAGES? I haven't 
tested it though.

While all variables except LC_MESSAGES are set to ja_JP.UTF-8,
LC_MESSAGES seems to use ja_JP.utf8. If all LC_XXX variables have the
same value, setlocale(LC_ALL, NULL); might return a simple string (which
is, in this case, ja_JP.UTF-8.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-11 Thread Nobuto MURATA
 I'd be very much appreciated if you could check if the 1-line patch in
the comment #2 can fix the original problem.

It seems not to fix this issue. I installed patched ibus, then installed
ibus-anthy. Even after ibus daemon restarted, ibus-anthy is not shown in
ibus-indicator.

Debdiff: 
https://launchpad.net/~nobuto/+archive/experimental-packages/+files/ibus_1.3.9-0ubuntu1_1.3.9-0ubuntu1ppa1.diff.gz
Packages: https://launchpad.net/~nobuto/+archive/experimental-packages/+packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-11 Thread Yusuke Sato
Please run 'gconftool-2 --unset /desktop/ibus/general/preload_engines' before 
installing the modified ibus-daemon.
ibus-daemon does nothing if the /desktop/ibus/general/preload_engines entry 
already exists.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-11 Thread Nobuto MURATA
 I'd be very much appreciated if you could check if the 1-line patch in the 
 comment #2 can fix the original problem.

It seems not to fix this issue.

I tested this in LiveCD environment for easy testing. Then failed.
But in full installed environment, your fix works fine.

I found differences between LiveCD and full-installed.
  LiveCD: segmentation fault during ibus installation and the fix does not work
`locale` output - http://paste.ubuntu.com/565941/
LANGUAGE=ja_JP.UTF-8:ja:en_GB:en

  full-installed: no segmentation fault and the fix works fine
`locale` output - http://paste.ubuntu.com/565944/
LANGUAGE=ja_JP:ja_JP.UTF-8:ja:en_GB:en

Just for your information, UTF-8 vs utf8 issue is discussed in Bug
#666565.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-11 Thread Nobuto MURATA
** Bug watch removed: IBus bugs #1203
   http://code.google.com/p/ibus/issues/detail?id=1203

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-10 Thread Nobuto MURATA
** Also affects: ubuntu-translations
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-10 Thread Nobuto MURATA
** Description changed:

  Binary package hint: ibus
  
  In a ISO test case Installation Full Network Support  CJK Input, I cannot 
input Japanese without additional steps (manually register ibus-anthy as input 
method).
  
http://testcases.qa.ubuntu.com/Install/NonEnglishLanguage#Installation%20Full%20Network%20Support%20%20CJK%20Input
  
  This bug is reproducible in both cases with ubiquity(Desktop CD) and with 
d-i(Alternate CD).
  And also reproducible not only in Japanese(ja) but also with Simplified 
Chinese(zh-hans) and Traditional Chinese(zh-hant).
  
+ This bug is regression from 10.10(Maverick). I didn't test in Natty
+ Alpha1.
+ 
  How to Reproduce:
-   1. Install Ubuntu according to the test case above.
-   2. ibus-anthy is installed(in Japanese case), but not registered in 
ibus-indicator.
+   1. Install Ubuntu according to the test case above.
+   2. ibus-anthy is installed(in Japanese case), but not registered in 
ibus-indicator.
  
  WORKAROUND:
-   1. Click ibus-indicator and select Preferences.
-   2. Open Input Method tab, select Anthy and Add button.
+   1. Click ibus-indicator and select Preferences.
+   2. Open Input Method tab, select Anthy and Add button.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: ibus 1.3.9-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-1.28-generic 2.6.38-rc2
  Uname: Linux 2.6.38-1-generic i686
  Architecture: i386
  Date: Thu Feb 10 18:05:25 2011
  InstallationMedia: Ubuntu 11.04 Natty Narwhal - Alpha i386 (20110201.2)
  ProcEnviron:
   LANGUAGE=ja_JP:ja:en_GB:en
   LANG=ja_JP.UTF-8
   LC_MESSAGES=ja_JP.utf8
   SHELL=/bin/bash
  SourcePackage: ibus

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-10 Thread Yusuke Sato
When /desktop/ibus/general/preload_engines gconf setting is not available, 
ibus-daemon calls setlocale(LC_ALL, NULL); to query a locale setting of a user, 
and then determines which input method engine should be loaded based on the 
locale setting.
https://github.com/ibus/ibus/tree/1.3.y#L354

Until Ubuntu 10.10, the setlocale function used to return a simple value
like ja_JP.UTF-8, but on 11.04 alpha 2, the function seems to return a
looong string like
LC_CTYPE=ja_JP.UTF-8;LC_NUMERIC=ja_JP.UTF-8;LC_TIME=ja_JP.UTF-8;LC_COLLATE=ja_JP.UTF-8;LC_MONETARY=ja_JP.UTF-8;LC_MESSAGES=ja_JP.utf8;LC_PAPER=ja_JP.UTF-8;LC_NAME=ja_JP.UTF-8;LC_ADDRESS=ja_JP.UTF-8;LC_TELEPHONE=ja_JP.UTF-8;LC_MEASUREMENT=ja_JP.UTF-8;LC_IDENTIFICATION=ja_JP.UTF-8
which ibus-daemon is not able to parse.

For now, changing the 'lang = g_strdup (setlocale (LC_ALL, NULL));' line
in ibus-1.3.9/bus/ibusimpl.c to 'lang = g_strdup (setlocale
(LC_MESSAGES, NULL));' should fix the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-10 Thread Yusuke Sato
The URL was incorrect. I meant to say:
https://github.com/ibus/ibus/blob/1.3.y/bus/ibusimpl.c#L354

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 716314] Re: [Natty Alpha2] no ibus input method is registered after fresh install

2011-02-10 Thread Nobuto MURATA
@Yusuke Sato
Thanks for your information.

I found Segmentation fault during ibus installation. It would be related what 
you mentioned.
-
Processing triggers for gconf2 ...
Segmentation fault
-
full output:
http://paste.ubuntu.com/565475/

Just reproducible on ibus re-installation
  $ sudo apt-get install --reinstall ibus

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716314

Title:
  [Natty Alpha2] no ibus input method is registered after fresh install

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs