Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Justin Boffemmyer (985395ae64b3e8c7938abf6534f7180ee1bf5039)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Justin Boffemmyer <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Justin Boffemmyer (985395ae64b3e8c7938abf6534f7180ee1bf5039)
  • Date: Sun, 3 Apr 2011 22:28:06 -0500

GIT changes to master grimoire by Justin Boffemmyer <flux AT sourcemage.org>:

editors/vim/DEPENDS | 10 ++++++++++
editors/vim/HISTORY | 5 +++++
editors/vim/PRE_BUILD | 3 +--
3 files changed, 16 insertions(+), 2 deletions(-)

New commits:
commit 985395ae64b3e8c7938abf6534f7180ee1bf5039
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>

editors/vim: missing opt. depends, fix patching

There were missing optional dependencies for both Lua and Python3 to be
used as script interpreters.

The initialization of the for loop in PRE_BUILD for processing the patch
files will print bare numbers if the shell doesn't support it (bash
version <4.0, or perhaps if other shells are used), so 1-99 would fail
to match any real filenames. This was corrected by using seq -w
(available in coreutils so everyone has it regardless of shell version),
which pads numbers to the same width using leading 0's.

diff --git a/editors/vim/DEPENDS b/editors/vim/DEPENDS
index b333b3d..8110b44 100755
--- a/editors/vim/DEPENDS
+++ b/editors/vim/DEPENDS
@@ -16,6 +16,11 @@ if [[ "${VIM_FEATURES}" != "tiny" ]] &&
[[ "${VIM_FEATURES}" != "small" ]]

then
+ optional_depends lua \
+ "--enable-luainterp" \
+ "" \
+ "to enable Lua interpreter" &&
+
optional_depends perl \
"--enable-perlinterp" \
"" \
@@ -26,6 +31,11 @@ then
"" \
"to enable Python interpreter" &&

+ optional_depends python3 \
+ "--enable-python3interp" \
+ "" \
+ "to enable Python3 interpreter" &&
+

optional_depends RUBY \
"--enable-rubyinterp" \
diff --git a/editors/vim/HISTORY b/editors/vim/HISTORY
index 3e3f432..239735e 100644
--- a/editors/vim/HISTORY
+++ b/editors/vim/HISTORY
@@ -1,3 +1,8 @@
+2011-04-04 Justin Boffemmyer <flux AT sourcemage.org>
+ * PRE_BUILD: correct patch loop logic so it prints 0-padded numbers
and
+ can find the patch files
+ * DEPENDS: add mising optional depends for Lua and Python3
interpreters
+
2011-01-27 Ladislav Hagara <hgr AT vabo.cz>
* patches/*: stale patches removed
* vim-patches-tarball: script added
diff --git a/editors/vim/PRE_BUILD b/editors/vim/PRE_BUILD
index 1d64fc0..17e16df 100755
--- a/editors/vim/PRE_BUILD
+++ b/editors/vim/PRE_BUILD
@@ -2,8 +2,7 @@ default_pre_build &&
cd ${SOURCE_DIRECTORY} &&
unpack_file 2 &&

-PATCHES=$(eval echo {001..107}) &&
-for i in $PATCHES; do
+for i in $(seq -w 1 107); do
message "${MESSAGE_COLOR}applying patch 7.3.$i ...${DEFAULT_COLOR}" &&
patch -p0 < patches/7.3.$i
done



  • [SM-Commit] GIT changes to master grimoire by Justin Boffemmyer (985395ae64b3e8c7938abf6534f7180ee1bf5039), Justin Boffemmyer, 04/03/2011

Archive powered by MHonArc 2.6.24.

Top of Page