Difference between revisions of "Notes on Packaging for OS X"

From Inkscape Wiki
Jump to navigation Jump to search
m (→‎Current Status: ML = Mountain Lion)
m (more typos *sigh*)
Line 22: Line 22:
: Leopard: requires XQuartz >= 2.5.1
: Leopard: requires XQuartz >= 2.5.1
: Lion, Mountain Lion, Mavericks: extensions don't work out-of-the-box
: Lion, Mountain Lion, Mavericks: extensions don't work out-of-the-box
: Mavericks: XQuartz conflict with mutli-monitor setups
: Mavericks: XQuartz conflict with multi-monitor setups


; Scripts & Resources in 'packaging/macosx'
; Scripts & Resources in 'packaging/macosx'
Line 39: Line 39:
: re-enable system fonts
: re-enable system fonts
: improve language detection
: improve language detection
: improve cli usage
: improve CLI usage


; Extensions
; Extensions
Line 70: Line 70:


; Status  
; Status  
: experimental, abandonded
: experimental, abandoned


; +
; +
Line 77: Line 77:
; -
; -
: extensions not working in app bundle
: extensions not working in app bundle
: theming not yet included
: themeing not yet included


; Related blueprint
; Related blueprint
Line 85: Line 85:
: [https://code.launchpad.net/~inkscape.dev/inkscape/dev-osx lp:~inkscape.dev/inkscape/dev-osx]
: [https://code.launchpad.net/~inkscape.dev/inkscape/dev-osx lp:~inkscape.dev/inkscape/dev-osx]


; Releated threads
; Related threads
: [http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/36136 Subject: Some progress on OSX/aqua, and how to go further?]
: [http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/36136 Subject: Some progress on OSX/aqua, and how to go further?]
: [http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/38933 Subject: Packaging for OSX]
: [http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/38933 Subject: Packaging for OSX]
: [http://inkscape.13.x6.nabble.com/Verbs-SPAction-versus-GtkAction-tt2806978.html Subject: Verbs+SPAction versus GtkAction]
: [http://inkscape.13.x6.nabble.com/Verbs-SPAction-versus-GtkAction-tt2806978.html Subject: Verbs+SPAction versus GtkAction]


; Releated reports
; Related reports
: [https://bugs.launchpad.net/inkscape/+bug/738973 Bug #738973: Issues with inkscape-quartz blueprint]
: [https://bugs.launchpad.net/inkscape/+bug/738973 Bug #738973: Issues with inkscape-quartz blueprint]
: [https://bugs.launchpad.net/inkscape/+bug/1042597 Bug #1042597: gtk-mac-bundler: include python modules (and runtime) for extensions]
: [https://bugs.launchpad.net/inkscape/+bug/1042597 Bug #1042597: gtk-mac-bundler: include python modules (and runtime) for extensions]
Line 107: Line 107:


; Status
; Status
: Release Candidate (RC5), abandonded
: Release Candidate (RC5), abandoned


; +
; +
: feature complete (including extensions, theming)
: feature complete (including extensions, themeing)
: extensions: includes ps2pdf and UniConvertor, uses system Python
: extensions: includes ps2pdf and UniConvertor, uses system Python
; -
; -
Line 139: Line 139:
== 2014: osxmenu <!-- https://launchpad.net/~suv-lp --> ==
== 2014: osxmenu <!-- https://launchpad.net/~suv-lp --> ==


* Based on (or cherrypicked from) Gellule's and Valerio's work
* Based on (or cherry-picked from) Gellule's and Valerio's work
* … (TODO: summary of changes)
* … (TODO: summary of changes)



Revision as of 18:23, 21 March 2014

Current Status

Available download
Inkscape.0.48.2
Requirements
XQuartz >= 2.5.1
Mac OS X >= 10.5.8 (compiled as 32bit app on Mac OS X 10.5.8)
Python 2.6 (32bit) (provided by OS X) for extensions
Known issues
clipboard conflict with XQuartz (pastes as bitmap)
language detection is faulty
missing: system fonts (fontconfig)
missing: UniConvertor support
missing: ps2pdf for Postscript input
partial: spellchecker limited to English dictionary
crash on second import from OpenClipArt in same session
crash on launch if incompatible color profiles are present (lcms1, encoding)
Known issues on specific versions of OS X
Leopard: requires XQuartz >= 2.5.1
Lion, Mountain Lion, Mavericks: extensions don't work out-of-the-box
Mavericks: XQuartz conflict with multi-monitor setups
Scripts & Resources in 'packaging/macosx'
no support for Mac OS X >= 10.6 (can't be used as is to create new packages)
written for GTK+/X11 based application
missing: DMG with precompiled python packages (was hosted on modevia)
no updates for changes in upstream packages
no updates for known bugs (extensions, locale detection, fonts)
no options to support GTK+/Quartz

Roadmap

Provide packages built with GTK+/Quartz
no requirement for X11/XQuartz
OS integration (menubar, shortcuts, dock menu, proxy icon)
re-enable system fonts
improve language detection
improve CLI usage
Extensions
use Python 2.7 (64bit) (provided by OS X)
include ps2pdf, UniConvertor
include dbus (without launchd support) (0.91)
offer packages (installer) for additional extensions and required dependencies
User data (OS X guidelines <-> XDG spec)
inkscape profile folder in "$HOME/Library/Application Support/"
caches in "$HOME/Library/Caches"

Future

Packages based on GTK3/Quartz
OS X integration based on native GTK3 features
support for HiDPI resolutions
multi-threading (OpenMP support in future version of clang)

Recent efforts

2012: Gellule Xg

  • Based on trunk (lp:inkscape r11619)
  • dependencies via MacPorts
  • ige-mac-integration for osx menubar
  • ige-mac-bundler for osx app
  • osx-build.sh updated, osx-app.sh obsolete, osx-dmg.sh new
Status
experimental, abandoned
+
simplified bundle structure
easier bundling (script is developed & maintained upstream)
-
extensions not working in app bundle
themeing not yet included
Related blueprint
A quartz version for OS X
Related branch
lp:~inkscape.dev/inkscape/dev-osx
Related threads
Subject: Some progress on OSX/aqua, and how to go further?
Subject: Packaging for OSX
Subject: Verbs+SPAction versus GtkAction
Related reports
Bug #738973: Issues with inkscape-quartz blueprint
Bug #1042597: gtk-mac-bundler: include python modules (and runtime) for extensions
Bug #1043266: gtk-mac-integration support
Bug #1043279: gtk-mac-bundler issues
Bug #1045959: add DnD, 'Open with…' support for Dock & Finder icon
Bug #1045963: add gtk-themes support

2013: Valerio Aimale

  • Based on stable (lp:inkscape/0.48.x r9943)
  • dependencies via MacPorts
  • gtk-mac-integration for osx menubar, shortcuts, callbacks
  • osx-build.sh, osx-app.sh updated
  • script-based launcher (new)
Status
Release Candidate (RC5), abandoned
+
feature complete (including extensions, themeing)
extensions: includes ps2pdf and UniConvertor, uses system Python
-
based on stable, not ported to trunk
no source code available (RC builds cannot be recreated)
gtk-mac-integration uses Quartz handlers (-> conflicts with keyboard input)
depends on patched GTK+/Quartz stack for clipboard support
no pasting of text in GUI widgets (XML Editor crashes on paste)
Related threads
Subject: Mac OS X Mountain Lion x86_64 packaging of 0.48.4
Subject: Rejuvenated build system for Mac OS X
Subject: Inkscape and Mac OSX menu integration
Subject: Patch that allows use of Meta key on Mac OS X and all platforms
Related reports
Bug #1096996 Refreshed build system for Mac OS X
Bug #1097009 Better integration with Mac OS X OS
Bug #1097539 Actiavte the use of Meta|Command|WinFlag key for Mac Menu Accelerators
RC build threads
Subject: Mac OS X Build 0.48.4 RC1
Subject: Mac OSX 0.48.4 RC2
Subject: Mac OSX 0.48.4 RC3
Subject: Mac OSX 0.48.4 RC4
Subject: Mac OS X 0.48.4 RC5

2014: osxmenu

  • Based on (or cherry-picked from) Gellule's and Valerio's work
  • … (TODO: summary of changes)
Status
experimental, wip
Related branch
lp:~suv-lp/inkscape/osxmenu