Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (ef0ea11aebd89142d7e4f2662b586e5073023bc5)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (ef0ea11aebd89142d7e4f2662b586e5073023bc5)
  • Date: Sat, 12 Feb 2022 21:33:10 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog | 4 ++++
editors/nextvi/BUILD | 1 +
editors/nextvi/DETAILS | 20 ++++++++++++++++++++
editors/nextvi/HISTORY | 2 ++
editors/nextvi/INSTALL | 1 +
editors/nextvi/Makefile | 38 ++++++++++++++++++++++++++++++++++++++
6 files changed, 66 insertions(+)

New commits:
commit ef0ea11aebd89142d7e4f2662b586e5073023bc5
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

nextvi: new spell, tiny vi/ex-like editor with UTF-8 support

diff --git a/ChangeLog b/ChangeLog
index 93f1dc2..e6698ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-02-12 Ismael Luceno <ismael AT sourcemage.org>
+ * editors/nextvi: new spell, tiny vi/ex-like editor with UTF-8
+ support
+
2022-02-08 Ismael Luceno <ismael AT sourcemage.org>
* devel/cbrowser: new spell, front-end to source code searching
tools
diff --git a/editors/nextvi/BUILD b/editors/nextvi/BUILD
new file mode 100755
index 0000000..0afb3f9
--- /dev/null
+++ b/editors/nextvi/BUILD
@@ -0,0 +1 @@
+make -f "$SPELL_DIRECTORY"/Makefile
diff --git a/editors/nextvi/DETAILS b/editors/nextvi/DETAILS
new file mode 100755
index 0000000..f8df4f2
--- /dev/null
+++ b/editors/nextvi/DETAILS
@@ -0,0 +1,20 @@
+ SPELL=nextvi
+ VERSION=0.0.20220207
+ REV=0a4a00654fead592ba4ccccfe7046f2f4546fea1
+ SOURCE="$SPELL-$REV.tar.gz"
+ SOURCE_URL[0]=https://github.com/kyx0r/$SPELL/archive/$REV.tar.gz
+
SOURCE_HASH=sha512:15d94c3de32f163730d27807514bb5144a14575f04d4c1096fa09aea51d8b98f3786b77c9b4d9a60c9ce617b6556625a10d6bca728b34f9fead91ac7bf229b11
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$REV"
+ WEB_SITE="https://github.com/kyx0r/nextvi";
+ LICENSE[0]="ISC"
+ ENTERED=20220212
+ KEYWORDS=""
+ SHORT="tiny vi/ex-like editor with UTF-8 support"
+cat << EOF
+Nextvi is a ex/vi-like editor; successor to neatvi. It can edit bidirectional
+UTF-8 text.
+
+Nextvi tends to favor clean implementations over 100% adhering to POSIX,
+like neatvi does. Thus the name "next", to signify that we are thinking
+outside the box.
+EOF
diff --git a/editors/nextvi/HISTORY b/editors/nextvi/HISTORY
new file mode 100644
index 0000000..cc937be
--- /dev/null
+++ b/editors/nextvi/HISTORY
@@ -0,0 +1,2 @@
+2022-02-12 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, INSTALL, DETAILS, Makefile: spell created
diff --git a/editors/nextvi/INSTALL b/editors/nextvi/INSTALL
new file mode 100755
index 0000000..443ced8
--- /dev/null
+++ b/editors/nextvi/INSTALL
@@ -0,0 +1 @@
+make -f "$SPELL_DIRECTORY"/Makefile prefix="$INSTALL_ROOT"/usr install
diff --git a/editors/nextvi/Makefile b/editors/nextvi/Makefile
new file mode 100644
index 0000000..d947101
--- /dev/null
+++ b/editors/nextvi/Makefile
@@ -0,0 +1,38 @@
+#!/bin/sh -e
+all: vi
+
+CFLAGS := \
+ -pedantic -Wall -Wextra \
+ -Wno-implicit-fallthrough \
+ -Wno-missing-field-initializers \
+ -Wno-unused-parameter \
+ -Wfatal-errors \
+ ${CFLAGS}
+
+CFLAGS += -D_POSIX_C_SOURCE=200809L -D_BSD_SOURCE
+CFLAGS += -MMD
+
+CC = c99
+
+prefix = /usr/local
+bindir := ${prefix}/bin
+
+install: vi
+ mkdir -p "${DESTDIR}${bindir}/"
+ cp -f vi "${DESTDIR}${bindir}/vi"
+
+-include vi.d
+vi: vi.c
+ ${CC} ${CFLAGS} -o $@ vi.c
+
+clean:
+ -rm -f vi vi.d
+
+pgobuild:
+ ${CC} ${CFLAGS} -fprofile-generate=. -o vi vi.c
+ echo "qq" \
+ | ./vi -v ./vi.c >/dev/null
+ ${CC} ${CFLAGS} -fprofile-use=. -o vi vi.c
+ rm *.gcda
+
+.PHONY: all clean install pgobuild



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (ef0ea11aebd89142d7e4f2662b586e5073023bc5), Ismael Luceno, 02/12/2022

Archive powered by MHonArc 2.6.24.

Top of Page