- May 12, 2016
- Apr 28, 2016
-
-
ShadowNinja authored
The old Ant build system has been deprecated for a while and new development is focused on Gradle. I also removed a hardcoded string that lint caught and moved the patch files to a subdirectory. I left the JNI files in the root directory.
-
- Apr 26, 2016
-
-
MoNTE48 authored
-
- Mar 07, 2016
-
-
ShadowNinja authored
-
- Mar 05, 2016
-
-
MoNTE48 authored
* Update OpenSSL (thanks @sapier, i use his patch!), Curl and SQLite3. * Remove old arm config. Almost all phones that use ARMv5 have 1 core and 256-512 RAM, it's about 2-5 FPS. * Do -O3 optimization for libs and remove -fexpensive-optimizations for Minetest (-O3 includes this! Read gcc docs). * OpenSSL fix - thanks @sapier, again.
-
- Feb 23, 2016
-
- Feb 22, 2016
-
-
est31 authored
Newest leveldb commit breaks build. With no fix in sight, there is no other way than to fall back to the last working leveldb revision, and hardcode it. Workaround for upstream bug https://github.com/google/leveldb/issues/340
-
- Jan 23, 2016
-
-
est31 authored
-
- Jan 14, 2016
-
-
Duane Robertson authored
-
- Dec 23, 2015
-
-
sapier authored
-
est31 authored
Before, sub-makes called by make were called without make knowing they were sub-makes. This however led make's jobserver not do its tasks, and the build process ended up with inefficient parralelisation. This commit fixes this by applying the two ways the make manual tells about: putting + to the start of the line (used when ndk-build is invoked), and exchanging "make" with "$(MAKE)". Before, make complained with messages like: make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. This complaint can now only been seen for openssl. openssl has issues if make gets exchanged with $(MAKE): if exchanged, above error message is multiplied for various subdirs of the openssl source tree. On a 4 core box, "make -j 4" build time from "make clean_all" cleaned source tree could be improved from 15:34 minutes to 10:45 minutes. This means a speedup of 45%.
-
- Dec 20, 2015
-
-
ShadowNinja authored
dcb91cf0 hacked around the biggest issue this caused, but wasted a lot of CPU time and disk space It also still included a lot of other unwanted files. This removes all of `doc/` except the license, and also removes the server list.
-
- Dec 17, 2015
- Dec 11, 2015
-
- Nov 16, 2015
-
-
est31 authored
Recent irrlicht revisions break the build, hardcode the revision to a working one until upstream publishes a working version. See issue #3366 for a discussion about this. Also update dependencies to current versions.
-
- Nov 11, 2015
-
-
paramat authored
-
- Oct 24, 2015
-
-
est31 authored
Fixes #3291 Thanks to @arpruss for reporting the bug, and suggesting the fix. Also, remove trailing whitespaces.
-
- Oct 06, 2015
-
-
paramat authored
-
- Sep 08, 2015
-
-
est31 authored
Google code was shut down, project moved to github.
-
- Aug 24, 2015
-
-
ShadowNinja authored
-
ShadowNinja authored
-
ShadowNinja authored
* Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test.
-
- Aug 21, 2015
-
-
est31 authored
Before, android versionName was set to "...13", which made the f-droid build fail.
-
- Aug 20, 2015
-
-
est31 authored
-
- Aug 02, 2015
-
-
est31 authored
Previously, sound failed due to errors with hardfp abi build instructions. As the problem couldn't be found, the softfp compatible abi was chosen instead. This move will cause a small performance overhead, but due to the abi being armeabi-v7a, the internal calculations will still be done using the FPU. We also fix some issues with ABI information passing. However, the fixes aren't sufficient to get sound working. The patch also fixes an issue with the gitignore file.
-
- Aug 01, 2015
-
-
est31 authored
Before, android_version.h got changed at every new commit. Now, we only change it with new minetest releases. Analogous to how cmake does it, we add an android_version_githash.h file that communicates the git hash to C++ code. Also, unify VERS_MAJOR, VERS_MINOR and VERS_PATCH variable calculation inside the whole makefile.
-
- Jul 31, 2015
-
-
est31 authored
Speeding up rebuild: Before, we've written the android_version.h file at every rebuild. As it thought the file's content has changed, make has rebuilt files in the source tree that depended on that header file during rebuild, causing lots of files being rebuilt without there being a reason. The reasoning of make can be observed by passing -d and V=1 params to the ndk-build command. You then got logging entries like: Prerequisite `jni/src/android_version.h' is newer than target `obj/local/armeabi-v7a-hard/objs-debug/minetest/jni/src/areastore.o'. Preventing race condition build fail: Before, there was a race condition, where, if the prep_srcdir target was executed in parallel with the $(ROOT)/jni/src/android_version.h one, it could happen that the jni/src directory was nonexistent, and we were trying to write into a file inside. This resulted in a build failue: /bin/sh: 1: cannot create [...]/jni/src/android_version.h: Directory nonexistent Additionally, we now don't remove the link to src/ needlessly anymore. Keeping this wouldn't have affected the rebuild, but this way its more proper.
-
est31 authored
Also make only one >-redirection, sparing repetition. Also, use cut instead of awk, which is shorter and should be a bit faster.
-
- Jul 29, 2015
-
-
est31 authored
Before, our libiconv build was a joke. We first called configure for our own build host system, then called make, before we executed a Android.mk script we provided as patch. The first "native make" always failed, and the LIBICONV_LIB file setting in our Makefile didn't match the built one, resulting in an always-rebuild of iconv. This commit cleans up this total mess, removes the double-build, and the Android.mk, and properly calls ./configure with the according target platform, and uses a built toolchain. As we have to deal with the android bug "NDK: Support for prebuild libs with full sonames" https://code.google.com/p/android/issues/detail?id=55868 as the 2013 patch https://lists.gnu.org/archive/html/libtool-patches/2013-06/msg00002.html by Google's David Turner wasn't inside the 2011 libtool, we pass -avoid-version to libtool. Thanks to the proper build, wide_to_utf8 works for android now, removing us of the need to disable it.
-
est31 authored
Fix commenting happening thanks to missing quotes and dereference variable the right way, to get rid of a compile error.
-
- Jul 27, 2015
-
-
est31 authored
-
- Jun 27, 2015
-
-
RealBadAngel authored
-
- Jun 20, 2015
-
-
est31 authored
-
- Jun 13, 2015
-
-
est31 authored
-
- Jun 11, 2015
-
-
est31 authored
-
- May 19, 2015
-
-
kwolekr authored
-
- May 17, 2015
-
-
ShadowNinja authored
Due to compatibility concerns, this is temporarily disabled.
-