Skip to content

Commit 9d47d69

Browse files
authored
Merge pull request #188 from Ghabry/updates
Package Updates
2 parents 94e64ae + 392af27 commit 9d47d69

20 files changed

+154
-586
lines changed

.github/workflows/stable-compilation.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
apt-get install -yqq --no-install-recommends --no-install-suggests \
4242
ca-certificates build-essential cmake ninja-build meson git \
4343
autoconf autoconf-archive automake autotools-dev libtool \
44-
sed gawk patch perl pkg-config curl unzip libpulse-dev
44+
sed gawk patch perl pkg-config curl unzip libpulse-dev python3-pip
45+
pip3 config set global.break-system-packages true
46+
pip3 install --upgrade meson
4547
4648
- name: Clone Repository
4749
uses: actions/checkout@v4

3ds/2_build_toolchain.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ if [ ! -f .patches-applied ]; then
5959
patch -d $LHASA_DIR -Np1 < $SCRIPT_DIR/../shared/extra/lhasa.patch
6060

6161
# Fix icu build
62-
patch -Np0 < $SCRIPT_DIR/icu-3ds.patch
63-
# Patch mutex support out
64-
patch -Np0 < $SCRIPT_DIR/icu-3ds-no-mutex.patch
62+
# Remove mutexes (crashes)
63+
patch -Np0 < $SCRIPT_DIR/../shared/extra/icu-no-mutex.patch
64+
# Fix char16 detection
65+
patch -Np0 < $SCRIPT_DIR/icu-data-char16.patch
6566

6667
touch .patches-applied
6768
fi

3ds/icu-3ds.patch

Lines changed: 0 additions & 325 deletions
This file was deleted.

3ds/icu-data-char16.patch

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff -Naur icu-orig/source/common/unicode/ptypes.h icu/source/common/unicode/ptypes.h
2+
--- icu-orig/source/common/unicode/ptypes.h 2024-08-26 18:27:25.490986142 +0200
3+
+++ icu/source/common/unicode/ptypes.h 2024-08-26 18:27:44.527820067 +0200
4+
@@ -56,11 +56,7 @@
5+
// implementations (looking at you, Apple, spring 2024) actually do this, so
6+
// ICU4C must detect and deal with that.
7+
#if !defined(__cplusplus) && !defined(U_IN_DOXYGEN)
8+
-# if U_HAVE_CHAR16_T
9+
-# include <uchar.h>
10+
-# else
11+
typedef uint16_t char16_t;
12+
-# endif
13+
#endif
14+
15+
#endif /* _PTYPES_H */

emscripten/1_download_library.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ else
4343
touch .emscripten
4444

4545
# Download and install the latest SDK tools and set up the compiler configuration to point to it.
46-
./emsdk install 3.1.65
47-
./emsdk activate 3.1.65
46+
./emsdk install 3.1.74
47+
./emsdk activate 3.1.74
4848

4949
# Set the current Emscripten path
5050
source ./emsdk_env.sh

0 commit comments

Comments
 (0)