Skip to contentSkip to conversation

bvi: add new package

PATCH Superseded Dimitrios Siganos 2 participants 2 messages May 19, 2025

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 bvi: add new package

bvi is a visual editor for binary files

---
 meta-oe/recipes-support/bvi/bvi_1.4.2.bb | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-oe/recipes-support/bvi/bvi_1.4.2.bb
meta-oe/recipes-support/bvi/bvi_1.4.2.bb new file +17 -0
new file mode 100644
index 0000000000..b0081794d0
@@ -0,0 +1,17 @@
+SUMMARY = "Binary VI editor"
+DESCRIPTION = "bvi is a visual editor for binary files."
+HOMEPAGE = "https://sourceforge.net/projects/bvi"
+SECTION = "console/utils"
+LICENSE = "GPL-3.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a36207309d382da27cd66fdaae922e3c"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/bvi/bvi-${PV}.src.tar.gz"
+SRC_URI[sha256sum] = "4bba16c2b496963a9b939336c0abcc8d488664492080ae43a86da18cf4ce94f2"
+
+DEPENDS += "ncurses"
+
+# The project uses old style C interfaces and it is not compatible with C23
+# it builds fine with C17, specifying gnu17 as the C dialect to use
+CFLAGS:append = " -std=gnu17 -Wno-old-style-definition"
+
+inherit pkgconfig autotools-brokensep
Signature · 1 line
2.34.1
#1 lore raw
Quoted 15 lines · Dimitrios Siganos via lists.openembedded.org

bvi is a visual editor for binary files

---
 meta-oe/recipes-support/bvi/bvi_1.4.2.bb | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-oe/recipes-support/bvi/bvi_1.4.2.bb
meta-oe/recipes-support/bvi/bvi_1.4.2.bb new file +0 -0
new file mode 100644
index 0000000000..b0081794d0

meta-oe/recipes-support/bvi/bvi_1.4.2.bb line 8

Quoted 8 lines
meta-oe/recipes-support/bvi/bvi_1.4.2.bb new file +8 -0
@@ -0,0 +1,17 @@
+SUMMARY = "Binary VI editor"
+DESCRIPTION = "bvi is a visual editor for binary files."
+HOMEPAGE = "https://sourceforge.net/projects/bvi"
+SECTION = "console/utils"
+LICENSE = "GPL-3.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a36207309d382da27cd66fdaae922e3c"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/bvi/bvi-${PV}.src.tar.gz"

Maybe use
${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz

meta-oe/recipes-support/bvi/bvi_1.4.2.bb line 15

Quoted 7 lines
meta-oe/recipes-support/bvi/bvi_1.4.2.bb new file +7 -0
+SRC_URI[sha256sum] = "4bba16c2b496963a9b939336c0abcc8d488664492080ae43a86da18cf4ce94f2"
+
+DEPENDS += "ncurses"
+
+# The project uses old style C interfaces and it is not compatible with C23
+# it builds fine with C17, specifying gnu17 as the C dialect to use
+CFLAGS:append = " -std=gnu17 -Wno-old-style-definition"

There is a patch attached to https://sourceforge.net/p/bvi/bugs/16/
perhaps this can be used and above flags avoided.

Quoted 14 lines
meta-oe/recipes-support/bvi/bvi_1.4.2.bb new file +2 -1
+
+inherit pkgconfig autotools-brokensep
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#117467): https://lists.openembedded.org/g/openembedded-devel/message/117467
Mute This Topic: https://lists.openembedded.org/mt/113185078/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-