diff mbox series

[meta-oe,v2] bvi: add new package

Message ID 20250519010221.282882-1-dimitris@siganos.org
State Under Review
Headers show
Series [meta-oe,v2] bvi: add new package | expand

Commit Message

Dimitrios Siganos May 19, 2025, 1:02 a.m. UTC
bvi is a visual editor for binary files

Signed-off-by: Dimitrios Siganos <dimitris@siganos.org>
---
 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

Comments

Khem Raj May 19, 2025, 1:57 a.m. UTC | #1
On Sun, May 18, 2025 at 6:02 PM Dimitrios Siganos via
lists.openembedded.org <dimitris=siganos.org@lists.openembedded.org>
wrote:
>
> bvi is a visual editor for binary files
>
> Signed-off-by: Dimitrios Siganos <dimitris@siganos.org>
> ---
>  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
>
> diff --git a/meta-oe/recipes-support/bvi/bvi_1.4.2.bb b/meta-oe/recipes-support/bvi/bvi_1.4.2.bb
> new file mode 100644
> index 0000000000..b0081794d0
> --- /dev/null
> +++ b/meta-oe/recipes-support/bvi/bvi_1.4.2.bb
> @@ -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

> +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.

> +
> +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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/bvi/bvi_1.4.2.bb b/meta-oe/recipes-support/bvi/bvi_1.4.2.bb
new file mode 100644
index 0000000000..b0081794d0
--- /dev/null
+++ b/meta-oe/recipes-support/bvi/bvi_1.4.2.bb
@@ -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