Skip to content

[textinput] mv to builtins dir as hard-coded builtin - #23046

Open
ferdymercury wants to merge 1 commit into
root-project:masterfrom
ferdymercury:btextinput
Open

[textinput] mv to builtins dir as hard-coded builtin#23046
ferdymercury wants to merge 1 commit into
root-project:masterfrom
ferdymercury:btextinput

Conversation

@ferdymercury

@ferdymercury ferdymercury commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

This Pull request:

Changes or fixes:

A standalone library that could be swapped in the future with another one, eg LLVM's, does not make sense to lie inside the "Core" ROOT folder, it's kind of an outside dependency, not central to ROOT's core system.

This textinput library was thought as standalone library, and in fact has a separate license from ROOT. It has its own namespace, etc. Make that clearer by moving it to builtins dir as hard-coded builtin such as mathtext or libafterimage

This will make the granularity and modularity clearer eg for Debian package maintainers for a future migration. It would allow them to have it as separate package rather than a big monolithic libCore library. And one could consider later replacing it with llvm textinput or other drop in replacements, without having to touch ROOT core folder.

Makes clearer what is inside ROOT and what is an independent outside component that can be externalized or changed to other lib.

In a future modularization step, one could make this a full separate library linked by core via target_link_libraries. Now is just a cosmetic / logic directory structure reorganization, such as with mathtext, etc.

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

This library was thought as standalone library, and in fact has a separate license from ROOT. It has its own namespace, etc.
Make that clearer by moving it to builtins dir as hard-coded builtin such as mathtext or libafterimage

This will make the granularity and modularity clearer eg for Debian package maintainers for a future migration. It would allow them to have it as separate package rather than a big monolithic libCore library.
And one could consider later replacing it with llvm textinput or other drop in replacements, without having to touch ROOT core folder.

Makes clearer what is inside ROOT and what is an independent outside component that can be externalized or changed to other lib.
@ferdymercury ferdymercury added the skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff. label Aug 7, 2026
@ferdymercury
ferdymercury marked this pull request as ready for review August 7, 2026 07:44
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Test Results

    23 files      23 suites   3d 16h 4m 29s ⏱️
 3 856 tests  3 804 ✅ 0 💤 52 ❌
79 447 runs  79 394 ✅ 1 💤 52 ❌

For more details on these failures, see this check.

Results for commit 7980653.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant