1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

test locale fix

This commit is contained in:
Bruno Lopes
2025-06-07 11:46:22 -03:00
parent 38f8aec0df
commit 0e4ed81ae3
2 changed files with 8 additions and 6 deletions

View File

@@ -107,9 +107,7 @@ stages:
- <<: *CI_RELEASE
parallel:
matrix:
- RUNNER: [aarch64, x86_64_v2]
tags:
- $RUNNER
- RUNNER: [x86_64_v2]
image: $CI_REGISTRY_IMAGE:build-debian-${DEB_VERSION}-${RUNNER}
variables:
CC: "clang"

View File

@@ -305,8 +305,13 @@ for lang in "${lang_array[@]}"; do
# For language list in text tool options
bund_usr "$UNIX_PREFIX" share/locale/$lang/LC_MESSAGES/iso_639*3.mo
done
bund_usr "$UNIX_PREFIX" "share/locale/locale.alias"
conf_app LOCPATH "share/locale"
bund_usr "$UNIX_PREFIX" "share/i18n"
conf_app GCONV_PATH "${LIB_DIR}/${LIB_SUBDIR}gconv"
bund_usr "$GIMP_PREFIX" "etc/gimp"
## Other features and plug-ins
### Needed for welcome page
bund_usr "$GIMP_PREFIX" "share/metainfo/*.xml"
@@ -410,8 +415,7 @@ done
mv build/linux/appimage/AppRun $APP_DIR
mv build/linux/appimage/AppRun.bak build/linux/appimage/AppRun
rm $APP_DIR/*.desktop
echo "usr/${LIB_DIR}/${LIB_SUBDIR}gconv
usr/${LIB_DIR}/${LIB_SUBDIR}gdk-pixbuf-*/gdk-pixbuf-query-loaders
echo "usr/${LIB_DIR}/${LIB_SUBDIR}gdk-pixbuf-*/gdk-pixbuf-query-loaders
usr/${LIB_DIR}/${LIB_SUBDIR}gdk-pixbuf-*/*.debug
usr/share/doc
usr/share/themes
@@ -439,7 +443,7 @@ export USR_DIR="$APP_DIR/usr"
## 4.1. Finish AppRun configuration
echo '(INFO): finishing AppRun configuration'
ln -sfr "$USR_DIR/bin/gimp-$GIMP_APP_VERSION" "$USR_DIR/bin/$APP_ID"
printf "\nexec \"\${LD_LINUX}\" --inhibit-cache \"\$APPDIR\"/usr/bin/$APP_ID \"\$@\"" >> "$APP_DIR/AppRun"
printf "\nexec \"\$APPDIR\"/usr/bin/$APP_ID \"\$@\"" >> "$APP_DIR/AppRun"
chmod +x $APP_DIR/AppRun
## 4.2. Copy icon assets (similarly to flatpaks's 'rename-icon')