Commit Graph

357 Commits

Author SHA1 Message Date
Dmitry Marakasov
ef911d8401
Fix include path order
...to avoid picking includes from system angelscript when bundled one is used

Fixes #4372
2020-09-01 17:46:16 +03:00
Benau
029af89d36 Fix mcpp library reference in CMakeLists.txt 2020-08-24 01:09:47 +08:00
Benau
dc0a5a9c66 Remove unneeded FriBidi and libraqm files 2020-08-24 00:58:07 +08:00
Benau
13db1b83c1 Add SheenBidi library for better unicode support 2020-08-24 00:53:04 +08:00
Benau
18d66db516 Update SuperTuxKart icon files 2020-08-16 14:42:17 +08:00
Panagiotis Vasilopoulos
d8709fde8f
Added support for Haiku operating system
* OpenGL and SDL2 are used
* Added Haiku platform in Irrlicht configurations
* Added support for Haiku in AngelScript
* Fixed multiple assertions
2020-06-14 22:03:37 +03:00
Benau
2eaca2091e Use SDL2 to handle window creation 2020-06-02 10:36:06 +08:00
Benau
5eb7b023b3 Add SDL2 to iOS 2020-04-21 10:11:41 +08:00
Benau
00cb6c2d48 Use SDL2 for better gamepad support and hotplug 2020-04-21 00:14:32 +08:00
Benau
c1a28c6459 Update for new curl with IPv6 support 2020-04-14 10:56:07 +08:00
Benau
359e2ff84f Add llvm mingw for pdb generation
It uses visual studio dependencies
2020-04-11 16:25:58 +08:00
Benau
ef1d74b961 Move C and CXX flags earlier to allow libraries of STK to use sanitizer 2020-02-28 09:30:00 +08:00
Benau
68ecc980c7 Allow compiling STK with thread sanitizer 2020-02-23 01:14:41 +08:00
Benau
2cdd6cf754 Fix iOS compiler warning 2020-02-07 13:04:34 +08:00
Benau
ccc2ee1ea3 Add Xcode iOS cmake toolchain
It allows switching run target (iOS device or simulator) inside
Xcode without re-running cmake or changing dependencies files

App Icons can also be specified now
2020-02-07 13:02:07 +08:00
David Carlier
f464b95afb Build fix on *BSD.
dns resolution belongs to the libc on those systems.
2020-02-05 18:05:12 +00:00
Benau
43cf39bdef Allow getting server port with DNS txt record (stk-server-port=) 2020-02-06 00:46:38 +08:00
Benau
2ca1c5555c Allow connect to IPv4 only server with NAT64 for all platforms 2020-01-20 16:49:27 +08:00
David Carlier
a6aa0aa9eb crash reporter, getting process path in native way on FreeBSD. 2020-01-11 21:23:45 +00:00
Benau
db5d1420f9 Add mcpp from github.com/ned14/mcpp 2020-01-03 12:46:35 +08:00
Benau
16736c94bc Allow compiling wiiuse with mingw 2019-12-18 14:40:54 +08:00
Benau
88846f5d36 Add launch screen from iOS dependencies 2019-10-18 23:01:07 +08:00
Reiner Herrmann
63b23d9e65 Link against libatomic if required
On some architectures it is required to explicitely link against
libatomic to use e.g. 8 byte atomics.
Check during configuration if it compiles without libatomic. If not,
add it to target_link_libraries.

Noticed on Debian build servers: https://bugs.debian.org/934799
2019-09-15 18:26:22 +02:00
riso
0e4f875443 Clean IPV4/ipv4 to IPv4, IPV6/ipv6 to IPv6 2019-09-03 14:24:03 -05:00
Benau
02f8f6fadd Allow windows using IPV6 2019-08-21 09:19:05 +08:00
Benau
c2c5c20d92 Initial work on IPV6 game server 2019-08-19 00:05:34 +08:00
Benau
173e390755 Use openssl default after its relicensing to apache 2.0 2019-08-11 02:19:38 +08:00
Benau
0b1da5a1d0 Checking for IPV6 only before connecting to game server in iOS 2019-07-27 02:12:35 +08:00
Benau
58e69ce8df Try to fix OSX travis build 2019-07-19 17:06:07 +08:00
Benau
c6d23205bd Fix missing archive generation in xcode 2019-07-19 01:59:02 +08:00
Benau
e722d4a0e5 Update supertuxkart iOS info plist
Need to copy icons from dependencies manually
2019-07-17 14:50:49 +08:00
Benau
cf966308f6 Use GLKView to handle framebuffer directly 2019-07-15 14:21:38 +08:00
Benau
8510ebfb27 Add iOSDevice and EAGLManager 2019-07-13 13:44:03 +08:00
Benau
c7308b82b0 Add iOS flags handling in cmake 2019-07-12 14:53:55 +08:00
Benau
3350d6c106 Add server only define to osx device 2019-07-07 01:12:10 +08:00
Benau
d1e2f87cc2 Use libpng and libjpeg from homebrew 2019-07-05 16:34:40 +08:00
Benau
29d1dcd196 Remove console window in non-debug mingw build 2019-06-29 14:08:28 +08:00
Benau
c337976413 Use unicode windows build with enabling directinput support in mingw 2019-06-26 11:32:18 +08:00
Benau
43d322c634 Add libraries for emoji and complex text 2019-06-09 10:06:50 +08:00
James Le Cuirot
e1601b1ae0
CMake: Add option to use system Squish library
The system version was preferred before but it wasn't possible to
explicitly disable it, making its use automagic, which is bad for
packaging.
2019-05-13 22:52:33 +01:00
Benau
bcc3aef4c8 Add sqlite3 for ip / online id ban table 2019-05-06 00:19:58 +08:00
Deve
74c09756a8 Fixed compilation 2019-04-07 22:11:32 +02:00
Rémi Verschelde
54890a0c0d CMake: Add option to use system WiiUse (#3817)
Adapted from Fedora patch by @ignatenkobrain:
be85787d34/f/0002-Unbundle-WiiUse.patch
2019-04-07 22:10:33 +02:00
QwertyChouskie
1872ef86b4 Use Nettle for macOS build, tweaks (#3749) 2019-02-09 18:52:09 -05:00
QwertyChouskie
538911b25f Fix versioning for master branch (#3738) 2019-02-03 12:02:55 +01:00
Alayan
4e340ebe92 Update version and profile folder for the beta 2019-01-09 04:01:41 +01:00
QwertyChouskie
5031e7a47f
Fix compilation
As per https://github.com/supertuxkart/stk-code/pull/3626#issuecomment-443023563
2018-11-29 17:11:45 -08:00
Deve
2ac739bde3 Explicitly check nettle/version.h, because it's not available in older versions.
NETTLE_INCLUDE_DIRS is not empty when at least one file is found, so it didn't guarantee that verion.h exists.
2018-11-24 23:20:27 +01:00
Deve
9cf42302a6 Fixed compilation with older nettle versions 2018-09-07 00:26:18 +02:00
Benau
b4d9b43a52 Use Nettle in linux if found 2018-09-01 01:05:22 +08:00
hiker
39e218b2dc Try to fix server-only build ... now non-server build is broken :( 2018-07-23 09:28:12 +10:00
Deve
c76f48c701 Require enet >= 1.3.4.
It's needed for enet_peer_ping_interval()
2018-07-09 22:33:14 +02:00
Benau
02fea1ee43 Disable sound code in server only build and rename the flag 2018-07-07 09:48:43 +08:00
Benau
4099afb25f Remove image related code and library dependencies in server only build 2018-07-07 09:27:39 +08:00
Benau
a60b2d3761 Remove freetype in server only build 2018-07-07 02:06:49 +08:00
Benau
00db1f8405 Turn wii cmake flag into a dependent option 2018-07-07 01:58:19 +08:00
Benau
9c3aae554e Remove fribidi and tinygettext in server only build 2018-07-07 01:22:26 +08:00
QwertyChouskie
c4f0a71ef0 Add macOS to travis builds, fix server-only builds on macOS, msc. fixes (#3339)
* Use thread number from Travis docs
The other number is probably incorrect.
See https://github.com/travis-ci/travis-ci/issues/4696

* Add macOS to travis builds

* Remove unnecessary libraries
Not sure why these were added in the first place.
First commit that added them: 6aecb42e42

* Fix server-only build on macOS
2018-07-03 19:37:57 -04:00
Marianne Gagnon
cb8f519bd9 Change OSX build system to be homebrew-based 2018-06-05 19:56:15 -04:00
Benau
7e5263168e Add minimum required OpenSSL version 2018-06-03 14:44:53 +08:00
Benau
b43a5e4d18 Add AES encryption and validation for wan player 2018-06-02 12:28:29 +08:00
Deve
12fc3fd063 Enable gles for arm architecture on linux.
It should be more useful than opengl renderer.
2018-05-25 21:16:22 +02:00
Deve
056ee641d1 Allow to use openglrecorder with gles 2018-05-24 22:07:33 +02:00
Deve
765d4019b7 Allow to use texture compression with GLES when extension is available 2018-05-22 22:31:38 +02:00
hiker
acdba401a9
Merge pull request #3090 from qwertychouskie/simplify-version-number-change
Reduce number of places version number needs to be changed on release
2018-04-18 09:44:13 +10:00
Deve
8771c77689 Allow to use dependencies for vs and mingw without changing the names every time.
Now there are:
- dependencies-vs
- dependencies-vs-64bit
- dependencies-mingw
- dependencies-mingw64

And if it's not found, then fallback to:
- dependencies
- dependencies-64bit

So that if you use only one compiler, then you can just still use "dependencies" or "dependencies-64bit".

And I didn't restrict it to WIN32 only, because in theory it should be possible to put there openglrecorder for linux build.
2018-02-01 21:36:28 +01:00
Deve
fc15a33a39 Add an option to use system enet.
Atm. use it only on linux, because there is no need to spam with cmake warnings on other platforms.
Also fallback to built-in enet if system enet is not found.
2018-01-30 22:57:40 +01:00
Igor Gnatenko
810df68f9c Unbundle ENet
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2018-01-30 22:29:38 +01:00
Deve
1979298b06 Use pkgconfig only on linux 2018-01-28 21:39:21 +01:00
Deve
0003b39d31 Install appdata file in correct directory.
As reported on Debian:
https://lintian.debian.org/tags/appstream-metadata-in-legacy-location.html
2018-01-26 22:33:37 +01:00
Benau
59045cd064 Merge remote-tracking branch 'origin/master' 2018-01-13 15:44:57 +08:00
Deve
24772eb9d7 GLEW_ERROR_NO_GLX_DISPLAY needs glew 2.1 2018-01-13 00:41:53 +01:00
Deve
226c2bbed5
Merge branch 'master' into unbundle-glew2 2018-01-13 00:13:45 +01:00
Qwerty Chouskie
6aefa2542b Reduce number of places version number needs to be changed on release 2018-01-11 08:56:23 -08:00
Benau
26a481e478 Allow using system libsquish 2018-01-11 14:40:33 +08:00
Deve
62fe84ecc7 Fixed server-only build 2018-01-09 20:35:33 +01:00
Deve
88897cae1d Enable wayland for testing.
It's not 100% ready yet, but some testing won't hurt.

It's possible to switch between wayland/x11 using

    export IRR_DEVICE_TYPE=x11

or

    export IRR_DEVICE_TYPE=wayland

so that x11 device can be forced in wayland session.
2018-01-07 21:23:21 +01:00
Deve
92f7caf696 Fixed cygwin warning 2018-01-07 21:15:08 +01:00
Benau
7797115867 Add SP for correct normal and easier shader system 2017-12-25 14:00:10 +08:00
Rémi Verschelde
e3264d1de3 CMake: Add option to use system GLEW 2.0+
The option is enabled by default, but the system version will only be used
if found and newer than 2.0.0 (to ensure that https://sourceforge.net/p/glew/patches/40/
is fixed). When missing, we silently fallback to the vendored source code,
so there is no change for e.g. Windows compilation.
2017-11-22 11:54:38 +01:00
Deve
a67be44422 Allow to compile STKRelease build with debug symbols.
It may be useful for decoding backtraces from our linux static package.
2017-11-12 23:59:12 +01:00
Deve
08be02af8f Fixed 64-bit dependencies.
Thanks to qwertychouskie for finding it.
2017-11-05 21:54:43 +01:00
auria.mg
204e715637 Fix build 2017-10-17 20:08:15 -04:00
Deve
77161cc583 Avoid compilation errors for GLES 2017-10-17 23:34:19 +02:00
Benau
88e15147b8 Merge remote-tracking branch 'origin/win-64bit' 2017-10-17 00:55:22 +08:00
Deve
126991118d Now only irrlicht depends on x11 2017-09-27 21:45:08 +02:00
Deve
71334bac5b Move xrandr to irrlicht cmake file and also fixed indentations 2017-09-18 22:14:43 +02:00
Deve
8a3cdb4fef Don't link with useless libs.
Also remove custom script for xrandr.
2017-09-05 00:19:55 +02:00
hiker
f3d56b37df Merge branch 'master' into win-64bit 2017-08-16 17:29:57 +10:00
Deve
a89b2f5df2 Minor tweak for linux icon.
On freedesktop specs they suggest to use 48x48 icon.
2017-07-30 12:56:25 +02:00
Deve
20850c9811 Remove unused cmake option 2017-07-18 00:11:09 +02:00
Deve
1fd6a8aa86 Make sure that we are not using files from our zlib/libpng when STK is compiled with shared libraries.
It's possible that STK was using these files for compilation when cmake was run from main directory. In this case compiled files are stored in stk-code/lib, so that CMAKE_CURRENT_BINARY_DIR is stk-code/lib/irrlicht rather than stk-code/build/lib/irrlicht and we include whole lib/libpng rather than non-existing directory.
2017-07-10 21:14:28 +02:00
QwertyChouskie
76257f68c5 Avoid error when libopenglrecorder not found (#2871)
* Avoid error when libopenglrecorder not found

* Full fix
2017-06-27 19:56:53 -04:00
QwertyChouskie
a2d831c1ea Handle missing libopenglrecorder gracefully (#2867)
* Handle missing libopenglrecorder gracefully

* Tweak readme

* Change version to "git"

* fail when version !== git

* oops

gota do my research :/
2017-06-22 20:27:29 -04:00
Deve
15ce5b4ebf Fixed windows compilation 2017-06-05 21:54:44 +02:00
Deve
e02a8f4448 Allow to make single build with both x11 and wayland device 2017-05-06 21:53:32 +02:00
Deve
e27df23415 Draw mouse cursor 2017-05-04 21:06:40 +02:00
Deve
035c33f960 Merge branch 'master' into wayland 2017-04-22 21:11:10 +02:00
Benau
4de0ca83aa Move capture right before glfencesync if possible 2017-04-13 13:59:36 +08:00
Benau
b1f9ce2dbd Remove libwebm and recorder code 2017-04-12 11:51:59 +08:00