Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
8606b3d
fix: fix compilation of the flatpak image
Totto16 Oct 13, 2025
0fd8539
chore: update android versions
Totto16 Oct 13, 2025
279c782
chore: update httplib wrap to 0.26.0
Totto16 Oct 13, 2025
2d4f2c8
chore: update tl-expected wrap to 1.3.1-1
Totto16 Oct 13, 2025
88e5cf7
chore: update discord_social_sdk wrap to 1.6.11894
Totto16 Oct 13, 2025
a118b53
fix: fix libc++ installation
Totto16 Oct 13, 2025
25028ad
fix: fix fmt header only usage
Totto16 Oct 13, 2025
91312f3
fix: correctly install meson in Nintendo ci
Totto16 Oct 14, 2025
4c3b994
ci: use newest intel macos runner image, macos:15-intel
Totto16 Oct 14, 2025
870603e
feat: add more cpp arguments
Totto16 Jul 29, 2026
b6b375f
feat: update java wrapper
Totto16 Jul 30, 2026
ca07274
feat: fix merge with #222
Totto16 Jul 31, 2026
d39edba
feat: update cpp-httplib to the newest version (0.510)
Totto16 Jul 31, 2026
bb3d680
fix: fix more merge / rebase errors
Totto16 Jul 31, 2026
94c0138
fix: fix spdlog std format detection with libc++
Totto16 Jul 31, 2026
d7c8f7e
feat: update discord_social_sdk
Totto16 Jul 31, 2026
6c6cf00
fix: fix small compilation error
Totto16 Jul 31, 2026
04aac2b
fix: fix cpp compiler arguments detection
Totto16 Jul 31, 2026
74765a7
fix: fix some compiler errors with the new strict flags
Totto16 Jul 31, 2026
13c2cf3
fix: fix more compiler errors with the new strict flags
Totto16 Jul 31, 2026
1210494
fix: fix meson formatting
Totto16 Jul 31, 2026
bbe6f44
fix: fix more compile errors
Totto16 Jul 31, 2026
550b140
fix: fix small android compilation error
Totto16 Jul 31, 2026
7a5900a
fix: fix more third party compilation errors
Totto16 Jul 31, 2026
c4df1b5
fix: fix small web compilation error
Totto16 Jul 31, 2026
0cd4566
fix: fix test cases
Totto16 Jul 31, 2026
3693c6a
feat: install discord partner sdk vendor lib correctly
Totto16 Jul 31, 2026
3c5b888
feat: fix some minor web script errors
Totto16 Jul 31, 2026
dc3c722
feat: add base for uefi cross compile script
Totto16 Jul 31, 2026
60f6b1a
feat: more uefi build process
Totto16 Jul 31, 2026
a5f6bb6
feat: more uefi progress
Totto16 Jul 31, 2026
1b6c041
feat: more progress in the uefi target
Totto16 Jul 31, 2026
bdb0cd0
feat; some uefi progress
Totto16 Jul 31, 2026
41072c0
fix: more uefi progress
Totto16 Jul 31, 2026
be20f7a
feat: more uefi progress
Totto16 Jul 31, 2026
fbc84a9
feat: fix the wrapper files for the uefi
Totto16 Jul 31, 2026
2d0f1f7
feat: support linking in the gcc wrappers for uefi
Totto16 Jul 31, 2026
8af8d96
feat: uefi gcc wrappers, detect dependencies
Totto16 Jul 31, 2026
3d960aa
feat: ignore the same output fiel in the uefi gcc wrappers
Totto16 Jul 31, 2026
0acb92d
feat: improve uefi wrapper scripts
Totto16 Aug 1, 2026
234afc0
feat: output error messages to stderr in bash scripts
Totto16 Aug 1, 2026
f67555b
feat more uefi build progress
Totto16 Aug 1, 2026
5f45bf0
feat: more uefi progress
Totto16 Aug 1, 2026
b7d91d1
feat: more uefi progress
Totto16 Aug 1, 2026
eb57526
feat: fix wrapper script for uefi
Totto16 Aug 1, 2026
7ef6ad9
fix: more uefi wrapper script fixes
Totto16 Aug 1, 2026
dadb87e
fix: fix more uefi wrapper script stuff
Totto16 Aug 1, 2026
54825b0
fix: get the version of the uefi packages in another way
Totto16 Aug 1, 2026
ff96407
feat: more uefi progress
Totto16 Aug 1, 2026
fb8b26c
fix: add more uefi fixes
Totto16 Aug 1, 2026
b67929d
fix: fix some uefi generation issues
Totto16 Aug 1, 2026
ad5f2ba
fix: more uefi fixes
Totto16 Aug 1, 2026
d8857ea
feat: add correct flags for uefi compilation in the cross file
Totto16 Aug 1, 2026
8cae03c
feat: add include detection for the uefi generators and wrappers
Totto16 Aug 1, 2026
929f321
fix: fix some uefi c++ compiler errors
Totto16 Aug 1, 2026
70494f1
fix: fix build dir linksin uefi wrapper
Totto16 Aug 2, 2026
82c465a
fix: process more target options for uefi .inf generation
Totto16 Aug 3, 2026
aa69009
feat: use shared libraries instea of static ones
Totto16 Aug 3, 2026
45eaa31
feat: improve the gcc and g++ wrapper script for uefi
Totto16 Aug 3, 2026
fff9335
fix: more uefi wrapper and general scripts improvement
Totto16 Aug 3, 2026
5c9aa51
fix some uefi fixes
Totto16 Aug 3, 2026
4ddd487
fix: fix GeneratedPackages link
Totto16 Aug 3, 2026
e657081
fix; fix some things for the uefi compilation
Totto16 Aug 4, 2026
10b69df
fix: fix uefi wrapper scripts
Totto16 Aug 4, 2026
259e9ac
fix fix sdl2_mixer wrap compilation for uefi
Totto16 Aug 4, 2026
a9c0586
fix: add mappings for temporary packages for sdl2 mixer and image for…
Totto16 Aug 4, 2026
6b21eff
fix: fix CXX and CC flags errors
Totto16 Aug 5, 2026
0898cfc
fix: fix some c++ and cc related issues in the uefi compilation
Totto16 Aug 5, 2026
a6e6ec4
feat: add simple uefi main
Totto16 Aug 5, 2026
3f2cb90
fix: fix librares includes for uefi build system
Totto16 Aug 5, 2026
85f625a
fix: also generate inc files for pkg-config dependencies, that are no…
Totto16 Aug 5, 2026
135929b
feat: also add a libcxx port for c++ support for uefi
Totto16 Aug 5, 2026
b5eb185
fix: fix some c++ things in the uefi compiler wrappers
Totto16 Aug 5, 2026
770ce5d
fix: fix __linux__ detection for uefi
Totto16 Aug 5, 2026
98ad386
fix: fix many uefi related problems
Totto16 Aug 5, 2026
7242013
fix: fix many uefi errors
Totto16 Aug 7, 2026
0344fd1
fix: fix cxx compiler for edk2
Totto16 Aug 7, 2026
6c0d4d0
fix: fix spdlog for uefi
Totto16 Aug 7, 2026
817774f
feat: fix some hpp and cpp code for uefi
Totto16 Aug 7, 2026
3d225b6
feat: add small compat for ifstream
Totto16 Aug 7, 2026
3fec6f4
feat: try to use compat for ifstreams and ofstreams
Totto16 Aug 7, 2026
b9936ee
feat: use locale in uefi
Totto16 Aug 7, 2026
03db884
fix: more uefi related cpp fixes
Totto16 Aug 7, 2026
7433cf7
feat: some more progress for uefi
Totto16 Aug 7, 2026
635fbff
fix: add builtin package support for pkg-config for uefi
Totto16 Aug 8, 2026
68b0093
fix: fix some uefi compilation errors
Totto16 Aug 8, 2026
3580f7c
fix: fix more exception related things for uefi
Totto16 Aug 8, 2026
34eeea0
feat: more exception cleanup for uefi
Totto16 Aug 8, 2026
f61399e
feat: more exception cleanup for uefi
Totto16 Aug 8, 2026
a62ce69
feat: more exception cleanup for uefi
Totto16 Aug 8, 2026
2027e0c
feat: more exception cleanup for uefi
Totto16 Aug 8, 2026
d8fbf89
feat: add uefi network requests and http implementation
Totto16 Aug 8, 2026
fced545
fix: fix small uefi error
Totto16 Aug 8, 2026
63acf6f
fix: detect language for CC_FLAGS and set the appropriate flags for uefi
Totto16 Aug 8, 2026
f1876ac
feat: more exception cleanup for uefi
Totto16 Aug 8, 2026
805027d
feat: exclude argparse for uefi, as we don't need to parse arguments …
Totto16 Aug 8, 2026
4eee1b1
feat: add debug sink for spdlog for uefi
Totto16 Aug 8, 2026
d3cf295
feat: add libcxx library to the needed libs for cpp libraries
Totto16 Aug 8, 2026
e996498
feat: add llvm as a whole instead of only libcxx, as we also need lib…
Totto16 Aug 9, 2026
e562a75
feat: make the edk2 ssl library compatible with the StdLib from edk2-…
Totto16 Aug 9, 2026
746d21c
feat: add more libc libraries from the stdlib to uefi libs
Totto16 Aug 9, 2026
a6a8d1c
fix: some small uefi fixes
Totto16 Aug 9, 2026
31e0b36
fix: fix int128 support for fmt with uefi
Totto16 Aug 9, 2026
abdf99f
fix: small uefi fixes
Totto16 Aug 10, 2026
c854c5c
feat: some final script fixes for uefi
Totto16 Aug 10, 2026
8a21cf6
feat: add meson runtime target to run qemu for the .efi file
Totto16 Aug 10, 2026
988eea4
feat: add debug output to qemu for efi simulation
Totto16 Aug 10, 2026
5e151ad
feat: fix debug print usage for uefi
Totto16 Aug 11, 2026
9e3af7a
fix: fix more uefi related issues
Totto16 Aug 11, 2026
76c92a0
feat: more uefi fixes
Totto16 Aug 11, 2026
47313b7
fix: fix library ordering
Totto16 Aug 11, 2026
a8d20cf
fix: fix some uefi edk2 issues
Totto16 Aug 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 21
sudo apt-get install libc++-21* libc++abi*21* -y --no-install-recommends
sudo apt-get install libc++-21* libc++abi-*21* -y --no-install-recommends
echo "CC=clang-21" >> "$GITHUB_ENV"
echo "CXX=clang++-21" >> "$GITHUB_ENV"
echo "OBJC=clang-21" >> "$GITHUB_ENV"
Expand All @@ -166,16 +166,6 @@ jobs:
version: 15
platform: x64

- name: Unbreak Python in GHA (MacOS 13 image)
if: matrix.config.os == 'macos' && matrix.config.os-version == 13
run: |
# TODO: remove this, after it works again
# A workaround for "The `brew link` step did not complete successfully" error.
# See e.g. https://github.com/Homebrew/homebrew-core/issues/165793#issuecomment-1991817938
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
sudo rm -rf /Library/Frameworks/Python.framework/
brew install --force python3 && brew unlink python3 && brew unlink python3 && brew link --overwrite python3

- name: Setup Clang (MacOS)
if: matrix.config.os == 'macos'
run: |
Expand Down
1 change: 0 additions & 1 deletion io.github.openbrickprotocolfoundation.oopetris.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ modules:
- -Dbuild_installer=true
- --libdir=lib
- -Dtests=true
- -Dsdl2_image:test=false
- --fatal-meson-warnings
- -Drun_in_ci=true # note we always want the CI checks in the case we built the flatpak
- --force-fallback-for=fmt # note, the freedesktop sdk has this installed, but it is not copiable into the runtime, so we need to build it ourself, to be able to install it correctly
Expand Down
1 change: 1 addition & 0 deletions platforms/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
crossbuild.ini
crossbuild/*.ini
crossbuild/uefi*.json

*.elf
*.nacp
Expand Down
4 changes: 2 additions & 2 deletions platforms/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ List getAndroidABIs() {
/**
* Determine the version
* if you specify it explicitly, that will be used, otherwise meson introspect will be called
* @return String
* @returns String
*/
String getVersion() {
String property = project.findProperty('VERSION')
Expand Down Expand Up @@ -320,7 +320,7 @@ android {
}

compileSdkVersion 35
ndkVersion = "29.0.14206865"
ndkVersion = "29.0.14033849"
defaultConfig {
if (buildAsApplication) {
applicationId "com.github.oopetris"
Expand Down
5 changes: 2 additions & 3 deletions platforms/build-3ds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ elif [ "$#" -eq 3 ]; then
RUN_IN_CI="true"
fi
else
echo "Too many arguments given, expected 1, 2 or 3"
echo "Too many arguments given, expected 1, 2 or 3" >&2
exit 1
fi

Expand All @@ -41,7 +41,7 @@ if [ "$COMPILE_TYPE" == "smart" ]; then
elif [ "$COMPILE_TYPE" == "complete_rebuild" ]; then
: # noop
else
echo "Invalid COMPILE_TYPE, expected: 'smart' or 'complete_rebuild'"
echo "Invalid COMPILE_TYPE, expected: 'smart' or 'complete_rebuild'" >&2
exit 1
fi

Expand All @@ -67,7 +67,6 @@ export BUILD_DIR="build/3ds"

export TOOL_PREFIX="arm-none-eabi"


export BIN_DIR="$PORTLIBS_PATH_3DS/bin"
export PKG_CONFIG_EXEC="$BIN_DIR/$TOOL_PREFIX-pkg-config"
export CMAKE="$BIN_DIR/$TOOL_PREFIX-cmake"
Expand Down
18 changes: 7 additions & 11 deletions platforms/build-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ fi

if [ ! -e "$BASE_PATH/meta/abis.json" ]; then

echo "no abis.json file found, to determine supported abis"
echo "no abis.json file found, to determine supported abis" >&2
exit 2

fi

if [ ! -e "$BASE_PATH/meta/platforms.json" ]; then

echo "no platforms.json file found, to determine supported platforms and SDKs"
echo "no platforms.json file found, to determine supported platforms and SDKs" >&2
exit 2

fi

SDK_VERSION=$(jq '.max' -M -r -c "$BASE_PATH/meta/platforms.json")
export SDK_VERSION

mapfile -t ARCH_KEYS < <(jq 'keys' -M -r -c "$BASE_PATH/meta/abis.json" | tr -d '[]"' | sed 's/,/\n/g')
mapfile -t ARCH_KEYS < <(jq 'keys[]' -M -r -c "$BASE_PATH/meta/abis.json")

export ARCH_KEYS_INDEX=("${!ARCH_KEYS[@]}")

Expand All @@ -82,7 +82,7 @@ elif [ "$#" -eq 1 ] || [ "$#" -eq 2 ] || [ "$#" -eq 3 ] || [ "$#" -eq 4 ]; then
done

if [ -z "$FOUND" ]; then
echo "Invalid arch: '${ARCH}', supported archs are:" "${ARCH_KEYS[@]}"
echo "Invalid arch: '${ARCH}', supported archs are:" "${ARCH_KEYS[@]}" >&2
exit 2
fi

Expand All @@ -106,7 +106,7 @@ elif [ "$#" -eq 1 ] || [ "$#" -eq 2 ] || [ "$#" -eq 3 ] || [ "$#" -eq 4 ]; then
fi

else
echo "Too many arguments given, expected 1, 2, 3 or 4"
echo "Too many arguments given, expected 1, 2, 3 or 4" >&2
exit 1
fi

Expand All @@ -115,11 +115,10 @@ if [ "$COMPILE_TYPE" == "smart" ]; then
elif [ "$COMPILE_TYPE" == "complete_rebuild" ]; then
: # noop
else
echo "Invalid COMPILE_TYPE, expected: 'smart' or 'complete_rebuild'"
echo "Invalid COMPILE_TYPE, expected: 'smart' or 'complete_rebuild'" >&2
exit 1
fi


for INDEX in "${ARCH_KEYS_INDEX[@]}"; do
export KEY=${ARCH_KEYS[$INDEX]}

Expand Down Expand Up @@ -148,7 +147,6 @@ for INDEX in "${ARCH_KEYS_INDEX[@]}"; do

if [ "$COMPILE_TYPE" == "complete_rebuild" ] || ! [ -e "$SYS_ROOT" ]; then


if [ -d "${SYS_ROOT:?}/" ]; then

rm -rf "${SYS_ROOT:?}/"
Expand Down Expand Up @@ -249,7 +247,6 @@ for INDEX in "${ARCH_KEYS_INDEX[@]}"; do

## build flac with cmake (meson port doesn't work for 32 bits machines atm) (we need to check for fseeko and ftello correctly in there)


pushd "$SYS_ROOT"

BUILD_DIR_FLAC="build-flac"
Expand Down Expand Up @@ -377,7 +374,6 @@ for INDEX in "${ARCH_KEYS_INDEX[@]}"; do

validate_parent_dir "$CROSS_FILE"


cat <<EOF >"$CROSS_FILE"
[host_machine]
system = 'android'
Expand Down Expand Up @@ -477,7 +473,7 @@ EOF

done

# TODO only copy the supported music ones (atm we need both for i686 flac is needed!)
# TODO only copy the supported music ones (atm we need both, for i686 flac is needed!)

cp -r ./assets/ platforms/android/app/src/main

Expand Down
5 changes: 2 additions & 3 deletions platforms/build-switch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ elif [ "$#" -eq 3 ]; then
RUN_IN_CI="true"
fi
else
echo "Too many arguments given, expected 1, 2 or 3"
echo "Too many arguments given, expected 1, 2 or 3" >&2
exit 1
fi

Expand All @@ -41,7 +41,7 @@ if [ "$COMPILE_TYPE" == "smart" ]; then
elif [ "$COMPILE_TYPE" == "complete_rebuild" ]; then
: # noop
else
echo "Invalid COMPILE_TYPE, expected: 'smart' or 'complete_rebuild'"
echo "Invalid COMPILE_TYPE, expected: 'smart' or 'complete_rebuild'" >&2
exit 1
fi

Expand All @@ -55,7 +55,6 @@ source "$SCRIPT_DIR/versions.sh"
# shellcheck source=./platforms/helper.sh
source "$SCRIPT_DIR/helper.sh"


export DEVKITPRO="/opt/devkitpro"
export ARCH_DEVKIT_FOLDER="$DEVKITPRO/devkitA64"
export COMPILER_BIN="$ARCH_DEVKIT_FOLDER/bin"
Expand Down
Loading
Loading