Commit Graph

1338 Commits

Author SHA1 Message Date
Joseph Cloutier
c5caf01ad2 Update to efsw 1.2.0. 2022-05-21 20:23:36 -04:00
Joseph Cloutier
64539f77d1 Update cURL to 7.83.1. 2022-05-21 19:58:23 -04:00
Joseph Cloutier
57411634d4 Update HarfBuzz to 4.3.0.
Mostly speed improvements.
2022-05-21 19:00:06 -04:00
Joseph Cloutier
b6fec0a07b Update zlib to 1.2.12.
Among other things, this fixes CVE-2018-25032:
https://github.com/advisories/GHSA-jc36-42cf-vqwj
2022-05-21 18:45:22 -04:00
Joseph Cloutier
7824a39e81 Update Cairo to 1.17.6. 2022-05-21 17:59:55 -04:00
Joseph Cloutier
f5a24dc40a Explicitly require NDK 20+.
This also means we no longer need anything like
d66ef73a92
2022-05-21 16:27:05 -04:00
Joseph Cloutier
794ac63b86 Fix libpng on WinRT.
Not tested, but should accomplish the same result as
2177f5afd4
2022-05-21 16:10:55 -04:00
Joseph Cloutier
969a7ead58 Remove out-of-date info. 2022-05-21 16:01:23 -04:00
Joseph Cloutier
41d93722f9 Temporarily re-enable HIDAPI on iOS.
This can be undone once https://github.com/libsdl-org/SDL/issues/5699
gets resolved.
2022-05-21 15:52:49 -04:00
Joseph Cloutier
f87cdfd11e Remove no-longer-needed override.
As described in 3b4ad78b6a.
2022-05-20 19:06:13 -04:00
Joseph Cloutier
104533fdde Sort and format build files. 2022-05-20 17:11:20 -04:00
Joseph Cloutier
11821e52dd Add more missing files. 2022-05-20 16:53:24 -04:00
Joseph Cloutier
a378f12607 Fix references to missing files. 2022-05-20 16:16:26 -04:00
Joseph Cloutier
c37e48faaf Disable HIDAPI.
Problem one: it requires its own binary, which we haven't built. There
are instructions in sdl/src/hidapi/README.txt, if we ever want to try.

Problem two: the Android app segfaults when `hid_init()` calls
`g_JVM->AttachCurrentThread()`. This might be a bug in NDK 21's jni.h,
but that seems unlikely. Perhaps a version mismatch?

In any case, we aren't using the code at the moment, so the easy answer
is to leave it out.
2022-05-20 01:00:35 -04:00
Joseph Cloutier
31e9ab663d Remove unused case.
The `HX_WINDOWS` case is handled a bit further down.
2022-05-19 18:23:20 -04:00
Joseph Cloutier
19eab56416 Define HAVE_STDIO_H.
SDL can operate without stdio.h, but Lime requires it in most cases.
2022-05-19 18:21:48 -04:00
Joseph Cloutier
d21847e65c Update SDL to 2.0.22.
On Android, `SDL_RWops` no longer stores a plain file descriptor,
so the `AAsset` API must be used instead:
https://developer.android.com/ndk/reference/group/asset

`HAVE_INOTIFY` is required on Linux at the moment, but the bug will be
fixed in the next SDL release.
2022-05-19 17:34:20 -04:00
Apprentice-Alchemist
1c35f44634 Fix building lime.hdll. 2022-05-19 21:08:56 +02:00
Apprentice-Alchemist
ad70700a14 Try to fix Windows mess a bit.
Default to 64 bit on windows too.
2022-05-19 20:46:08 +02:00
Apprentice-Alchemist
b2546aac9f Try fixing macOS and support no_console Windows subsystem. 2022-05-18 08:11:44 +02:00
Joseph Cloutier
3b4ad78b6a Remove CoreBluetooth dependency.
Overriding a config file for now, but that can be undone after updating.
e572215f5a
2022-05-16 22:56:07 -04:00
Joseph Cloutier
a13742fa0f Attempt to resolve unresolved symbols. 2022-05-16 19:50:26 -04:00
Joseph Cloutier
2e645678a0 Attempt to resolve Windows-specific errors.
alfstream.cpp doesn't look like a Windows-specific file, so I'd rather
compile it everywhere until proven Windows-specific. Even though Mac and
Linux have been doing ok without it so far.
2022-05-16 18:55:33 -04:00
Joseph Cloutier
c72af76ca4 Move rebuild instructions to project/README.md.
There are too many details to put in the top-level readme.
2022-05-16 17:46:20 -04:00
Joseph Cloutier
2dc827a432 Remove PulseAudio headers.
These are often included with the OS, or can easily be installed if not.
2022-05-16 14:10:20 -04:00
Joseph Cloutier
f2847aca5b Define NOMINMAX for OpenAL.
602b33fede
2022-05-16 13:09:05 -04:00
Joseph Cloutier
b63c054fab Add PulseAudio headers.
PulseAudio v15.99.1
2022-05-16 02:23:09 -04:00
Joseph Cloutier
be9a92ba04 Try allowing integrated assembler on mac.
I thought Clang required this argument to compile Pixman safely, but
maybe that's only on Android?
2022-05-15 00:03:32 -04:00
Joseph Cloutier
99d694e223 Shorten readme. 2022-05-14 23:58:02 -04:00
Joseph Cloutier
32193ba37e Update HarfBuzz to 4.2.1.
This fixes the same issue as
d85e2a2edf

It takes longer to compile HarfBuzz's files than files from
the other libraries. But hey, at least we can still ignore the .rl
files. I was worried Ragel would become our next dependency...
2022-05-14 23:57:27 -04:00
Joseph Cloutier
580dfc862f Define INLINE based on the compiler.
MSVC doesn't recognize `__attribute__`.
2022-05-14 22:54:40 -04:00
Joseph Cloutier
25f9af8a78 Comment possibly-redundant #define. 2022-05-13 19:30:35 -04:00
Joseph Cloutier
b06f7b8789 Switch to libjpeg-turbo (version 2.0.7 ESR). 2022-05-13 19:13:30 -04:00
Joseph Cloutier
7fddec617c Consistently check for Clang. 2022-05-13 18:58:34 -04:00
Joseph Cloutier
c70abb9860 Document the project folder. 2022-05-13 17:15:27 -04:00
Joseph Cloutier
96516764c3 Update Pixman to 0.40.0. 2022-05-13 14:09:23 -04:00
Joseph Cloutier
0938fdf00b Fix assembly code when using clang.
https://gitlab.freedesktop.org/pixman/pixman/-/issues/45
2022-05-13 14:01:24 -04:00
Joseph Cloutier
e027811906 Update to OpenAL 1.20.1.
OpenAL versions beyond 1.20 will require C++ 14 instead of 11, requiring
an update to hxcpp.

This update resolves
https://github.com/kcat/openal-soft/pull/227
2022-05-13 01:25:52 -04:00
Joseph Cloutier
f200ecd9ca Use the official SDL repo as a submodule.
Continuing to use version 2.0.12 for now.

Missing changes:
370d05558c
e572215f5a
fa51fcb56b

Notes:
The changes in e572215 will be included when we update SDL.
The files.xml change from fa51fcb is actually included.
https://github.com/kcat/openal-soft/pull/227 is not resolved.
2022-05-12 23:17:16 -04:00
Joseph Cloutier
f59f996f40 Use the official OpenAL Soft repo as a submodule.
Continuing to use version 1.19.0 for now.

Missing changes:
defines.xml
library.xml
d66ef73a92
e5b5a55907
2022-05-12 13:25:46 -04:00
Joseph Cloutier
949157cc39 Include unistd.h when compiling zlib.
This resolves the same issue as
e3d8773545
2022-05-10 14:59:22 -04:00
Joseph Cloutier
6f144059dd Use the official libwebm repo as a submodule.
Continuing to use version 1.0.0.27 for now.
2022-05-10 12:17:41 -04:00
Joseph Cloutier
fbb773dae7 Use the official zlib repo as a submodule.
Continuing to use version 1.2.8 for now.

Missing change:
e3d8773545
2022-05-10 12:17:03 -04:00
Joseph Cloutier
4abb87d694 Use the official libvpx repo as a submodule.
Continuing to use version 1.4.0 for now.
2022-05-09 23:56:30 -04:00
Joseph Cloutier
5dc75619c9 Use shallow submodules. 2022-05-09 23:47:40 -04:00
Joseph Cloutier
ecfb495e43 Use the official Vorbis repo as a submodule.
Continuing to use version 1.3.4 for now.
2022-05-09 23:03:30 -04:00
Joseph Cloutier
cd084c4067 Improve documentation. 2022-05-09 16:45:33 -04:00
Joseph Cloutier
100591c9f3 Prefer using GitHub repos as submodules. 2022-05-09 16:45:05 -04:00
Joseph Cloutier
5f65a81cea Use the official tiny file dialogs repo as a submodule.
Using the latest version, which includes necessary fixes.
2022-05-09 16:41:48 -04:00
Joseph Cloutier
d8d3f74211 Add missing include paths. 2022-05-09 16:37:13 -04:00