Skip to content

Commit 72cb40f

Browse files
committed
Install gettext in all editor build containers
This enables compiling the PO files to smaller binary MO files, reducing the size of the editor binary which embeds them. gettext will be added to the base container but I haven't done it yet, so for now adding it manually here.
1 parent e3827e1 commit 72cb40f

File tree

7 files changed

+13
-0
lines changed

7 files changed

+13
-0
lines changed

build-android/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ tar xf /root/godot.tar.gz --strip-components=1
1616

1717
# Classical
1818

19+
dnf -y install gettext
20+
1921
if [ "${CLASSICAL}" == "1" ]; then
2022
echo "Starting classical build for Android..."
2123

build-ios/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ tar xf /root/godot.tar.gz --strip-components=1
2121

2222
# Classical
2323

24+
dnf -y install gettext
25+
2426
if [ "${CLASSICAL}" == "1" ]; then
2527
echo "Starting classical build for iOS..."
2628

build-linux/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ tar xf /root/godot.tar.gz --strip-components=1
1717
# pkg-config wrongly points to lib instead of lib64 for arch-dependent header.
1818
sed -i ${GODOT_SDK_LINUX_X86_64}/x86_64-godot-linux-gnu/sysroot/usr/lib/pkgconfig/dbus-1.pc -e "s@/lib@/lib64@g"
1919

20+
dnf -y install gettext
21+
2022
# Classical
2123

2224
if [ "${CLASSICAL}" == "1" ]; then

build-macos/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ tar xf /root/godot.tar.gz --strip-components=1
1717

1818
# Classical
1919

20+
dnf -y install gettext
21+
2022
if [ "${CLASSICAL}" == "1" ]; then
2123
echo "Starting classical build for macOS..."
2224

build-mono-glue/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ sed -i ${GODOT_SDK_LINUX_X86_64}/x86_64-godot-linux-gnu/sysroot/usr/lib/pkgconfi
2020

2121
# Temporarily until we make --headless mode actually skip X11.
2222
dnf install -y libX11 libXcursor libXrandr libXinerama libXi mesa-libGL
23+
dnf -y install gettext
2324

2425
# Mono
2526

build-web/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ tar xf /root/godot.tar.gz --strip-components=1
2929

3030
# Classical
3131

32+
dnf -y install gettext
33+
3234
if [ "${CLASSICAL}" == "1" ]; then
3335
echo "Starting classical build for Web..."
3436

build-windows/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ tar xf /root/godot.tar.gz --strip-components=1
1616

1717
# Classical
1818

19+
dnf -y install gettext
20+
1921
if [ "${CLASSICAL}" == "1" ]; then
2022
echo "Starting classical build for Windows..."
2123

0 commit comments

Comments
 (0)