Re: [gtk-osx-users] GTK_LOCALEDIR in App Bundle
- From: Joshua Pettus <jshpettus gmail com>
- To: John Ralls <jralls ceridwen us>
- Cc: gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] GTK_LOCALEDIR in App Bundle
- Date: Thu, 4 Dec 2014 11:25:18 -0500
Can’t believe I forgot again… Really sorry.
On Dec 4, 2014, at 11:18 AM, John Ralls <jralls ceridwen us> wrote:
On Dec 4, 2014, at 7:13 AM, Joshua Pettus <jshpettus gmail com> wrote:
Thanks for clearing that up! Turns out there is a “bundle” variant of gtk2 on macports that does just
that.
Please remember to CC the list on all replies. Use "reply all", the double-arrow button.
Regards,
John Ralls
Regards,
Josh
On Dec 4, 2014, at 10:07 AM, John Ralls <jralls ceridwen us> wrote:
On Dec 3, 2014, at 10:45 PM, Joshua Pettus <jshpettus gmail com> wrote:
Quick question: is there a way to set GTK_LOCALEDIR in the gtk launcher script? or can this only be set
at buildtime?
If that’s the case, then no big problem as I have a workaround, but just curious if there is a better
way.
Consequence of using macports rather then the established tools I’m sure.
No, GTK_LOCALEDIR is a C macro not an environment variable. If you build Gtk+ with
--enable-quartz-relocation (assuming you're building for quartz and not X11), GTK_LOCALEDIR is redefined
to _gtk_get_locale_dir(), which uses NSBundle lookup to find the share/locale directory.
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]