
On 2008-January-14 , at 02:28 , Adam Strzelecki wrote:
Inkscape native OSX experimental build available for testing: http://pingu.ii.uj.edu.pl/~ono/download/Inkscape-NativeOSX- svn17029.dmg
got it. unfortunately some things are not quite right: - The executable is still linked to some libraries in /opt/local. See the console messages at the end of my e-mail. - The display is really slow compared to the X11 version (particularly noticeable in the calligraphy tool for example). My guess is that it is GTK related but it can also be something on our end.
I'll submit soon my changes (patches):
- no intermediate scripts, Inkscape launched directly from binary at
Contents/MacOS
- libraries inside Contents/Frameworks
- Inkscape & libraries linked with @executable_path (no need for
DYDL_LIBRARY_PATH)
- Inkscape changes working directory to bundle path on startup (to
satisfy resources loading with relative paths)
For these changes, I would suggest to: - either create a completely new bundling script (like osx-app- native.sh) - or add and option to osx-app to do the native things In both cases, it really should not disturb current behavior. We're near release, there are very few people working on OS X (and that's great you're a new one!) so we can't afford breaking things right now.
Now please test my build & tell me what you think.
Sorry I left the build with Leopardish theme, just because your ClearLooks required startup script (and now I run the binary directly) that was doing color fetch (sync) (which anyway didn't work on Leopard)
That's strange, It works perfectly for me (not that I change colors everyday but I tested it quite a bit).
, I'll try to sort it out later, now theme is chosen with Info.plist: <key>LSEnvironment</key>
<dict> <key>GTK2_RC_FILES</key> <string>../Resources/themes/Leopardish-normal/gtk-2.0/gtkrc</string> </dict>
No problem. We'll work things out in the end to support other themes and respect the users settings in .gtkrc-2.0
Ahh & I know what was the reason of your crashes... Inkscape icons.svg file is taken from Contents/Resources/icons, but the path is hardcoded into Inkscape. When none of those icons is available at this relative path, Inkscape was crashing like that. Usually when it was NOT started to CWD set to bundle path. As I said I've made Inkscape to change its CWD to bundle path, so it should solve the problems,
Yes apparently there was a problem with some icons. Now even my build works. It suffers from the same problem your build has however. It does not give all the warnings about missing libraries but this is not suprising since it finds them on my system. Could you please test it and report if it works on yours: http://inkscape.modevia.com/macosx-snap/Inkscape-17015-i386-native_expriment... (PS: my native gtk tree is in a non-standard place so it should fail on your system is the app bundle is misconfigured)
I gonna post patches tomorrow.
Depending on how heavy the work is, I'll just ask that you have SVN access. As long as you restrict your commits to packaging/macosx there should be no problem (check your diffs! ;) ). If you plan to change other things, please ask on the list beforehand. Changes are particularly sensible right now.
Thanks again for your hard work. I don't have much free time right now but in two months or so I'll be freer and, with your help, we'll add world class support for OS X in Inkscape. I look forward to this.
Console.log: Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-WARNING **: dlopen(/opt/local/lib/gtk-2.0/2.10.0/ engines/libpixmap.so, 1): Library not loaded: /opt/local/lib/libcairo. 2.dylib Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Referenced from: /opt/local/lib/gtk-2.0/2.10.0/engines/libpixmap.so Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: Reason: Incompatible library version: libpixmap.so requires version 15.0.0 or later, but libcairo.2.dylib provides version 14.0.0 Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Pango-WARNING **: pango_shape called with bad font, expect ugly output Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Pango-WARNING **: pango_font_get_glyph_extents called with null font argument, expect ugly output Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-CRITICAL **: gtk_widget_show_all: assertion `GTK_IS_WIDGET (widget)' failed Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-CRITICAL **: gtk_box_pack_start: assertion `GTK_IS_WIDGET (child)' failed Jan 14 09:55:16 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Gtk-CRITICAL **: gtk_widget_show_all: assertion `GTK_IS_WIDGET (widget)' failed Jan 14 09:55:18 jiho-ibook [0x0-0x33033].org.inkscape.Inkscape[341]: (Inkscape:341): Pango-WARNING **: pango_cairo_font_get_scaled_font called with bad font, expect ugly output
JiHO --- http://jo.irisson.free.fr/