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

Strip binaries in bundles #9

Open
probonopd opened this issue Feb 11, 2017 · 4 comments
Open

Strip binaries in bundles #9

probonopd opened this issue Feb 11, 2017 · 4 comments

Comments

@probonopd
Copy link

Currently binaries generated by nix2appimage.sh are very large. This, in part, is due to the fact that they are not stripped.

@probonopd
Copy link
Author

Also, the *.a files should be removed.

@probonopd
Copy link
Author

By these two measures, I could bring down the Inkscape AppImage from 161M to 142M.

@probonopd
Copy link
Author

Same goes for *.la.

@matthewbauer
Copy link
Member

A couple of notes:

  • I'd prefer to have most of this stuff "handled in NixPkgs" - that is get the package itself to be smaller.
  • That said, there are definitely some things that are harder to get right. The .la files are fairly small and definitely not needed at all at runtime. We can definitely just delete these and maybe some other things (man pages?).

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

No branches or pull requests

2 participants