Skip to content

Commit

Permalink
Install gettext in all editor build containers
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
akien-mga committed Feb 14, 2023
1 parent e3827e1 commit 72cb40f
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-android/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ tar xf /root/godot.tar.gz --strip-components=1

# Classical

dnf -y install gettext

if [ "${CLASSICAL}" == "1" ]; then
echo "Starting classical build for Android..."

Expand Down
2 changes: 2 additions & 0 deletions build-ios/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ tar xf /root/godot.tar.gz --strip-components=1

# Classical

dnf -y install gettext

if [ "${CLASSICAL}" == "1" ]; then
echo "Starting classical build for iOS..."

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

dnf -y install gettext

# Classical

if [ "${CLASSICAL}" == "1" ]; then
Expand Down
2 changes: 2 additions & 0 deletions build-macos/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ tar xf /root/godot.tar.gz --strip-components=1

# Classical

dnf -y install gettext

if [ "${CLASSICAL}" == "1" ]; then
echo "Starting classical build for macOS..."

Expand Down
1 change: 1 addition & 0 deletions build-mono-glue/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ sed -i ${GODOT_SDK_LINUX_X86_64}/x86_64-godot-linux-gnu/sysroot/usr/lib/pkgconfi

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

# Mono

Expand Down
2 changes: 2 additions & 0 deletions build-web/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ tar xf /root/godot.tar.gz --strip-components=1

# Classical

dnf -y install gettext

if [ "${CLASSICAL}" == "1" ]; then
echo "Starting classical build for Web..."

Expand Down
2 changes: 2 additions & 0 deletions build-windows/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ tar xf /root/godot.tar.gz --strip-components=1

# Classical

dnf -y install gettext

if [ "${CLASSICAL}" == "1" ]; then
echo "Starting classical build for Windows..."

Expand Down

0 comments on commit 72cb40f

Please sign in to comment.