Author: dingyichen
Date: Mon Jul 13 00:54:52 2009
New Revision: 136

Added:
    wiki/HowToCreateAIBusTableTable.wiki

Log:
Created wiki page through web user interface.

Added: wiki/HowToCreateAIBusTableTable.wiki
==============================================================================
--- (empty file)
+++ wiki/HowToCreateAIBusTableTable.wiki        Mon Jul 13 00:54:52 2009
@@ -0,0 +1,32 @@
+#summary How to Create a table for ibus-table
+#labels Featured,Phase-Implementation
+
+= Steps =
+
+ # Assume the _DATADIR_  is _/usr/share_
+ # Copy ${DATADIR}/ibus-table/tables/template.txt for the template to  
begin with. Assume it is  _your-im-table.txt_
+ # Make an icon for your im, assume it is _your-im-table.svg_.
+ # Edit the your-im-table.txt to suit your need.
+ # Fill the actual table content between *BEGIN_TABlE* and *END_TABlE*.
+  # The 1st field is "Input Key": the key sequence to produce the  
word/phrase
+  # The 2nd field is "Phrase": Word/phrase to be produced.
+  # The 3rd field is "Frequency": The usage frequency of that phrase.  
Phrases with more frequency will be in front of candidate list.
+ # Install _ibus-table_ if you have not.
+ # Run
+{{{
+ibus-table-create -n ${DATADIR}/your-im-table.db -s your-im.table.txt
+cp your-im-table.svg ${DATADIR}/ibus-table/icons
+}}}
+ # Restart ibus-daemon.
+ # Enjoy your input method. :-)
+
+= For input method developers =
+It is recommended to split database building and index creating,
+as it makes distro packagers' life easier.
+
+Use *-o* option of _ibus-table-create_ to build database without creating  
index;
+use *-i* option of _ibus-table-create_ to create index without building  
database.
+
+= For packagers =
+Install the database file which is built by _ibus-table-create_ *-o*,
+and create index with _ibus-table-create_ *-i* in your post-install script  
script.
\ No newline at end of file

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

回复