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

Bundle more libs #2419

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

LukeShortCloud
Copy link
Collaborator

No description provided.

This was an oversight to not include these but not XBPS packages
are used (yet).
List Fedora dependencies for the 'box64-bundle-x86-libs.sh' script.
Use Fedora 34 to find missing 32-bit packages that are compatible
with Enterprise Linux 9.
Use wildcards. This works on all versions of DNF.
as reported by various GitHub Issues.

Resolves ptitSeb#2390
@LukeShortCloud LukeShortCloud self-assigned this Mar 5, 2025
@LukeShortCloud
Copy link
Collaborator Author

The total size of x86_64 and x86 libraries combined is now 79 MiB. Still much better than 1 GiB for a complete rootfs!

@LukeShortCloud
Copy link
Collaborator Author

I haven't modified a CMake project in a long time. Seb, maybe you can help me out with that. I'd like to have a follow-up to this that'll automatically make install these libraries if the tarball box64-bundle-x86-libs.tar.gz is found.

@ptitSeb
Copy link
Owner

ptitSeb commented Mar 5, 2025

You can look at library.c line 427 for the list of library that will never be emulated: https://github.com/ptitSeb/box64/blob/main/src/librarian/library.c#L427

@LukeShortCloud
Copy link
Collaborator Author

Thanks for all of the tips here and in the related GitHub Issue. I wasn't aware of the libraries that won't be used or the "all or nothing" libraries. I'll work on an update later today.

and libraries with large dependencies. These should not be bundled.
and libraries with large dependencies.
@LukeShortCloud
Copy link
Collaborator Author

I updated the documentation with all of the tips you shared with me. I also updated the CSV database. Attached is a list of all of the library files that are currently bundled. Could you double check this to make sure there are no more problematic libraries that I'm bundling here?

box64-bundle-more-libs-2419.txt

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

Successfully merging this pull request may close these issues.

2 participants