Skip to content
Snippets Groups Projects
  1. Aug 02, 2015
    • est31's avatar
      Android: fix sound issue, and gitignore · 47225346
      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.
      47225346
  2. Aug 01, 2015
    • est31's avatar
      Android: Add githash header to spare rebuilds after new commits · c39a85a8
      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.
      c39a85a8
  3. Jul 31, 2015
    • est31's avatar
      Android: speed up rebuild, and prevent race condition fail · e29b61ec
      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.
      e29b61ec
    • est31's avatar
      Fix 0.4.11 githash for android · 7217fd32
      est31 authored
      Also make only one >-redirection, sparing repetition.
      Also, use cut instead of awk, which is shorter and should be a bit faster.
      7217fd32
  4. Jul 29, 2015
    • est31's avatar
      Android: fix horrible libiconv build · eb3aac20
      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.
      eb3aac20
    • est31's avatar
      Android: Fix minor makefile bugs · f97c2702
      est31 authored
      Fix commenting happening thanks to missing quotes and dereference variable the right way,
      to get rid of a compile error.
      f97c2702
  5. Jul 27, 2015
  6. Jun 27, 2015
  7. Jun 20, 2015
  8. Jun 13, 2015
  9. Jun 11, 2015
  10. May 19, 2015
  11. May 17, 2015
  12. May 15, 2015
    • est31's avatar
      Fix libgmp for Android · 33a633a6
      est31 authored
      Android terminated immediately after start since commit
      181f7baa
      because library wasn't loaded, and libminetest.so required
      libgmp.so.10 instead of libgmp.so.
      
      The second issue has been solved by the linker flags.
      33a633a6
  13. May 11, 2015
    • est31's avatar
      Make early protocol auth mechanism generic, and add SRP · 82e35edf
      est31 authored
      Adds everything needed for SRP (and everything works too),
      but still deactivated, as protocol v25 init packets aren't final yet.
      Can be activated by changing the LATEST_PROTOCOL_VERSION header to 25
      inside networkprotocol.h.
      82e35edf
    • est31's avatar
      Add LibGMP · 181f7baa
      est31 authored
      Uses system provided libgmp if found, if not it falls back to mini-gmp.
      181f7baa
  14. May 08, 2015
  15. May 05, 2015
    • kwolekr's avatar
      Tests: Add NodeResolver unittests · b45df9d6
      kwolekr authored
      Minor misc. NodeResolver cleanups
      Prefix faux content type constants for testing with t_ to avoid
      confusion or name collisions
      b45df9d6
  16. May 04, 2015
  17. Apr 29, 2015
    • kwolekr's avatar
      Fix MSVC compatibility · 37ca3212
      kwolekr authored
      Make sure to include random unittests in android builds, too
      Use SWAP() macro
      Ensure that negative ranges are tested as well in random unittests
      37ca3212
  18. Apr 26, 2015
    • kwolekr's avatar
      Tests: Modularize unit testing · 7220ca90
      kwolekr authored
      Split unit tests into separate files under src/unittest/
      Give better unittest diagnostics
      Clean up some code
      7220ca90
  19. Apr 01, 2015
  20. Mar 29, 2015
  21. Mar 27, 2015
    • ShadowNinja's avatar
      Clean up and tweak build system · 93fcab95
      ShadowNinja authored
        * Combine client and server man pages.
        * Update unit test options and available databases in man page.
        * Add `--worldname` to man page.
        * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`.
        * Disable server build by default on all operating systems.
        * Make `ENABLE_FREETYPE` not fail if FreeType isn't found.
        * Enable LevelDB, Redis, and FreeType detection by default.
        * Remove the `VERSION_PATCH_ORIG` hack.
        * Add option to search for and use system JSONCPP.
        * Remove broken LuaJIT version detection.
        * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`.
        * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`.
        * Clean up style of CMake files.
      93fcab95
  22. Mar 23, 2015
    • est31's avatar
      Fix Android build on 32 bit · 15d9cd3a
      est31 authored
      Remove the --system=linux-x86_64 which isn't neccessary on 64 bit,
      as, when given no --system parameter, the standalone-toolchain.sh script
      figures out the platform on itself. Naturally, the hardcoded setting broke
      android building on 32 bit systems.
      15d9cd3a
  23. Mar 17, 2015
  24. Mar 16, 2015
  25. Mar 15, 2015
  26. Mar 14, 2015
  27. Mar 08, 2015
  28. Mar 05, 2015
  29. Feb 21, 2015
  30. Feb 18, 2015
Loading