mirror of
https://github.com/lucannez64/darling-lol.git
synced 2026-10-26 19:47:42 +00:00
Preserve floating-point arguments in GL resolvers, retain presentation across differently sized windows, export AppKit click and URL fixes, and guard nullable LaunchServices errors. Include compiler/build and installer corrections for the new PC. Reuse server receive buffers with descriptor-safe exception cleanup and avoid disabled debug-string allocation. Translate Darwin free/reuse memory hints, add atomic server/library installers with separate user-owned memory backups, and preserve active processes until a manual namespace restart. Remove automatic inspectors, client helpers and forced unlimited UI frames from normal launches. Retain historical hooks with offline mocks and document their exclusion, unresolved installer handoff, activation requirements and unmeasured FPS/RAM benefits. Validation: all 29 pinned patches apply; all 461 exported source files match; host receive and memory checks, launcher and JavaScript mocks, syntax and documentation-link checks pass. No live client/game was controlled or restarted.
16 lines
883 B
Bash
Executable File
16 lines
883 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
repo=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
cd "$repo"
|
|
python3 scripts/configure.py
|
|
if [ -d build/venv/bin ]; then PATH="$repo/build/venv/bin:$PATH"; export PATH; fi
|
|
python3 scripts/prepare.py
|
|
# Empty build type, as upstream Darling uses: objc4 always defines OBJC_IS_DEBUG_BUILD=1,
|
|
# so Release's -DNDEBUG trips its "mismatch in debug-ness macros" #error.
|
|
# x86-64 only: the patched OpenDirectory declares ivars in @implementation, which the
|
|
# 32-bit (fragile ABI) slice cannot compile, and the macOS client is 64-bit.
|
|
cmake -S build/darling-src -B build/darling-src/build -G 'Unix Makefiles' \
|
|
-DCMAKE_BUILD_TYPE= -DTARGET_i386=OFF -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_METAL=ON
|
|
cmake --build build/darling-src/build --parallel "${JOBS:-$(nproc)}"
|
|
echo 'Build complete. Install the base runtime with: sudo cmake --install build/darling-src/build'
|