Bug 83448 - When I emerged app-i18n/imhangul on AMD64, it didn't work correctly.
Bug#: 83448 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: amd64@gentoo.org Reported By: jinhyung@gmail.com
Component: Applications
URL: 
Summary: When I emerged app-i18n/imhangul on AMD64, it didn't work correctly.
Keywords:  
Status Whiteboard: 
Opened: 2005-02-27 02:14 0000
Description:   Opened: 2005-02-27 02:14 0000
When I emerged app-i18n/imhangul on AMD64, it didn't work correctly.
Because current ebuild dose not create gtk.immodules in /etc/gtk-2.0/x86_64-pc-linux-gnu/ and symbolic links for "im-hangul.la" and "im-hangul.so" in /usr/lib/gtk-2.0/2.4.0/immodules.

<HowTO FIX>
# cp /etc/gtk-2.0/gtk.immodules /etc/gtk-2.0/x86_64-pc-linux-gnu/
# ln -s /usr/lib/gtk-2.0/immodules/im-hangul.la /usr/lib/gtk-2.0/2.4.0/immodules/im-hangul.la
# ln -s /usr/lib/gtk-2.0/immodules/im-hangul.so /usr/lib/gtk-2.0/2.4.0/immodules/im-hangul.so

And, I also added a ~amd64 keyword, because it works fine on several amd64 machines in korea. I think it can get an amd64 keyword, but well, i don't know whether i can add it or not.

here is a patch.
http://jenix.xecurity.net/patch/imhangul-0.9.11.ebuild.patch

Reproducible: Always
Steps to Reproduce:
1. cp /etc/gtk-2.0/gtk.immodules /etc/gtk-2.0/x86_64-pc-linux-gnu/
2. ln -s /usr/lib/gtk-2.0/immodules/im-hangul.la /usr/lib/gtk-2.0/2.4.0/immodules/im-hangul.la
3. ln -s /usr/lib/gtk-2.0/immodules/im-hangul.so /usr/lib/gtk-2.0/2.4.0/immodules/im-hangul.so


Actual Results:  
Now, imhangul works fine :)

------- Comment #1 From Park, Jin Hyung 2005-02-27 02:16:21 0000 -------
Created an attachment (id=52224) [details]
patch for amd64 installation

------- Comment #2 From Mamoru KOMACHI (RETIRED) 2005-02-27 20:59:22 0000 -------
Thanks for the bug report. I added a fix for amd64 platform similar
to what other immodules do (copying gtk.imodules file and symlinking
libraries is not an option here).  It should work on amd64, but as I 
couldn't test it I reassign the bug to amd64 herd.

amd64 team: please test imhangul-0.9.11-r1.ebuild and add ~amd64
keyword.

------- Comment #3 From razamatan@hotmail.com 2005-03-28 20:30:08 0000 -------
this breaks it for the rest of us...

------- Comment #4 From razamatan@hotmail.com 2005-03-28 20:30:42 0000 -------
x86...

------- Comment #5 From razamatan@hotmail.com 2005-03-28 20:42:57 0000 -------
you know what... scratch my last two comments.. things work fine on x86...
:embarassed:

------- Comment #6 From Simon Stelling (RETIRED) 2005-04-09 02:37:25 0000 -------
works fine, ~amd64 added