Commit Graph
100 Commits
Author SHA1 Message Date
Rémi Bernon 01603fb118 lsteamclient: Import SteamWorks SDK 1.54. 2023-05-19 18:04:44 +03:00
Rémi Bernon c7cb79128e fonts: Only convert simsun.ttc to TrueType.
This partially reverts commit 303299793f.

CW-Bug-Id: #21346
2023-03-08 17:35:54 +02:00
Rémi Bernon 303299793f fonts: Convert simsun.ttc / msyh.ttf / malgun.ttf to TrueType.
CW-Bug-Id: #21346
2023-02-14 16:07:44 +02:00
Rémi Bernon a8eeb1c9ac build: Move the MONO_TARBALL_URL variable down. 2023-02-14 16:07:44 +02:00
Rémi Bernon 08a5f1cd56 proton: Trace language related environment variables.
CW-Bug-Id: #21346
2023-02-14 16:07:44 +02:00
Rémi Bernon 2b95bc1771 steam: Match LC_TYPE / LC_MESSAGES default with selected language.
CW-Bug-Id: #21346
2023-02-14 16:07:44 +02:00
Rémi Bernon 5e90e8283c build: Use gdb debug infos instead of dwarf-2 strict-dwarf. 2023-02-14 16:07:44 +02:00
Rémi Bernon 559e652a45 build: Download and cache contrib into the build folder only.
Wine Mono / Gecko packages are already cached in a contrib folder,
and downloading them outside of proton source directory is brittle.

This also makes the source sync run twice when using the toplevel
Makefile.
2023-02-14 16:07:44 +02:00
Rémi Bernon 331c90a874 build: Copy files to dist / deploy / install with rsync. 2023-02-14 16:07:44 +02:00
Rémi Bernon 8decbe981a build: Add a catch-all rule for anything the container can build. 2023-02-14 16:07:44 +02:00
Rémi Bernon bd1178a5b3 build: Use silent rules for vkd3d. 2023-02-14 16:07:44 +02:00
Rémi Bernon db3274b1c7 build: Build PE modules with -mcmodel=small.
This breaks MinGW autoimport mechanism but nothing in Proton should be
using it. Instead, any PE module should be using standard dllimport and
ntdll will do the relocations as expected. We also don't and hopefully
never have modules larger than 2GB, so 32-bit %rip relative offsets
should be enough for everything.

This will OTOH save a lot of .refptr indirections, that are otherwise
generated for any extern symbols, even though they are later linked in
the same module, making all code smaller and maybe a little faster.
2023-02-14 16:07:44 +02:00
Rémi Bernon 470f3084eb docker: Build MinGW with -mcmodel=small.
(cherry picked from commit c90d4c34d8050ab3b314d5a6243eb36e0c7e9a5c)
2023-02-14 16:07:43 +02:00
Rémi Bernon 9eb5a1753c docker: Add autoconf-archive dependency.
For OpenFST.
2023-02-14 16:07:43 +02:00
Rémi Bernon 4514ff3eff docker: Add python3-mako to the SDK images. 2023-02-14 16:07:43 +02:00
Rémi Bernon d8fbadbd2a docker: Add OpenBLAS dependency.
For Kaldi / Vosk.
2023-02-14 16:07:43 +02:00
Rémi Bernon 4ee7c0c666 glslang: Build from source instead of prebuilt binary. 2022-10-14 18:21:56 +03:00
Rémi Bernon 8f0b458bca gst-plugins-base: Support GLX backend for GL plugins. 2022-08-23 10:28:19 +02:00
Rémi Bernon f3cc9f0610 gst-base: Enable GL video processing plugins.
CW-Bug-Id: #20363
CW-Bug-Id: #20905
CW-Bug-Id: #20981
2022-08-15 17:47:03 +03:00
Rémi Bernon 7fd1f62249 lsteamclient: Turn overlay input filtering traces to FIXME. 2022-06-03 14:26:11 +03:00
Rémi Bernon a5bfe6edda docker: Add fontforge and libutfcpp-dev to the Proton SDK images. 2022-04-05 18:13:11 +03:00
Rémi Bernon 6a3c03d64b build: Don't change debug file .text section flags.
This breaks perf ELF symbol tracking somehow.
2022-02-25 13:52:40 +02:00
Rémi Bernon 42cb4d31bb build: Remove pefixup invocation for module rule too. 2022-02-25 13:52:40 +02:00
Rémi Bernon 82b5301d55 build: Remove unnecessary pefixup.py script. 2022-02-25 13:52:40 +02:00
Rémi Bernon 88064f86ee build: Fixup .text section flags using objcopy and assert in pefixup. 2022-02-25 13:52:40 +02:00
Rémi Bernon 47fe4a8063 pefixup: Assert that IMAGE_SCN_ALIGN_MASK isn't required anymore. 2022-02-25 13:52:40 +02:00
Rémi Bernon b203ba6bdd proton: Run steam from its Program Files (x86) location.
For CoD: Black Ops 3.

CW-Bug-Id: #19362
2022-01-24 22:53:20 +02:00
Rémi Bernon 2ad85256a3 media-converter: Add format=S16LE to audioconv caps.
As opusdec will only output that format, and we want to be able to
filter the elements from their capabilities early.

CW-Bug-Id: #19854
2022-01-24 16:03:39 +02:00
Rémi Bernon f0a10371c9 media-converter: Classify proton audioconv as Codec/Decoder/Audio.
Required to match it when enumerating audio decoders.

CW-Bug-Id: #19854
2022-01-24 16:03:39 +02:00
Rémi Bernon fc27d69033 steam.exe: Make process system after child process has started.
So that it can connect to the winstation and get a desktop reference
before steam.exe releases theirs.

CW-Bug-ID: #19584
2022-01-19 11:29:55 +02:00
Rémi Bernon a7d8aabc0d vrclient: Parse all include files at once. 2022-01-19 11:29:54 +02:00
Rémi Bernon 57ea5353ee lsteamclient: Parse all include files at once. 2022-01-19 11:29:54 +02:00
Rémi Bernon db7e0e7a14 vrclient: Remove unnecessary includes. 2022-01-19 11:29:54 +02:00
Rémi Bernon 226313fa1d lsteamclient: Remove unnecessary includes.
The -Isteamworks_sdk_{sdkver} was not expanded anyway.
2022-01-19 11:29:54 +02:00
Rémi Bernon fc14f36b9d vrclient: Use dicts to lookup structs in gen_wrapper.py. 2022-01-19 11:29:54 +02:00
Rémi Bernon de5557448b lsteamclient: Use dicts to lookup structs in gen_wrapper.py. 2022-01-19 11:29:54 +02:00
Rémi Bernon e868aa6e1a vrclient: Import from clang.cindex instead of prefixing. 2022-01-19 11:29:54 +02:00
Rémi Bernon 5e3dab64e2 lsteamclient: Import from clang.cindex instead of prefixing. 2022-01-19 11:29:54 +02:00
Rémi Bernon 7e4ee66328 proton: Link overridable DLLs debug files too. 2022-01-19 11:29:54 +02:00
Rémi Bernon 808920b6b3 proton: Add overridable DLLs to the tracked_files. 2022-01-19 11:29:54 +02:00
Rémi Bernon 83e40165ba proton: Move try_copy calls into the tracked_files block. 2022-01-19 11:29:54 +02:00
Rémi Bernon b3d4aa02a6 proton: Add a prefix parameter to try_copy. 2022-01-19 11:29:54 +02:00
Rémi Bernon 16b662a0bf proton: Always set dst to the target file name in try_copy. 2022-01-19 11:29:54 +02:00
Rémi Bernon c308ae9f32 configure.sh: Update default Proton SDK image to 0.20211207.0-0. 2022-01-19 11:29:54 +02:00
Rémi Bernon 6da8b268dd docker: Update Proton SDK components. 2022-01-19 11:29:54 +02:00
Rémi Bernon f46e62c775 docker: Install yasm in Proton SDK images. 2022-01-19 11:29:54 +02:00
Rémi Bernon 959f3665c3 proton: Add +unwind to the default debug channels. 2022-01-19 11:29:54 +02:00
Rémi Bernon 2b4bfa46d6 build: Call dlls/winevulkan/make_vulkan in wine post-source. 2022-01-19 11:29:54 +02:00
Rémi Bernon 0b729bded4 build: Stop building FAudio and jxrlib. 2022-01-19 11:29:54 +02:00
Rémi Bernon 0f1f692c70 proton: Start steam.exe from C:\\windows\\system32. 2022-01-19 11:29:54 +02:00
Rémi Bernon ec2a650072 build: Install builtin libraries to target-arch lib subdirs. 2022-01-19 11:29:54 +02:00
Rémi Bernon 73982eb20f build: Use winebuild --exe mode for fake exe module generation.
This fixes steam.exe.so not being able to start from system32
automatically, as the fake module was flagged with IMAGE_FILE_DLL, which
caused GetBinaryTypeW to fail.
2022-01-19 11:29:54 +02:00
Rémi Bernon 9b8046131d steam.exe: Use NtSetInformationProcess instead of __wine_make_process_system. 2022-01-19 11:29:54 +02:00
Rémi Bernon 5838c1fbda build: Don't depend on wine for building libvkd3d-shader. 2022-01-19 11:26:04 +02:00
Rémi Bernon c35122e209 build: Cross-compile Vulkan Loader with Vulkan and SPIRV Headers. 2022-01-19 11:26:04 +02:00
Rémi Bernon e0e1d984c2 Vulkan-Loader: Add new submodule. 2022-01-19 11:26:04 +02:00
Rémi Bernon cb94853f03 Vulkan-Headers: Update to v1.2.198. 2022-01-19 11:26:04 +02:00
Rémi Bernon 04bf8f150e build: Build vkd3d-shader with cross-compilation rules. 2022-01-19 11:26:04 +02:00
Rémi Bernon 587f86fb9d build: Better support meson cross compilation. 2022-01-19 11:26:04 +02:00
Rémi Bernon 5b8a6c72f9 build: Remove CCACHE_BIN variable, use wrappers in PATH instead.
Container have ccache wrappers in the PATH already, and the two
components CC / CXX just makes it harder to generate meson cross files.
2022-01-19 11:26:04 +02:00
Rémi Bernon 4ade59b2ca build: Better support cross-compilation in common rules. 2022-01-19 11:26:04 +02:00
Rémi Bernon 09568c2159 build: Simplify cargo target replacement. 2022-01-19 11:26:04 +02:00
Rémi Bernon 808b99bd27 build: Use $$(OBJ) consistently in rules macros. 2022-01-19 11:26:04 +02:00
Rémi Bernon 6d682e4b17 build: Cleanup target directories before building.
And force copy artifacts after.
2022-01-19 11:26:04 +02:00
Rémi Bernon 2286a8e592 docker: Add python3-pefile package to SDK image. 2022-01-19 11:26:04 +02:00
Rémi Bernon be485ab504 docker: Don't install tini, it's already there now. 2022-01-19 11:26:04 +02:00
Rémi Bernon 1c04188bc0 docker: Install libxpresent-dev packages. 2022-01-19 11:26:04 +02:00
Rémi Bernon c9a428090f docker: Bump steamrt version to 0.20210505.0. 2022-01-19 11:26:04 +02:00
Rémi Bernon ccfad43c81 docs: Add some documentation for proper ICMP ECHO system config.
System ping utility cannot be used in SLR container so we need to use
ICMP sockets.

CW-Bug-Id: #19340
2021-11-11 18:36:07 +02:00
Rémi Bernon cabe4dee6f build: Make sure wineopenx64.json depends on prefix.
So that deleting the prefix to recreate it also forces the file to be
copied again.
2021-06-17 15:10:20 -05:00
Rémi Bernon c1fc8283d1 build: Use jobs to control xargs parallelism. 2021-06-17 15:10:20 -05:00
Rémi Bernon bdb6a31e8c build: Make silent builds actually quiet. 2021-06-17 15:10:20 -05:00
Rémi Bernon 8448591ebd build: Build with Proton SDK 0.20210505.0-2.
But disable XPresent extension for now.
2021-06-17 15:10:20 -05:00
Rémi Bernon 751535d863 build: Restore missing tabulation in Makefile. 2021-05-27 19:13:24 +02:00
Rémi Bernon 0e897ff8b7 build: Move protonsdk_version default value to configure.sh. 2021-05-27 16:59:02 +02:00
Rémi Bernon a8b3580679 configure: Rename --no-steam-runtime to --no-proton-sdk. 2021-05-27 16:58:19 +02:00
Rémi Bernon 9d5b7eb0cc configure: Rename --steam-runtime-image to --proton-sdk-image. 2021-05-27 16:58:19 +02:00
Rémi Bernon ecca62efa8 build: Create CCACHE_DIR if it doesn't exist and mount it.
Instead of the HOME dir, and only when ENABLE_CCACHE is set.
2021-05-27 16:58:18 +02:00
Rémi Bernon 8dd5db85dd build: Pass CCACHE environment variable to the container build. 2021-05-27 16:58:18 +02:00
Rémi Bernon d3e4d8a811 build: Pass -j flags and overrides to sub-make inside Vagrant. 2021-05-27 16:58:16 +02:00
Rémi Bernon b84a7593b7 build: Pass -j flags to ninja build steps too. 2021-05-27 16:57:45 +02:00
Rémi Bernon bb4c28c6ac build: Use a separate rule for downloads. 2021-05-27 16:57:41 +02:00
Rémi Bernon 9283c7b50d build: Use SHELL variable to execute commands in Vagrant. 2021-05-27 16:57:22 +02:00
Rémi Bernon 1e561a8bc0 build: Split non-vagrant commands from install rule. 2021-05-27 16:52:27 +02:00
Rémi Bernon 2269616052 build: Use a rule to create the vagrant_share/* directories. 2021-05-27 16:52:23 +02:00
Rémi Bernon b58a10a265 build: Simplify and cleanup TTF font creation rules. 2021-05-27 16:52:09 +02:00
Rémi Bernon acded80882 build: Install wineopenxr64.json after the prefix is created. 2021-05-27 16:52:08 +02:00
Rémi Bernon 41d488deee build: Pass make flags and parallel flags to module rule. 2021-05-27 16:52:08 +02:00
Rémi Bernon 08992c126e build: Make sure that module target triggers wine-configure. 2021-05-27 16:52:08 +02:00
Rémi Bernon 8726ea849d build: Add specified modules to the container build list.
And not only when ending with 32/64.
2021-05-27 16:52:08 +02:00
Rémi Bernon 5dd383efff build: Remove duplicate BUILD_DIR variable. 2021-05-27 16:52:07 +02:00
Rémi Bernon bbf41a6d75 build: Add -gdwarf-2 -gstrict-dwarf debug info compilation flags. 2021-03-31 14:08:11 -05:00
Rémi Bernon d3890c110a docs: Document thread priority configuration. 2021-03-31 14:08:10 -05:00
Rémi Bernon 99f40d87e9 build: Don't force the number of make jobs. 2021-03-31 14:08:10 -05:00
Rémi Bernon ee04127950 build: Only mount what's required inside docker. 2021-03-31 14:08:10 -05:00
Rémi Bernon 4d63345180 build: Cleanup unused make variables. 2021-03-31 14:08:10 -05:00
Rémi Bernon fef27d08d9 build: Install modules separately and factor debug extraction. 2021-03-31 14:08:10 -05:00
Rémi Bernon f88ff58f53 build: Use build macros for mediaconv. 2021-03-31 14:08:10 -05:00
Rémi Bernon cdd4f10b8b build: Use build macros for vrclient. 2021-03-31 14:08:10 -05:00
Rémi Bernon ee909c8c6b build: Use build macros for steam. 2021-03-31 14:08:10 -05:00