You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running $ flatpak-builder dir --repo=repo org.test.test.json creates the directories dir/files/share/runtime. But there is no dir/files/share/locale/es/testB.mo.
After removing the cleanup part flatpak-builder creates dir/files/share/locale/es/test{A|B}.mo as expected.
It only happens for /share/locale, maybe because it is treated special.
The text was updated successfully, but these errors were encountered:
With separate-locales enabled, /app/share/locale/*/ are moved and replaced with symlinks during the build phase. If I'm reading the code correctly, the first module to create a locale dir ends up 'owning' that symlink.
When cleanup runs, it will naively remove the symlinks owned by the module if they match the pattern, even if their targets contain message catalogs from other modules.
I wonder if it would be feasible to delay locale migration until after cleanup.
I think this is causing skrooge bug 476591, wherein the symlinks in /app/share/locale/ are missing for several locales that have translations. I added cleanup properties to several of its library modules because otherwise they put a lot of irrelevant binaries and docs in the flatpak.
chrisawi
added a commit
to chrisawi/flatpak-builder
that referenced
this issue
Mar 2, 2024
Take the following example org.test.test.json file
Running
$ flatpak-builder dir --repo=repo org.test.test.json
creates the directoriesdir/files/share/runtime
. But there is nodir/files/share/locale/es/testB.mo
.After removing the cleanup part
flatpak-builder
createsdir/files/share/locale/es/test{A|B}.mo
as expected.It only happens for
/share/locale
, maybe because it is treated special.The text was updated successfully, but these errors were encountered: