Skip to content

Draft: replace gettext with gettext-tiny

Ghost User requested to merge (removed):yeet-the-gettext into master

fixes #13362 (closed) #12853 (closed) #10825
i picked the community one, as that was already calling make with the correct LIBINTL= argument, and had more useful patches. changed its tarball url to the preferred one.

this replaces our existing gnu gettext/libintl with gettext-tiny (that adelie has been using for some time) that relies on musl-libintl support. this means we finally don't have to -lintl everywhere, and we also fix our python installation (gettextdomain is undefined otherwise, and we carry a few patches for this in aports to try/except the imports of it. afaik just linking to gnu-gettext was undesireable 92e9d504)

it is also one tiny gnu component removed :)

i am not sure how sufficient musl intl is currently (#10825), should be investigated a little.
i am also not sure if i missed something (this is everything linking against libintl currently, + a python rebuild).
ci held until someone wants to run it. also the gettext-tiny move has to be merged first, to ensure correct order

Edited by Ghost User

Merge request reports

Loading