Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91494 - locale (*.gmo) files can't be found by gtkballs
Summary: locale (*.gmo) files can't be found by gtkballs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-04 16:08 UTC by Kir Kolyshkin
Modified: 2005-05-04 18:14 UTC (History)
0 users

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


Attachments
patch to fix localedir in configure.in and configure (gtkballs-3.1.5.po_path_fix.patch,721 bytes, patch)
2005-05-04 16:10 UTC, Kir Kolyshkin
Details | Diff
patch to ebuild adding 'epatch' to src_unpack() (gtkballs-ebuild.patch,955 bytes, patch)
2005-05-04 16:13 UTC, Kir Kolyshkin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kir Kolyshkin 2005-05-04 16:08:58 UTC
I have set up russian locale and run gtkballs, but interface is still in English. stracing the binary revealed that it looks for locale files under /usr/games/share/locale/ directory, but in fact *gmo files are installed to /usr/share/games/locale/. Further investigation shown that this is caused by a bug in gtkballs, which is triggered by the case if configure is run with --datadir other than $prefix/locale, which is exactly what Gentoo's games.eclass is doing. So, this is an upstream bug triggered by somewhat unusual (but still correct) flags to configure. I have already sent a patch fixing that to the gtkballs maintainer; still this is probably worth fixing in Gentoo as well.

So, if you want to fix the bug here in Gentoo, I will attach a patch to gtkballs' configure.in and configure, as well as a patch for gtkballs ebuild.
Comment 1 Kir Kolyshkin 2005-05-04 16:10:22 UTC
Created attachment 58082 [details, diff]
patch to fix localedir in configure.in and configure

I chose to patch configure as well in order to avoid running autoconf.
Comment 2 Kir Kolyshkin 2005-05-04 16:13:42 UTC
Created attachment 58083 [details, diff]
patch to ebuild adding 'epatch' to src_unpack()
Comment 3 SpanKY gentoo-dev 2005-05-04 18:14:09 UTC
thanks, gtkballs-3.1.5-r1 now in portage !