Commit Graph

1699 Commits

Author SHA1 Message Date
aryanrawlani28
6a3b7b6722 SKY: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
dc4672e294 SCUMM: Split detection features & adapt to new plugins.
- Also, we remove the static keyword so other TU's can use the functions defined.
- This change has a catch.
- Because creating an instance depends on game detection code from detection.cpp, we cannot exclude it from Scumm.
- For Statically linked Scumm, we can simply exclude these detection files, because they're already being built.
- For dynamically linked Scumm, we can add it to our executable.
- Thus, for dynamically linked Scumm, one catch is that we have duplicated code (detection.o in our executable, as well as scumm.dll), but that shouldn't be a big problem considering the advantage it gives us: Detection without a plugin loading.
2020-10-03 14:56:36 +02:00
aryanrawlani28
fa36701425 AGI: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28
978901cc2f PLUMBERS: Split detection code & adapt to new plugins.
- Detection related code, and the class MetaEngine lives in detection.cpp
- Things which require the engine to be loaded, are in metaengine.cpp - the relevant class is called MetaEngineConnect.
- Update modules for the necessary changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
5d3292d844 CONFIGURE: Update to properly support statically linked ScummVM.
- Since new engine classes cannot provide same ID for the 2 different types of MetaEngines, update the script to adjust for this behaviour.
2020-10-03 14:56:36 +02:00
aryanrawlani28
365b1101f3 CONFIGURE: Add static-detect-plugins array to be added in plugin_tables.h
- Currently, it is empty.
- After I enable engines one by to one to use detection statically, I will add them to the static_detect_engines array.
2020-10-03 14:56:36 +02:00
Thierry Crozat
6f1a119263 BUILD: Disable debug build by default for release builds
It is still possible to make a release build with debug symbols by
explicitly requesting it with configure --enable-release --enable-debug
2020-10-03 11:40:50 +01:00
Pawel Kolodziejski
6f69981904 BACKENDS: Drop launcherInitSize() and use 2d backend gfx manager for launcher. 2020-09-30 16:52:44 +02:00
Pawel Kolodziejski
c4d8aa5bde CONFIGURE: Switch to c++11 2020-09-25 19:00:51 +02:00
Pawel Kolodziejski
f87f334e26 CONFIGURE: Missing changes from last sync with ScummVM 2020-09-24 19:43:10 +02:00
Pawel Kolodziejski
bfe58d3c77 ALL: Synced with ScummVM - rev: d4db631f9b 2020-09-23 21:52:10 +02:00
Lothar Serra Mari
18756f80b1 BUILD: Add option to exclude additional resources from the binary 2020-09-21 23:14:23 +02:00
Hubert Maier
6d1ae2d9d3 AMIGAOS: Set optimization on non-debug-builds and ordering
Move morphos down the list to keep the alphabetic ordering
2020-09-17 22:14:20 +02:00
Thierry Crozat
fa1ec35672 BUILD: Use -Os optimization for mac PPC release builds
Without this we now get a 'virtual memory exhausted' error when
running the executable.
2020-09-14 17:45:47 +01:00
Eugene Sandulenko
fa984f050a CONFIGURE: Enable C++11 by default 2020-09-14 14:21:24 +02:00
Cameron Cawley
e092a02919 CONFIGURE: Enable additional functionality on OpenBSD 2020-09-13 15:05:57 +01:00
Pawel Kolodziejski
015caa2313 CONFIGURE: Corrected project name 2020-09-12 19:40:51 +02:00
Pawel Kolodziejski
15a759370a ALL: Synced with ScummVM - rev: bdbbcd81ae 2020-09-12 19:38:50 +02:00
Cameron Cawley
8aab4b0361 RISCOS: Add a VFP optimized target for newer hardware 2020-09-09 20:37:17 +01:00
Cameron Cawley
ffe666c6b2 CONFIGURE: Improve reporting the SDL version 2020-09-08 23:27:23 +01:00
Cameron Cawley
80f0cf9f41 RISCOS: Improve compilation flags 2020-09-08 23:27:12 +01:00
Cameron Cawley
a3500937a9 CONFIGURE: Allow using pkg-config to detect FriBidi 2020-09-06 19:26:20 +01:00
Eugene Sandulenko
9070c8f474 CONFIGURE: RaspberryPi has clock, enabling savegame timestamps 2020-09-05 14:45:44 +02:00
Pawel Kolodziejski
d5304e2568 ALL: Synced with ScummVM - rev: 33a47d23b8 2020-09-03 02:21:14 +02:00
Thierry Crozat
316edb3585 Revert "CONFIGURE: Do not enable Sparkle in release mode on platforms without it. Fixes #11217"
The commit had the effect of disabling update altogether as there is
no check for the _updates variable and anything that is not "yes"
disables updates. Instead there is a test for the _sparkle variable
(that is already set to auto by default).

The two variables exist because potentially we could use something
other than Sparkle for the updates.

Also the bug was already fixed by rootfather in commits f204867 and
2615c68 by making sure that _updates is false if _sparkle is false.

This reverts commit 581b4ca594.
2020-08-26 23:34:11 +01:00
Eugene Sandulenko
581b4ca594 CONFIGURE: Do not enable Sparkle in release mode on platforms without it. Fixes #11217 2020-08-26 19:19:28 +02:00
Eugene Sandulenko
caa2dda045 CONFIGURE: Allow sdl-config sit in /usr/sbin. Fixes #11259 2020-08-26 01:32:54 +02:00
SupSuper
bcb7d1f30c BACKENDS: Discord rich presence support
Adds support for showing the currently running game
in a Discord user's game activity.
2020-08-25 10:47:41 +02:00
BeWorld
2f1acbe627 MORPHOS: simplify VERSION
- Same as AmigaOS4, add AMIGA format DATE
- Configure : force optimization level on release build
2020-08-21 00:59:18 +02:00
Eugene Sandulenko
18fd8f91e4 MORPHOS: Update configure
Co-authored-by: Cameron Cawley <ccawley2011@gmail.com>
2020-08-21 00:59:18 +02:00
BeWorld
ead34d3fc6 MORPHOS: Fix configure 2020-08-21 00:59:18 +02:00
BeWorld
521731f28e MORPHOS: Use SDL2 2020-08-21 00:59:18 +02:00
BeWorld
176929568c MORPHOS: MORPHOS: Build with SDL1 by default 2020-08-21 00:59:18 +02:00
BeWorld
b8eef48149 MORPHOS: Update configure
Update MorphOS
2020-08-21 00:59:18 +02:00
BeWorld
ddd9bf050b MORPHOS: MorphOS Support 2020-08-21 00:59:18 +02:00
Eugene Sandulenko
771ba72d24 CONFIGURE: Remove -O2 flag from --enable-tsan 2020-08-19 12:34:58 +02:00
Eugene Sandulenko
a84801d0bf CONFIGURE: Added --enable-tsan option 2020-08-19 12:16:29 +02:00
Pawel Kolodziejski
aea3bae26d ALL: Synced with ScummVM - rev 0b777c23a9 2020-08-11 00:59:40 +02:00
Pawel Kolodziejski
d9cca15185 ALL: Set theora lib detection to auto in configure 2020-08-10 19:40:32 +02:00
Cameron Cawley
4d2b45f3bd CONFIGURE: Always print the SDL version for SDL-based backends 2020-08-03 01:04:23 +01:00
Cameron Cawley
e95f86f9e2 CONFIGURE: Support using pkg-config to detect FluidSynth 2020-08-01 20:32:09 +01:00
Eugene Sandulenko
aa563f0c81 ALL: Remove PS2 port 2020-08-01 15:15:49 +02:00
Eugene Sandulenko
eaa86f9333 ALL: Remove WebOS port 2020-08-01 14:56:16 +02:00
Eugene Sandulenko
432383a667 ALL: Remove Tizen port 2020-08-01 14:42:45 +02:00
antoniou79
4afca9ca06 CONFIGURE: Revert explicit ogg requirement for theoradec
It seems that theoradec is not necessarily always linked to an external ogg library

The (xiph) reference implementation depends on the ogg (xiph) library, but optimized versions for various archs (etc the theorarm) might not have this requirement. So better to not prevent enabling it, if the test is passed, even if in some cases it may result to linkage errors if ogg (external) was not enabled.
2020-07-27 11:23:02 +03:00
antoniou
9828996bd3 CONFIGURE: Require ogg detected and enabled for theora 2020-07-27 02:11:43 +03:00
Cameron Cawley
ceed6b2c8c NULL: Allow using Ctrl+C to open the debugger 2020-07-25 13:31:33 +02:00
antoniou79
e6e591a28e CONFIGURE: Update comments for Android port 2020-07-22 06:11:44 +03:00
antoniou
93568a05fa CONFIGURE:Fix path for Android builds (build.gradle)
For when not building directly from the scummvm source directory
2020-07-07 08:37:03 +03:00
Mataniko
f2697269fa BUILD: Support building Android on OSX 2020-07-06 17:39:45 -04:00
Pawel Kolodziejski
0320ac4d19 ICB: Import engine from the branch as unstable engine 2020-06-28 08:54:42 +02:00
Pawel Kolodziejski
3de1a96480 ANDROID: Reverse changes from ScummVM sync 2020-06-25 10:58:11 +02:00
Pawel Kolodziejski
50b0266753 ANDROID: Reverse change from ScummVM sync 2020-06-25 10:28:57 +02:00
Pawel Kolodziejski
fa277fcb48 ALL: Sync with ScummVM - rev a94849abc4 2020-06-25 08:34:00 +02:00
Cameron Cawley
137759d1d0 CONFIGURE: Fix detection of Linux CD-ROM support 2020-06-24 21:56:07 +01:00
Cameron Cawley
9dd91d651c POSIX: Support building with TTS support on FreeBSD
This fixes Trac #11347.
2020-06-24 21:10:44 +01:00
Pawel Kolodziejski
8f4e1c6cf3 Sync with ScummVM rev. 654b8208b8 2020-06-22 08:14:16 +02:00
Matthew Duggan
a4aaeed79d CONFIGURE: Add -fno-operator-names for clang/gcc
The use of operator names works fine on gcc and clang, but breaks MSVC.  Make
them error on gcc/clang too.

According to this random link, gcc and clang have supported this flag for a
really long time, so it shouldn't need an extra compile check:
https://phabricator.kde.org/D3850
2020-06-18 23:47:02 +01:00
Dries Harnie
d91039cbfb ANDROID: Record build ID so Android Studio can debug 2020-06-09 12:45:15 +02:00
Philippe Valembois
a7a11c3fde CONFIGURE: Undefine __STRICT_ANSI__ for newlib based platforms
This allows backends to use non-ANSI functions.
As it was the main reason to not set -ansi on these platforms, add it
back to ensure strict adherence to C++ standard.
2020-06-02 21:47:20 +02:00
Thierry Crozat
f1bd664042 CONFIGURE: Rename test c++11 flag for consistency 2020-05-29 19:23:02 +01:00
Eugene Sandulenko
5a0b0c474a CONFIGURE: Improve wording 2020-05-27 13:14:24 +02:00
Zvika Haramaty
55ae963488 BASE: Added 'test_new_standards.cpp'
Adding C++11 compatibility tests, disabled by default.
See instructions inside the file.
2020-05-27 12:47:05 +02:00
Cameron Cawley
84c763a048 NULL: Add 16bit support 2020-05-27 12:44:59 +02:00
Cameron Cawley
9c422f5ce1 ANDROID: Set the default path for curl-config 2020-05-23 21:12:24 +03:00
Cameron Cawley
bdf4ab5c06 ANDROID: Set a default path for PKG_CONFIG_LIBDIR 2020-05-23 21:12:24 +03:00
mataniko
321a02aff2 JANITORIAL: Rename shouldRTL, resetRTL and FORCE_RTL 2020-05-12 10:36:38 +02:00
Pawel Kolodziejski
bd32585c45 ALL: Added missing files, don not enable docker plugin 2020-05-09 20:58:00 +02:00
Pawel Kolodziejski
b586571900 ALL: synced with ScummVM commit 09bf38c120 2020-05-09 20:05:54 +02:00
Zvika Haramaty
1b8f471c69 GUI: Added (partial) BiDI support
Added GNU FriBidi, thus allowing Hebrew (or other future RTL languages)
to be displayed correctly.
It's been implemented for all ScummVM GUI (as far as I have noticed),
and can be further used by the engines as needed.

This work is only partial, because for complete BiDI support we'll need
to mirror the widgets, and support input text areas (which currently
don't even support Hebrew text input at all).

Some changes are required in order to use this:
- Visual Studio:
  -- add FriBidi lib from https://github.com/ShiftMediaProject/fribidi
     (and place the files in the other libs location)
  -- add fribidi.dll to the current directory
  -- add fribidi.lib to VS library list
     (in GUI it's: Project -> scummvm Properties -> Linker ->
                   input -> Additional Dependencies)
  -- Add USE_FRIBIDI define
     either to:
         dists/msvc/ScummVM_Global.props   <PreprocessorDefinitions>
     or in GUI:
         Project -> scummvm Properties ->
         C/C++ -> Preprocessor -> Preprocessor Definitions
- GCC:
  -- install FriBidi
     e.g.,
        Ubuntu: `apt-get install libfribidi-dev`
        CentOS: `yum install fribidi-devel`
  -- rerun `configure`
2020-04-30 10:32:18 +02:00
Thierry Crozat
70f79d3df8 MACOSX: Unset SDK version in executable
This is a workaround for the blurry display we get on retina screen
when building with SDK 10.14 or above. Unsetting the SDK version
in the executable is sufficient to avoid the issue. See bug
similar change in LibreOffice.

The workaround can only be used with Xcode 11 or above. When using
configure it automatically detects if the workaround can be used.
The workaround is disabled by default in create_project and needs
to be enabled manually (uncomment the MACOSX_NO_SDKVERSION define
at the top of the xcode.cpp file).
2020-04-26 00:33:42 +01:00
Eugene Sandulenko
9a4f29cccf CONFIGURE: Add --enable-asan option to the help screen 2020-04-16 16:40:07 +02:00
Le Philousophe
e09b4e9e99 ANDROID: Make compilation settings more flexible
- Don't expect compilation to be run on a Linux host
- Allow override of CXX and STRINGS by environment variables

This should not break already working build systems
2020-04-07 11:36:02 +03:00
Thanasis Antoniou
e9d20eec4b CONFIGURE: Allow scalers and hd scaling for Raspberry Pi 2020-04-06 18:54:31 +03:00
Dries Harnie
0e1ac9b46c BUILD: Android build fixes for OSX 2020-04-06 17:06:41 +02:00
Thanasis Antoniou
7ac78c9172 CONFIGURE: Fix Raspberry Pi cross compilation using the Pro toolchain
https://github.com/Pro/raspi-toolchain

Current release of this toolchain must be installed in /opt
This uses a more recent gcc (8) whereas the official one uses 4.3-2
2020-04-06 04:59:17 +03:00
Thanasis Antoniou
507280c2d1 CONFIGURE: Fix raspberry pi cross-compilation 2020-04-05 21:13:48 +03:00
Thierry Crozat
9955f72160 MACOSX: Add detection of target OS version in configure
This is used for two purposes:
1. Use the new legacy icon when targeting 10.5 or older. This fixes
bug #11261 MAC OS X: App icon doesn’t display on OS X 10.5.8.

2. Do not attempt to compile the dock plugin in 32 bits when
targeting 10.14 or newer. This fixes the bundle target as support
for compiling 32 bits binaries was removed in SDK 10.14.

This commit also removes the bundle64 target as it is no longer
needed.
2020-03-28 19:04:29 +00:00
Cameron Cawley
f2d323628d GCW0: Fully disable the downscaling code 2020-03-27 22:50:41 +01:00
Peter Kohaut
470a1d3586 ANDROID: Switch to Gradle
Updated NDK to r21 (LTS)
Switch target Android to 29 as it is required by Google Play Store
Switch minimum Android to 16 (4.1) as it is the lowest supported version by NDK
Removed MIPS and armeabi as they are no longer supported
Renamed Android build names into official ones
2020-03-27 22:45:25 +01:00
SupSuper
897efb1454 POSIX: Add support for native GTK file browserOnly enabled on platforms with libgtk 2020-03-22 20:46:42 +02:00
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. 55dba55056 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
Cameron Cawley
ede3fbb701 SWITCH: Fix autodetection of iconv 2019-09-22 18:10:03 +02:00
Cameron Cawley
5ae854cc24 CONFIGURE: Allow using pkg-config to detect libpng 2019-09-21 03:08:56 +02:00
Cameron Cawley
281c292d67 RISCOS: Minor build system improvements 2019-09-19 17:03:09 +01:00
Cameron Cawley
03819178e7 CONFIGURE: Replace the iconv test with the one from ResidualVM 2019-09-18 21:21:45 +02:00
Eugene Sandulenko
74d6531b9a CONFIGURE: Fix libcurl detection for macOS 2019-09-17 08:35:52 +02:00
Cameron Cawley
7a05624e1b
ANDROID: Rewrite to make use of OpenGLGraphicsManager (#1695)
* ANDROID: Rewrite to make use of OpenGLGraphicsManager

* ANDROID: Fix emulated mouse button up events
2019-09-08 19:37:48 +01:00
Thierry Crozat
acebff9884 CONFIGURE: Add check for NSSpeechSynthesizerDelegate protocole availability on macOS 2019-09-02 22:24:42 +01:00
Jaromir Wysoglad
0d332e065e TTS: Rename LinuxTextToSpeechManager to SpeechDispatcherManager
Add a new define for the SpeechDispatcherManager
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
b97333d4b7 TTS: Remove USE_PLATFORM_TTS defines
Use defined(USE_TTS) && defined(PLATFORM) instead
2019-09-01 22:47:55 +03:00
Thierry Crozat
0434419b31 TTS: Implement TextToSpeechManager for macOS 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
1795206289 TTS: Add checks to configure.
Check for presence of required libraries
Disable automatic build of TTS on MinGW32
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
3027acc12e TTS: Minor refactorisations
- Add comment to tts initialization on Windows
 - Correctly free the voicesInfo in linux ttsMan
 - Remove popState method from linux-text-to-speech.h and
	windows-text-to-speech.h
 - Add tts to help in configure
 - Refactor language setting in gui-manager.cpp
	It counted with english being the default language in
	ttsMan constructors, which isn't true anymore.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
8357e8e6bf TTS: Prepare for windows TTS
Add windows configuration in configure
Add basic skeleton to backends
Check if ttsMan is initialized in GUI
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
6303f522e1 TTS: Refactor tts in configure 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
39e74b027e TTS: Add part of linux TTS 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
f78fc85f3a TTS: Create a TTS skeleton 2019-09-01 22:47:55 +03:00
D G Turner
a595599928 CONFIGURE: Correct Formatting of ICONV Tests
No functional change.
2019-08-25 03:19:18 +01:00
Jaromir Wysoglad
e2ab8198a7 CONFIGURE: Check if iconv uses const.
I looked at how ResidualVM works with iconv and used a define
ICONV_USES_CONST, which they define in configure, thinking it is
defined by iconv. I a define of this into configure, so this
should fix the build error on osx_intel.
2019-08-25 03:14:24 +01:00
Jaromir Wysoglad
4de634ee76 CONFIGURE: Move check for iconv down 2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
965f894224 CONFIGURE: Add option to compile with iconv. 2019-08-24 18:12:45 +03:00
Cameron Cawley
ea9e33bd10 GUI: Check if fullscreen is available at runtime 2019-08-18 06:21:28 +03:00
Cameron Cawley
1e6e6c1e1a
DS: Disable Bink and Lua
This should help to reduce the size of the main executable.
2019-08-15 17:42:32 +01:00
Nipun Garg
c1f029c6dc COMMON: Move Lua into Common and make it into...
an engine feature
2019-08-13 10:18:02 +02:00
Hubert Maier
0ab9cd7081
CONFIGURE: Fix typo in comment
Sorry
2019-08-10 14:11:03 +02:00
Colin Snover
4c16ecb47f BUILD: Fix missing frameworks for iOS static builds 2019-08-04 22:12:29 +01:00
Thierry Crozat
468c0f0743 IOS7: Implement isConnectionLimited 2019-08-04 19:03:34 +01:00
Hubert Maier
657c09c976
CONFIGURE: Add AmigaOS4 GLESv2 implementation 2019-07-17 10:43:58 +02:00
Dries Harnie
d55fad52dd BUILD: Write travis file for Ubuntu, OSX, Windows and Android 2019-07-14 17:12:50 +02:00
rsn8887
df03352c27 CONFIGURE: Enable libcurl on Switch (works now) 2019-06-25 21:32:49 -05:00
rsn8887
6d2da5c6f1 CONFIGURE: Disable libcurl on Switch (missing curl-config) 2019-06-21 11:11:11 -05:00
rsn8887
6dc1d1c028 CONFIGURE: Re-enable OpenGL on Switch, because it works
OpenGL works when enabled from the start in scummvm.ini,
when ScummVM is compiled with latest Switch toolchain packages.
It only crashes when switching between SDL modes and OpenGL while
ScummVM is running.
2019-06-21 11:01:56 -05:00
rsn8887
fee13a8505 CONFIGURE: Disable OpenGL on Switch because it crashes
GLES2 crashes when switching between SDL2 graphics and OpenGL
graphics. This is a known problem on the platform due to the
implementation of GLES2, it crashes on de-init.
2019-06-21 10:27:45 -05:00
Cameron Cawley
0f9abb8e62 CONFIGURE: Add --enable-all-unstable-engines option 2019-06-20 05:19:18 +03:00
Cameron Cawley
4c2fb0d0dc
RISCOS: Disable debug build by default 2019-06-17 18:36:43 +01:00
rsn8887
49601a7ac8 CONFIGURE: Add --disable-all-unstable-engines for use with buildbot 2019-06-06 17:41:47 -05:00
rsn8887
75a5c2f90b CONFIGURE: Add PSP to platforms where debug is off by default 2019-06-06 16:59:31 -05:00
Pawel Kolodziejski
eb23bd8bbc CONFIGURE: ResidualVM doesn't Theora 2019-06-02 21:21:46 +02:00
Lothar Serra Mari
7e15168447 CONFIGURE: Remove the 'u' flag from 'ar' in mingw32
This patch silences the warnings about the (outdated?) 'u'
flag that appears at least when building and linking ScummVM
statically on mingw32:

"`u' modifier ignored since `D' is the default (see `U')"

The cause for this appears to be a bug in recent versions of
libtool that most likely will also appear when building on
Linux. However, since I have not tested this yet, this patch
only disables it for mingw32.

The only downside from this patch is that building a non-clean
build will take (slightly?) longer since we are no longer
just updating (that's what the 'u' is for) changed libraries
during the linking stage, but linking all .a files again.
2019-06-02 11:43:51 +02:00
Eugene Sandulenko
cd11950761 CONFIGURE: Update for modern MinGW 2019-05-24 20:27:09 +02:00
rsn8887
b1964b10f7 CONFIGURE: Add Switch to platforms where debug is off by default 2019-05-22 18:58:34 -05:00
Cameron Cawley
a265b1e029 BUILD: Fix converting the documentation outside the source directory 2019-05-18 14:02:25 +01:00
rsn8887
30ee1f2cdc Switch: fix version, remove redundant settings and unneeded defines 2019-05-12 11:59:44 +03:00
rsn8887
875bc0b1c2 Switch: fix build, add build instructions, avoid using delete() 2019-05-12 11:59:44 +03:00
Cpasjuste
488bbb267a SWITCH: add nintendo switch support 2019-05-12 11:59:44 +03:00
Bastien Bouclet
7f9eaf0f12 ANDROID: Fix building armv5te binaries with NDK r14b
The mthumb linker flag was causing the libstdc++ library not to be found.
2019-05-11 20:35:31 +02:00
Bastien Bouclet
32b0c2cf2c ANDROID: Add support for building arm64 binaries 2019-05-11 20:35:31 +02:00
Colin Snover
1267b72c38 ANDROID: Stop forcibly disabling MT-32 emulator 2019-05-11 20:35:31 +02:00
Colin Snover
30c49838bb BUILD: Remove bad & outdated flags from Android builds
Most of these flags don't work with modern Android NDKs. The ones
that may, like setting sysroot and include directories, don't work
properly with standalone toolchains. Users compiling for Android
should make sure that they properly set up include paths in their
environment CXXFLAGS/LDFLAGS as needed for the compiler to run,
instead of relying on configure to do it, since configure can't do
it in a toolchain-agnostic manner.
2019-05-11 20:35:31 +02:00
Bastien Bouclet
0b4acfeed0 BUILD: Pass LDFLAGS on the command line for the endianness test 2019-05-11 17:23:09 +02:00
Bastien Bouclet
3a25a3c926 BUILD: Link the test executable for the endianness check
Fixes the test with LTO enabled.
2019-05-11 16:51:13 +02:00
Dan Church
886a1807b8 CONFIGURE: Fix missing option
--disable-updates was omitted from the supported options during the
reformat.
2019-05-02 19:29:03 +01:00
Hubert Maier
342c6fab99 Fix typo in comment 2019-04-30 09:19:20 +02:00
Lothar Serra Mari
b3d5bb34ae CONFIGURE: Formatting fixes 2019-04-28 15:57:05 +03:00
Thierry Crozat
fb0fc9bb7a CONFIGURE: Fix pandoc check 2019-04-26 23:33:32 +01:00
Thierry Crozat
9ebb91411a CONFIGURE: Generate html README and NEWS by default on macOS
There was already a configure option to specify a output format other
than plain text, but this had to be specified explicitely when
executing configure. Now the ports can define a default other than
plain text.

On macOS now by default pandoc generate html output. It could
in theory also generate rtf, but those are not properly displayed
by TextEdit, and in addition TextEdit cannot handle link internal
to the document (such as for the TOC). But if we are fine with
no link for the TOC, we could pipe the pandoc html output with
textutil to generate the RTF documents.

Also this change allows to have an extension for the pandoc output
files. By default this is empty for plain text (as before) and
the same as the format otherwise (for example .rtf or .html).
2019-04-21 11:01:34 +01:00
Cameron Cawley
50ed922cb7 RISCOS: Support creating a StrongHelp manual 2019-04-18 03:55:22 +01:00
Cameron Cawley
bcef809e61 WINCE: Fix compilation 2019-04-15 08:06:39 +03:00
rsn8887
81ddf32779 BUILD: On PSP use -O2 to fix compiling with new toolchain
-O2 works, but the updated psp compiler doesn't compile
with -O3. It gives the error
```
graphics/macgui/macwindowmanager.cpp: In member function 'void Graphics::MacWindowManager::passPalette(const byte*, uint)':
graphics/macgui/macwindowmanager.cpp:517:1: error: unrecognizable insn:
 }
 ^
(insn 139 138 140 23 (set (reg:SI 294)
        (if_then_else:SI (ne:CC (reg:CC 67 $fcc0)
                (const_int 0 [0]))
            (reg/v:SI 256 [ di ])
            (reg/v:SI 229 [ di ]))) -1
     (nil))
graphics/macgui/macwindowmanager.cpp:517:1: internal compiler error: in extract_insn, at recog.c:2202
```
2019-04-13 19:48:17 -05:00
rsn8887
06a7183a6f BUILD: Fix PSP compilation tests for updated buildbot toolchain 2019-04-13 19:31:26 -05:00
Cameron Cawley
554bd3f7db BUILD: Fix packaging shaders when building with OpenGL ES 2 2019-04-09 23:01:43 +01:00
Cameron Cawley
f99eaba72e ANDROID: Update to compile with modern NDKs 2019-04-09 23:00:21 +01:00
Cameron Cawley
66813c9fc2 CONFIGURE: Override pkg-config on RISC OS 2019-04-09 20:57:11 +03:00
cpasjuste
8b5bb41a2e CONFIGURE: allow pkg-config override 2019-04-09 20:57:11 +03:00
Cameron Cawley
364fb12e83 BUILD: Convert the NEWS.md file if pandoc is installed 2019-04-02 11:59:31 -04:00
Cameron Cawley
24057754ad CONFIGURE: Improve detection of SDL and SDL_net 2019-04-01 00:32:09 +03:00
Cameron Cawley
ad648f8a97 CONFIGURE: Append pkg-config cflags to CXXFLAGS
CPPFLAGS should only contain options that are used by the preprocessor, however pkg-config may return C/C++ specific options which are unrecognised by windres.
2019-02-24 11:29:09 +00:00
Cameron Cawley
a6f82fc246 WIN32: Fix building outside the source directory 2019-02-21 23:22:38 +00:00
Cameron Cawley
309286cfbb BUILD: Improve rules for compiling Windows resource scripts 2019-02-21 20:33:39 +00:00
Cameron Cawley
0f45b7f9bc RISCOS: Add RISC OS support 2019-01-27 11:36:26 +00:00