summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-07-31 16:28:52 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-07-31 16:28:52 +0800
commit7c79ccacf56185c830b48c63fb1b57f4efb1a4cc (patch)
tree5733b5350a01d93eea6dc9d0cf1c4cca924786b1
parent882ca1c1a07e69d26b54f97d64b9898e2e315433 (diff)
downloadibus-libpinyin-7c79ccacf56185c830b48c63fb1b57f4efb1a4cc.tar.gz
ibus-libpinyin-7c79ccacf56185c830b48c63fb1b57f4efb1a4cc.tar.xz
ibus-libpinyin-7c79ccacf56185c830b48c63fb1b57f4efb1a4cc.zip
WIP.
-rw-r--r--configure.ac1
-rw-r--r--setup/Makefile.am20
-rw-r--r--setup/ibus-setup-pinyin.in23
3 files changed, 30 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index 3302128..50cb297 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,6 +70,7 @@ engine/Makefile
engine/ibus-engine-pinyin
engine/pinyin.engine
setup/Makefile
+setup/ibus-setup-pinyin
icons/Makefile
m4/Makefile
)
diff --git a/setup/Makefile.am b/setup/Makefile.am
index 7cafd82..c0cd4ae 100644
--- a/setup/Makefile.am
+++ b/setup/Makefile.am
@@ -18,28 +18,20 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-engine_pinyin_PYTHON = \
- setupui.py \
+setup_pinyin_PYTHON = \
+ main.py \
+ setup.glade \
$(NULL)
-engine_pinyin_DATA = \
- special_phrase \
- special_table \
- py.db \
- $(NULL)
-engine_pinyindir = $(datadir)/ibus-pinyin/engine
-
-libexec_SCRIPTS = ibus-engine-pinyin
+setup_pinyindir = $(datadir)/ibus-pinyin/setup
-engine_DATA = pinyin.engine
-enginedir = $(datadir)/ibus/engine
+libexec_SCRIPTS = ibus-setup-pinyin
CLEANFILES = \
*.pyc \
$(NULL)
EXTRA_DIST = \
- ibus-engine-pinyin.in \
- pinyin.engine.in \
+ ibus-setup-pinyin.in \
$(NULL)
test:
diff --git a/setup/ibus-setup-pinyin.in b/setup/ibus-setup-pinyin.in
new file mode 100644
index 0000000..585e87e
--- /dev/null
+++ b/setup/ibus-setup-pinyin.in
@@ -0,0 +1,23 @@
+#!/bin/sh
+# vim:set noet ts=4:
+#
+# ibus-tmpl - The Input Bus template project
+#
+# Copyright (c) 2007-2008 Huang Peng <shawn.p.huang@gmail.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+exec python @prefix@/share/ibus-pinyin/setup/main.py $@
+