Commit Graph

1775 Commits

Author SHA1 Message Date
Eugene Sandulenko
c8fd73a228
CONFIGURE: Add description for --disable-detection-full option 2022-01-01 20:33:30 +01:00
Le Philousophe
d5c5f65827 CONFIGURE: silence GOLD linker check 2021-12-31 20:55:45 +01:00
Le Philousophe
f316caa309 ANDROID: Define dwp binary like others 2021-12-31 20:50:05 +01:00
Le Philousophe
1c922e6e77 CONFIGURE: Don't use DWARF in nasm when linking using gold
This raises `internal error in relocate_section, at ../../gold/i386.cc:3683`
2021-12-31 20:50:05 +01:00
Cameron Cawley
21b0d6ded1 BACKENDS: Replace GLEW with GLAD, part of PR #3463 2021-12-30 14:53:48 +01:00
Christophe Branchereau
7242a2aaa4 OPENDINGUX: enable the local web server
Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
2021-12-28 11:51:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Le Philousophe
706de81bb0 ANDROID: Switch to GLES2 2021-11-29 00:04:45 +01:00
Jelle Raaijmakers
6547ecf673 BUILD: Support SerenityOS in configure script 2021-11-23 23:22:52 +01:00
Le Philousophe
c681c3f64f RASPBERRYPI: Don't make use of obsolete Broadcom libraries 2021-11-21 18:57:56 +01:00
Cameron Cawley
267f1f18fb ANDROID: Enable scalers by default 2021-11-20 01:06:23 +01:00
Cameron Cawley
4d206e5286
GRAPHICS: Clean up OpenGL defines (#3551) 2021-11-18 00:56:21 +01:00
Le Philousophe
213168047e OPENDINGUX: Integrate all OpenDingux platforms in configure script 2021-11-12 11:59:48 +01:00
Le Philousophe
ded4ab6c23 WIN32: Enable GNU extensions for mingw
This way old mingw gets its __argc and __argv. Using gnu++11 instead of
undefining __STRICT_ANSI__ makes GCC11 happy.

Closes #3473
2021-11-02 20:52:36 +01:00
Le Philousophe
af7500a06b CONFIGURE: long long is not an extension anymore in C++11 2021-11-02 20:51:34 +01:00
Le Philousophe
fcca692e56 CONFIGURE: Rework strict ANSI and pedantic arguments 2021-11-01 21:46:15 +01:00
Le Philousophe
9d5d7aca6f CONFIGURE: Remove compiler versions checks as they are now outdated
C++11 mandatory support expects a recent compiler.
Version parsing is still present to allow adding back tests for more
recent checks.
2021-11-01 21:46:15 +01:00
Le Philousophe
7afd15149c CONFIGURE: Move C++11 test before compiler detection
As C++11 is mandatory now, just ensure we've got a proper compiler
2021-11-01 21:46:15 +01:00
Christophe Branchereau
849d05b5e2 OPENDINGUX: Add support for Opendingux Beta
OD Beta is a mips linux OS based on buildroot, that runs on ingenic gaming handhelds
like the gcw0, rg350 and many more.

There was a previous GCW0 port, that was running on legacy opendingux, but that
OS is not maintained since 2014 and has an outdated kernel and toolchain.

Od Beta on the other hand, runs with linux 5.15, has a GCC 10 toolchain and
an active developpment community.

This adds support for 3 flavors :

gcw0 that runs on all jz4770 cpus
lepus that runs on all jz4760 cpus
rg99 which is a jz4725 device

Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
2021-11-01 17:39:26 +01:00
Eugene Sandulenko
788937e3e1
CONFIGURE: Remove c++11 flag from the help 2021-10-31 13:55:04 +02:00
Eugene Sandulenko
63d1d81c5d
CONFIGURE: Enable C++11 by default 2021-10-31 11:40:43 +02:00
Orgad Shaneh
229a6f305f CONFIGURE: Do not undefine __STRICT_ANSI__ for mingw
GCC11 warns if it is not defined.
2021-10-23 10:11:57 +02:00
Thierry Crozat
902412241e CONFIGURE: Fix fluidsynth detection on some macOS systems 2021-10-04 19:28:47 +01:00
Cameron Cawley
7e134dc926 RISCOS: Only use -mno-poke-function-name in non-debug builds 2021-10-02 15:15:42 +01:00
Cameron Cawley
6c5a2bf1d8 RISCOS: Fix detecting packages using pkg-config 2021-09-30 23:01:43 +01:00
Marcus Comstedt
a43b6cb67a DC: Enable options to save more memory 2021-09-20 23:28:58 +02:00
Cameron Cawley
987c0eb76a COMMON: Add a signed version of uintptr 2021-09-19 11:21:41 +03:00
antoniou79
cfab954743 CONFIGURE: Use -fsigned-char as extra building flag for Android
Needed for Android ARM architectures, where compilers assumes char is unsigned

Addresses issues like outlining fonts in AGS (https://forums.scummvm.org/viewtopic.php?f=17&p=95919#p95919)
See: https://stackoverflow.com/questions/7414355/is-it-safe-to-build-with-fsigned-char-with-android-ndk
2021-09-06 15:21:38 +03:00
Orgad Shaneh
0b90777721 CONFIGURE: Drop u flag for ar
On replace mode (r), u tells ar to replace object files only if the source
file is newer than the one in the archive.

When binutils is configured with --enable-deterministic-archives, the
default mode for ar is D (deterministic), which means that all the files
are stored with zero for UID, GID and timestamp. This means that ar has no
way to tell if the archived file is older than the source file, so it just
archives all the input files and issues the following warning:
`u' modifier ignored since `D' is the default (see `U')

Fix by dropping this flag. The performance gain is negligible anyway.
2021-09-02 18:52:41 +02:00
Cameron Cawley
2e440e5d96 RISCOS: Replace the StrongHelp manual with the PDF manual 2021-08-29 16:09:32 +01:00
Matan Bareket
fed702c059
BUILD: Fix typo in configure 2021-08-27 10:31:47 -04:00
Mataniko
140c0e4090 BUILD: Simplify pandoc and curl checks 2021-08-27 15:54:10 +02:00
mataniko
f21fdee404 BUILD: Add build flags to download the manual from RTD 2021-08-27 15:54:10 +02:00
Cameron Cawley
bc3c50ae4a DS: Build with -fno-threadsafe-statics 2021-08-26 18:33:05 +01:00
Christian Kündig
2b19203104 DISTS EMSCRIPTEN: Fixing various minor bugs and typos
- too verbose logging slows down everything
- datadir / causes the whole FS to be scanned at launch, including files which are loaded lazily via XHR
- corrupt default data in local storage
- double-slash in path of VORBIS_LIBS
2021-08-20 21:13:49 +02:00
Christian Kündig
8af8ac2e08 OPENGL EMSCRIPTEN: clean up ifdefs, fix opengl in main menu, remove 10ms delay in GRIM main loop 2021-08-20 21:13:49 +02:00
Christian Kündig
501c7ba7aa DISTS EMSCRIPTEN: set correct datadir (fixed issue with shader loading) 2021-08-20 21:13:49 +02:00
Christian Kündig
b7a2e22b0a DISTS: New Emscripten/WebAssembly dists target
This is an initial version of the emscripten build/dist target.
Many things are still missing, see dists/emscripten/README.md for
a detailed summary of what this provides and still misses
2021-08-20 21:13:49 +02:00
Cameron Cawley
5c40b54694 DS: Always build without full detection features 2021-08-20 17:42:28 +01:00
sluicebox
4c260f1cd3 CONFIGURE: Run all readline tests with same parameters
Prevents a different include order being applied to the readline
function signature test than was applied to the detection test.
On Mac, this can cause the signature test to use Apple's libedit
instead of the path provided to --with-readline-prefix.
2021-08-07 10:49:01 +02:00
sluicebox
3516f0587e CONFIGURE: Don't detect Apple's libedit as readline 2021-08-07 10:49:01 +02:00
Orgad Shaneh
c0c5330986 CONFIGURE: Suppress output of a52 test app
a52_init() unconditionally calls a52_imdct_init(), which prints "No
accelerated IMDCT transform found". This interferes with the normals
configure output, which looks like this:

Checking for liba52... No accelerated IMDCT transform found
yes
2021-08-06 19:25:31 +03:00
Max Horn
34523aba7e JANITORIAL: Fix some typos 2021-08-04 15:43:15 +02:00
Orgad Shaneh
0b2ae9fa5e DEVTOOLS: Replace ugly SDL/MinGW hack with a cleaner hack
Instead of having main=SDL_main defined by pkg-config/sdl2-config --cflags
and undefining it everywhere, strip it in its origin.
2021-08-03 07:35:15 +03:00
Orgad Shaneh
15d282a34b CONFIGURE: Do not pass --prefix to sdl2-config
Reapply a6ded89075.

This already works with all the platforms on buildbot. The mingw release
environment had a misconfigured sdl2-config, but this should now be
fixed.
2021-08-01 18:06:24 +03:00
Orgad Shaneh
9e66fa2899 CONFIGURE: Partially revert recent mingw change
See the commit message of a6ded89075 for the
gory details. Until we come up with a proper fix, revert that part to make
it compile again.
2021-08-01 11:55:19 +03:00
Eugene Sandulenko
149681cfad
Revert "CONFIGURE: Do not pass --prefix to sdl2-config"
This reverts commit 936121a070e4408f9b41b4234861fe2c1fab7949.

The change broke the existing Win32 ports.
2021-08-01 09:40:58 +02:00
Orgad Shaneh
4ccb0084be CONFIGURE: Update pkgconfig-related comments for mingw 2021-08-01 10:10:37 +03:00
Orgad Shaneh
f01a1dc6fa CONFIGURE: Use cross-pkg-config on MXE
Works without setting PKG_CONFIG_LIBDIR.
2021-08-01 07:27:16 +03:00
Orgad Shaneh
a6ded89075 CONFIGURE: Do not pass --prefix to sdl2-config
sdl2-config should return the correct paths without it. Trying to determine
the path by name lookup is error-prone.

For example, if both the host and a cross-toolchain have sdl2 installed,
the host executable is typically /usr/bin/sdl2-config, and the
cross-toolchain is <triplet>-sdl2-config and
/path/to/toolchain/triplet/bin/sdl2-config.

The toolchain bin path should not be part of PATH, because this can cause
clashes when building for the host (depends on the PATH order, and if the
tool exists on both).

And even if we do add the toolchain bin path, like we currently do at least
on MXE container, if the host path comes before the toolchain then the
<triplet>-sdl2-config will be detected, but this executable *is not* in the
directory that relates to this toolchain, but in the host bin (for example,
/opt/mxe/bin), so we pass the wrong path to --prefix and sdl2 breaks.

This only worked on buildbot because the lookup for mingw was sdl-config
instead of sdl2-config, and sdl-config just doesn't exist on the system.
2021-08-01 07:21:13 +03:00