Re: [gtk-osx-users] Bundling Failure



*****
Please remember to copy the list on all replies. You can use reply all, which is the double-left-arrow icon, 
to do so easily.
*****


On Jun 17, 2015, at 8:02 PM, kapal kardus <kapal kardus gmail com> wrote:



On Wednesday, June 17, 2015, John Ralls <jralls ceridwen us> wrote


Not without more details.

What data do you need?

In general my problem are:

When i bundle the app using gtk-mac-bundler from jhbuilder shell,,
The *.app cannot load menubar icon,


the error messages:
GdkPixbuf-WARNING **: Cannot open pixbuf loader module file 
'/Users/dananzoff/Desktop/GtkDemo.app/Contents/Resources/etc/gtk-3.0/gdk-pixbuf.loaders': No such file or 
directory


That path is obsolete. The new path is "$bundle_lib/gdk-pixbuf-2.0/2.10.0/loaders.cache”, which is set in the 
launcher script.

On Jun 17, 2015, at 8:13 PM, kapal kardus <kapal kardus gmail com> wrote:



On Wed, Jun 17, 2015 at 8:55 PM, John Ralls <jralls ceridwen us> wrote:

Not without more details.

What data do you need?

In general my problem are:

1. When i bundle the app using gtk-mac-bundler from jhbuilder shell,,
The *.app cannot load menubar icon,


the error messages:
GdkPixbuf-WARNING **: Cannot open pixbuf loader module file 
'/Users/dananzoff/Desktop/GtkDemo.app/Contents/Resources/etc/gtk-3.0/gdk-pixbuf.loaders': No such file or 
directory

See above.


 GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineCoreText'.


Pango-WARNING **: Failed to load Pango module 
'/Users/dananzoff/gtk/inst/lib/pango/1.8.0/modules/pango-basic-coretext.so' for id 
‘BasicScriptEngineCoreText'

Do you have two versions of Pango in your install tree somehow?



Gtk-WARNING **: Error loading theme icon 'document-new' for stock: Unrecognized image file format


etc..

my *.bundle code:
==============

<binary>

    ${prefix}/lib/gdk-pixbuf-2.0/${pkg:gdk-pixbuf-2.0:gdk_pixbuf_binary_version}/loaders/*.so

  </binary>



  <binary>

    ${prefix}/lib/pango/${pkg:pango:pango_module_version}/modules/

  </binary>



  <data>

    ${prefix}/lib/pango/


  </data>

<icon-theme icons="auto">

    Adwaita

  </icon-theme>

===================

2. When I call file chooser dialog, the app is crashed,
error message:

GLib-GIO-ERROR **: No GSettings schemas are installed on the system

Trace/BPT trap: 5



If that’s really all that’s in your bundle file it’s surprising it gets anywhere near that far. You at least 
need to add the GSettings schemas for your app. They normally live in $PREFIX/share/glib-2.0/schemas, so 
you’d add

<data>
  ${prefix}/share/glib-2.0/schemas
</data>

to your bundle file.

Regards,
John Ralls



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