Skip to content

Fix Unicode::BiDiRule CPAN support with ICU4J - #910

Merged
fglock merged 1 commit into
masterfrom
fix/jcpan-lingua-phoneme-bidirule
Aug 10, 2026
Merged

Fix Unicode::BiDiRule CPAN support with ICU4J#910
fglock merged 1 commit into
masterfrom
fix/jcpan-lingua-phoneme-bidirule

Conversation

@fglock

@fglock fglock commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • implement the Unicode::BiDiRule XS API in Java using the existing ICU4J dependency
  • implement the missing Unicode::UCD::UnicodeVersion tooling dependency
  • preserve RFC 5893 scalar/list behavior, UTF-8 validation, byte/character offsets, and diagnostic metadata
  • register the implementation during runtime initialization, without CPAN distroprefs or distribution patches

Lingua::EN::Phoneme is intentionally not patched: its published tarball omits inc/Module/Install.pm, so its Makefile.PL fails the same way under system Perl and is excluded under the requested compatibility criterion.

Validation

  • make — passed
  • timeout 900 ./jcpan -t Unicode::BiDiRule — passed (30 tests)
  • system Perl Lingua::EN::Phoneme configuration — fails before testing because inc/Module/Install.pm is absent from the upstream tarball

Generated with OpenAI Codex.

Replace the Unicode::BiDiRule XS surface with an ICU4J-backed RFC 5893
implementation. Add the missing Unicode::UCD::UnicodeVersion method needed
by the distribution's configure and test phases.

Generated with [OpenAI Codex](https://openai.com/codex/)

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@fglock
fglock merged commit 2e82e0f into master Aug 10, 2026
2 checks passed
@fglock
fglock deleted the fix/jcpan-lingua-phoneme-bidirule branch August 10, 2026 10:10
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.

1 participant