sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (1debf1146b354caf54700c0be96366db5b14d978)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (1debf1146b354caf54700c0be96366db5b14d978)
- Date: Mon, 10 Nov 2014 07:08:37 -0600
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
ChangeLog | 3 +++
editors/vile/BUILD | 7 +++++++
editors/vile/CONFIGURE | 17 +++++++++++++++++
editors/vile/DEPENDS | 23 +++++++++++++++++++++++
editors/vile/DETAILS | 22 ++++++++++++++++++++++
editors/vile/HISTORY | 3 +++
editors/vile/INSTALL | 17 +++++++++++++++++
editors/vile/PROVIDES | 2 ++
editors/vile/profile.d/editor.sh | 10 ++++++++++
9 files changed, 104 insertions(+)
New commits:
commit 1debf1146b354caf54700c0be96366db5b14d978
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
vile: new spell, vi-like Emacs
diff --git a/ChangeLog b/ChangeLog
index d21d373..7f9434d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2014-11-10 Vlad Glagolev <stealth AT sourcemage.org>
+ * editors/vile: new spell, vi-like Emacs
+
2014-11-08 Treeve Jelbert <treeve AT sourcemage.org>
* utils/dbus-qt: deleted, obsolete spell
* crypro/GnuPG.gpg: updated add:
diff --git a/editors/vile/BUILD b/editors/vile/BUILD
new file mode 100755
index 0000000..ec9df6b
--- /dev/null
+++ b/editors/vile/BUILD
@@ -0,0 +1,7 @@
+OPTS="$VILE_OPTS $OPTS" &&
+
+if [ "${VILE_SYMLINK}" == "y" ]; then
+ OPTS="--with-symlink=vi $OPTS"
+fi &&
+
+default_build
diff --git a/editors/vile/CONFIGURE b/editors/vile/CONFIGURE
new file mode 100755
index 0000000..47fab17
--- /dev/null
+++ b/editors/vile/CONFIGURE
@@ -0,0 +1,17 @@
+config_query VILE_SYMLINK "Would you like to have /usr/bin/vi as a symlink
to /usr/bin/[x]vile?" n &&
+
+if [ "${VILE_SYMLINK}" == "y" ]; then
+ if [ -e /usr/bin/vi ] && `readlink -f "/usr/bin/vi" | grep -Eqv
"[x]?vile"`; then
+ message "${MESSAGE_COLOR}VI is already provided by another vi clone.
Recast it" &&
+ message "with the vi symlink option disabled, then recast
vile.${DEFAULT_COLOR}" &&
+ VILE_SYMLINK="n"
+ fi
+fi &&
+
+config_query_option VILE_OPTS "Compile-in plugin support?" n \
+ "--enable-plugins" \
+ "--disable-plugins" &&
+
+config_query_option VILE_OPTS "Build syntax filters?" y \
+ "--enable-filters" \
+ "--disable-filters"
diff --git a/editors/vile/DEPENDS b/editors/vile/DEPENDS
new file mode 100755
index 0000000..eb7126b
--- /dev/null
+++ b/editors/vile/DEPENDS
@@ -0,0 +1,23 @@
+depends flex &&
+depends ncurses '--with-ncurses' &&
+
+optional_depends perl \
+ "--with-perl" \
+ "--without-perl" \
+ "for use of Perl as an extension language" &&
+
+message "${MESSAGE_COLOR}NOTICE: depending on answer below either X or
console version will be built${DEFAULT_COLOR}" &&
+
+optional_depends libx11 \
+ "--with-x" \
+ "--without-x" \
+ "to use the X Window System and build xvile instead of
vile" &&
+
+if is_depends_enabled $SPELL libx11; then
+ depends libxt &&
+
+ optional_depends libxpm \
+ "--with-xpm" \
+ "--without-xpm" \
+ "to use Xpm library for colored icon"
+fi
diff --git a/editors/vile/DETAILS b/editors/vile/DETAILS
new file mode 100755
index 0000000..94f4de8
--- /dev/null
+++ b/editors/vile/DETAILS
@@ -0,0 +1,22 @@
+ SPELL=vile
+ VERSION=9.8
+ SOURCE=$SPELL-$VERSION.tgz
+ SOURCE_URL[0]=ftp://invisible-island.net/$SPELL/$SOURCE
+ SOURCE_URL[1]=http://invisible-mirror.net/archives/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:daaaa33e79b970d753c5c0c4972f4e8f91aa8a26c813dc8755bb7eff60cefaf4766b08a77e210d1c8fabd39ecf7093b5ea819f35cc1f3ea8122b48d4b5e2dfe8
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://invisible-island.net/vile/
+ DOC_DIRS=""
+ ENTERED=20141110
+ LICENSE[0]=GPL
+ KEYWORDS="editors"
+ SHORT="vi-like Emacs"
+cat << EOF
+vile is a text editor that attempts to combine the best aspects of the
popular
+Emacs and vi editors.
+
+vile is a text editor which is extremely compatible with vi in terms of
+"finger feel". In addition, it has extended capabilities in many areas,
+notably multi-file editing and viewing, key rebinding, real X window system
+support and optional embedded Perl interpreter.
+EOF
diff --git a/editors/vile/HISTORY b/editors/vile/HISTORY
new file mode 100644
index 0000000..95ec564
--- /dev/null
+++ b/editors/vile/HISTORY
@@ -0,0 +1,3 @@
+2014-11-10 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, BUILD, CONFIGURE, PROVIDES, INSTALL, profile.d:
+ created spell, version 9.8
diff --git a/editors/vile/INSTALL b/editors/vile/INSTALL
new file mode 100755
index 0000000..90bb61f
--- /dev/null
+++ b/editors/vile/INSTALL
@@ -0,0 +1,17 @@
+default_install &&
+
+mkdir -p "$INSTALL_ROOT/etc/profile.d/" &&
+
+if install_config_file "$SPELL_DIRECTORY/profile.d/editor.sh" \
+ "$INSTALL_ROOT/etc/profile.d/editor.sh"; then
+
+ chmod 0755 "$INSTALL_ROOT/etc/profile.d/editor.sh" &&
+
+ local VILE_BIN="vile" &&
+
+ if is_depends_enabled $SPELL libx11; then
+ VILE_BIN="xvile"
+ fi &&
+
+ sedit "s:%VILE_BIN%:${VILE_BIN}:" "$INSTALL_ROOT/etc/profile.d/editor.sh"
+fi
diff --git a/editors/vile/PROVIDES b/editors/vile/PROVIDES
new file mode 100755
index 0000000..1e25c73
--- /dev/null
+++ b/editors/vile/PROVIDES
@@ -0,0 +1,2 @@
+VI
+TEXT-EDITOR
diff --git a/editors/vile/profile.d/editor.sh
b/editors/vile/profile.d/editor.sh
new file mode 100644
index 0000000..b0b8440
--- /dev/null
+++ b/editors/vile/profile.d/editor.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+
+if [ -z "$EDITOR" ] ; then
+ EDITOR="%VILE_BIN%"
+fi
+
+export EDITOR
+
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (1debf1146b354caf54700c0be96366db5b14d978), Vlad Glagolev, 11/10/2014
Archive powered by MHonArc 2.6.24.