~suv,
the new launcher sh script is more gdb friendly, if oyu look at the top of the script.
On 1/6/13 10:10 AM, ~suv wrote:
On 06/01/2013 16:42, Victor / tokiop wrote:
Hi Valerio,
great to have a working build system and X11-independant ! It launches well here (Lion / 10.7.5).
My bad - it seems that I got fooled by an error message from gdb without giving it a second thought:
$ gdb ./bin/inkscape GNU gdb 6.3.50-20050815 (Apple version gdb-1752) (Sat Jan 28 03:02:46 UTC 2012) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"..."/private/tmp/Inkscape_MountainLion_0_48_4.app/Contents/Resources/bin/inkscape": not in executable format: File format not recognized
(gdb) q
I should of course have tested 'bin/inkscape-bin' (since the second package uses the old bundle structure), instead of blindly taking "File format not recognized" as the same issue I had with the first package.
Indeed, it does indeed launch and run on Lion 10.7.4, too… :)
Apologies again for my stupid mistake!
Didn't test it intensively, but quick feedback :
- no python "missing lxml" error while I have it on my current version
(the last mac official release I guess), great !
I get this error with regard to the lxml module (Lion 10.7.4, Xcode 4.3.2 - yes, I'm missing the latest round of updates):
The fantastic lxml wrapper for libxml2 is required by this extension.
Technical details: dlopen(/private/tmp/Inkscape_MountainLion_0_48_4.app/Contents/Resources/python/site-packages/lxml/etree.so, 2): Library not loaded: /opt/local/macports-with-a-very-looooooooooooooooooooooooooong-name/lib/libxml2.2.dylib Referenced from: /private/tmp/Inkscape_MountainLion_0_48_4.app/Contents/Resources/python/site-packages/lxml/etree.so Reason: Incompatible library version: etree.so requires version 11.0.0 or later, but libxml2.2.dylib provides version 10.0.0
which could be another reason to bundle lxml as statically linked module, as mentioned in my earlier reply...
- the "detachable tool-panes can't be re-attached (?)
The toolbars are blank when detached - AFAIU an upstream issue in GTK+/Quartz, already reported for Inkscape here:
- Bug #539759 https://bugs.launchpad.net/inkscape/+bug/539759 “Mac Aqua: Dragged-off toolbars are borderless, blank white windows."
You can simply open a new document window (or use 'View > Duplicate Window' for the current document), to have all toolbars reattached again (the detached state of the toolbars is not saved).
The dockable dialogs OTOH can be detached and reattached without issues.
On 04/01/2013 22:05, Valerio Aimale wrote:
That patch is already applied to gtk-2.0 that comes with MacPorts 2.1.2, which is
gtk2 @2.24.14_1+no_x11+quartz (active)
However, inkscape still crashes when clicking in a text field. It might be an inkscape problem. If I can run a debug version, I'll look into it.
Can't reproduce these crashes with your app bundle either: clicking in a text field and highlighting portions of text is ok, as well as adding new layers and renaming them.
I still get the known issue with various extension dialogs popping up after quitting, if having copy&pasted vector objects in the current document).
Regards, V (feeling bad about having made such a stupid mistake)