sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Peng Chang (Charles) (becbffa42111fbd6cb6beddf763dd43c75227b20)
- From: "Peng Chang (Charles)" <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Peng Chang (Charles) (becbffa42111fbd6cb6beddf763dd43c75227b20)
- Date: Mon, 1 Nov 2010 22:20:18 -0500
GIT changes to master grimoire by Peng Chang (Charles) <chp AT sourcemage.org>:
i18n/ibus-table-chinese/DETAILS | 1 +
i18n/ibus-table-chinese/HISTORY | 4 ++++
i18n/ibus-table-chinese/PRE_BUILD | 5 +++++
i18n/ibus-table/CONFIGURE | 1 +
i18n/ibus-table/DETAILS | 1 +
i18n/ibus-table/HISTORY | 5 +++++
i18n/ibus-table/PRE_BUILD | 6 ++++++
i18n/ibus-table/chinese.patch | 12 ++++++++++++
8 files changed, 35 insertions(+)
New commits:
commit becbffa42111fbd6cb6beddf763dd43c75227b20
Author: Peng Chang (Charles) <chp AT sourcemage.org>
Commit: Peng Chang (Charles) <chp AT sourcemage.org>
ibus-table-chinese: fix incompatibilities of Cangjie input methods
commit 993a2050378d728c2ff123ea2b8ce2872088514c
Author: Peng Chang (Charles) <chp AT sourcemage.org>
Commit: Peng Chang (Charles) <chp AT sourcemage.org>
ibus-table: PATCHLEVEL++
commit be2ff5c658e8ba9920f670ecdcbe65f83a0d0f84
Author: Peng Chang (Charles) <chp AT sourcemage.org>
Commit: Peng Chang (Charles) <chp AT sourcemage.org>
ibus-table: added an optional patch
diff --git a/i18n/ibus-table-chinese/DETAILS b/i18n/ibus-table-chinese/DETAILS
index 62c5be6..0586ef3 100755
--- a/i18n/ibus-table-chinese/DETAILS
+++ b/i18n/ibus-table-chinese/DETAILS
@@ -1,5 +1,6 @@
SPELL=ibus-table-chinese
VERSION=1.3.0.20100527
+ PATCHLEVEL=1
SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCE_URL[0]=http://ibus.googlecode.com/files/${SOURCE}
SOURCE_HASH=sha512:74d546f2c6cfed3a856d330d48dcf3fec0469392776dbb867294cbccf937de50d13cd254bbc88d700d2615bc8e4a75fb2bf79a6dcc951356b52fbe8e7ade80af
diff --git a/i18n/ibus-table-chinese/HISTORY b/i18n/ibus-table-chinese/HISTORY
index 750fce7..951af46 100644
--- a/i18n/ibus-table-chinese/HISTORY
+++ b/i18n/ibus-table-chinese/HISTORY
@@ -1,2 +1,6 @@
+2010-11-02 Peng Chang (Charles) <chp AT sourcemage.org>
+ * DETAILS: PATCHLEVEL++
+ * PRE_BUILD: Cangjie input methods SHOULD not adjust sequences
+
2010-05-31 Peng Chang (Charles) <chp AT sourcemage.org>
* DEPENDS, DETAILS: spell created
diff --git a/i18n/ibus-table-chinese/PRE_BUILD
b/i18n/ibus-table-chinese/PRE_BUILD
new file mode 100755
index 0000000..9dc99a0
--- /dev/null
+++ b/i18n/ibus-table-chinese/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+# for Cangjie input methods, dynamic adjustment SHOULD be disabled
+sed -i 's/\(DYNAMIC_ADJUST =\) TRUE/\1 FALSE/' tables/cangjie*
diff --git a/i18n/ibus-table/CONFIGURE b/i18n/ibus-table/CONFIGURE
new file mode 100755
index 0000000..5550845
--- /dev/null
+++ b/i18n/ibus-table/CONFIGURE
@@ -0,0 +1 @@
+config_query TR_CHINESE "Do you want to be able to type traditional Chinese
characters in non-Chinese environments?" y
diff --git a/i18n/ibus-table/DETAILS b/i18n/ibus-table/DETAILS
index 88e0f3b..41d152a 100755
--- a/i18n/ibus-table/DETAILS
+++ b/i18n/ibus-table/DETAILS
@@ -1,5 +1,6 @@
SPELL=ibus-table
VERSION=1.3.0.20100621
+ PATCHLEVEL=1
SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCE_URL[0]=http://ibus.googlecode.com/files/${SOURCE}
SOURCE_HASH=sha512:25192988b1194fc210545f967c4b5888cb790d12505c04cfbce54cacc013ad0e058de961b2321e837f50b41e44d4b9b77d687b4abd3654bb012c349b7d4099ab
diff --git a/i18n/ibus-table/HISTORY b/i18n/ibus-table/HISTORY
index 291d9cb..2b7ab53 100644
--- a/i18n/ibus-table/HISTORY
+++ b/i18n/ibus-table/HISTORY
@@ -1,3 +1,8 @@
+2010-11-02 Peng Chang (Charles) <chp AT sourcemage.org>
+ * DETAILS: PATCHLEVEL++
+ * CONFIGURE, PRE_BUILD: added an optional patch for traditional
Chinese
+ * chinese.patch: the patch
+
2010-08-27 Peng Chang (Charles) <chp AT sourcemage.org>
* DETAILS: updated spell to 1.3.0.20100621
diff --git a/i18n/ibus-table/PRE_BUILD b/i18n/ibus-table/PRE_BUILD
new file mode 100755
index 0000000..6e7696c
--- /dev/null
+++ b/i18n/ibus-table/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+if [ $TR_CHINESE == y ]; then
+ patch -p1 < $SPELL_DIRECTORY/chinese.patch
+fi
diff --git a/i18n/ibus-table/chinese.patch b/i18n/ibus-table/chinese.patch
new file mode 100644
index 0000000..19f3c50
--- /dev/null
+++ b/i18n/ibus-table/chinese.patch
@@ -0,0 +1,12 @@
+diff -aurp ibus-table-1.3.0.20100621.orig/engine/table.py
ibus-table-1.3.0.20100621/engine/table.py
+--- ibus-table-1.3.0.20100621.orig/engine/table.py 2010-11-02
10:36:33.806000000 +0800
++++ ibus-table-1.3.0.20100621/engine/table.py 2010-11-02 10:36:45.716000001
+0800
+@@ -123,7 +123,7 @@ class editor(object):
+ else:
+ if self.db._is_chinese:
+ # if IME declare as Chinese IME
+- return 0
++ return 1
+ else:
+ return -1
+ except:
- [SM-Commit] GIT changes to master grimoire by Peng Chang (Charles) (becbffa42111fbd6cb6beddf763dd43c75227b20), Peng Chang (Charles), 11/01/2010
Archive powered by MHonArc 2.6.24.