[AppStream] The AppStream XML locale apocalypse
Matthias Klumpp
matthias at tenstral.net
Sun Apr 16 17:47:43 UTC 2023
Am So., 16. Apr. 2023 um 19:23 Uhr schrieb Richard Hughes <hughsient at gmail.com>:
>
> On Tue, 11 Apr 2023 at 09:33, Matthias Klumpp <matthias at tenstral.net> wrote:
> > I believe this issue is super old though and probably predates Meson.
>
> Do you think we need a meson bug opened?
It is technically a Meson bug, but fixing it in Meson would be really
annoying with how msgfmt works.
I did create a pretty small proof-of-concept patch against Gettext
that addresses the issue there directly:
https://savannah.gnu.org/bugs/?64025
If this was merged we wouldn't need to patch Meson, but simply get the
fix with the next Gettext update. The XML batch processing is also
comparatively "new" (given gettext standards...), so I think this
issue is really simply an oversight from the original code.
If the Gettext maintainers reject the change (which would be pretty
annoying...), then we'd have to address this in Meson by falling back
to non-batch-processing of XML files as Autotools did ages ago, which
I'd really like to avoid ;-)
Cheers,
Matthias
--
I welcome VSRE emails. See http://vsre.info/
More information about the AppStream
mailing list