Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix glib-mkenums Unicode issues #16

Closed
wants to merge 2 commits into from
Closed

Fix glib-mkenums Unicode issues #16

wants to merge 2 commits into from

Conversation

valpackett
Copy link

@valpackett valpackett commented Jul 24, 2018

We need a UTF-8 locale: https://gitlab.gnome.org/GNOME/glib/issues/1430 — I figured the best place is gnome.mk — we have these in meson.mk and gem.mk already.

This fixes some exp-run failures:

http://package22.nyi.freebsd.org/data/104amd64-default-PR229761/2018-07-19_19h24m12s/logs/errors/libgnome-2.32.1.log hmm that doesn't use gnome or react to USE_LOCALE
http://package22.nyi.freebsd.org/data/104amd64-default-PR229761/2018-07-19_19h24m12s/logs/errors/mousetweaks-3.12.0_1.log

libgda5 actually had weird mixed encodings instead of UTF-8, I added patches I found in other distros for that. [Previously posted as bug 226693]

http://package23.nyi.freebsd.org/data/104i386-default-PR229761/2018-07-19_19h24m20s/logs/errors/libgda5-5.2.4_2.log

Many ports use Unicode characters in their sources, and when glib-mkenums is processing them with a 'C' locale, it fails with a UnicodeDecodeError.
@valpackett
Copy link
Author

Looks like this was silently included in the final diff freebsd/freebsd-ports@1f45d9e

@valpackett valpackett closed this Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant