summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2010-12-18 09:10:07 +0000
committerMu Qiao <qiaomuf@gentoo.org>2010-12-18 09:10:07 +0000
commit2cfb2df9bf4b7f4d7ce688d7f66935f9eda47230 (patch)
tree01a632591c42b44ef6d3f913ff325c3e84abff99 /app-i18n
parentadd dependency on fcitx-4.0.0 (diff)
downloadgentoo-2-2cfb2df9bf4b7f4d7ce688d7f66935f9eda47230.tar.gz
gentoo-2-2cfb2df9bf4b7f4d7ce688d7f66935f9eda47230.tar.bz2
gentoo-2-2cfb2df9bf4b7f4d7ce688d7f66935f9eda47230.zip
Version bumped.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/fcitx/ChangeLog7
-rw-r--r--app-i18n/fcitx/fcitx-4.0.1.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/app-i18n/fcitx/ChangeLog b/app-i18n/fcitx/ChangeLog
index 04fe6e82aa22..14300fd0b68c 100644
--- a/app-i18n/fcitx/ChangeLog
+++ b/app-i18n/fcitx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-i18n/fcitx
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx/ChangeLog,v 1.31 2010/11/27 07:05:07 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx/ChangeLog,v 1.32 2010/12/18 09:10:07 qiaomuf Exp $
+
+*fcitx-4.0.1 (18 Dec 2010)
+
+ 18 Dec 2010; <gentoo@gentoo.org> +fcitx-4.0.1.ebuild:
+ Version bumped.
*fcitx-4.0.0 (27 Nov 2010)
*fcitx-3.6.4 (27 Nov 2010)
diff --git a/app-i18n/fcitx/fcitx-4.0.1.ebuild b/app-i18n/fcitx/fcitx-4.0.1.ebuild
new file mode 100644
index 000000000000..627692f8a76d
--- /dev/null
+++ b/app-i18n/fcitx/fcitx-4.0.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx/fcitx-4.0.1.ebuild,v 1.1 2010/12/18 09:10:07 qiaomuf Exp $
+
+EAPI="3"
+
+DESCRIPTION="Free Chinese Input Toy for X. Another Chinese XIM Input Method"
+HOMEPAGE="http://www.fcitx.org/"
+SRC_URI="http://fcitx.googlecode.com/files/${P}_all.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="dbus pango"
+
+RDEPEND="!<=app-i18n/fcitx-configtool-0.1.4
+ x11-libs/libX11
+ x11-libs/libXrender
+ x11-libs/cairo[X]
+ media-libs/fontconfig
+ pango? ( x11-libs/pango )
+ dbus? ( >=sys-apps/dbus-0.2 )"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ dev-util/pkgconfig"
+
+src_configure() {
+ econf \
+ $(use_enable dbus) \
+ $(use_enable pango) || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog README THANKS TODO || die
+
+ rm -rf "${ED}"/usr/share/fcitx/doc/ || die
+ dodoc doc/pinyin.txt doc/cjkvinput.txt || die
+ dohtml doc/wb_fh.htm || die
+}
+
+pkg_postinst() {
+ elog
+ elog "You should export the following variables to use fcitx"
+ elog " export XMODIFIERS=\"@im=fcitx\""
+ elog " export XIM=fcitx"
+ elog " export XIM_PROGRAM=fcitx"
+ elog
+ elog "If you want to use WuBi ,ErBi or something else."
+ elog " mkdir -p ~/.fcitx"
+ elog " cp /usr/share/fcitx/data/wbx.mb ~/.fcitx"
+ elog " cp /usr/share/fcitx/data/erbi.mb ~/.fcitx"
+ elog " cp /usr/share/fcitx/data/tables.conf ~/.fcitx"
+ elog
+}