Skip to content
New issue

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

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

Already on GitHub? # to your account

Fixes #420 - Ensure all libraries are fully deployed in AppImage. #451

Merged
merged 6 commits into from
Jul 15, 2020

Conversation

freakboy3742
Copy link
Member

@freakboy3742 freakboy3742 commented Jul 15, 2020

AppImages process all the dynamic libraries needed by an app, copying them into the AppImage, and re-writing any references to ensure that the AppImage is portable.

However, the default behavior of linuxdeploy is to only look in the /usr/lib folder. Python dynamic modules will be in the Python folder, or in the app/app_packages folder.

This modifies the call to linuxdeploy to provide the name of any other folder in the AppDir that contains a .so file, so that those files will also be marked for processing.

NOTE: This requires a very fresh version of linuxdeploy. If you've got a version of linuxdeploy from before 15 July, you'll get an error about the --deploy-deps-only option. To fix this, delete '~/.briefcase/tools/linuxdeploy-x86_64.AppImage` and re-run. #450 has been logged to provide an easier path for this.

@codecov
Copy link

codecov bot commented Jul 15, 2020

Codecov Report

Merging #451 into master will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted Files Coverage Δ
src/briefcase/commands/create.py 96.99% <ø> (-0.25%) ⬇️
src/briefcase/commands/base.py 98.17% <100.00%> (+0.22%) ⬆️
src/briefcase/integrations/linuxdeploy.py 100.00% <100.00%> (ø)
src/briefcase/platforms/linux/appimage.py 96.19% <100.00%> (-0.04%) ⬇️

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant