Revision: 163
Author: Shawn.P.Huang
Date: Tue Jan 12 20:43:53 2010
Log: Edited wiki page through web user interface.
http://code.google.com/p/ibus/source/detail?r=163

Modified:
 /wiki/DevXML.wiki

=======================================
--- /wiki/DevXML.wiki   Tue Dec 30 19:27:09 2008
+++ /wiki/DevXML.wiki   Tue Jan 12 20:43:53 2010
@@ -3,46 +3,35 @@
 = XML spec for ibus component =

 {{{
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
 <!-- filename: pinyin.xml -->
 <component>
-       <name>pinyin</name>
-       <description>PinYin Component</description>
-       <exec>/usr/libexec/ibus-pinyin</exec>
-       <version>0.1.1</version>
-       <author>Peng Huang &lt;[email protected]&gt;</author>
-       <license>GPL</license>
-       <homepage>http://code.google.com/p/ibus</homepage>
-       <!--
-               for dynamic engines.
-               ibus will check below directories and files. If anyone of them
-               was modified, ibus will execute %{engines.exec} to get engines 
again.
-               -->
-       <observed-object>
-               <directory recursive='true' path="/usr/share/m17n" />
-               <directory mtime=%d path="~/.m17n" />
-               <file mtime=%d path="" />
-       </observed-object>
-       <engines exec="/usr/libexec/ibus-pinyin -x" />
-
-       <!-- for static engines -->
-       <engines>
-               <engine>
-                       <name>pinyin</name>
-                       <language>zh_CN</language>
-                       <license>GPL</license>
-                       <author>Peng Huang 
&lt;[email protected]&gt;</author>
-                       
<icon>/usr/share/ibus-pinyin/icons/ibus-pinyin.svg</icon>
-                       <layout>us</layout>
-                       <locale name="C">
-                               <longname>PinYin</longname>
-                               <description>PinYin Input Method</description>
-                       </locale>
-                       <locale name="zh_CN">
-                               <longname>拼音</longname>
-                               <description>拼音输入法</description>
-                       </locale>
-               </engine>
-       </engines>
+    <name>org.freedesktop.IBus.Pinyin</name>
+    <description>Pinyin Component</description>
+    <exec>/usr/libexec/ibus-engine-pinyin --ibus</exec>
+    <version>1.2.99.20091228</version>
+    <author>Peng Huang &lt;[email protected]&gt;</author>
+    <license>GPL</license>
+    <homepage>http://code.google.com/p/ibus</homepage>
+    <textdomain>ibus-pinyin</textdomain>
+    <!--
+      <observed-paths>
+          <path>/usr/share/m17n/</path>
+      </observed-paths>
+      <engines exec="/usr/libexec/ibus-engine-m17n --xml" />
+    -->
+    <engines>
+        <engine>
+            <name>pinyin</name>
+            <language>zh</language>
+            <license>GPL</license>
+            <author>Peng Huang &lt;[email protected]&gt;</author>
+            <icon>/usr/share/ibus-pinyin/icons/ibus-pinyin.svg</icon>
+            <layout>us</layout>
+            <longname>Pinyin</longname>
+            <description>Pinyin input method</description>
+            <rank>99</rank>
+        </engine>
+    </engines>
 </component>
 }}}
-- 
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

回复