summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2013-01-31 09:21:42 +0000
committerBen de Groot <yngwin@gentoo.org>2013-01-31 09:21:42 +0000
commitaf785e5da6c673363bd7517282db8ea9cad3a85a (patch)
tree2fe3bb63618fd5e4d0552a94295fbd94628446bf /app-i18n/fcitx-sunpinyin
parentold (diff)
downloadgentoo-2-af785e5da6c673363bd7517282db8ea9cad3a85a.tar.gz
gentoo-2-af785e5da6c673363bd7517282db8ea9cad3a85a.tar.bz2
gentoo-2-af785e5da6c673363bd7517282db8ea9cad3a85a.zip
Version bump, bug #454491. Thanks to Dennis Lan and Wang Jiajun for contributions.
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-i18n/fcitx-sunpinyin')
-rw-r--r--app-i18n/fcitx-sunpinyin/ChangeLog9
-rw-r--r--app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-0.4.0.ebuild34
-rw-r--r--app-i18n/fcitx-sunpinyin/files/fcitx-sunpinyin-0.4.0-gcc46-compatible.patch27
3 files changed, 69 insertions, 1 deletions
diff --git a/app-i18n/fcitx-sunpinyin/ChangeLog b/app-i18n/fcitx-sunpinyin/ChangeLog
index 8603cb3797ba..e5f8ae52178d 100644
--- a/app-i18n/fcitx-sunpinyin/ChangeLog
+++ b/app-i18n/fcitx-sunpinyin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-i18n/fcitx-sunpinyin
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-sunpinyin/ChangeLog,v 1.4 2013/01/28 10:13:47 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-sunpinyin/ChangeLog,v 1.5 2013/01/31 09:21:41 yngwin Exp $
+
+*fcitx-sunpinyin-0.4.0 (31 Jan 2013)
+
+ 31 Jan 2013; Ben de Groot <yngwin@gentoo.org> +fcitx-sunpinyin-0.4.0.ebuild,
+ +files/fcitx-sunpinyin-0.4.0-gcc46-compatible.patch:
+ Version bump, bug #454491. Thanks to Dennis Lan and Wang Jiajun for
+ contributions.
28 Jan 2013; Ben de Groot <yngwin@gentoo.org> -fcitx-sunpinyin-0.2.0.ebuild:
remove old
diff --git a/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-0.4.0.ebuild b/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-0.4.0.ebuild
new file mode 100644
index 000000000000..cfedd693d310
--- /dev/null
+++ b/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-0.4.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-sunpinyin/fcitx-sunpinyin-0.4.0.ebuild,v 1.1 2013/01/31 09:21:41 yngwin Exp $
+
+EAPI=5
+
+inherit cmake-utils gnome2-utils
+
+DESCRIPTION="Sunpinyin module for fcitx"
+HOMEPAGE="http://fcitx-im.org/"
+SRC_URI="http://fcitx.googlecode.com/files/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=app-i18n/fcitx-4.2.7
+ >app-i18n/sunpinyin-2.0.3"
+DEPEND="${RDEPEND}
+ virtual/libintl"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gcc46-compatible.patch"
+ epatch_user
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-i18n/fcitx-sunpinyin/files/fcitx-sunpinyin-0.4.0-gcc46-compatible.patch b/app-i18n/fcitx-sunpinyin/files/fcitx-sunpinyin-0.4.0-gcc46-compatible.patch
new file mode 100644
index 000000000000..42b6b91a3428
--- /dev/null
+++ b/app-i18n/fcitx-sunpinyin/files/fcitx-sunpinyin-0.4.0-gcc46-compatible.patch
@@ -0,0 +1,27 @@
+From f43108d900a2ce7fa52d1c6741fdf41b6747c94c Mon Sep 17 00:00:00 2001
+From: Weng Xuetian <wengxt@gmail.com>
+Date: Sat, 26 Jan 2013 19:56:31 -0500
+Subject: [PATCH] [sunpinyin] gcc46 compatible.
+
+---
+ src/eim.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/eim.cpp b/src/eim.cpp
+index e09521f..c1c898f 100644
+--- a/src/eim.cpp
++++ b/src/eim.cpp
+@@ -49,8 +49,8 @@
+ extern "C" {
+ #endif
+ FCITX_DEFINE_PLUGIN(fcitx_sunpinyin, ime, FcitxIMClass) = {
+- .Create = FcitxSunpinyinCreate,
+- .Destroy = FcitxSunpinyinDestroy
++ FcitxSunpinyinCreate,
++ FcitxSunpinyinDestroy
+ };
+ #ifdef __cplusplus
+ }
+--
+1.7.10
+