Re: [gtk-osx-users] Using localization with "Application" menu with the gtk mac integration library.




On Oct 2, 2014, at 3:37 PM, Kevin Bernhagen <kevin calxalot net> wrote:

Maybe stupid questing, but you did rebuild XBoard after rebuilding the lib, right?
The lib gets copied to the app bundle when the app is built.
You might still be using the old lib.

There’s no need to *rebuild* XBoard, but you do need to *rebundle* XBoard. In other words, you don’t need to 
run configure, make, or make install but you do need to re-run gtk-mac-bundler. (You can copy the library 
into the bundle, but it won’t be usable except on your system unless you also change the dependency rpaths 
with install_name_tool.)

Xcode users may not understand the distinction here because Xcode typically does the bundling as the last 
phase of building, so if you’re building all of the dependencies by hand and then using Xcode for your 
application it’s probably easiest to just hit “build” again. But neither Gtk-OSX nor MacPorts are 
particularly friendly to doing that.

It does raise another point about Apple localization: It doesn’t work outside of an application bundle unless 
you do some extra work so that the NSBundle calls can find the resources.

Regards,
John Ralls



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]