summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2010-12-18 10:58:47 +0000
committerMu Qiao <qiaomuf@gentoo.org>2010-12-18 10:58:47 +0000
commitf17f6414fdf20766db41cdf3ffb33e69e35dc240 (patch)
treed78e9726689100401f9d99baa6ab5ed714e94c16 /app-i18n/fcitx-configtool
parentStable on x86 and amd64 (#348832) (diff)
downloadgentoo-2-f17f6414fdf20766db41cdf3ffb33e69e35dc240.tar.gz
gentoo-2-f17f6414fdf20766db41cdf3ffb33e69e35dc240.tar.bz2
gentoo-2-f17f6414fdf20766db41cdf3ffb33e69e35dc240.zip
Version bumped
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/fcitx-configtool')
-rw-r--r--app-i18n/fcitx-configtool/ChangeLog8
-rw-r--r--app-i18n/fcitx-configtool/fcitx-configtool-0.2.0.ebuild30
-rw-r--r--app-i18n/fcitx-configtool/files/fcitx-configtool-0.2.0-fix-gtk.patch31
3 files changed, 68 insertions, 1 deletions
diff --git a/app-i18n/fcitx-configtool/ChangeLog b/app-i18n/fcitx-configtool/ChangeLog
index 2bd042312cd4..eb124fb6dbfd 100644
--- a/app-i18n/fcitx-configtool/ChangeLog
+++ b/app-i18n/fcitx-configtool/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-i18n/fcitx-configtool
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-configtool/ChangeLog,v 1.2 2010/12/18 10:19:43 qiaomuf Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-configtool/ChangeLog,v 1.3 2010/12/18 10:58:47 qiaomuf Exp $
+
+*fcitx-configtool-0.2.0 (18 Dec 2010)
+
+ 18 Dec 2010; Mu Qiao <qiaomuf@gentoo.org> +fcitx-configtool-0.2.0.ebuild,
+ +files/fcitx-configtool-0.2.0-fix-gtk.patch:
+ Version bumped. Thanks for Havanna's help.
*fcitx-configtool-0.1.4 (28 Nov 2010)
diff --git a/app-i18n/fcitx-configtool/fcitx-configtool-0.2.0.ebuild b/app-i18n/fcitx-configtool/fcitx-configtool-0.2.0.ebuild
new file mode 100644
index 000000000000..b4fcf55894a0
--- /dev/null
+++ b/app-i18n/fcitx-configtool/fcitx-configtool-0.2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx-configtool/fcitx-configtool-0.2.0.ebuild,v 1.1 2010/12/18 10:58:47 qiaomuf Exp $
+
+EAPI="2"
+
+inherit cmake-utils
+
+DESCRIPTION="A gtk GUI to edit fcitx settings"
+HOMEPAGE="http://fcitx.googlecode.com"
+SRC_URI="${HOMEPAGE}/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/glib:2
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ >=app-i18n/fcitx-4.0.1
+ dev-libs/libunique
+ dev-util/intltool
+ dev-util/pkgconfig
+ sys-devel/gettext"
+
+src_prepare() {
+ # fix dependency on gtk+
+ epatch "${FILESDIR}/${P}-fix-gtk.patch"
+}
diff --git a/app-i18n/fcitx-configtool/files/fcitx-configtool-0.2.0-fix-gtk.patch b/app-i18n/fcitx-configtool/files/fcitx-configtool-0.2.0-fix-gtk.patch
new file mode 100644
index 000000000000..c117fce51a1f
--- /dev/null
+++ b/app-i18n/fcitx-configtool/files/fcitx-configtool-0.2.0-fix-gtk.patch
@@ -0,0 +1,31 @@
+--- fcitx-configtool-0.2.0/gtk/keygrab.c 2010-12-17 14:16:14.000000000 +0800
++++ fcitx-configtool-0.2.0-patched/gtk/keygrab.c 2010-12-18 18:24:33.345000017 +0800
+@@ -101,10 +101,10 @@
+ guint key;
+ GdkModifierType mods = event->state & gtk_accelerator_get_default_mod_mask();
+
+- if ((event->keyval == GDK_KEY_Escape
+- || event->keyval == GDK_KEY_Return) && !mods)
++ if ((event->keyval == GDK_Escape
++ || event->keyval == GDK_Return) && !mods)
+ {
+- if (event->keyval == GDK_KEY_Escape)
++ if (event->keyval == GDK_Escape)
+ gtk_signal_emit_by_name(GTK_OBJECT(b), "changed", b->key, b->mods);
+ end_key_grab(b);
+ keygrab_button_set_key(b, 0, 0);
+@@ -112,11 +112,11 @@
+ }
+
+ key = gdk_keyval_to_upper(event->keyval);
+- if (key == GDK_KEY_ISO_Left_Tab)
+- key = GDK_KEY_Tab;
++ if (key == GDK_ISO_Left_Tab)
++ key = GDK_Tab;
+
+ if (gtk_accelerator_valid(key, mods)
+- || (key == GDK_KEY_Tab && mods))
++ || (key == GDK_Tab && mods))
+ {
+ keygrab_button_set_key(b, key, mods);
+ end_key_grab(b);