A quartz version for OS X

Registered by Gellule on 2011-03-20

Blueprint for making Inkscape work with the Quartz backend of GTK+ and packaging it into an OS X application bundle.

Blueprint information

Status:
Not started
Approver:
Michael Wybrow
Priority:
Medium
Drafter:
Gellule
Direction:
Needs approval
Assignee:
Gellule
Definition:
Drafting
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Whiteboard

---+ Report your findings there:
<https://bugs.launchpad.net/inkscape/+bug/738973>

---+ Current working solution

Starting point is there: http://wiki.inkscape.org/wiki/index.php/CompilingMacOsX#Building_Aqua_from_scratch.2C_2010
Modifications are below:

1. Add headerpad_max_install_names LDFLAGS to MacPorts

Modify MacPorts base as follows:
In /opt/local/share/macports/Tcl/port1.0/portconfigure.tcl
Replace: default configure.ldflags {-L${prefix}/lib}
By: default configure.ldflags {"-L${prefix}/lib -Wl,-headerpad_max_install_names"}
(Re-)build MacPorts tree with dependencies, with +quartz+no_x11

2. Make sure that pango is built with +builtin_modules variant
sudo port upgrade --force pango +builtin_modules

2. Custom gtk-mac-bundler in MacPorts

!!!Warning: outdated...
Setup a local port with instructions in https://trac.macports.org/ticket/27794.

3. Get custom branch of inkscape at:

bzr branch lp:~inkscape.dev/inkscape/dev-osx

4. Build and bundle Inkscape

cd packaging/macosx
./osx-build.sh a c b i p d

Notes: I'm sure there are missing things in Inkscape.app.

---+ Related blueprint:

<https://blueprints.launchpad.net/inkscape/+spec/better-osx-integration>
<https://blueprints.launchpad.net/inkscape/+spec/mac-os-native> [With ~suv's requirements] :)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.