Comment 4 for bug 251982

Revision history for this message
su_v (suv-lp) wrote :

tested with 'Inkscape-0.47pre0-leopard-NATIVE-GTK-EXPERIMENTAL.dmg' from <http://sourceforge.net/projects/inkscape/files/inkscape/0.47pre0/>:

The launcher script calls 'Contents/Resoures/bin/inkscape-bin' without '--with-gui'. To test any dependency on $DISPLAY I launched inkscape from the command line like this:

| $ unset DISPLAY; /full/path/to/Inkscape-Native.app/Contents/Resources/script
| cp: /full/path/to//Inkscape-Native.app/Contents/Resources/etc/pango/pangox.aliases: No such file or directory
|
| (process:81770): Gtk-WARNING **: Locale not supported by C library.
| Using the fallback 'C' locale.
| Nothing to do!

the same error as with Inkscape 0.47 compiled with X11 dependency (from bug #498710 comment #4):

| $ unset DISPLAY; /Applications/Inkscape.app/Contents/MacOS/Inkscape
| Setting Language: .UTF-8
|
| (process:46762): Gtk-WARNING **: Locale not supported by C library.
| Using the fallback 'C' locale.
| Nothing to do!

Adding '--with-gui' as command line argument to launch the native gtk version works:

| $ unset DISPLAY; /full/path/to/Inkscape-Native.app/Contents/Resources/script --with-gui
| cp: /full/path/to//Inkscape-Native.app/Contents/Resources/etc/pango/pangox.aliases: No such file or directory
|
| (process:81929): Gtk-WARNING **: Locale not supported by C library.
| Using the fallback 'C' locale.

and the main Inkscape window launches.

This GTK+/Quartz build is not fully functional (see <http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/30473/focus=30482>) but it confirms that inkscape-bin still has a dependency on $DISPLAY. I guess this went unnoticed since the developers on osx have X11 running anyway, and since under Leopard $DISPLAY is handled by 'lauchd' it takes an extra step to launch inkscape in an environment completely without X11.