-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Import Irrlicht #13642
Import Irrlicht #13642
Conversation
Big fan of this in general. Will try out in a bit. |
@nerzhul Is this what you meant in #13215 (comment)? |
|
Huge commits can easily break Git tooling.At least one of the commits in which lots of stuff got deleted from IrrlichtMT is able to hang some GUI git clients. So a drawback of making one giant commit definitely exists. Just mentioning it in case no one has thought of that. |
The general consensus of today's meeting (https://irc.minetest.net/minetest-dev/2023-09-17#i_6114769) is that Irrilicht will eventually have to be imported. I agree with #13642 (comment) that a reproduction is needed as sanity-check prior to merge. The last version of the IrrlichtMt repo should be archived to git blame and bisect (if needed). |
to be honest it's tinier than downloading android source code. There is no issue here :) |
@numberZero can you rebase ? and we can integrate it smoothly fast to close this topic :) |
Updated to latest masters (of both Minetest and IrrlichtMt).
Described in the commit message. (forgot to mention the commands need to be executed in the irrlicht directory, not in the repository root...)
I agree with your opinion but it’s not a straightforward thing to do, the build system isn’t all that simple. Besides, that would make porting existing PRs (of which there are 5 alive apparently) much harder. So I’d leave that to a subsequent PR, or rather PRs. |
Imported commit: ea1b583 Line ends cleaned up with: find -type f | # list all regular files grep -E '\.(h|cpp|fsh|vsh|mm)|LICENSE$' | # filter for text files xargs -n 1 sed -i 's:\s*$::' # for each file, trim trailing whitespace including the CR in the lib/irrlichtmt directory
Updated to minetest/irrlicht@ea1b583. So core devs, what is your choice?
In either case, there are two ways to reformat:
The latter would take months for sure. As for me, 2-1 and 1-2 are both viable options, with 1-1 okay and 2-2 the black hole. |
I vote for 2-1. |
i'm with @sfan5 , thanks for working on this |
Any blockers to this? What still needs to be done? |
Have no idea. |
I don't know either. (The reformat PR (minetest/irrlicht#248) needs to be reapplied, I'll review then.) |
There's nothing directly blocking this. |
I'd rather not do this. If we merge them into minetest git, we can revert the removal if necessary. And it's not like they're super duper big. |
This might also help the gltf loader slightly since it shares the common dependency of Jsoncpp with Minetest. |
thought: We should preserve the source separation between Irrlicht and Minetest as long as reasonable because it's convenient to be able to build it independently during development. Irrlicht compiles in like half a minute while Minetest takes four.
Alright. |
Current state of affairs: The gltf loader just fetches |
Friendly advice: Distro packagers will curse you for doing source downloads at build-time |
Simplifying maintenance. See Add IrrlichtMT as a submodule #13215 (comment)
Includes Irrlicht as of
1.9.0mt11 (+the following commit)ea1b583
, with line ends fixed. Following commits can be applied on top of this, as in https://github.com/numberZero/minetest/pull/2.Yes, Roadmap irrlicht#107, “IrrlichtMt is meant to be copied into Minetest some day”
Everything that requires changes to both Mesebox and Irrlicht.
To do
This PR is Ready for Review.
How to test
Play Minetest on various platforms.