mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1443419
- Extract gtk30.mo files from all the Ubuntu langpacks and bundle them into the snap. p=kenvandine r=sfraser
MozReview-Commit-ID: JB2PojGgike --HG-- extra : rebase_source : 699a98d0564c8f2a73a0e3687eebcc2885632572
This commit is contained in:
parent
0f1ef06f8d
commit
7a3bc22148
@ -47,6 +47,13 @@ for locale in $locales; do
|
||||
"$CANDIDATES_DIR/${VERSION}-candidates/build${BUILD_NUMBER}/linux-x86_64/xpi/${locale}.xpi"
|
||||
done
|
||||
|
||||
# Extract gtk30.mo from Ubuntu language packs
|
||||
apt download language-pack-gnome-*-base
|
||||
for i in *.deb; do
|
||||
# shellcheck disable=SC2086
|
||||
dpkg-deb --fsys-tarfile $i | tar xv -C "$SOURCE_DEST" --wildcards "./usr/share/locale-langpack/*/LC_MESSAGES/gtk30.mo" || true
|
||||
done
|
||||
|
||||
# Generate snapcraft manifest
|
||||
sed -e "s/@VERSION@/${VERSION}/g" -e "s/@BUILD_NUMBER@/${BUILD_NUMBER}/g" snapcraft.yaml.in > "${WORKSPACE}/snapcraft.yaml"
|
||||
cp -v "$SCRIPT_DIRECTORY/mimeapps.list" "$WORKSPACE"
|
||||
|
@ -48,8 +48,10 @@ parts:
|
||||
- libgl1-mesa-glx
|
||||
- libmirclient9
|
||||
- desktop-file-utils
|
||||
- xdg-utils
|
||||
- ffmpeg
|
||||
- xdg-utils
|
||||
- libc-bin
|
||||
- locales-all
|
||||
after: [desktop-gtk3]
|
||||
|
||||
xdg-open:
|
||||
|
Loading…
Reference in New Issue
Block a user