From 988e64e53f5c501cffdcb3b1c2be9cff34cf2dbc Mon Sep 17 00:00:00 2001 From: Youssef Adnan Date: Sat, 13 Feb 2016 23:02:38 +0200 Subject: [PATCH] It finally workd --- osx/Meld | 1 + setup_py2app.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/osx/Meld b/osx/Meld index aed4737e2..ad3d92df4 100644 --- a/osx/Meld +++ b/osx/Meld @@ -27,6 +27,7 @@ export GTK_DATA_PREFIX="$bundle_res" export GTK_EXE_PREFIX="$bundle_res" export GTK_PATH="$bundle_res" export GSETTINGS_SCHEMA_DIR="$bundle_res"/share/glib-2.0 +export GI_TYPELIB_PATH="$bundle_res"/lib/girepository-1.0 # GTK3 understands the following: #GTK_PATH diff --git a/setup_py2app.py b/setup_py2app.py index 373e3112f..a1286eeb3 100644 --- a/setup_py2app.py +++ b/setup_py2app.py @@ -69,6 +69,8 @@ app=['bin/meld'], setup_requires=["py2app"], options={'py2app': { + "packages": ["gio", "gobject", "gtk", "cairo"], + "includes": ["atk", "pango", "pangocairo"], 'argv_emulation': True, 'iconfile': 'osx/meld.icns', 'plist': PLIST,