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



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:

  <binary>
     ${prefix}/lib/gdk-pixbuf-2.0/*
  </binary>

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/gtkwave.app/Contents/Resources/etc/gtk-2.0/gdk-pixbuf.loaders

...am 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.

Thanks,
-Tony Bybell

------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Gtk-osx-users mailing list
Gtk-osx-users lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-osx-users


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