Commit graph

1311 commits

Author SHA1 Message Date
Lothar Serra Mari
8627aa51e2 BUILD: Add option to exclude additional resources from the binary 2020-10-10 14:14:23 +02:00
Thierry Crozat
6f666e02f5 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-30 22:51:54 +01:00
Hubert Maier
4aa192ca7b AMIGAOS: Set optimization on non-debug-builds and ordering
Move morphos down the list to keep the alphabetic ordering
2020-09-18 01:22:26 +02:00
Cameron Cawley
c7ffab5445 CONFIGURE: Enable additional functionality on OpenBSD 2020-09-13 15:07:14 +01:00
Cameron Cawley
1df182ae49 RISCOS: Add a VFP optimized target for newer hardware 2020-09-09 15:52:38 +01:00
Cameron Cawley
ce2d81065a CONFIGURE: Improve reporting the SDL version 2020-09-08 23:10:46 +01:00
Cameron Cawley
458c107331 RISCOS: Improve compilation flags 2020-09-08 23:10:06 +01:00
Cameron Cawley
6c4913802b CONFIGURE: Allow using pkg-config to detect FriBidi 2020-09-06 21:06:20 +01:00
Eugene Sandulenko
6fb2d69bc5 CONFIGURE: RaspberryPi has clock, enabling savegame timestamps 2020-09-05 14:29:21 +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
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
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
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
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
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
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