diff options
Diffstat (limited to 'osx')
-rw-r--r-- | osx/Info.plist.in (renamed from osx/Info.plist) | 6 | ||||
-rw-r--r-- | osx/hexchat.bundle | 6 | ||||
-rwxr-xr-x | osx/launcher.sh | 8 | ||||
-rwxr-xr-x | osx/makebundle.sh | 4 |
4 files changed, 16 insertions, 8 deletions
diff --git a/osx/Info.plist b/osx/Info.plist.in index 06469a5e..2ee15897 100644 --- a/osx/Info.plist +++ b/osx/Info.plist.in @@ -7,7 +7,7 @@ <key>CFBundleExecutable</key> <string>HexChat</string> <key>CFBundleGetInfoString</key> - <string>2.9.6</string> + <string>@VERSION@</string> <key>CFBundleIconFile</key> <string>hexchat.icns</string> <key>CFBundleIdentifier</key> @@ -17,11 +17,11 @@ <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> - <string>2.9.6</string> + <string>@VERSION@</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>2.9.6</string> + <string>@VERSION@</string> <key>NSHumanReadableCopyright</key> <string></string> <key>LSMinimumSystemVersion</key> diff --git a/osx/hexchat.bundle b/osx/hexchat.bundle index 0ed14b6c..58baac57 100644 --- a/osx/hexchat.bundle +++ b/osx/hexchat.bundle @@ -15,7 +15,7 @@ <main-binary> ${prefix}/bin/hexchat </main-binary> -<!-- + <binary> ${prefix}/lib/hexchat/plugins/*.so </binary> @@ -29,7 +29,9 @@ <data> ${prefix}/lib/python2.7/ </data> ---> + <data> + ${prefix}/include/python2.7/pyconfig.h + </data> <binary> ${prefix}/lib/${gtkdir}/modules/*.so diff --git a/osx/launcher.sh b/osx/launcher.sh index 19915b4a..61fb0276 100755 --- a/osx/launcher.sh +++ b/osx/launcher.sh @@ -35,9 +35,11 @@ export GDK_PIXBUF_MODULE_FILE="$bundle_etc/gtk-2.0/gdk-pixbuf.loaders" export PANGO_LIBDIR="$bundle_lib" export PANGO_SYSCONFDIR="$bundle_etc" -#export PYTHON="$bundle_contents/MacOS/python" -#export PYTHONHOME="$bundle_res" -#export PYTHONPATH="$bundle_lib/python2.7:$bundle_lib/python2.7/site-packages" +export PYTHON="$bundle_contents/MacOS/python" +export PYTHONHOME="$bundle_res" +export PYTHONPATH="$bundle_lib/python2.7:$bundle_lib/python2.7/site-packages" + +export HEXCHAT_LIBDIR="$bundle_lib/hexchat/plugins" APP=name I18NDIR="$bundle_data/locale" diff --git a/osx/makebundle.sh b/osx/makebundle.sh index 24130aa1..3a23ee70 100755 --- a/osx/makebundle.sh +++ b/osx/makebundle.sh @@ -13,3 +13,7 @@ fi rm -rf HexChat.app $JHBUILD_PREFIX/bin/python $HOME/.local/bin/gtk-mac-bundler hexchat.bundle + +# These take up a lot of space in the bundle +echo "Cleaning up python files" +find ./HexChat.app/Contents/Resources/lib/python2.7 -name "*.pyo" -or -name "*.pyc" -delete |