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

libcapsule: init at 0.20240806.0; libglcapsule: init; libGL: point to libglcapsule and make supporting changes #337995

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Pandapip1
Copy link
Contributor

@Pandapip1 Pandapip1 commented Aug 28, 2024

Description of changes

Fixes #9415

Fixes #31189

This will allow for applications that depend on libGL to be run on non-NixOS platforms. This will particularly be useful in the context of nix bundlers, such as https://github.com/ralismark/nix-appimage.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Aug 28, 2024
@NickCao
Copy link
Member

NickCao commented Aug 28, 2024

I'm a bit confused about the purpose of libglcapsule, since we already have libglvnd, which is more or less fixing the same problem.

Edited: https://people.collabora.com/~vivek/libcapsule.pdf is very informative! "Call an isolated set of libraries a capsule" do sound like a good solution.

@liarokapisv
Copy link
Contributor

Just commenting to check on the progress of this PR

@Pandapip1
Copy link
Contributor Author

Pandapip1 commented Nov 17, 2024

Just commenting to check on the progress of this PR

Progress: ??? / ???, and this isn't my top priority right now (college course load is currently higher than average). libcapsule and mkCapsule build, but I don't know if they really work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: hardware 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: clean-up 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 11-100 10.rebuild-linux: 501+ 10.rebuild-linux: 5001+
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Solve the libGL ABI problem libGL not working on non-NixOS (without setting up)
3 participants