Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

up size and fix app deps #80

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions osx/cleanup-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ rm -rf "$PYTHON_PATH/"lib/{lib*,pkgconfig}
rm -rf "$PYTHON_PATH/"include
rm -rf "$PYTHON_PATH"/lib/pkgconfig
rm -rf "$PYTHON_PATH"/lib/{itcl*,tcl*,tdbc*,tk*,tK*,libtk*,libtcl*}

cp -rf "$APP_PATH"/Contents/Resources/yourapp/_applibs/* "$VENV_PATH"/lib/python3.*/site-packages
rm -rf "$APP_PATH"/Contents/Resources/yourapp/_applibs
Furtif marked this conversation as resolved.
Show resolved Hide resolved
4 changes: 2 additions & 2 deletions osx/create-osx-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ EXTRAS="base"
PYVER="3.9.9"
OPENSSL_VERSION="1.1.1l"
SDL_VERSION="release-2.0.20"
SDL_IMAGE_VERSION="168ceb577c245c91801c1bcaf970ef31c9b4d7ba"
SDL_MIXER_VERSION="64120a41f62310a8be9bb97116e15a95a892e39d"
SDL_IMAGE_VERSION="release-2.6.0"
SDL_MIXER_VERSION="release-2.6.1"
Furtif marked this conversation as resolved.
Show resolved Hide resolved
SDL_TTF_VERSION="release-2.0.18"
APP_NAME="Kivy"
APP_VERSION="master"
Expand Down
2 changes: 1 addition & 1 deletion osx/create-osx-dmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fi
# create the initial dmg
echo "-- Create volume"
du -sm "$work_dir/${STAGING_DIR}" | awk '{print $1}' > "$work_dir/_size"
expr "$(cat "$work_dir/_size")" + 99 > "$work_dir/_size"
expr "$(cat "$work_dir/_size")" \* 2 > "$work_dir/_size"
Furtif marked this conversation as resolved.
Show resolved Hide resolved

hdiutil create -srcfolder "$work_dir/${STAGING_DIR}" -volname "${VOL_NAME}" -fs HFS+ \
-format UDRW -size "$(cat "$work_dir/_size")M" \
Expand Down