Pidgin should be localized in Spanish like it previously was, but it is in English. Reproducible: Always Steps to Reproduce: 1.emerge =pidgin-2.5.7 2. 3. Actual Results: Showed in English Expected Results: To be showed in Spanish
I can confirm this bug for German localization.
This is another bug caused by the broken Makefile.in.in file from intltool-0.40.6 (see bug #264114). Running intltoolize --force --copy --automake in src_prepare() should fix this problem.
Perhaps a simple sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in || die "sed failed" would suffice, trying right now.
Ok, I can confirm that adding that sed substitution as the last line in src_prepare() solves the problem for me.
Hmm, I have intltool-0.40.5 and still no localization. :) Glad to see the sed fix does the job. # emerge -pv intltool These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-util/intltool-0.40.5 138 kB Total: 1 package (1 reinstall), Size of downloads: 138 kB
@h.mth This bug is not about the dev-util/intltool version you've installed on your system (I have 0.40.5 too), but the one of the package that was installed on the package author's machine. 0.40.6 is known to be broken in generating po/Makefile.in.in files, so the source tarballs must be manually patched to restore locale selection (the sed substitution is a standard one, I borrowed it from another ebuild ;) ).
*** Bug 275384 has been marked as a duplicate of this bug. ***
Created attachment 195752 [details, diff] Fix + LINGUAS support Simple way: just add "unset LINGUAS" before econf (Bug 275384 https://bugs.gentoo.org/attachment.cgi?id=195746&action=view). Current attachment adding LINGUAS support to selective locales.
Created attachment 195761 [details, diff] pidgin-2.5.7.ebuild.diff The proper fix should be similar to the one done for dev-util/geany-0.17 (bug #268810). See http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/geany/geany-0.17.ebuild?r1=1.1&r2=1.2 for reference.
Created attachment 195762 [details, diff] simper pidgin-2.5.7.ebuild.diff I'd rather say that the patch is even simpler :)
;) Yes, this is better. I was think all locales installed by default. Not verify now, may be 2.5.6 only, may be no.
(In reply to comment #10) > Created an attachment (id=195762) [edit] > simper pidgin-2.5.7.ebuild.diff > > I'd rather say that the patch is even simpler :) > works for me. thx!
Appling your patch worked for me. Thanks. (In reply to comment #10) > Created an attachment (id=195762) [edit] > simper pidgin-2.5.7.ebuild.diff > > I'd rather say that the patch is even simpler :) >
I added the sed line to the ebuild, hopefully they'll use a non-buggy version next time.