Okay so Minetest 5.9.0-dev now builds with the IrrlichtMt SDL2 device enabled now. It is experimental but has been tested for some time and should work mostly work okay on Linux. If you have any issues with it then you can build without SDL2 and with the legacy X11 device by passing -DUSE_SDL2=OFF
to CMake.
Search Criteria
Package Details: minetest-common-git 1:5.8.0.r67.g431444ba9-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/minetest-git.git (read-only, click to copy) |
---|---|
Package Base: | minetest-git |
Description: | Free and open source voxel-based game engine (common data files) (git) |
Upstream URL: | https://www.minetest.net |
Licenses: | LGPLv2.1 |
Conflicts: | minetest-common |
Provides: | minetest-common |
Submitter: | None |
Maintainer: | ROllerozxa |
Last Packager: | ROllerozxa |
Votes: | 50 |
Popularity: | 0.56 |
First Submitted: | 2011-09-27 12:43 (UTC) |
Last Updated: | 2023-12-30 20:26 (UTC) |
Dependencies (20)
- cmake (cmake-gitAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (make)
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- gmp (gmp-hgAUR) (make)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR) (make)
- hiredis (hiredis-gitAUR) (make)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR) (make)
- leveldb (leveldb-gitAUR) (make)
- libgl (nvidia-340xx-utilsAUR, libglvnd-gitAUR, amdgpu-pro-oglpAUR, amdgpu-pro-oglp-legacyAUR, libglvnd) (make)
- libjpeg (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR, libjpeg-turbo) (make)
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR) (make)
- libxi (libxi-gitAUR) (make)
- luajit (luajit-2.1-lua52-gitAUR, luajit-openrestyAUR, luajit-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- openal (openal-gitAUR) (make)
- postgresql-libs (postgresql-libs-12AUR, postgresql13-libsAUR, postgresql-libs-gitAUR) (make)
- sdl2 (sdl2-compat-gitAUR, sdl2-gitAUR) (make)
- spatialindex (make)
- sqlite (sqlite-fossilAUR) (make)
Required by (71)
- minetest-alter (requires minetest-common)
- minetest-arcade3d (requires minetest-common)
- minetest-balloonair (requires minetest-common)
- minetest-berzerkpt (requires minetest-common)
- minetest-blockbomber (requires minetest-common)
- minetest-box-world-3d (requires minetest-common)
- minetest-build-n-buy (requires minetest-common)
- minetest-builda-city (requires minetest-common)
- minetest-castrum (requires minetest-common)
- minetest-cellestial-game (requires minetest-common)
- minetest-coconut-collection (requires minetest-common)
- minetest-colour-hop (requires minetest-common)
- minetest-devtest-git (requires minetest-common)
- minetest-dreambuilder (requires minetest-common)
- minetest-driftgame (requires minetest-common)
- minetest-easytest (requires minetest-common)
- minetest-exile (requires minetest-common)
- minetest-farlands-reloaded (requires minetest-common)
- minetest-formspec-editor (requires minetest-common)
- minetest-game-cdb (requires minetest-common)
- Show 51 more...
Sources (5)
ROllerozxa commented on 2023-12-30 20:28 (UTC)
ROllerozxa commented on 2023-12-26 12:49 (UTC)
Yes, upstream defaults to the IrrlichtMt SDL2 device now. I'll update the dependency list to include SDL2.
xiota commented on 2023-12-26 10:57 (UTC)
Clean chroot.
CMake Error at lib/irrlichtmt/source/Irrlicht/CMakeLists.txt:274 (find_package):
Could not find a package configuration file provided by "SDL2" with any of
the following names:
SDL2Config.cmake
sdl2-config.cmake
andmars commented on 2023-12-15 11:59 (UTC) (edited on 2023-12-17 14:34 (UTC) by andmars)
@ROllerozxa: installs fine now, but: "minetest: error while loading shared libraries: libhiredis.so.1.1.0: cannot open shared object file: No such file or directory". So need "hiredis" as dependency with this PKGBUILD.
ROllerozxa commented on 2023-12-15 10:14 (UTC)
@andmars: Upstream merged a faulty patch. It's been fixed now.
andmars commented on 2023-12-15 09:45 (UTC)
[code]FAILED: src/CMakeFiles/minetest.dir/server/luaentity_sao.cpp.o /usr/bin/c++ -DIRRLICHT_API="" -DUSE_CMAKE_CONFIG_H -I/usr/include/leveldb -I/usr/include/hiredis -I/home/andreas/.cache/pikaur/build/minetest-git/src/minetest/build/src -I/home/andreas/.cache/pikaur/build/minetest-git/src/minetest/src -I/home/andreas/.cache/pikaur/build/minetest-git/src/minetest/src/script -I/home/andreas/.cache/pikaur/build/minetest-git/src/minetest/lib/irrlichtmt/include -I/home/andreas/.cache/pikaur/build/minetest-git/src/minetest/lib/irrlichtmt/source/Irrlicht -isystem /usr/include/luajit-2.1 -isystem /usr/include/freetype2 -isystem /usr/include/AL -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DNDEBUG -Wall -Wextra -Wno-unused-parameter -pipe -funroll-loops -O3 -fomit-frame-pointer -fno-math-errno -fno-trapping-math -fno-signed-zeros -std=gnu++17 -MD -MT src/CMakeFiles/minetest.dir/server/luaentity_sao.cpp.o -MF src/CMakeFiles/minetest.dir/server/luaentity_sao.cpp.o.d -o src/CMakeFiles/minetest.dir/server/luaentity_sao.cpp.o -c /home/andreas/.cache/pikaur/build/minetest-git/src/minetest/src/server/luaentity_sao.cpp /home/andreas/.cache/pikaur/build/minetest-git/src/minetest/src/server/luaentity_sao.cpp: In member function ‘virtual void LuaEntitySAO::step(float, bool)’: /home/andreas/.cache/pikaur/build/minetest-git/src/minetest/src/server/luaentity_sao.cpp:148:87: error: ‘PP’ was not declared in this scope 148 | warningstream << "LuaEntitySAO::step() " << m_init_name << " at: " << PP(m_last_sent_position) << ", id=" << m_id << | ^~ [262/617] Building CXX object src/CMakeFiles/minetest.dir/server/player_sao.cpp.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting... [/code]
ROllerozxa commented on 2023-12-09 13:03 (UTC) (edited on 2023-12-09 13:03 (UTC) by ROllerozxa)
I have now become the new maintainer of the minetest-git
package, taking over from the previous maintainer. I've taken the time to go over the PKGBUILD, updating and improving it. Some information for users:
- The packaged files have been reorganised, such that client-only data will be in the
minetest-git
package rather thanminetest-common-git
. The common data package now only contains what is truly common between the client and the server (i.e. builtin and docs). This shouldn't be noticeable. - To make the distinction clearer that Minetest is a game engine, Minetest Game is no longer bundled with the engine as of 5.8.0. I've made the according changes to the PKGBUILD, and when updating Minetest Game will no longer be provided by minetest-common-git.
- LevelDB and Redis has been enabled for the client. No idea why they were disabled, but since
minetest-git-leveldb
has been taken down it might as well be enabled. All database backends should now be available both for the produced client and server.
olivia-may commented on 2023-07-07 15:17 (UTC) (edited on 2023-07-07 15:18 (UTC) by olivia-may)
Thank you FabioLolix, I didn't know about that. Removing my comment
FabioLolix commented on 2023-07-07 05:24 (UTC)
The PKGBUILD should use make -j$(nproc)
No, never do that, you need to edit makepkg.conf https://wiki.archlinux.org/title/Makepkg#Improving_compile_times
Pinned Comments