Skip to content

Added explicit dependencies for Arch Linux - #10386

Merged
alice-i-cecile merged 2 commits into
bevyengine:mainfrom
Saladin1812:patch-1
May 26, 2025
Merged

Added explicit dependencies for Arch Linux#10386
alice-i-cecile merged 2 commits into
bevyengine:mainfrom
Saladin1812:patch-1

Conversation

@Saladin1812

@Saladin1812 Saladin1812 commented Nov 5, 2023

Copy link
Copy Markdown
Contributor

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.
@github-actions

github-actions Bot commented Nov 5, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Member

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

@NthTensor

Copy link
Copy Markdown
Contributor

Will this dependency set work with wayland?

@Saladin1812

Copy link
Copy Markdown
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

mockersf commented Jan 15, 2024

Copy link
Copy Markdown
Member

Bevy can use wayland instead of x11

@NthTensor

Copy link
Copy Markdown
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.

@Saladin1812

Copy link
Copy Markdown
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
Copy Markdown
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
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