mingw-glib2/gtk2 question

Boszormenyi Zoltan zboszor at pr.hu
Tue Jan 31 17:23:52 UTC 2012


Hi,

2012-01-31 14:14 keltezéssel, Erik van Pienbroek írta:
> Boszormenyi Zoltan schreef op di 31-01-2012 om 11:13 [+0100]:
>> Hi,
>>
>> until recently, there were 2 versions of mingw-glib2 in the repository,
>> 2.30.1 and 2.31.x (some older point release, I don't remember
>> the exact 3rd number). The 2.31.x unstable version was not usable
>> with GTK2 2.24.3, I had constant GPFs under Windows with it. So I kept
>> downgrading to 2.30.1. Now, only glib2-2.31.12 is there and gtk2 was
>> upgraded to 2.24.9. Is this combination stable?
>>
>> Thanks,
>> Zoltán Böszörményi
> Hi,
>
> The combination glib 2.31.12 and gtk 2.24.9 should work fine. It is also
> used in the native Fedora (rawhide). Also note that some days ago a mass
> rebuild has taken place using gcc 4.7 and mingw-w64 trunk. It's likely
> that this update introduced a slight difference in behavior which makes
> old packages (compiled using an older gcc and mingw-w64 branch)
> incompatible with the rebuilt packages. So it is recommended to update
> all packages which are currently in the testing repo and test for any
> issues.
>
> If you still encounter issues with these updated packages please let me
> know.

I have recompiled my application for Windows and it starts up nicely.
We'll have to test it more to say whether there's a problem or not.

I have another question, though. Which files should be added into
the NSIS installer to make the GTK2 app display national texts in widgets?
E.g the stock buttons display the English texts, Apply, Cancel, etc.
instead of the ones in my language. I have added the whole share/locale/hu
directory and even all bin/* and share/gettext/* from mingw32-gettext.
This is not a regression from the old version. The application's main.c
contains:

  bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);

$ grep PACKAGE_LOCALE *
make.log: ... -DPACKAGE_LOCALE_DIR=\""/usr/i686-pc-mingw32/sys-root/mingw/share/locale"\" ...

Does "bindtextdomain()" have something to detect (and fix) the PATH of the
programs under Windows? Or should I do it manually?

Thanks,
Zoltán Böszörményi


>
> Kind regards,
>
> Erik van Pienbroek
>
>
> _______________________________________________
> mingw mailing list
> mingw at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/mingw



More information about the mingw mailing list