1668 Commits

Author SHA1 Message Date
Eugene Sandulenko
4428ecb349 CONFIGURE: Move saved flags to beginning of config.mk
This lets easier lookup during the development.
2020-03-16 09:22:01 +01:00
Cameron Cawley
3e94325df9 BACKENDS: Allow compiling certain backends for standard Linux platforms 2020-03-16 01:29:20 +02:00
rsn8887
eaa487fcd4 CONFIGURE: verbose linker on psp2 to prevent buildbot timeout 2020-03-14 09:42:44 -05:00
rsn8887
c944e5af25 CONFIGURE: use multiple lto jobs for psp2 to speed up linking 2020-03-14 09:27:27 -05:00
rsn8887
45112f416d CONFIGURE: use lto and gc flags on psp2 to reduce executable size 2020-03-14 00:46:46 -05:00
Cameron Cawley
d95e7504ed BUILD: Convert the NEWS.md file if pandoc is installed 2020-03-12 11:28:00 +00:00
Eugene Sandulenko
75ba54aa3e BACKENDS: Remove LinuxMoto port.
This was a relatively short-lived port. We have it broken and
disabled on the buildbot since 2016. Also, the last builds
were provided in 2011. Thus, it makes a little sense to continue
to keep the code in the repository, as it gets bitrot.
2020-03-09 14:31:14 +01:00
rsn8887
105b20ece3 CONFIGURE: Add fluidsynth support for Nintendo Switch 2020-03-06 22:19:25 -06:00
Cameron Cawley
c22d8f1678 CONFIGURE: Allow building with Tremor instead of Vorbis 2020-02-26 05:39:44 +01:00
Cameron Cawley
2bb6accb85 RISCOS: Build with SDL1 by default 2020-02-25 22:42:41 +00:00
Björn Esser
8c28a2da78 CONFIGURE: Add an environemt variable that discards the --host option
In the previous commit we modified the configure script to silently
ignore some options, that are not needed for ScummVM, but are valid
for the configure script generated by GNU Autotools, so the configure
macro for RPM-based distributions can be used when building a rpm
package for them.

Unfortunately the configure script, as used by ScummVM uses the --host
option to determine the target system it will actually be build for.
Autotools based configure scripts have a --target option for such a
purpose, and use the --host option to determine the system the build
is performed on.

For that reason there should be a way to discard the parameters passed
to the configure script with the --host option.  The easiest approach
to achieve this goal, is to have an environment variable, which when
set influences the configure script to ignore the parameters of the
--host option.

Thus we introduced a variable called 'CONFIGURE_NO_HOST', that will
when set to anything, but an empty value, before invoking the configure
script, have the parameters of the --host option take no influence on
the configure stage (and the build stage as well).
2020-02-22 09:44:53 +01:00
Björn Esser
826b7bfe73 CONFIGURE: Ignore options valid for Autotools configure
RPM-based distributions come with a configure macro, that sets up the
whole build environment.  In order to be able to use this macro, some
options, which are valid for the configure script generated by GNU
Autotools, should not error-out when preparing the build stage.
2020-02-22 09:44:53 +01:00
Zvika Haramaty
e4473c067f CONFIGURE: --help: indent subengines
Instead of showing subengines directly under their parent engine, like:
	illusions              Illusions Engine engine
	kyra                   Kyra engine
	lol                    Lands of Lore in Kyra engine
	eob                    Eye of the Beholder in Kyra engine
	lab                    Labyrinth of Time engine

Show them slightliy indented, like:
    illusions              Illusions Engine engine
	kyra                   Kyra engine
	- lol                  Lands of Lore in Kyra engine
	- eob                  Eye of the Beholder in Kyra engine
	lab                    Labyrinth of Time engine

It keeps the list sorted, and makes it easier to skim through it.
2020-02-19 23:15:23 +02:00
Zvika Haramaty
755a26ab04 CONFIGURE: fixed documentation for '--with-sdl-prefix=' flag 2020-02-19 23:15:23 +02:00
Bastien Bouclet
81aedefad0 3DS: Fix libcurl detection 2020-02-01 09:36:10 +01:00
Bastien Bouclet
d2f09a4bfc BUILD: Don't build the event recorder by default
It's been broken for a few years, see bug #10045. It's said not to work
with the keymapper which is now always enabled.
2020-01-29 08:51:29 +01:00
Bastien Bouclet
14663c4790 KEYMAPPER: Make the keymapper mandatory 2020-01-29 08:51:29 +01:00
Bastien Bouclet
4472ea46c3 BUIL: Do not check for Clang when enabling ASan
ASan is available on GCC as well.
2020-01-21 07:51:00 +01:00
Eugene Sandulenko
fa9d525b8f CONFIGURE: Added option for enabling clang Address Sanitizer 2020-01-20 18:37:23 +01:00
D G Turner
3e47e0ec50 CONFIGURE: Ensure Compiler Errors Are Saved in Temporary Debug Log
This is for debugging the current buildbot toolchain failures, but
it is a relatively innocuous change which should help debugging if
compilers are failed to be detected for various porters.
2019-12-12 02:21:48 +00:00
Bastien Bouclet
feaf9dc365 ALL: Sync with ScummVM rev. 55dba55056b842e02475d8c95fa621f431b5e3be 2019-12-08 17:06:42 +01:00
Bastien Bouclet
34e835a20c 3DS: Implement dynamic plugins
Allows a full build to run on old generation devices
2019-12-01 17:19:50 +01:00
Cameron Cawley
25f6c78825 3DS: Move -Wl,--gc-sections to avoid it interfering with the library checks 2019-11-30 14:53:48 +00:00
Thanasis Antoniou
c2b792bccf CONFIGURE: Detect SDL_net independently from SDL
Some platforms (eg. Android, iOS) use edited versions of SDL_net or SDL2_net that does not require SDL or SDL2

This should enable local server (LAN) mode for Android and probably iOS
2019-11-22 15:22:07 +02:00
Cameron Cawley
f2b9f7bb76 BACKENDS: Remove the Windows CE port 2019-11-17 22:33:56 +01:00
Lothar Serra Mari
2615c684ed BUILD: Properly disable updates if no Sparkle implementation is available 2019-11-17 22:23:04 +01:00
Lothar Serra Mari
f204867cda BUILD: Disable updates if no Sparkle implementation is available
Currently, --enable-release always enables updates even on unsupported platforms.
This additional check disables updates entirely if no proper sparkle implementation
is found.

Fixes #11217.
2019-11-17 22:23:04 +01:00
Eugene Sandulenko
3d75d40acb CONFIGURE: Detect SDL_Net with pkg-config when available 2019-11-12 23:26:22 +01:00
Eugene Sandulenko
954aeccfb7 CONFIGURE: Move pkg-config detection as early as possible 2019-11-12 23:26:22 +01:00
Thanasis Antoniou
3e9504856f ANDROID: Override UTF-8 compliant definition of vsn_printf
This sets Android as a non-standard port in configure in order to override the definition for vsn_printf

The vsn_printf implementation is taken from https://github.com/weiss/c99-snprintf
2019-11-12 20:01:43 +02:00
Bastien Bouclet
2d11974c28 3DS: Use DATA_PATH to configure support files location 2019-11-03 19:14:15 +01:00
Thanasis Antoniou
4eecfb8da9 ANDROID: Disable verification of certificates validity for cloud saving
Also added macros for the plain (non-SDL) Android port __ANDROID_PLAIN_PORT__ and ANDROID_PLAIN_PORT

The workaround of this commit uses the same logic as for the Nintendo Switch port and should suffice for testing purposes. It should be replaced by more elaborate code of installing and maintaining a certificates pem file.
2019-11-01 19:13:27 +02:00
Thanasis Antoniou
f1b0ec772c CONFIGURE: Remove include path cxx-stl for android (host_os) builds 2019-10-25 10:54:32 +02:00
Thanasis Antoniou
6694bf5823 CONFIGURE: Added some CXXFLAGS for android x86_64 2019-10-21 21:05:52 +03:00
Thanasis Antoniou
0ed4c2fb96 CONFIGURE: Comments on SDK and NDK env vars for Android 2019-10-21 15:04:34 +03:00
Christian Krause
25e448b5bd TTS: Link libpthread explicitly on Linux platform 2019-10-18 17:04:50 +02:00
Eugene Sandulenko
6ab0ce1b02 MACOS: Add default path when looking for Sparkle framework 2019-10-12 14:27:28 +02:00
sluicebox
912bbf364c TTS: Enable in Mingw-w64 builds
TTS libraries can now be used in default Mingw-w64 environments.

- Removes reference to sapiddk.h which isn't used and isn't in Mingw-w64
- Defines guids whose symbols are missing from Mingw-w64
- Restores TTS detection to configure script
2019-10-10 22:55:12 +03:00
Le Philousophe
8db65d0b6c CONFIGURE: Add portlibs paths for GameCube and Wii
Libraries provided by DevkitPPC are stored in these directories and
should be added to search paths
2019-10-09 13:33:11 +02:00
Lothar Serra Mari
a3b57a65a0 CONFIGURE: Fix formatting 2019-10-05 21:27:00 +02:00
Thanasis Antoniou
afad06b180 CONFIGURE: Add "-march=armv7-a" to linker for arm-v7a target
Based on https://developer.android.com/ndk/guides/standalone_toolchain

From "ABI Compatibility" section:
Also, make sure to provide the following two flags to the linker: -march=armv7-a -Wl,--fix-cortex-a8
2019-10-05 20:42:27 +03:00
antoniou79
8ee774fea9 CONFIGURE: Add android-mips64 in clarification for target hosts 2019-10-04 13:57:33 +03:00
antoniou79
e5a65c28b8 CONFIGURE: Add clarification of possible target android hosts 2019-10-04 13:53:52 +03:00
Jaromir Wysoglad
09b1f9d6c1 CONFIGURE: Disable TTS building on MinGW by default
TTS shouldn't be built under MinGW by default, because it causes
a warning at the end of the build. Before this it would still build
TTS on MinGW64.
2019-10-03 21:32:20 +02:00
D G Turner
16bce754d7 BUILD: Fix GCC Warning from Endianess Test Compilation
This is emitted when GCC is set with -Wall -Wextra by environment variables.
2019-09-30 01:21:35 +01:00
Cameron Cawley
13337e0f2e CONFIGURE: Add android-x86_64 and android-mips64 targets 2019-09-29 18:53:59 +01:00
Dries Harnie
5e3940832e BUILD: Use static libstdc++ for Android 2019-09-28 15:47:41 +02:00
Dries Harnie
5e2223c35b BUILD: Add check for Android NDK r18, remove unused variables 2019-09-28 15:47:41 +02:00
Dries Harnie
1ede4ebd0d ANDROID: Move to Gradle 2019-09-28 15:47:41 +02:00
Hubert Maier
c2f6eb6bc8 CONFIGURE: Add amigaos to the plugins family 2019-09-22 21:35:35 +02:00