mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	Cherry-pick most commits since 15c0376
				
					
				
			Commits not directly related to network changes were cherry-picked on a best-effort basis, as some cause difficult merge conflicts. Commits skipped over:0d1eedccccaa474e450182482ecd9db214cde5b42066655aae7e088fdfe340bf1d7b5f1b2f64473e7e56637ed064ff966bae51057a56f5009149a073cf4045ff0fe357577cb249f84b76bcb019221c307880ff74b6146f77fdb7a704c04f00Commits with conflicts:038d3a31dfe9eda2b0d0708337dfc2~~ modified client.cpp manually; shadow changes to packethandlers/client.cpp36e8ba9ce2~~ modified main.cpp manually; add ALLOW_ZWRITE_ON_TRANSPARENT set3b6480c5b0~~ modified server.cpp manually; change wrapDegrees -> modulo360f5a5854ea9dc09d026f053c91ad8fc2
This commit is contained in:
		
							
								
								
									
										31
									
								
								README.txt
									
									
									
									
									
								
							
							
						
						
									
										31
									
								
								README.txt
									
									
									
									
									
								
							@@ -103,18 +103,30 @@ Compiling on GNU/Linux:
 | 
			
		||||
-----------------------
 | 
			
		||||
 | 
			
		||||
Install dependencies. Here's an example for Debian/Ubuntu:
 | 
			
		||||
$ apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev
 | 
			
		||||
$ sudo apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libjsoncpp-dev
 | 
			
		||||
 | 
			
		||||
Download source, extract (this is the URL to the latest of source repository, which might not work at all times):
 | 
			
		||||
$ wget https://github.com/minetest/minetest/tarball/master -O master.tar.gz
 | 
			
		||||
You can install git for easily keeping your copy up to date.
 | 
			
		||||
If you dont want git, read below on how to get the source without git.
 | 
			
		||||
This is an example for installing git on Debian/Ubuntu:
 | 
			
		||||
$ sudo apt-get install git-core
 | 
			
		||||
 | 
			
		||||
Download source (this is the URL to the latest of source repository, which might not work at all times) using git:
 | 
			
		||||
$ git clone --depth 1 https://github.com/minetest/minetest.git
 | 
			
		||||
$ cd minetest
 | 
			
		||||
 | 
			
		||||
Download minetest_game (otherwise only the "Minimal development test" game is available) using git:
 | 
			
		||||
$ git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game
 | 
			
		||||
 | 
			
		||||
Download source, without using git:
 | 
			
		||||
$ wget https://github.com/minetest/minetest/archive/master.tar.gz
 | 
			
		||||
$ tar xf master.tar.gz
 | 
			
		||||
$ cd minetest-minetest-286edd4 (or similar)
 | 
			
		||||
$ cd minetest-master
 | 
			
		||||
 | 
			
		||||
Download minetest_game (otherwise only the "Minimal development test" game is available)
 | 
			
		||||
Download minetest_game, without using git:
 | 
			
		||||
$ cd games/
 | 
			
		||||
$ wget https://github.com/minetest/minetest_game/tarball/master -O minetest_game.tar.gz
 | 
			
		||||
$ tar xf minetest_game.tar.gz
 | 
			
		||||
$ mv minetest-minetest_game-* minetest_game
 | 
			
		||||
$ wget https://github.com/minetest/minetest_game/archive/master.tar.gz
 | 
			
		||||
$ tar xf master.tar.gz
 | 
			
		||||
$ mv minetest_game-master minetest_game
 | 
			
		||||
$ cd ..
 | 
			
		||||
 | 
			
		||||
Build a version that runs directly from the source directory:
 | 
			
		||||
@@ -122,8 +134,7 @@ $ cmake . -DRUN_IN_PLACE=1
 | 
			
		||||
$ make -j2
 | 
			
		||||
 | 
			
		||||
Run it:
 | 
			
		||||
$ cd bin
 | 
			
		||||
$ ./minetest
 | 
			
		||||
$ ./bin/minetest
 | 
			
		||||
 | 
			
		||||
- Use cmake . -LH to see all CMake options and their current state
 | 
			
		||||
- If you want to install it system-wide (or are making a distribution package), you will want to use -DRUN_IN_PLACE=0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user