Use ige-mac-bundler to package the GTK/Quartz version of Inkscape for OSX

Bug #738947 reported by Gellule on 2011-03-20
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Discussion on the use of ige-mac-bundler is here.

See bug #738973 “Issues with inkscape-quartz blueprint” for issues with packaged with ige-mac-bundler based on the blueprint instructions and the patch provided here.

Gellule (gellule-xg) wrote :

This patch, adds into packging/macosx two files:
Inkscape.bundle, to be called by ige-mac-integration to generate
Info.plist, needed by the operation above, different from Info.plist found in packaging/macosx/Resources

You can get ige-mac-bundle from MacPorts
You need a custom version, as described there:

su_v (suv-lp) on 2011-03-20
tags: added: osx packaging
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
Gellule (gellule-xg) wrote :

As of now, if you follow, you should be fine.

su_v (suv-lp) wrote :

> Discussion on the use of ige-mac-bundler is here.

- Could you give some details _why_ changing to ige-mac-bundle would be better than the current solution? The blueprint also gives no reasons, only instructions. It will require to completely rebuild (or create a new) MacPorts tree - to build all dependencies with "-Xlinker -headerpad_max_install_names"). A custom MacPorts installation is already needed for the current packaging script *if* one wants to avoid using DYLD_LIBRARY_PATH. I'd be interested in some rationale and advantages of ige-mac-bundler before starting to build yet another MacPorts tree to figure out myself (I have no real need for yet another set of the full boost libraries ;) Luckily building 'atlas' can be turned off as global variant, like apache).

- How will bundling of the basic python modules work? On Leopard, numpy is not installed by Apple, nor is lxml.

- How easy will be creating Universal packages?

- Will it require Snow Leopard?

Gellule (gellule-xg) wrote :

-Why ige-mac-bundle?
The main reason for suggesting this approach is that it lowers the amount of code to be maintained under Inkscape (to the risk of increasing its dependency on others). In the longer term, jhbuild could be used instead of MacPorts. In my case, I already need a MacPorts tree. Maybe using the tools that others have developed for the very purpose of integrating GTK+ application with OS X is a valid reason. Before that, and hopefully, something good will come from the -headerpad_max_install_names discussion at MacPorts, so that the custom MacPorts step is not needed anymore.

I imagine python can be built under MacPorts and then included by ige-mac-bundler. What to include in the app can be fine tuned by ige-mac-bundler.

-Universal packages?
That I don't quite know. It looks like a build per arch might be needed. GnuCash provides packages that way, using ige-mac-bundler.

-Snow Leopard requirement?
No requirement for the ige-mac-bundler part. For ige-mac-integration, some aspects are x86_64, some are not.

By the way, I have started experimenting with the menu bar integration provided by ige-mac-integration. It looks like Inkscape does not use GtkUIManager for its menus. It seems to be an issue.

Gellule (gellule-xg) wrote :

WARNING: patch-ige-mac-bundler.diff assumes that you have macports installed in /opt/local. If not, modify Inkscape.bundle accordingly.

Gellule (gellule-xg) wrote :
su_v (suv-lp) wrote :

Please consider attached change to Info.plist:

Symptom: When using a tool that constantly updates the message in the status bar (shape tools, pen tool, select tool when transforming), the updates on-canvas are delayed until mouse movement stops (i.e. no more updates of messages to the notification area). This causes a visible lag when e.g. rotating or stretch an object, or drawing a new path with the pen (bézier) tool.

Proposed fix: Not sure if it is a proper solution (Apple describes it as "A last resort"), but after disabling coalesced updates as described in 'Technical Note TN2133' [1] the lag of redraws on-canvas described above no longer occurs (tested with r10124 on OS X 10.5.8 (i386), gtk2 @2.24.3_0+no_x11+quartz).

Please review and test.

[1] <>

su_v (suv-lp) wrote :
su_v (suv-lp) on 2011-03-25
description: updated
su_v (suv-lp) wrote :

Symptom: launching Inkscape on a system without having launchd automatically set $DISPLAY for X11/Xquartz fails (see bug #251982):

LeWitt:bin suv$ unset DISPLAY
LeWitt:bin suv$ ./
./ line 108: test: too many arguments
Nothing to do!
LeWitt:bin suv$

Proposed workaround (if considered relevant, and until this is fixed - if ever - in Inkscape itself): add the extra argument
in the launcher script itself or in 'Resources/'.

su_v (suv-lp) wrote :

Note: above workaround may conflict with extension scripts which call inkscape themselves to query objects (see comment #10 in bug #738973).

Gellule (gellule-xg) on 2011-06-16
Changed in inkscape:
assignee: nobody → Gellule (gellule-xg)
su_v (suv-lp) wrote :

a) Recent port of AbiWord to Mac OS X has committed a patch to the MacPorts pango port [1] to optionally build pango with included modules (AFAIU it no more requires setting up 'pangorc' and 'pango.modules' with adapted paths inside the application bundle). Maybe worth while to be considered for bundling pango with Inkscape, too (for both the current X11 based bundle as well as Quartz based ones)?

b) To be investigated: for the port of AbiWord (AFAIU pure Cocoa, no GTK+) support for AppleSpell was added/fixed for enchant [2] - possibly could be useful to improve/fix Inkscape's built-in spellchecker command (bug #396322)?

[1] <>
[2] <>

su_v (suv-lp) on 2014-11-06
tags: added: gtl-osx
removed: osx
tags: added: gtk-osx
removed: gtl-osx
su_v (suv-lp) on 2017-01-12
tags: added: gtk-quartz
removed: gtk-osx
Qantas94Heavy (qantas94heavy) wrote :

Closing given native macOS Inkscape 1.0 makes this report obsolete. If there are issue with the native release, please check here to see if it has been reported: Thank you!

Closed by:

Changed in inkscape:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.