[SM-Commit] GIT changes to master grimoire by Ivan Lezhnjov Jr (d163b143b18f66898dba94b3317f7414147421cb)

Ivan Lezhnjov Jr scm at sourcemage.org
Sun Sep 28 06:50:13 EDT 2008


GIT changes to master grimoire by Ivan Lezhnjov Jr <ivan.lezhnjov.jr at sourcemage.org>:

 spelling/stardict/CONFIGURE |    1 +
 spelling/stardict/HISTORY   |    4 ++++
 spelling/stardict/PRE_BUILD |    7 +++++++
 3 files changed, 12 insertions(+)

New commits:
commit d163b143b18f66898dba94b3317f7414147421cb
Author: Ivan Lezhnjov Jr <ivan.lezhnjov.jr at sourcemage.org>
Commit: Ivan Lezhnjov Jr <ivan.lezhnjov.jr at sourcemage.org>

    spelling/stardict: Added an optional change of dictionary entry colors

diff --git a/spelling/stardict/CONFIGURE b/spelling/stardict/CONFIGURE
new file mode 100755
index 0000000..294bd69
--- /dev/null
+++ b/spelling/stardict/CONFIGURE
@@ -0,0 +1 @@
+config_query SEDITCOLORS "Would you like to change default dictionary entry colors (extremely bright violet & green) to more serene?" y
diff --git a/spelling/stardict/HISTORY b/spelling/stardict/HISTORY
index d7a4577..913c762 100644
--- a/spelling/stardict/HISTORY
+++ b/spelling/stardict/HISTORY
@@ -1,3 +1,7 @@
+2008-09-28 Ivan Lezhnjov Jr. <ivan.lezhnjov.jr at sourcemage.org>
+	* CONFIGURE: created this
+	* PRE_BUILD: sedit dictionary entry colors if required
+
 2008-01-28 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
 	* PRE_BUILD: removed is_depends_enabled.function reference
 
diff --git a/spelling/stardict/PRE_BUILD b/spelling/stardict/PRE_BUILD
index 531c55f..45da4c4 100755
--- a/spelling/stardict/PRE_BUILD
+++ b/spelling/stardict/PRE_BUILD
@@ -1,6 +1,13 @@
 default_pre_build       &&
 cd ${SOURCE_DIRECTORY}  &&
 
+if [ $SEDITCOLORS == "y" ]; then
+        sedit "s:violet:darkgray:" tests/t_articleview.cpp &&
+        sedit "s:violet:darkgray:" stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp &&
+        sedit "s:green:brown:" tests/t_articleview.cpp &&
+        sedit "s:green:brown:" stardict-plugins/stardict-xdxf-parsedata-plugin/stardict_xdxf_parsedata.cpp
+fi
+
 patch -p0 < ${SCRIPT_DIRECTORY}/configure.patch  &&
 if  is_depends_enabled  ${SPELL}  espeak
 then



More information about the SM-Commit mailing list