summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-06-22 00:09:45 +0000
committerNaohiro Aota <naota@gentoo.org>2012-06-22 00:09:45 +0000
commitb1a14d8cea9e9742f95af38ca6b4cf1deddc9d1a (patch)
tree748c1c74f572788e8806ee3805ea2f24085a5b3f /app-i18n/ibus-fbterm
parentFix for bnx2 to load proper firmware version. Thanks to Kerin Millar. Bug #41... (diff)
downloadgentoo-2-b1a14d8cea9e9742f95af38ca6b4cf1deddc9d1a.tar.gz
gentoo-2-b1a14d8cea9e9742f95af38ca6b4cf1deddc9d1a.tar.bz2
gentoo-2-b1a14d8cea9e9742f95af38ca6b4cf1deddc9d1a.zip
New package app-i18n/ibus-fbterm.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/ibus-fbterm')
-rw-r--r--app-i18n/ibus-fbterm/ChangeLog11
-rw-r--r--app-i18n/ibus-fbterm/Manifest4
-rw-r--r--app-i18n/ibus-fbterm/files/ibus-fbterm-0.9.1-ibus-1.4.1.patch23
-rw-r--r--app-i18n/ibus-fbterm/ibus-fbterm-0.9.1.ebuild24
-rw-r--r--app-i18n/ibus-fbterm/metadata.xml5
5 files changed, 67 insertions, 0 deletions
diff --git a/app-i18n/ibus-fbterm/ChangeLog b/app-i18n/ibus-fbterm/ChangeLog
new file mode 100644
index 000000000000..262c9128b276
--- /dev/null
+++ b/app-i18n/ibus-fbterm/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-i18n/ibus-fbterm
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-fbterm/ChangeLog,v 1.1 2012/06/22 00:09:45 naota Exp $
+
+*ibus-fbterm-0.9.1 (22 Jun 2012)
+
+ 22 Jun 2012; Naohiro Aota <naota@gentoo.org>
+ +files/ibus-fbterm-0.9.1-ibus-1.4.1.patch, +ibus-fbterm-0.9.1.ebuild,
+ +metadata.xml:
+ New package app-i18n/ibus-fbterm.
+
diff --git a/app-i18n/ibus-fbterm/Manifest b/app-i18n/ibus-fbterm/Manifest
new file mode 100644
index 000000000000..5475704dd881
--- /dev/null
+++ b/app-i18n/ibus-fbterm/Manifest
@@ -0,0 +1,4 @@
+AUX ibus-fbterm-0.9.1-ibus-1.4.1.patch 1028 RMD160 04d8514af804b115e553e17a4ba6d87dba74e922 SHA1 4bd634afbaa499b6f08f143a6be220686406d412 SHA256 b40f29eef22d0e9fa44768246a1be6a28c26281167c678bd783d1b526c096c14
+DIST ibus-fbterm-0.9.1.tar.gz 106808 RMD160 b1b7eb8089fb3e68f03ec7d2fa677bb4ca0eafb1 SHA1 946e55dcc01afa9b4082253b9b79c83d2a752fae SHA256 98437db4d5d15bbdca3e4b0a08f1bd1be544a305aa1d0f65fedb81b871da2e7c
+EBUILD ibus-fbterm-0.9.1.ebuild 529 RMD160 2fbd73eba37ce9f48fa6c4b365cee5d1c72511f4 SHA1 9dccd979d927615065c91bd5f5fe59b5dac72ad7 SHA256 1be0d5a056801ae2f6d145e4e26b8e49e9ed7925b2906120bf6c4703d22f313b
+MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
diff --git a/app-i18n/ibus-fbterm/files/ibus-fbterm-0.9.1-ibus-1.4.1.patch b/app-i18n/ibus-fbterm/files/ibus-fbterm-0.9.1-ibus-1.4.1.patch
new file mode 100644
index 000000000000..08508c231804
--- /dev/null
+++ b/app-i18n/ibus-fbterm/files/ibus-fbterm-0.9.1-ibus-1.4.1.patch
@@ -0,0 +1,23 @@
+diff -Nurap ibus-fbterm-0.9.1.orig//src/display.c ibus-fbterm-0.9.1//src/display.c
+--- ibus-fbterm-0.9.1.orig//src/display.c 2012-06-06 17:59:26.000000000 +0900
++++ ibus-fbterm-0.9.1//src/display.c 2012-06-06 18:05:22.000000000 +0900
+@@ -212,7 +212,7 @@ static void calculate_status_win()
+ IBusProperty *prop = ibus_prop_list_get(property_list, i);
+ if (!prop) break;
+
+- w += text_width(prop->label->text);
++ w += text_width(ibus_property_get_label(prop)->text);
+ }
+
+ status_bar_win.x = cursor_x;
+@@ -238,8 +238,8 @@ static void draw_status_bar()
+ IBusProperty *prop = ibus_prop_list_get(property_list, i);
+ if (!prop) break;
+
+- draw_text(x, y, COLOR_FG, COLOR_BG, prop->label->text, strlen(prop->label->text));
+- x += FW(text_width(prop->label->text));
++ draw_text(x, y, COLOR_FG, COLOR_BG, ibus_property_get_label(prop)->text, strlen(ibus_property_get_label(prop)->text));
++ x += FW(text_width(ibus_property_get_label(prop)->text));
+
+ char space = ' ';
+ draw_text(x, y, COLOR_FG, COLOR_BG, &space, 1);
diff --git a/app-i18n/ibus-fbterm/ibus-fbterm-0.9.1.ebuild b/app-i18n/ibus-fbterm/ibus-fbterm-0.9.1.ebuild
new file mode 100644
index 000000000000..55b3496685b5
--- /dev/null
+++ b/app-i18n/ibus-fbterm/ibus-fbterm-0.9.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-fbterm/ibus-fbterm-0.9.1.ebuild,v 1.1 2012/06/22 00:09:45 naota Exp $
+
+EAPI="4"
+inherit autotools-utils
+
+DESCRIPTION="ibus-fbterm is a input method for FbTerm based on iBus."
+HOMEPAGE="http://ibus-fbterm.googlecode.com"
+SRC_URI="https://ibus-fbterm.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=app-i18n/ibus-1.4.1
+ app-i18n/fbterm"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-ibus-1.4.1.patch
+)
diff --git a/app-i18n/ibus-fbterm/metadata.xml b/app-i18n/ibus-fbterm/metadata.xml
new file mode 100644
index 000000000000..2d5852c16c60
--- /dev/null
+++ b/app-i18n/ibus-fbterm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+</pkgmetadata>