Skip to content

Conversation

SaladinAyyub
Copy link
Contributor

@SaladinAyyub SaladinAyyub commented Nov 5, 2023

As I run bevy in a apx container, the default dependencies are bare minimum.. because of which I was able to find the explicit dependencies required for bevy. 👍 the same shall also be applicable for the other distributions but I will have to figure out explicit ones for them and might open a PR for them later.

Objective

  • Have explicit dependencies listed for a bare minimum system / container

Solution

  • Running bevy in a bare minimum apx / distrobox container.

Changelog

  • Added explicit dependency instructions for Arch Linux

As I run bevy in a apx container, the default dependencies are bare minimum.. because of which I was able to find the explicit dependencies required for bevy. 👍 the same shall also be applicable for the other distributions but I will have to figure out explicit ones for them and might open a PR for them later.
Copy link
Contributor

github-actions bot commented Nov 5, 2023

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

@alice-i-cecile alice-i-cecile added C-Docs An addition or correction to our documentation O-Linux Specific to the Linux desktop operating system labels Nov 8, 2023
@alice-i-cecile
Copy link
Member

Awesome, thanks :) Yeah, minimal containers are very useful for this.

@james7132 james7132 self-requested a review November 25, 2023 20:38
@james7132
Copy link
Member

I have a similar minimal Arch box lying around somewhere, will test this soon.

@NthTensor
Copy link
Contributor

Will this dependency set work with wayland?

@SaladinAyyub
Copy link
Contributor Author

Will this dependency set work with wayland?

Yes they would ! Both godot and bevy use x11 however wayland makes use of xwayland. You will need the x dependencies regardless of you are using wayland or x11.

@mockersf
Copy link
Member

mockersf commented Jan 15, 2024

Bevy can use wayland instead of x11

@NthTensor
Copy link
Contributor

I'd prefer this either add the Wayland deps in a comment (like the NixOS example) or a note saying it won't work for builds with the Wayland feature.

Otherwise LGTM.

@SaladinAyyub
Copy link
Contributor Author

Bevy can use wayland instead of x11

https://bevy-cheatbook.github.io/platforms/linux.html#x11-and-wayland

It uses xwayland by default when running under wayland, which will require the same dependencies, however I can test adding the wayland features and specify those deps as well. @NthTensor @mockersf

@BenjaminBrienen BenjaminBrienen added D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels May 17, 2025
@BenjaminBrienen
Copy link
Contributor

This looks fine to merge unless further testing with wayland is needed.

@alice-i-cecile alice-i-cecile added this pull request to the merge queue May 26, 2025
Merged via the queue into bevyengine:main with commit af874a5 May 26, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-Docs An addition or correction to our documentation D-Trivial Nice and easy! A great choice to get started with Bevy O-Linux Specific to the Linux desktop operating system S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants