Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e8a7c7d36 | ||
|
|
37c2cf8855 | ||
|
|
1c61a1309e | ||
|
|
69dd2a0f4b | ||
|
|
ee27a9adc4 |
1 changed files with 0 additions and 50 deletions
|
|
@ -1,50 +0,0 @@
|
|||
flatpak:
|
||||
id: org.fedoraproject.Platform.Locale
|
||||
branch: f41
|
||||
build-extension: true
|
||||
runtime: org.fedoraproject.Platform
|
||||
runtime-version: f41
|
||||
sdk: org.fedoraproject.Sdk
|
||||
name: f41/flatpak-runtime-locale
|
||||
component: flatpak-runtime-locale
|
||||
packages:
|
||||
- glibc-langpack-*
|
||||
- hunspell-??
|
||||
- hunspell-??-*
|
||||
- hunspell-???
|
||||
- hyphen-??
|
||||
- hyphen-??-*
|
||||
- hyphen-???
|
||||
# for cleanup-commands (part of runtime)
|
||||
- coreutils-single
|
||||
- sed
|
||||
cleanup-commands: |
|
||||
mkdir -p /app
|
||||
cd /usr/lib/locale
|
||||
for d in *; do
|
||||
case $d in en_*) continue ;; esac
|
||||
mkdir -p /app/${d%_*}/lib
|
||||
mv $d /app/${d%_*}/lib/
|
||||
done
|
||||
cd /usr/share/hunspell
|
||||
for f in *; do
|
||||
l=`echo $f | sed -e 's/\([^-_\.]*\)[-_\.].*/\1/'`
|
||||
case $l in en) continue ;; esac
|
||||
mkdir -p /app/$l/hunspell
|
||||
mv $f /app/$l/hunspell/
|
||||
done
|
||||
cd /usr/share/hyphen
|
||||
for f in *; do
|
||||
l=`echo $f | sed -e 's/hyph_\([^-_\.]*\)[-_\.].*/\1/'`
|
||||
case $l in en) continue ;; esac
|
||||
mkdir -p /app/$l/hyphen
|
||||
mv $f /app/$l/hyphen/
|
||||
done
|
||||
ln -sfn ../../sh/hunspell/sh_YU.aff /app/bs/hunspell/bs_BA.aff
|
||||
ln -sfn ../../sh/hunspell/sh_YU.dic /app/bs/hunspell/bs_BA.dic
|
||||
ln -sfn ../../tl/hunspell/tl_PH.aff /app/fil/hunspell/fil_PH.aff
|
||||
ln -sfn ../../tl/hunspell/tl_PH.dic /app/fil/hunspell/fil_PH.dic
|
||||
ln -sfn ../../plt/hunspell/plt.aff /app/mg/hunspell/mg.aff
|
||||
ln -sfn ../../plt/hunspell/plt.dic /app/mg/hunspell/mg.dic
|
||||
ln -sfn ../../sh/hyphen/hyph_sh_YU.dic /app/bs/hyphen/hyph_bs_BA.dic
|
||||
ln -sfn ../../it/hyphen/hyph_it_IT.dic /app/la/hyphen/hyph_la_VA.dic
|
||||
Loading…
Add table
Add a link
Reference in a new issue