Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83448 - When I emerged app-i18n/imhangul on AMD64, it didn't work correctly.
Summary: When I emerged app-i18n/imhangul on AMD64, it didn't work correctly.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-27 02:14 UTC by Park, Jin Hyung
Modified: 2005-04-09 02:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for amd64 installation (imhangul-0.9.11.ebuild.patch,865 bytes, patch)
2005-02-27 02:16 UTC, Park, Jin Hyung
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Park, Jin Hyung 2005-02-27 02:14:43 UTC
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 Park, Jin Hyung 2005-02-27 02:16:21 UTC
Created attachment 52224 [details, diff]
patch for amd64 installation
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-27 20:59:22 UTC
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 razamatan 2005-03-28 20:30:08 UTC
this breaks it for the rest of us...
Comment 4 razamatan 2005-03-28 20:30:42 UTC
x86...
Comment 5 razamatan 2005-03-28 20:42:57 UTC
you know what... scratch my last two comments.. things work fine on x86... :embarassed:
Comment 6 Simon Stelling (RETIRED) gentoo-dev 2005-04-09 02:37:25 UTC
works fine, ~amd64 added