Skip to contentSkip to conversation

bvi: add new package

PATCH Dimitrios Siganos 2 participants 2 messages May 23, 2025 – May 24, 2025 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi Yoann, Raj,

I took your feedback and created a 3rd version of the bvi recipe. I made the following changes:

1) I fixed the license which is actually GPLv3-or-later and not GPLv3-only that I had initially set it as.

2) I changed SRC_URI to: ${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz, as per your suggestion.

3) As per your suggestion, I removed the compiler flag "-std=gnu17" and replaced it with a patch file that fixes the C23 problem. The patchfile was actually made available by the debian devs who had the same problem.

Finally, it is true that the project is not very actively maintained but has been going for almost 30 years and has stood the test of time. This editor is designed for small footprint and console access and it is an ideal editor to have in an embedded system and I think it should be part of yocto.

The bvi editor is included in all the major linux distros, so yocto will not be alone in maintaining it. In fact, in this case, the debian guys fixed the C23 problem for us.
See the list of distros that include it here:
https://repology.org/project/bvi/versions

Regards,
Dimitrios Siganos

#2 lore raw

I have accepted v2, So if you have changes between v2 and v3, then rebase your patch on top of later master or master-next branch and send the delta.

Quoted 22 lines · Dimitrios Siganos

Hi Yoann, Raj,

I took your feedback and created a 3rd version of the bvi recipe. I made the following changes:

1) I fixed the license which is actually GPLv3-or-later and not GPLv3-only that I had initially set it as.

2) I changed SRC_URI to: ${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz, as per your suggestion.

3) As per your suggestion, I removed the compiler flag "-std=gnu17" and replaced it with a patch file that fixes the C23 problem. The patchfile was actually made available by the debian devs who had the same problem.

Finally, it is true that the project is not very actively maintained but has been going for almost 30 years and has stood the test of time. This editor is designed for small footprint and console access and it is an ideal editor to have in an embedded system and I think it should be part of yocto.

The bvi editor is included in all the major linux distros, so yocto will not be alone in maintaining it. In fact, in this case, the debian guys fixed the C23 problem for us. See the list of distros that include it here:
https://repology.org/project/bvi/versions

Regards,
Dimitrios Siganos