Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b12f9dab2c | ||
|
|
7458cf294a | ||
|
|
3a0e71d716 |
1 changed files with 16 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ flatpak:
|
|||
sdk: org.fedoraproject.Sdk
|
||||
name: f41/flatpak-runtime-locale
|
||||
component: flatpak-runtime-locale
|
||||
end-of-life: Fedora 41 runtime is no longer supported.
|
||||
packages:
|
||||
- glibc-langpack-*
|
||||
- hunspell-??
|
||||
|
|
@ -15,6 +16,8 @@ flatpak:
|
|||
- hyphen-??
|
||||
- hyphen-??-*
|
||||
- hyphen-???
|
||||
- mythes-??
|
||||
- mythes-??-*
|
||||
# for cleanup-commands (part of runtime)
|
||||
- coreutils-single
|
||||
- sed
|
||||
|
|
@ -22,7 +25,10 @@ flatpak:
|
|||
mkdir -p /app
|
||||
cd /usr/lib/locale
|
||||
for d in *; do
|
||||
case $d in en_*) continue ;; esac
|
||||
case $d in C.*|en_*) continue ;; esac
|
||||
if [ -L $d/LC_CTYPE ]; then
|
||||
ln -sfn /usr/lib/locale/C.utf8/LC_CTYPE $d/LC_CTYPE;
|
||||
fi
|
||||
mkdir -p /app/${d%_*}/lib
|
||||
mv $d /app/${d%_*}/lib/
|
||||
done
|
||||
|
|
@ -40,6 +46,15 @@ flatpak:
|
|||
mkdir -p /app/$l/hyphen
|
||||
mv $f /app/$l/hyphen/
|
||||
done
|
||||
cd /usr/share/mythes
|
||||
mv th_eo{,_v2}.dat
|
||||
mv th_eo{,_v2}.idx
|
||||
for f in *; do
|
||||
l=`echo $f | sed -e 's/th_\([^-_\.]*\)[-_\.].*/\1/'`
|
||||
case $l in en) continue ;; esac
|
||||
mkdir -p /app/$l/mythes
|
||||
mv $f /app/$l/mythes/
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue