summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/Resources
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2016-12-30 23:09:39 +0000
committerMartin Owens <doctormo@gmail.com>2016-12-30 23:09:39 +0000
commit9090f27c2203e1ee3cc747e49cb5ad8db983ca1d (patch)
tree591205ad0ee11f2091d5d1fcf01c57f31b384666 /packaging/macosx/Resources
parent[Bug #1574561] Italian translation update. (diff)
downloadinkscape-9090f27c2203e1ee3cc747e49cb5ad8db983ca1d.tar.gz
inkscape-9090f27c2203e1ee3cc747e49cb5ad8db983ca1d.zip
Remove MacOSX packaging and make space for future 0.93 osx packagers.
(bzr r15377.1.1)
Diffstat (limited to 'packaging/macosx/Resources')
-rw-r--r--packaging/macosx/Resources/Inkscape-Generic.icnsbin100381 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/Inkscape.icnsbin175323 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/MenuBar.nib/classes.nib4
-rw-r--r--packaging/macosx/Resources/MenuBar.nib/info.nib23
-rw-r--r--packaging/macosx/Resources/MenuBar.nib/objects.xib73
-rw-r--r--packaging/macosx/Resources/ProgressWindow.nib/classes.nib4
-rw-r--r--packaging/macosx/Resources/ProgressWindow.nib/info.nib18
-rw-r--r--packaging/macosx/Resources/ProgressWindow.nib/objects.xib53
-rw-r--r--packaging/macosx/Resources/alert_fccache.sh26
-rw-r--r--packaging/macosx/Resources/application-gimp-gradient.icnsbin107998 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/application-illustrator-svg.icnsbin111240 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/application-illustrator.icnsbin105960 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/application-pdf.icnsbin108879 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/application-vnd.corel-draw-compressed.icnsbin109979 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/application-vnd.corel-draw-template.icnsbin109021 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/application-vnd.corel-draw.icnsbin109756 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/application-vnd.ms.xaml.icnsbin111445 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/application-vnd.wordperfect-graphic.icnsbin110434 -> 0 bytes
-rwxr-xr-xpackaging/macosx/Resources/bin/gimp-wrapper.sh95
-rwxr-xr-xpackaging/macosx/Resources/bin/inkscape174
-rw-r--r--packaging/macosx/Resources/etc/fonts/fonts.conf159
-rw-r--r--packaging/macosx/Resources/etc/gtk-2.0/gtkrc23
-rw-r--r--packaging/macosx/Resources/image-svg+xml-compressed.icnsbin109445 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/image-svg+xml.icnsbin110098 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/image-vnd.dxf.icnsbin109423 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/image-vnd.sk1.icnsbin109072 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/image-vnd.windows-metafile.icnsbin110447 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/image-x-eps.icnsbin108891 -> 0 bytes
-rw-r--r--packaging/macosx/Resources/image-x-ps.icnsbin107690 -> 0 bytes
-rwxr-xr-xpackaging/macosx/Resources/openDoc17
-rwxr-xr-xpackaging/macosx/Resources/script27
-rw-r--r--packaging/macosx/Resources/xdg_setup.sh11
32 files changed, 0 insertions, 707 deletions
diff --git a/packaging/macosx/Resources/Inkscape-Generic.icns b/packaging/macosx/Resources/Inkscape-Generic.icns
deleted file mode 100644
index 9843be9a6..000000000
--- a/packaging/macosx/Resources/Inkscape-Generic.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/Inkscape.icns b/packaging/macosx/Resources/Inkscape.icns
deleted file mode 100644
index 72c0ceddf..000000000
--- a/packaging/macosx/Resources/Inkscape.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/MenuBar.nib/classes.nib b/packaging/macosx/Resources/MenuBar.nib/classes.nib
deleted file mode 100644
index ea58db118..000000000
--- a/packaging/macosx/Resources/MenuBar.nib/classes.nib
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-IBClasses = ();
-IBVersion = 1;
-}
diff --git a/packaging/macosx/Resources/MenuBar.nib/info.nib b/packaging/macosx/Resources/MenuBar.nib/info.nib
deleted file mode 100644
index c0f4643ef..000000000
--- a/packaging/macosx/Resources/MenuBar.nib/info.nib
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>IBDocumentLocation</key>
- <string>99 362 356 240 0 0 1280 832 </string>
- <key>IBEditorPositions</key>
- <dict>
- <key>187</key>
- <string>340 374 240 44 0 0 1280 832 </string>
- </dict>
- <key>IBFramework Version</key>
- <string>349.0</string>
- <key>IBOpenObjects</key>
- <array>
- <integer>187</integer>
- </array>
- <key>IBSystem Version</key>
- <string>7F44</string>
- <key>targetFramework</key>
- <string>IBCarbonFramework</string>
-</dict>
-</plist>
diff --git a/packaging/macosx/Resources/MenuBar.nib/objects.xib b/packaging/macosx/Resources/MenuBar.nib/objects.xib
deleted file mode 100644
index 78f0a0a01..000000000
--- a/packaging/macosx/Resources/MenuBar.nib/objects.xib
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" standalone="yes"?>
-<object class="NSIBObjectData">
- <string name="targetFramework">IBCarbonFramework</string>
- <object name="rootObject" class="NSCustomObject" id="1">
- <string name="customClass">NSApplication</string>
- </object>
- <array count="4" name="allObjects">
- <object class="IBCarbonMenu" id="187">
- <string name="title">MenuBar</string>
- <array count="1" name="items">
- <object class="IBCarbonMenuItem" id="195">
- <string name="title">ScriptExec</string>
- <object name="submenu" class="IBCarbonMenu" id="193">
- <string name="title">ScriptExec</string>
- <string name="name">_NSAppleMenu</string>
- </object>
- </object>
- </array>
- <string name="name">_NSMainMenu</string>
- </object>
- <reference idRef="193"/>
- <reference idRef="195"/>
- <object class="IBCarbonMenuItem" id="204">
- <string name="title">Window</string>
- <object name="submenu" class="IBCarbonMenu">
- <string name="title">Window</string>
- <array count="5" name="items">
- <object class="IBCarbonMenuItem">
- <boolean name="dynamic">TRUE</boolean>
- <string name="title">Minimize Window</string>
- <string name="keyEquivalent">m</string>
- <ostype name="command">mini</ostype>
- </object>
- <object class="IBCarbonMenuItem">
- <boolean name="dynamic">TRUE</boolean>
- <string name="title">Minimize All Windows</string>
- <string name="keyEquivalent">m</string>
- <int name="keyEquivalentModifier">1572864</int>
- <ostype name="command">mini</ostype>
- </object>
- <object class="IBCarbonMenuItem">
- <boolean name="separator">TRUE</boolean>
- </object>
- <object class="IBCarbonMenuItem">
- <boolean name="dynamic">TRUE</boolean>
- <string name="title">Bring All to Front</string>
- <ostype name="command">frnt</ostype>
- </object>
- <object class="IBCarbonMenuItem">
- <boolean name="dynamic">TRUE</boolean>
- <string name="title">Bring in Front</string>
- <int name="keyEquivalentModifier">1572864</int>
- <ostype name="command">frnt</ostype>
- </object>
- </array>
- <string name="name">_NSWindowsMenu</string>
- </object>
- </object>
- </array>
- <array count="4" name="allParents">
- <reference idRef="1"/>
- <reference idRef="195"/>
- <reference idRef="187"/>
- <reference idRef="187"/>
- </array>
- <dictionary count="2" name="nameTable">
- <string>File&apos;s Owner</string>
- <reference idRef="1"/>
- <string>MenuBar</string>
- <reference idRef="187"/>
- </dictionary>
- <unsigned_int name="nextObjectID">206</unsigned_int>
-</object>
diff --git a/packaging/macosx/Resources/ProgressWindow.nib/classes.nib b/packaging/macosx/Resources/ProgressWindow.nib/classes.nib
deleted file mode 100644
index ea58db118..000000000
--- a/packaging/macosx/Resources/ProgressWindow.nib/classes.nib
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-IBClasses = ();
-IBVersion = 1;
-}
diff --git a/packaging/macosx/Resources/ProgressWindow.nib/info.nib b/packaging/macosx/Resources/ProgressWindow.nib/info.nib
deleted file mode 100644
index 4e5156002..000000000
--- a/packaging/macosx/Resources/ProgressWindow.nib/info.nib
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>IBDocumentLocation</key>
- <string>124 298 356 240 0 0 1280 832 </string>
- <key>IBFramework Version</key>
- <string>349.0</string>
- <key>IBOpenObjects</key>
- <array>
- <integer>180</integer>
- </array>
- <key>IBSystem Version</key>
- <string>7F44</string>
- <key>targetFramework</key>
- <string>IBCarbonFramework</string>
-</dict>
-</plist>
diff --git a/packaging/macosx/Resources/ProgressWindow.nib/objects.xib b/packaging/macosx/Resources/ProgressWindow.nib/objects.xib
deleted file mode 100644
index 6eaacc43e..000000000
--- a/packaging/macosx/Resources/ProgressWindow.nib/objects.xib
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" standalone="yes"?>
-<object class="NSIBObjectData">
- <string name="targetFramework">IBCarbonFramework</string>
- <object name="rootObject" class="NSCustomObject" id="1">
- <string name="customClass">NSApplication</string>
- </object>
- <array count="4" name="allObjects">
- <object class="IBCarbonWindow" id="180">
- <string name="windowRect">404 523 457 899 </string>
- <string name="title">Caching Fonts...</string>
- <object name="rootControl" class="IBCarbonRootControl" id="183">
- <string name="bounds">0 0 53 376 </string>
- <array count="2" name="subviews">
- <object class="IBCarbonProgressBar" id="181">
- <string name="bounds">19 17 32 270 </string>
- <boolean name="small">TRUE</boolean>
- <int name="controlSize">1</int>
- <int name="initialValue">50</int>
- </object>
- <object class="IBCarbonButton" id="185">
- <string name="bounds">16 284 34 356 </string>
- <boolean name="small">TRUE</boolean>
- <int name="controlSize">1</int>
- <string name="title">Cancel</string>
- <ostype name="command">quit</ostype>
- </object>
- </array>
- </object>
- <boolean name="hasCloseBox">FALSE</boolean>
- <boolean name="hasHorizontalZoom">FALSE</boolean>
- <boolean name="isResizable">FALSE</boolean>
- <boolean name="hasVerticalZoom">FALSE</boolean>
- <int name="themeBrush">51</int>
- <int name="windowPosition">1</int>
- </object>
- <reference idRef="181"/>
- <reference idRef="183"/>
- <reference idRef="185"/>
- </array>
- <array count="4" name="allParents">
- <reference idRef="1"/>
- <reference idRef="183"/>
- <reference idRef="180"/>
- <reference idRef="183"/>
- </array>
- <dictionary count="2" name="nameTable">
- <string>File&apos;s Owner</string>
- <reference idRef="1"/>
- <string>Window</string>
- <reference idRef="180"/>
- </dictionary>
- <unsigned_int name="nextObjectID">186</unsigned_int>
-</object>
diff --git a/packaging/macosx/Resources/alert_fccache.sh b/packaging/macosx/Resources/alert_fccache.sh
deleted file mode 100644
index e39971def..000000000
--- a/packaging/macosx/Resources/alert_fccache.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-ALERT_SCRIPT="$(cat << EOM
-try
- set parent_path to "$CWD"
- set icon_path to POSIX path of (parent_path & "/Inkscape.icns")
- set front_app to ((path to frontmost application) as text)
- tell application front_app
- display dialog "While Inkscape is open, its windows can be displayed or hidden by displaying or hiding the X11 application.
-
-The first time this version of Inkscape is run it may take several minutes before the main window is displayed while font caches are built." buttons {"OK"} default button 1 with title "Inkscape on OS X" with icon POSIX file icon_path
- activate
- end tell
-end try
-EOM)"
-
-if [ -z "$INK_CACHE_DIR" ]; then
- export INK_CACHE_DIR="${HOME}/.cache/inkscape"
- mkdir -p "$INK_CACHE_DIR"
- [ $_DEBUG ] && echo "INK_CACHE_DIR: falling back to $INK_CACHE_DIR"
-fi
-
-# Warn the user about time-consuming generation of fontconfig caches.
-if [ ! -f "${INK_CACHE_DIR}/.fccache-new" ]; then
- alert_result=$(osascript -e "$ALERT_SCRIPT")
- mkdir -p "$INK_CACHE_DIR"
- touch "${INK_CACHE_DIR}/.fccache-new"
-fi
diff --git a/packaging/macosx/Resources/application-gimp-gradient.icns b/packaging/macosx/Resources/application-gimp-gradient.icns
deleted file mode 100644
index ebd4b2a61..000000000
--- a/packaging/macosx/Resources/application-gimp-gradient.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/application-illustrator-svg.icns b/packaging/macosx/Resources/application-illustrator-svg.icns
deleted file mode 100644
index b666dccb1..000000000
--- a/packaging/macosx/Resources/application-illustrator-svg.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/application-illustrator.icns b/packaging/macosx/Resources/application-illustrator.icns
deleted file mode 100644
index c44d46582..000000000
--- a/packaging/macosx/Resources/application-illustrator.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/application-pdf.icns b/packaging/macosx/Resources/application-pdf.icns
deleted file mode 100644
index 1eb670fb0..000000000
--- a/packaging/macosx/Resources/application-pdf.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/application-vnd.corel-draw-compressed.icns b/packaging/macosx/Resources/application-vnd.corel-draw-compressed.icns
deleted file mode 100644
index ad5dad981..000000000
--- a/packaging/macosx/Resources/application-vnd.corel-draw-compressed.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/application-vnd.corel-draw-template.icns b/packaging/macosx/Resources/application-vnd.corel-draw-template.icns
deleted file mode 100644
index 475c3fc3c..000000000
--- a/packaging/macosx/Resources/application-vnd.corel-draw-template.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/application-vnd.corel-draw.icns b/packaging/macosx/Resources/application-vnd.corel-draw.icns
deleted file mode 100644
index 5907b7e9d..000000000
--- a/packaging/macosx/Resources/application-vnd.corel-draw.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/application-vnd.ms.xaml.icns b/packaging/macosx/Resources/application-vnd.ms.xaml.icns
deleted file mode 100644
index 6a44b4af2..000000000
--- a/packaging/macosx/Resources/application-vnd.ms.xaml.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/application-vnd.wordperfect-graphic.icns b/packaging/macosx/Resources/application-vnd.wordperfect-graphic.icns
deleted file mode 100644
index 9ee499309..000000000
--- a/packaging/macosx/Resources/application-vnd.wordperfect-graphic.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/bin/gimp-wrapper.sh b/packaging/macosx/Resources/bin/gimp-wrapper.sh
deleted file mode 100755
index bbb4d6c6a..000000000
--- a/packaging/macosx/Resources/bin/gimp-wrapper.sh
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/bash
-#
-# simple gimp wrapper script for Inkscape.app
-#
-
-#_DEBUG=true
-
-# --- unset environment inherited from inkscape.app
-get_env_current ()
-{
- env | awk -F= '/[a-zA-Z_][a-zA-Z_0-9]*=/ {if (!system("[ -n \"${" $1 "+y}\" ]")) print $1 }' | sort | uniq
-}
-
-if [ ! -z "$_env_orig" ]; then
- keep_env=$_env_orig
- for i in $(get_env_current); do
- if [ -z "$(printf %s "$keep_env" | grep $i)" ]; then
- unset $i
- fi
- done
-fi
-
-
-# --- defaults for GIMP.app
-
-app_id="org.gnome.gimp"
-app_exec_default="GIMP"
-
-
-# --- defaults for gimp in $PATH
-
-# path for local gimp install
-PATH_local="/opt/local/bin"
-# launch a specific gimp version? (e.g. gimp-2.9)
-gimp_name="gimp"
-
-
-# --- detect installed GIMP.app
-
-unset GIMP_APP
-
-APPLESCRIPT1="$(cat << EOM
-try
- tell application "Finder"
- set theApp to application file id "$app_id" as string
- set theApp_path to POSIX path of theApp as string
- return theApp_path
- end tell
-end try
-EOM)"
-
-GIMP_APP="$(osascript -e "$APPLESCRIPT1")"
-
-
-# --- pass command line arguments to GIMP.app or gimp or exit
-
-if [ ! -z "$GIMP_APP" ]; then
-
- app_exec="$(defaults read "${GIMP_APP}/Contents/Info.plist" CFBundleExecutable)"
- [[ $? -ne 0 ]] && app_exec="$app_exec_default"
-
- GIMP_APP_EXEC="${GIMP_APP}/Contents/MacOS/${app_exec}"
-
- [ $_DEBUG ] && echo "GIMP.app found as: $GIMP_APP" 1>&2
- [ $_DEBUG ] && echo "Command line arguments: $@" 1>&2
- if [ $# -eq 1 ]; then
- [ $_DEBUG ] && echo "open -a $GIMP_APP $@" 1>&2
- open -a "$GIMP_APP" "$@"
- else
- [ $_DEBUG ] && echo "exec $GIMP_APP_EXEC $@" 1>&2
- exec "$GIMP_APP_EXEC" "$@"
- fi
-
-else # --- test for gimp installed in PATH
-
- # remove CWD from path (we don't want to recursively call this script)
- [ $_DEBUG ] && echo "orig PATH: $PATH" 1>&2
- PATH_cleaned="$(echo $PATH | sed 's|'"$(cd "$(dirname "$0")" && pwd)"':||g')" || exit 1
- [ $_DEBUG ] && echo "clean PATH: $PATH_cleaned" 1>&2
- export PATH="$PATH_local:$PATH_cleaned"
- [ $_DEBUG ] && echo "final PATH: $PATH" 1>&2
-
- type -p "$gimp_name"
-
- if [ $? -eq 0 ]; then
- [ $_DEBUG ] && echo "gimp found in \$PATH: $PATH" 1>&2
- [ $_DEBUG ] && echo "Command line arguments: $@" 1>&2
- exec "$gimp_name" -n "$@"
- else
- echo "Giving up - couldn't find GIMP.app nor gimp." 1>&2
- fi
-
-fi
-
-# eof
diff --git a/packaging/macosx/Resources/bin/inkscape b/packaging/macosx/Resources/bin/inkscape
deleted file mode 100755
index 85c9f8eba..000000000
--- a/packaging/macosx/Resources/bin/inkscape
+++ /dev/null
@@ -1,174 +0,0 @@
-#!/bin/sh
-#
-# Author: Aaron Voisine <aaron@voisine.org>
-# Inkscape Modifications:
-# Michael Wybrow <mjwybrow@users.sourceforge.net>
-# Jean-Olivier Irisson <jo.irisson@gmail.com>
-# ~suv <suv-sf@users.sourceforge.net>
-#
-
-get_env_current ()
-{
- env | awk -F= '/[a-zA-Z_][a-zA-Z_0-9]*=/ {if (!system("[ -n \"${" $1 "+y}\" ]")) print $1 }' | sort | uniq
-}
-[ -z "$_env_orig" ] && export _env_orig="$(get_env_current)"
-
-[ -n "$INK_DEBUG_LAUNCHER" ] && set -x
-
-CMD="$(readlink $0 || echo $0)"
-CWD="$(cd "$(dirname "$CMD")" && pwd -P)"
-# e.g. /Applications/Inkscape.app/Contents/Resources/bin
-TOP="$(dirname "$CWD")"
-# e.g. /Applications/Inkscape.app/Contents/Resources
-BASE="$(echo "$TOP" | sed -e 's/\/Contents\/Resources.*$//')"
-# e.g. /Applications/Inkscape.app
-
-# FIXME: Inkscape needs better relocation support for OS X (get rid of the relative
-# path hack in src/path-prefix.h for osxapp-enabled builds). Until then, below change
-# of working directory is required:
-#
-# Due to changes after 0.48, we have to change working directory in the script named 'inkscape':
-# recursive calls to inkscape from python-based extensions otherwise cause the app to hang or
-# fail (for python-based extensions, inkscape changes the working directory to the
-# script's directory, and inkscape launched by python script thus can't find resources
-# like the now essential 'units.xml' in INKSCAPE_UIDIR relative to the working directory).
-cd "$BASE" || exit 1
-
-# don't prepend to $PATH in recursive calls:
-if [ -z "$INK_PATH_ORIG" ]; then
-
- # Brutally add many things to the PATH. If the directories do not exist, they won't be used anyway.
- # the 'classic' PATH additions:
- # /usr/local/bin which, though standard, doesn't seem to be in the PATH
- # Fink
- # MacPorts (former DarwinPorts)
- # LaTeX distribution for Mac OS X
- PATH_OTHER="/Library/TeX/texbin:/usr/texbin:/opt/local/bin:/sw/bin/:/usr/local/bin"
-
- # Put /usr/bin at beginning of path so we make sure we use Apple's python
- # over one that may be installed be Macports, Fink or some other means.
- PATH_PYTHON="/usr/bin"
-
- # Put $TOP/bin at beginning of path so we make sure that recursive calls
- # to inkscape don't pull in other inkscape binaries with different setup.
- # Also allows to override system python with custom wrapper script, and
- # e.g. to support GIMP.app or gimp for external editing and GIMP XCF export.
- PATH_pkgbin="$TOP/bin"
-
- # save orig, new PATH
- export INK_PATH_ORIG="$PATH"
- export PATH="$PATH_pkgbin:$PATH_PYTHON:$PATH_OTHER:$INK_PATH_ORIG"
-fi
-
-# Setup PYTHONPATH to use python modules shipped with Inkscape
-OSXMINORNO="$(/usr/bin/sw_vers -productVersion | cut -d. -f2)"
-build_arch=__build_arch__
-if [ $OSXMINORNO -gt "5" ]; then
- if [ $OSXMINORNO -eq "6" ]; then
- export VERSIONER_PYTHON_VERSION=2.6
- else # if [ $OSXMINORNO -ge "7" ]; then
- export VERSIONER_PYTHON_VERSION=2.7
- fi
- if [ $build_arch = "i386" ]; then
- export VERSIONER_PYTHON_PREFER_32_BIT=yes
- else # build & runtime arch x86_64
- export VERSIONER_PYTHON_PREFER_32_BIT=no
- fi
-fi
-PYTHON_VERS="$(python -V 2>&1 | cut -c 8-10)"
-export PYTHONPATH="$TOP/lib/python$PYTHON_VERS/site-packages/"
-
-export FONTCONFIG_PATH="$TOP/etc/fonts"
-export PANGO_RC_FILE="$TOP/etc/pango/pangorc"
-export PANGO_SYSCONFDIR="$TOP/etc"
-export GTK_IM_MODULE_FILE="$TOP/lib/gtk-2.0/__gtk_version__/immodules.cache"
-export GDK_PIXBUF_MODULE_FILE="$TOP/lib/gdk-pixbuf-2.0/__gtk_version__/loaders.cache"
-export GTK_DATA_PREFIX="$TOP"
-export GTK_EXE_PREFIX="$TOP"
-export GTK_PATH="$TOP"
-export GNOME_VFS_MODULE_CONFIG_PATH="$TOP/etc/gnome-vfs-2.0/modules"
-export GNOME_VFS_MODULE_PATH="$TOP/lib/gnome-vfs-2.0/modules"
-export GIO_USE_VFS="local"
-export GVFS_REMOTE_VOLUME_MONITOR_IGNORE=1
-export GVFS_DISABLE_FUSE=1
-export XDG_DATA_DIRS="$TOP/share"
-export ASPELL_CONF="prefix $TOP;"
-export POPPLER_DATADIR="$TOP/share/poppler"
-
-# no DBUS for now
-unset DBUS_LAUNCHD_SESSION_BUS_SOCKET
-unset DBUS_SESSION_BUS_ADDRESS
-
-# Note: This requires the path with the exact ImageMagic version number.
-# The actual version is inserted by the packaging script.
-export MAGICK_CONFIGURE_PATH="$TOP/lib/ImageMagick-IMAGEMAGICKVER/config:$TOP/share/ImageMagick-IMAGEMAGICKVER_MAJOR/config"
-export MAGICK_CODER_FILTER_PATH="$TOP/lib/ImageMagick-IMAGEMAGICKVER/modules-Q16/filters"
-export MAGICK_CODER_MODULE_PATH="$TOP/lib/ImageMagick-IMAGEMAGICKVER/modules-Q16/coders"
-
-export INKSCAPE_SHAREDIR="$TOP/share/inkscape"
-export INKSCAPE_PLUGINDIR="$TOP/lib/inkscape"
-export INKSCAPE_LOCALEDIR="$TOP/share/locale"
-
-# Handle the case where the directory storing Inkscape has special characters
-# ('#', '&', '|') in the name. These need to be escaped to work properly for
-# various configuration files.
-ESCAPEDTOP=`echo "$TOP" | sed 's/#/\\\\\\\\#/' | sed 's/&/\\\\\\&/g' | sed 's/|/\\\\\\|/g'`
-
-# Set GTK theme (only if there is no .gtkrc-2.0 in the user's home)
-if [[ ! -e "$HOME/.gtkrc-2.0" ]]; then
- export GTK2_RC_FILES="$ESCAPEDTOP/etc/gtk-2.0/gtkrc"
-fi
-
-# If the AppleCollationOrder preference doesn't exist, we fall back to using
-# the AppleLocale preference.
-LANGSTR=`defaults read .GlobalPreferences AppleCollationOrder 2>/dev/null`
-if [ "x$LANGSTR" == "x" -o "x$LANGSTR" == "xroot" ]
-then
- LANGSTR=`defaults read .GlobalPreferences AppleLocale 2>/dev/null | \
- sed 's/_.*//'`
- [ $_DEBUG ] && echo "Setting LANGSTR from AppleLocale: $LANGSTR" 1>&2
-else
- [ $_DEBUG ] && echo "Setting LANGSTR from AppleCollationOrder: $LANGSTR" 1>&2
-fi
-
-# NOTE: Have to add ".UTF-8" to the LANG since omitting causes Inkscape
-# to crash on startup in locale_from_utf8().
-if [ "x$LANGSTR" == "x" ]
-then
- # override broken script
- [ $_DEBUG ] && echo "Overriding empty LANGSTR" 1>&2
- export LANG="en_US.UTF-8"
-else
- tmpLANG="`grep \"\`echo $LANGSTR\`_\" /usr/share/locale/locale.alias | \
- tail -n1 | sed 's/\./ /' | awk '{print $2}'`"
- if [ "x$tmpLANG" == "x" ]
- then
- # override broken script
- [ $_DEBUG ] && echo "Overriding empty LANG from /usr/share/locale/locale.alias" 1>&2
- export LANG="en_US.UTF-8"
- else
- [ $_DEBUG ] && echo "Setting LANG from /usr/share/locale/locale.alias" 1>&2
- export LANG="$tmpLANG.UTF-8"
- fi
-fi
-[ $_DEBUG ] && echo "Setting Language: $LANG" 1>&2
-export LC_ALL="$LANG"
-
-case "$INK_DEBUG" in
- gdb)
- EXEC="gdb --args" ;;
- lldb)
- EXEC="lldb -- " ;;
- dtruss)
- EXEC="dtruss" ;;
- *)
- EXEC="exec" ;;
-esac
-unset INK_DEBUG # ignore for recursive calls
-
-if [ "x$INK_DEBUG_SHELL" != "x" ]; then
- unset INK_DEBUG_SHELL # ignore for recursive calls
- exec bash
-else
- $EXEC "$CWD/inkscape-bin" "$@"
-fi
diff --git a/packaging/macosx/Resources/etc/fonts/fonts.conf b/packaging/macosx/Resources/etc/fonts/fonts.conf
deleted file mode 100644
index 316043814..000000000
--- a/packaging/macosx/Resources/etc/fonts/fonts.conf
+++ /dev/null
@@ -1,159 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<!-- /etc/fonts/fonts.conf file to configure system font access -->
-<fontconfig>
-
-<!--
- DO NOT EDIT THIS FILE.
- IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
- LOCAL CHANGES BELONG IN 'local.conf'.
-
- The intent of this standard configuration file is to be adequate for
- most environments. If you have a reasonably normal environment and
- have found problems with this configuration, they are probably
- things that others will also want fixed. Please submit any
- problems to the fontconfig bugzilla system located at fontconfig.org
-
- Note that the normal 'make install' procedure for fontconfig is to
- replace any existing fonts.conf file with the new version. Place
- any local customizations in local.conf which this file references.
-
- Keith Packard
--->
-
-<!-- Font directory list -->
-
- <dir>/usr/share/fonts</dir>
- <dir>/usr/X11/lib/X11/fonts</dir>
- <dir>/opt/local/share/fonts</dir>
- <dir>/System/Library/Fonts</dir>
- <dir>/Network/Library/Fonts</dir>
- <dir>/Library/Fonts</dir>
- <dir>~/Library/Fonts</dir>
- <dir prefix="xdg">fonts</dir>
- <!-- the following element will be removed in the future -->
- <dir>~/.fonts</dir>
-
-<!--
- Accept deprecated 'mono' alias, replacing it with 'monospace'
--->
- <match target="pattern">
- <test qual="any" name="family">
- <string>mono</string>
- </test>
- <edit name="family" mode="assign" binding="same">
- <string>monospace</string>
- </edit>
- </match>
-
-<!--
- Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
--->
- <match target="pattern">
- <test qual="any" name="family">
- <string>sans serif</string>
- </test>
- <edit name="family" mode="assign" binding="same">
- <string>sans-serif</string>
- </edit>
- </match>
-
-<!--
- Accept deprecated 'sans' alias, replacing it with 'sans-serif'
--->
- <match target="pattern">
- <test qual="any" name="family">
- <string>sans</string>
- </test>
- <edit name="family" mode="assign" binding="same">
- <string>sans-serif</string>
- </edit>
- </match>
-
-<!--
- Load local system customization file
--->
- <include ignore_missing="yes">conf.d</include>
-
-<!-- Font cache directory list -->
-
- <cachedir prefix="xdg">fontconfig</cachedir>
- <!-- the following element will be removed in the future -->
- <cachedir>~/.fontconfig</cachedir>
-
- <config>
-<!--
- These are the default Unicode chars that are expected to be blank
- in fonts. All other blank chars are assumed to be broken and
- won't appear in the resulting charsets
- -->
- <blank>
- <int>0x0020</int> <!-- SPACE -->
- <int>0x00A0</int> <!-- NO-BREAK SPACE -->
- <int>0x00AD</int> <!-- SOFT HYPHEN -->
- <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER -->
- <int>0x0600</int> <!-- ARABIC NUMBER SIGN -->
- <int>0x0601</int> <!-- ARABIC SIGN SANAH -->
- <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER -->
- <int>0x0603</int> <!-- ARABIC SIGN SAFHA -->
- <int>0x06DD</int> <!-- ARABIC END OF AYAH -->
- <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK -->
- <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER -->
- <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER -->
- <int>0x1680</int> <!-- OGHAM SPACE MARK -->
- <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ -->
- <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA -->
- <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR -->
- <int>0x2000</int> <!-- EN QUAD -->
- <int>0x2001</int> <!-- EM QUAD -->
- <int>0x2002</int> <!-- EN SPACE -->
- <int>0x2003</int> <!-- EM SPACE -->
- <int>0x2004</int> <!-- THREE-PER-EM SPACE -->
- <int>0x2005</int> <!-- FOUR-PER-EM SPACE -->
- <int>0x2006</int> <!-- SIX-PER-EM SPACE -->
- <int>0x2007</int> <!-- FIGURE SPACE -->
- <int>0x2008</int> <!-- PUNCTUATION SPACE -->
- <int>0x2009</int> <!-- THIN SPACE -->
- <int>0x200A</int> <!-- HAIR SPACE -->
- <int>0x200B</int> <!-- ZERO WIDTH SPACE -->
- <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER -->
- <int>0x200D</int> <!-- ZERO WIDTH JOINER -->
- <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK -->
- <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK -->
- <int>0x2028</int> <!-- LINE SEPARATOR -->
- <int>0x2029</int> <!-- PARAGRAPH SEPARATOR -->
- <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING -->
- <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING -->
- <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING -->
- <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE -->
- <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE -->
- <int>0x202F</int> <!-- NARROW NO-BREAK SPACE -->
- <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE -->
- <int>0x2060</int> <!-- WORD JOINER -->
- <int>0x2061</int> <!-- FUNCTION APPLICATION -->
- <int>0x2062</int> <!-- INVISIBLE TIMES -->
- <int>0x2063</int> <!-- INVISIBLE SEPARATOR -->
- <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING -->
- <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING -->
- <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING -->
- <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING -->
- <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES -->
- <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES -->
- <int>0x2800</int> <!-- BRAILLE PATTERN BLANK -->
- <int>0x3000</int> <!-- IDEOGRAPHIC SPACE -->
- <int>0x3164</int> <!-- HANGUL FILLER -->
- <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE -->
- <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER -->
- <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR -->
- <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR -->
- <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
- </blank>
-<!--
- Rescan configuration every 30 seconds when FcFontSetList is called
- -->
- <rescan>
- <int>30</int>
- </rescan>
- </config>
-
-</fontconfig>
diff --git a/packaging/macosx/Resources/etc/gtk-2.0/gtkrc b/packaging/macosx/Resources/etc/gtk-2.0/gtkrc
deleted file mode 100644
index 46f5d2910..000000000
--- a/packaging/macosx/Resources/etc/gtk-2.0/gtkrc
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# gtkrc file for Inkscape.app (X11)
-#
-
-gtk-theme-name = "Adwaita"
-gtk-font-name = "Lucida Grande 9"
-
-gtk-icon-theme-name = "GtkStock"
-gtk-icon-sizes = "gtk-dialog=32,32:gtk-button=16,16:gtk-large-toolbar=24,24:gtk-small-toolbar=16,16:gtk-menu=16,16:inkscape-decoration=12,12"
-
-gtk-button-images = 0
-gtk-menu-images = 1
-gtk-toolbar-style = 0
-#gtk-toolbar-icon-size = 2
-
-# use OS X default PDF viewer for print preview
-gtk-print-preview-command="open -a /Applications/Preview.app %f"
-
-# fix Adwaita theme for Inkscape's GimpSpinScale widgets
-style "spinbutton" {}
-widget_class "*GimpSpinScale*" style "spinbutton"
-
-# eof
diff --git a/packaging/macosx/Resources/image-svg+xml-compressed.icns b/packaging/macosx/Resources/image-svg+xml-compressed.icns
deleted file mode 100644
index 7d242061a..000000000
--- a/packaging/macosx/Resources/image-svg+xml-compressed.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/image-svg+xml.icns b/packaging/macosx/Resources/image-svg+xml.icns
deleted file mode 100644
index 63419845a..000000000
--- a/packaging/macosx/Resources/image-svg+xml.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/image-vnd.dxf.icns b/packaging/macosx/Resources/image-vnd.dxf.icns
deleted file mode 100644
index 3b18609f7..000000000
--- a/packaging/macosx/Resources/image-vnd.dxf.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/image-vnd.sk1.icns b/packaging/macosx/Resources/image-vnd.sk1.icns
deleted file mode 100644
index 887cd1a8f..000000000
--- a/packaging/macosx/Resources/image-vnd.sk1.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/image-vnd.windows-metafile.icns b/packaging/macosx/Resources/image-vnd.windows-metafile.icns
deleted file mode 100644
index fb0bfa9c6..000000000
--- a/packaging/macosx/Resources/image-vnd.windows-metafile.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/image-x-eps.icns b/packaging/macosx/Resources/image-x-eps.icns
deleted file mode 100644
index ebb294022..000000000
--- a/packaging/macosx/Resources/image-x-eps.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/image-x-ps.icns b/packaging/macosx/Resources/image-x-ps.icns
deleted file mode 100644
index 93fcf7348..000000000
--- a/packaging/macosx/Resources/image-x-ps.icns
+++ /dev/null
Binary files differ
diff --git a/packaging/macosx/Resources/openDoc b/packaging/macosx/Resources/openDoc
deleted file mode 100755
index b2e58c114..000000000
--- a/packaging/macosx/Resources/openDoc
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-#
-# Author: Aaron Voisine <aaron@voisine.org>
-# Inkscape Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net>
-# Inkscape Modifications: ~suv <suv-sf@users.sourceforge.net>
-
-get_env_current ()
-{
- env | awk -F= '/[a-zA-Z_][a-zA-Z_0-9]*=/ {if (!system("[ -n \"${" $1 "+y}\" ]")) print $1 }' | sort | uniq
-}
-[ -z "$_env_orig" ] && export _env_orig="$(get_env_current)"
-
-CWD="$(cd "$(dirname "$0")" && pwd)"
-
-source "${CWD}/xdg_setup.sh"
-
-exec "$CWD/bin/inkscape" "$@"
diff --git a/packaging/macosx/Resources/script b/packaging/macosx/Resources/script
deleted file mode 100755
index 2bfe1d9ba..000000000
--- a/packaging/macosx/Resources/script
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-#
-# Author: Aaron Voisine <aaron@voisine.org>
-# Inkscape Modifications: Michael Wybrow <mjwybrow@users.sourceforge.net>
-# Inkscape Modifications: ~suv <suv-sf@users.sourceforge.net>
-
-#export _DEBUG=true
-
-get_env_current ()
-{
- env | awk -F= '/[a-zA-Z_][a-zA-Z_0-9]*=/ {if (!system("[ -n \"${" $1 "+y}\" ]")) print $1 }' | sort | uniq
-}
-[ -z "$_env_orig" ] && export _env_orig="$(get_env_current)"
-
-CWD="$(cd "$(dirname "$0")" && pwd)"
-
-source "${CWD}/xdg_setup.sh"
-source "${CWD}/alert_fccache.sh"
-
-# TODO examine whether it would be wisest to move the code from inkscape shell
-# script and getdisplay.sh to here and only keep the real binary in bin. This
-# may make things easier on Leopard and may also help using Inkscape on the
-# command line.
-#
-# See related FIXME in bin/inkscape for requirements to merge the two scripts.
-
-exec "$CWD/bin/inkscape" "$@"
diff --git a/packaging/macosx/Resources/xdg_setup.sh b/packaging/macosx/Resources/xdg_setup.sh
deleted file mode 100644
index f37738210..000000000
--- a/packaging/macosx/Resources/xdg_setup.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-export XDG_CACHE_HOME="${HOME}/.cache"
-export XDG_CONFIG_HOME="${HOME}/.config"
-export XDG_DATA_HOME="${HOME}/.local/share"
-
-mkdir -p "$XDG_CACHE_HOME"
-mkdir -p "$XDG_CONFIG_HOME"
-mkdir -p "$XDG_DATA_HOME"
-
-export INK_CACHE_DIR="${XDG_CACHE_HOME}/inkscape"
-mkdir -p "$INK_CACHE_DIR"
-