Re: [gtk-osx-users] [Gtk-osx-users] ige-mac-bundler versus gdk_pixmap_create_from_xpm_d()

On Nov 23, 2011, at 11:36 PM, Anthony J Bybell wrote:

DnD works fine without crashing for my app with the latest modulesets build so I've been busy porting it to OSX.

However, I've had problems with missing pixmaps/pixbufs (no crashes), yet any stock GTK icon images for stuff work.  For my custom ones, I'm only using gdk_pixmap_create_from_xpm_d() and xg_get_pixbuf_from_pix_and_mask() on in-memory xpm images specified by a char** pointer.  Instead of just this in my app build shell script:

~/.local/bin/ige-mac-bundler gtkwave.bundle

I also need to add:


to my gtkwave.bundle which I suppose is expected based on prior postings I've seen, however I discovered I need to add the following to my shell script to post-process after ige-mac-bundler:

gdk-pixbuf-query-loaders | \
sed 's#/Users/.*loaders/#@executable_path/../Resources/lib/gdk-pixbuf-2.0/loaders/#' \
> ~/Desktop/ I missing something fundamental with ige-mac-bundler in that I have to create that .loaders file or is this what I'm supposed to be doing?  My custom images render fine once I do that extra step.

The lib/gdk-pixbuf-2.0 block is included in the example:

 The second should be done for you by gtk-mac-bundler.

Gdk-pixbuf's installation profile has changed in the last year (it was part of gtk from 2.14 or so, don't remember, to 2.22. With 2.24 it's back to being a separate package.) Perhaps your version of ige-mac-bundler is out of date?

John Ralls

All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
Gtk-osx-users mailing list
Gtk-osx-users lists sourceforge net

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