From: Anthony J B. <by...@us...> - 2011-11-24 07:36:45
|
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 |