Skip to content

build: vendor libtermkey #25870

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

Merged
merged 5 commits into from
Nov 30, 2023
Merged

build: vendor libtermkey #25870

merged 5 commits into from
Nov 30, 2023

Conversation

dundargoc
Copy link
Member

This is a proof of concept/WIP to evaluate the viability of vendoring
libtermkey as it's been deprecated.

@github-actions github-actions bot added build building and installing Neovim using the provided scripts dependencies build dependencies (LuaJIT, LibUV, etc.) labels Nov 1, 2023
@dundargoc dundargoc force-pushed the build/libtermkey branch 11 times, most recently from e1a8e46 to 432b69c Compare November 1, 2023 23:21
@dundargoc
Copy link
Member Author

This is pretty much good to go, but I don't wanna pollute PRs with something that may not be useful at the moment. We can resurrect this when required later.

@dundargoc dundargoc closed this Nov 2, 2023
@dundargoc dundargoc deleted the build/libtermkey branch November 2, 2023 22:34
@gpanders gpanders restored the build/libtermkey branch November 30, 2023 17:49
@gpanders gpanders reopened this Nov 30, 2023
@gpanders
Copy link
Member

I'm re-opening this because vendoring libtermkey before a 0.10 release is a very real possibility. There are two patches to libtermkey that we need:

neovim/libtermkey#5
neovim/libtermkey#4

If a new libtermkey release is created that packagers can use then we do not need to vendor termkey, but since libtermkey is marked deprecated upstream it seems unlikely that a new release will be made.

@gpanders gpanders marked this pull request as ready for review November 30, 2023 17:54
@gpanders
Copy link
Member

Rebased on master and applied both of our patches.

dundargoc and others added 3 commits November 30, 2023 12:02
This is a proof of concept/WIP to evaluate the viability of vendoring
libtermkey as it's been deprecated.
@gpanders
Copy link
Member

If we decide to move forward:

  1. Do not squash commits. The commits applying our termkey patches should remain separate
  2. We can potentially unvendor libtermkey if/when its functionality is merged into libtickit

@gpanders gpanders added the needs:discussion issue needs attention from an expert, or PR proposes significant changes to architecture or API label Nov 30, 2023
@gpanders gpanders added this to the 0.10 milestone Nov 30, 2023
@gpanders
Copy link
Member

I'm going to move forward with this now as this will resolve issues like #26038 immediately for all users using Neovim HEAD, not just those using the bundled deps.

If the situation changes before a 0.10 release (meaning, a new version of termkey is released, or its functionality is integrated into libtickit), we can revert this.

@gpanders gpanders merged commit 5e1ff43 into neovim:master Nov 30, 2023
@gpanders gpanders deleted the build/libtermkey branch November 30, 2023 19:56
@gpanders gpanders removed the needs:discussion issue needs attention from an expert, or PR proposes significant changes to architecture or API label Nov 30, 2023
carlocab added a commit to Homebrew/homebrew-core that referenced this pull request Apr 27, 2024
This is no longer used in HEAD, and will not be used in 0.10.

See neovim/neovim#25870.
gpanders added a commit to gpanders/neovim that referenced this pull request Aug 5, 2024
clason pushed a commit that referenced this pull request Aug 5, 2024
casr added a commit to casr/macports-ports that referenced this pull request Oct 3, 2024
`neovim`:

- removed `lua51-mpack` as a dependency since it's [no longer
  required][0]
- removed `libtermkey` as a dependency since it's [no longer
  required][1]

[0]: neovim/neovim#15566
[1]: neovim/neovim#25870

`neovim-devel`:

- removed `msgpack` as a dependency since it's [no longer required][2]
- removed `libvterm` as a dependency since it's [no longer required][3]

[2]: neovim/neovim#29540
[3]: neovim/neovim#30011

Also note that `neovim-devel` is not progressing passed 2024-08-31 until
`utf8proc` sees its next release. Versions after this date will fail
with a compile error due to a type mismatch.

Fixes: https://trac.macports.org/ticket/70028
casr added a commit to casr/macports-ports that referenced this pull request Oct 3, 2024
`neovim`:

- removed `lua51-mpack` as a dependency since it's [no longer
  required][0]
- removed `libtermkey` as a dependency since it's [no longer
  required][1]

[0]: neovim/neovim#15566
[1]: neovim/neovim#25870

`neovim-devel`:

- removed `msgpack` as a dependency since it's [no longer required][2]
- removed `libvterm` as a dependency since it's [no longer required][3]

[2]: neovim/neovim#29540
[3]: neovim/neovim#30011

Also note that `neovim-devel` is not progressing past 2024-08-31 until
`utf8proc` sees its next release. Versions after this date will fail
with a compile error due to a type mismatch.

Fixes: https://trac.macports.org/ticket/70028
l2dy pushed a commit to macports/macports-ports that referenced this pull request Oct 11, 2024
`neovim`:

- removed `lua51-mpack` as a dependency since it's [no longer
  required][0]
- removed `libtermkey` as a dependency since it's [no longer
  required][1]

[0]: neovim/neovim#15566
[1]: neovim/neovim#25870

`neovim-devel`:

- removed `msgpack` as a dependency since it's [no longer required][2]
- removed `libvterm` as a dependency since it's [no longer required][3]

[2]: neovim/neovim#29540
[3]: neovim/neovim#30011

Also note that `neovim-devel` is not progressing past 2024-08-31 until
`utf8proc` sees its next release. Versions after this date will fail
with a compile error due to a type mismatch.

Fixes: https://trac.macports.org/ticket/70028
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build building and installing Neovim using the provided scripts dependencies build dependencies (LuaJIT, LibUV, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants