public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: Restore mythes to runtime
@ 2026-09-11 14:43 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-11 14:43 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : flatpaks/flatpak-runtime
            Branch : f45
            Commit : 64473b2f6827f269b579592ef87d99cfe7b85864
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-03-02T21:13:17-05:00
            Stats  : +20/-1 in 4 file(s)
            URL    : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/64473b2f6827f269b579592ef87d99cfe7b85864?branch=f45

            Log:
            Restore mythes to runtime

mythes (which is present in the FD.o runtime) was pruned from F41 runtime
to save space, as it is only used by libreoffice.  Now that we have proper
Locale extension support, parity is more worthwhile.

---
diff --git a/container-sdk.in.yaml b/container-sdk.in.yaml
index 4547706..f8dea88 100644
--- a/container-sdk.in.yaml
+++ b/container-sdk.in.yaml
@@ -142,5 +142,14 @@ flatpak:
             rm -f $f
             ln -sf ../runtime/locale/$l/hyphen/$f .
         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
+            rm -f $f
+            ln -sf ../runtime/locale/$l/mythes/$f .
+        done
 
     packages: []

diff --git a/container.in.yaml b/container.in.yaml
index 5817fb9..d225c95 100644
--- a/container.in.yaml
+++ b/container.in.yaml
@@ -133,5 +133,14 @@ flatpak:
             rm -f $f
             ln -sf ../runtime/locale/$l/hyphen/$f .
         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
+            rm -f $f
+            ln -sf ../runtime/locale/$l/mythes/$f .
+        done
 
     packages: []

diff --git a/tools/generate-container-yaml.py b/tools/generate-container-yaml.py
index a003152..c710743 100755
--- a/tools/generate-container-yaml.py
+++ b/tools/generate-container-yaml.py
@@ -45,6 +45,8 @@ def update_container_yaml(template, output, list_file):
         "hyphen-??",
         "hyphen-??-*",
         "hyphen-???",
+        "mythes-??",
+        "mythes-??-*",
     ]
 
     with open(list_file) as f:

diff --git a/tools/resolve-files.py b/tools/resolve-files.py
index 957d4b5..05c06ec 100755
--- a/tools/resolve-files.py
+++ b/tools/resolve-files.py
@@ -620,7 +620,6 @@ global_package_ignore_patterns = [
     '^libtiff-tools$',
     '^libxkbcommon-utils$',
     '^libvpx-utils$',
-    '^mythes.*',  # used only by libreoffice
     '^nuspell*',
     '^openssh$',
     '^openssl-pkcs11$',  # replaced by pkcs11-provider

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 14:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 14:43 [flatpaks/flatpak-runtime] f45: Restore mythes to runtime Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox