On Fri, 2026-05-08 at 23:40 +0200, João Marcos Costa wrote: > This new recipe's main purpose is to handle xxd in the simplest way > possible, stripping it from any needless tasks and/or dependencies that > come from the fact it was originally provided by the same recipe as Vim. > > Not only this recipe is faster to build, but it still provides the very > same program for both build-time and run-time, so there should be no > migration needed by the recipes depend on xxd. > > Signed-off-by: João Marcos Costa <[email protected]> > --- > meta/conf/distro/include/maintainers.inc | 1 + > meta/recipes-support/vim/vim-xxd_9.2.bb | 29 ++++++++++++++++++++++++ > 2 files changed, 30 insertions(+) > create mode 100644 meta/recipes-support/vim/vim-xxd_9.2.bb > > diff --git a/meta/conf/distro/include/maintainers.inc > b/meta/conf/distro/include/maintainers.inc > index f98305e930..7d45bfaf65 100644 > --- a/meta/conf/distro/include/maintainers.inc > +++ b/meta/conf/distro/include/maintainers.inc > @@ -871,6 +871,7 @@ RECIPE_MAINTAINER:pn-vala = "Unassigned > <[email protected]>" > RECIPE_MAINTAINER:pn-valgrind = "Mingli Yu <[email protected]>" > RECIPE_MAINTAINER:pn-vim = "Unassigned <[email protected]>" > RECIPE_MAINTAINER:pn-vim-tiny = "Unassigned <[email protected]>" > +RECIPE_MAINTAINER:pn-vim-xxd = "João Marcos Costa > <[email protected]>" > RECIPE_MAINTAINER:pn-virglrenderer = "Unassigned > <[email protected]>" > RECIPE_MAINTAINER:pn-volatile-binds = "Chen Qi <[email protected]>" > RECIPE_MAINTAINER:pn-vte = "Unassigned <[email protected]>" > diff --git a/meta/recipes-support/vim/vim-xxd_9.2.bb > b/meta/recipes-support/vim/vim-xxd_9.2.bb > new file mode 100644 > index 0000000000..d876efec4e > --- /dev/null > +++ b/meta/recipes-support/vim/vim-xxd_9.2.bb > @@ -0,0 +1,29 @@ > +SUMMARY = "Hex dump and reverse utility from the Vim source tree" > +DESCRIPTION = "xxd is a small utility usually distributed with Vim that > creates hex dumps from binary data and can also convert hex dumps back to > their original form." > +SECTION = "console/utils" > +HOMEPAGE = "https://www.vim.org/" > +BUGTRACKER = "https://github.com/vim/vim/issues" > + > +require vim-sources.inc > + > +inherit update-alternatives > + > +PROVIDES += "xxd" > + > +do_compile() { > + cd ${S}/src/xxd; > + oe_runmake xxd > +} > + > +do_install() { > + install -d ${D}${bindir} > + install -m 0755 src/xxd/xxd ${D}${bindir} > +} > + > +RPROVIDES:${PN} += "xxd" > + > +ALTERNATIVE:${PN} = "xxd" > +ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd" > +ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd" > + > +BBCLASSEXTEND = "native nativesdk"
I don't think separating out vim-xxd while keeping vim in OE-core is a significant improvement. There's also the potential to miss CVEs unless we set CVE_PRODUCT to "vim" in vim-xxd, and that will just result in duplication of reports. This also doesn't reduce the amount of time people will spend backporting CVE patches to the LTS branch, and time our LTS maintainer will need to spend reviewing them. So I'd still rather eject vim from OE-core if we can. Best regards, -- Paul Barker
signature.asc
Description: This is a digitally signed message part
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#236805): https://lists.openembedded.org/g/openembedded-core/message/236805 Mute This Topic: https://lists.openembedded.org/mt/119222475/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
