[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (1d9fe2626304f6d25b513774aa306a8f2ee5e2da)

Vlad Glagolev scm at sourcemage.org
Fri Aug 12 06:39:22 EDT 2011


GIT changes to master grimoire by Vlad Glagolev <stealth at sourcemage.org>:

 shell-term-fm/mc/CONFIGURE |    4 ++++
 shell-term-fm/mc/DEPENDS   |    6 ++++++
 shell-term-fm/mc/HISTORY   |    3 +++
 3 files changed, 13 insertions(+)

New commits:
commit 1d9fe2626304f6d25b513774aa306a8f2ee5e2da
Author: Vlad Glagolev <stealth at sourcemage.org>
Commit: Vlad Glagolev <stealth at sourcemage.org>

    mc: added option to select low-level search engine

diff --git a/shell-term-fm/mc/CONFIGURE b/shell-term-fm/mc/CONFIGURE
index 0324c87..bd53804 100755
--- a/shell-term-fm/mc/CONFIGURE
+++ b/shell-term-fm/mc/CONFIGURE
@@ -2,6 +2,10 @@ config_query_list MC_SCREEN "Which screen library to use?" \
                             ncurses \
                             slang &&
 
+config_query_list MC_SEARCH "Select low-level search engine" \
+                            glib \
+                            pcre &&
+
 config_query_option MC_CHARSET "Enable charset selection and conversion?" y \
                                "--enable-charset" \
                                "--disable-charset"
diff --git a/shell-term-fm/mc/DEPENDS b/shell-term-fm/mc/DEPENDS
index 279c46f..788c1cc 100755
--- a/shell-term-fm/mc/DEPENDS
+++ b/shell-term-fm/mc/DEPENDS
@@ -2,6 +2,12 @@ depends glib2 &&
 
 depends $MC_SCREEN "--with-screen=$MC_SCREEN" &&
 
+if [[ $MC_SEARCH == pcre ]]; then
+  depends $MC_SEARCH "--with-search-engine=$MC_SEARCH"
+else
+  depends glib2 "--with-search-engine=$MC_SEARCH"
+fi &&
+
 optional_depends gpm \
                  "--with-gpm-mouse" \
                  "--without-gpm-mouse" \
diff --git a/shell-term-fm/mc/HISTORY b/shell-term-fm/mc/HISTORY
index 3aea352..31395de 100644
--- a/shell-term-fm/mc/HISTORY
+++ b/shell-term-fm/mc/HISTORY
@@ -1,3 +1,6 @@
+2011-08-11 Vlad Glagolev <stealth at sourcemage.org>
+	* DEPENDS, CONFIGURE: added option to select low-level search engine
+
 2011-07-27 Ladislav Hagara <hgr at vabo.cz>
 	* DETAILS: 4.7.5.3, gz -> bz2
 


More information about the SM-Commit mailing list