diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-03-09 19:03:49 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-03-09 19:03:49 +0000 |
commit | 5bf339b4993fe65c68215630b7e75390eaed79f4 (patch) | |
tree | 724808e257b6ac9a255d0dc8f60e87a5e30f2c81 /app-i18n/ibus-unikey | |
parent | forgot no-op src_install (diff) | |
download | historical-5bf339b4993fe65c68215630b7e75390eaed79f4.tar.gz historical-5bf339b4993fe65c68215630b7e75390eaed79f4.tar.bz2 historical-5bf339b4993fe65c68215630b7e75390eaed79f4.zip |
old
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/ibus-unikey')
-rw-r--r-- | app-i18n/ibus-unikey/ChangeLog | 7 | ||||
-rw-r--r-- | app-i18n/ibus-unikey/files/ibus-unikey-ibus-1.4.patch | 258 | ||||
-rw-r--r-- | app-i18n/ibus-unikey/ibus-unikey-0.5.1-r1.ebuild | 33 | ||||
-rw-r--r-- | app-i18n/ibus-unikey/ibus-unikey-0.5.1.ebuild | 29 | ||||
-rw-r--r-- | app-i18n/ibus-unikey/ibus-unikey-0.5.ebuild | 28 | ||||
-rw-r--r-- | app-i18n/ibus-unikey/ibus-unikey-0.6.0.ebuild | 31 |
6 files changed, 6 insertions, 380 deletions
diff --git a/app-i18n/ibus-unikey/ChangeLog b/app-i18n/ibus-unikey/ChangeLog index 8c59c367c3da..46bf96d80746 100644 --- a/app-i18n/ibus-unikey/ChangeLog +++ b/app-i18n/ibus-unikey/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-i18n/ibus-unikey # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-unikey/ChangeLog,v 1.7 2012/03/06 10:23:05 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-unikey/ChangeLog,v 1.8 2012/03/09 19:02:02 ssuominen Exp $ + + 09 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> -ibus-unikey-0.5.ebuild, + -ibus-unikey-0.5.1.ebuild, -ibus-unikey-0.5.1-r1.ebuild, + -ibus-unikey-0.6.0.ebuild, -files/ibus-unikey-ibus-1.4.patch: + old *ibus-unikey-0.6.1 (06 Mar 2012) diff --git a/app-i18n/ibus-unikey/files/ibus-unikey-ibus-1.4.patch b/app-i18n/ibus-unikey/files/ibus-unikey-ibus-1.4.patch deleted file mode 100644 index 2c0ea376cc98..000000000000 --- a/app-i18n/ibus-unikey/files/ibus-unikey-ibus-1.4.patch +++ /dev/null @@ -1,258 +0,0 @@ -diff -ru ibus-unikey-0.5.1.orig/src/engine.cpp ibus-unikey-0.5.1/src/engine.cpp ---- ibus-unikey-0.5.1.orig/src/engine.cpp 2010-09-11 20:56:49.000000000 +0900 -+++ ibus-unikey-0.5.1/src/engine.cpp 2011-02-21 10:29:28.751755007 +0900 -@@ -138,9 +138,8 @@ - - static void ibus_unikey_engine_init(IBusUnikeyEngine* unikey) - { -- GValue v = {0}; -+ GVariant *v = NULL; - gchar* str; -- gboolean succ; - guint i; - - unikey->preeditstr = new std::string(); -@@ -160,10 +159,10 @@ - - // read config value - // read Input Method -- succ = ibus_config_get_value(config, "engine/Unikey", "InputMethod", &v); -- if (succ) -+ v = ibus_config_get_value(config, "engine/Unikey", "InputMethod"); -+ if (v) - { -- str = (gchar*)g_value_get_string(&v); -+ str = (gchar*)g_variant_get_string(v, NULL); - for (i = 0; i < NUM_INPUTMETHOD; i++) - { - if (strcasecmp(str, Unikey_IMNames[i]) == 0) -@@ -171,14 +170,14 @@ - unikey->im = Unikey_IM[i]; - } - } -- g_value_unset(&v); -+ g_variant_unref(v); - } // end read Input Method - - // read Output Charset -- succ = ibus_config_get_value(config, "engine/Unikey", "OutputCharset", &v); -- if (succ) -+ v = ibus_config_get_value(config, "engine/Unikey", "OutputCharset"); -+ if (v) - { -- str = (gchar*)g_value_get_string(&v); -+ str = (gchar*)g_variant_get_string(v, NULL); - for (i = 0; i < NUM_OUTPUTCHARSET; i++) - { - if (strcasecmp(str, Unikey_OCNames[i]) == 0) -@@ -186,64 +185,64 @@ - unikey->oc = Unikey_OC[i]; - } - } -- g_value_unset(&v); -+ g_variant_unref(v); - } // end read Output Charset - - // read Unikey Option - // freemarking -- succ = ibus_config_get_value(config, "engine/Unikey/Options", "FreeMarking", &v); -- if (succ) -+ v = ibus_config_get_value(config, "engine/Unikey/Options", "FreeMarking"); -+ if (v) - { -- unikey->ukopt.freeMarking = g_value_get_boolean(&v); -- g_value_unset(&v); -+ unikey->ukopt.freeMarking = g_variant_get_boolean(v); -+ g_variant_unref(v); - } - - // modernstyle -- succ = ibus_config_get_value(config, "engine/Unikey/Options", "ModernStyle", &v); -- if (succ) -+ v = ibus_config_get_value(config, "engine/Unikey/Options", "ModernStyle"); -+ if (v) - { -- unikey->ukopt.modernStyle = g_value_get_boolean(&v); -- g_value_unset(&v); -+ unikey->ukopt.modernStyle = g_variant_get_boolean(v); -+ g_variant_unref(v); - } - - // macroEnabled -- succ = ibus_config_get_value(config, "engine/Unikey/Options", "MacroEnabled", &v); -- if (succ) -+ v = ibus_config_get_value(config, "engine/Unikey/Options", "MacroEnabled"); -+ if (v) - { -- unikey->ukopt.macroEnabled = g_value_get_boolean(&v); -- g_value_unset(&v); -+ unikey->ukopt.macroEnabled = g_variant_get_boolean(v); -+ g_variant_unref(v); - } - - // spellCheckEnabled -- succ = ibus_config_get_value(config, "engine/Unikey/Options", "SpellCheckEnabled", &v); -- if (succ) -+ v = ibus_config_get_value(config, "engine/Unikey/Options", "SpellCheckEnabled"); -+ if (v) - { -- unikey->ukopt.spellCheckEnabled = g_value_get_boolean(&v); -- g_value_unset(&v); -+ unikey->ukopt.spellCheckEnabled = g_variant_get_boolean(v); -+ g_variant_unref(v); - } - - // autoNonVnRestore -- succ = ibus_config_get_value(config, "engine/Unikey/Options", "AutoNonVnRestore", &v); -- if (succ) -+ v = ibus_config_get_value(config, "engine/Unikey/Options", "AutoNonVnRestore"); -+ if (v) - { -- unikey->ukopt.autoNonVnRestore = g_value_get_boolean(&v); -- g_value_unset(&v); -+ unikey->ukopt.autoNonVnRestore = g_variant_get_boolean(v); -+ g_variant_unref(v); - } - - // ProcessWAtBegin -- succ = ibus_config_get_value(config, "engine/Unikey/Options", "ProcessWAtBegin", &v); -- if (succ) -+ v = ibus_config_get_value(config, "engine/Unikey/Options", "ProcessWAtBegin"); -+ if (v) - { -- unikey->process_w_at_begin = g_value_get_boolean(&v); -- g_value_unset(&v); -+ unikey->process_w_at_begin = g_variant_get_boolean(v); -+ g_variant_unref(v); - } - - // MouseCapture -- succ = ibus_config_get_value(config, "engine/Unikey/Options", "MouseCapture", &v); -- if (succ) -+ v = ibus_config_get_value(config, "engine/Unikey/Options", "MouseCapture"); -+ if (v) - { -- unikey->mouse_capture = g_value_get_boolean(&v); -- g_value_unset(&v); -+ unikey->mouse_capture = g_variant_get_boolean(v); -+ g_variant_unref(v); - } - // end read Unikey Option - // end read config value -@@ -331,7 +330,7 @@ - { - IBusProperty* prop; - IBusText* label; -- GValue v = {0}; -+ GVariant *v; - guint i, j; - - unikey = (IBusUnikeyEngine*)engine; -@@ -346,9 +345,8 @@ - { - unikey->im = Unikey_IM[i]; - -- g_value_init(&v, G_TYPE_STRING); -- g_value_set_string(&v, Unikey_IMNames[i]); -- ibus_config_set_value(config, "engine/Unikey", "InputMethod", &v); -+ v = g_variant_new_string(Unikey_IMNames[i]); -+ ibus_config_set_value(config, "engine/Unikey", "InputMethod", v); - - // update label - for (j=0; j<unikey->prop_list->properties->len; j++) -@@ -391,9 +389,8 @@ - { - unikey->oc = Unikey_OC[i]; - -- g_value_init(&v, G_TYPE_STRING); -- g_value_set_string(&v, Unikey_OCNames[i]); -- ibus_config_set_value(config, "engine/Unikey", "OutputCharset", &v); -+ v = g_variant_new_string(Unikey_OCNames[i]); -+ ibus_config_set_value(config, "engine/Unikey", "OutputCharset", v); - - // update label - for (j=0; j<unikey->prop_list->properties->len; j++) -@@ -431,9 +428,8 @@ - { - unikey->ukopt.spellCheckEnabled = !unikey->ukopt.spellCheckEnabled; - -- g_value_init(&v, G_TYPE_BOOLEAN); -- g_value_set_boolean(&v, unikey->ukopt.spellCheckEnabled); -- ibus_config_set_value(config, "engine/Unikey/Options", "SpellCheckEnabled", &v); -+ v = g_variant_new_boolean (unikey->ukopt.spellCheckEnabled); -+ ibus_config_set_value(config, "engine/Unikey/Options", "SpellCheckEnabled", v); - - // update state of state - for (j = 0; j < unikey->menu_opt->properties->len ; j++) -@@ -456,9 +452,8 @@ - { - unikey->ukopt.macroEnabled = !unikey->ukopt.macroEnabled; - -- g_value_init(&v, G_TYPE_BOOLEAN); -- g_value_set_boolean(&v, unikey->ukopt.macroEnabled); -- ibus_config_set_value(config, "engine/Unikey/Options", "MacroEnabled", &v); -+ v = g_variant_new_boolean(unikey->ukopt.macroEnabled); -+ ibus_config_set_value(config, "engine/Unikey/Options", "MacroEnabled", v); - - // update state of state - for (j = 0; j < unikey->menu_opt->properties->len ; j++) -@@ -481,9 +476,8 @@ - { - unikey->mouse_capture = !unikey->mouse_capture; - -- g_value_init(&v, G_TYPE_BOOLEAN); -- g_value_set_boolean(&v, unikey->mouse_capture); -- ibus_config_set_value(config, "engine/Unikey/Options", "MouseCapture", &v); -+ v = g_variant_new_boolean(unikey->mouse_capture); -+ ibus_config_set_value(config, "engine/Unikey/Options", "MouseCapture", v); - - // update state of state - for (j = 0; j < unikey->menu_opt->properties->len ; j++) -diff -ru ibus-unikey-0.5.1.orig/src/main.cpp ibus-unikey-0.5.1/src/main.cpp ---- ibus-unikey-0.5.1.orig/src/main.cpp 2010-09-12 16:17:47.000000000 +0900 -+++ ibus-unikey-0.5.1/src/main.cpp 2011-02-21 09:48:48.188754964 +0900 -@@ -58,7 +58,7 @@ - for (p = engines; p != NULL; p = p->next) - { - IBusEngineDesc* engine = (IBusEngineDesc*)p->data; -- ibus_factory_add_engine(factory, engine->name, IBUS_TYPE_UNIKEY_ENGINE); -+ ibus_factory_add_engine(factory, ibus_engine_desc_get_name(engine), IBUS_TYPE_UNIKEY_ENGINE); - } - - if (ibus) -Only in ibus-unikey-0.5.1.orig/src: unikey.xml.in -diff -ru ibus-unikey-0.5.1.orig/src/utils.cpp ibus-unikey-0.5.1/src/utils.cpp ---- ibus-unikey-0.5.1.orig/src/utils.cpp 2010-06-12 01:43:48.000000000 +0900 -+++ ibus-unikey-0.5.1/src/utils.cpp 2011-02-21 10:04:31.003755036 +0900 -@@ -35,20 +35,20 @@ - "", - PACKAGE_NAME); - -- engine = ibus_engine_desc_new -+ engine = ibus_engine_desc_new_varargs - ( -- "Unikey", -- "Unikey", -- IU_DESC, -- "vi", -- "GPLv2", -- "Lê Quốc Tuấn <mr.lequoctuan@gmail.com>", -- PKGDATADIR"/icons/ibus-unikey.png", -- "us" -+ "name", "Unikey", -+ "longname", "Unikey", -+ "description", IU_DESC, -+ "language", "vi", -+ "license", "GPLv2", -+ "author", "Lê Quốc Tuấn <mr.lequoctuan@gmail.com>", -+ "icon", PKGDATADIR"/icons/ibus-unikey.png", -+ "layout", "us", -+ "rank", 99, -+ NULL - ); - -- engine->rank = 99; -- - ibus_component_add_engine(component, engine); - - return component; diff --git a/app-i18n/ibus-unikey/ibus-unikey-0.5.1-r1.ebuild b/app-i18n/ibus-unikey/ibus-unikey-0.5.1-r1.ebuild deleted file mode 100644 index e8ce1e4e748d..000000000000 --- a/app-i18n/ibus-unikey/ibus-unikey-0.5.1-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-unikey/ibus-unikey-0.5.1-r1.ebuild,v 1.1 2011/05/28 01:56:00 matsuu Exp $ - -EAPI="3" -inherit eutils - -DESCRIPTION="Vietnamese Input Method Engine for IBUS using Unikey IME" -HOMEPAGE="http://code.google.com/p/ibus-unikey/" -SRC_URI="http://ibus-unikey.googlecode.com/files/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=app-i18n/ibus-1.3.99 - gnome-base/gconf:2 - >=x11-libs/gtk+-2.12:2 - x11-libs/libX11" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -src_prepare() { - # http://pkgs.fedoraproject.org/gitweb/?p=ibus-unikey.git - epatch "${FILESDIR}/${PN}-ibus-1.4.patch" -} - -src_install() { - emake DESTDIR="${D}" install || die - - dodoc AUTHORS ChangeLog NEWS README || die -} diff --git a/app-i18n/ibus-unikey/ibus-unikey-0.5.1.ebuild b/app-i18n/ibus-unikey/ibus-unikey-0.5.1.ebuild deleted file mode 100644 index 6d7056553980..000000000000 --- a/app-i18n/ibus-unikey/ibus-unikey-0.5.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-unikey/ibus-unikey-0.5.1.ebuild,v 1.1 2011/05/28 01:56:00 matsuu Exp $ - -EAPI="3" -inherit eutils - -DESCRIPTION="Vietnamese Input Method Engine for IBUS using Unikey IME" -HOMEPAGE="http://code.google.com/p/ibus-unikey/" -SRC_URI="http://ibus-unikey.googlecode.com/files/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=app-i18n/ibus-1.2 - !>=app-i18n/ibus-1.3.99 - gnome-base/gconf:2 - >=x11-libs/gtk+-2.12:2 - x11-libs/libX11" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -src_install() { - emake DESTDIR="${D}" install || die - - dodoc AUTHORS ChangeLog NEWS README || die -} diff --git a/app-i18n/ibus-unikey/ibus-unikey-0.5.ebuild b/app-i18n/ibus-unikey/ibus-unikey-0.5.ebuild deleted file mode 100644 index 4e54f9618f3a..000000000000 --- a/app-i18n/ibus-unikey/ibus-unikey-0.5.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-unikey/ibus-unikey-0.5.ebuild,v 1.2 2011/05/28 01:56:00 matsuu Exp $ - -EAPI="2" - -DESCRIPTION="Vietnamese Input Method Engine for IBUS using Unikey IME" -HOMEPAGE="http://code.google.com/p/ibus-unikey/" -SRC_URI="http://ibus-unikey.googlecode.com/files/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=app-i18n/ibus-1.2 - !>=app-i18n/ibus-1.3.99 - gnome-base/gconf:2 - >=x11-libs/gtk+-2.12:2 - x11-libs/libX11" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -src_install() { - emake DESTDIR="${D}" install || die - - dodoc AUTHORS ChangeLog NEWS README || die -} diff --git a/app-i18n/ibus-unikey/ibus-unikey-0.6.0.ebuild b/app-i18n/ibus-unikey/ibus-unikey-0.6.0.ebuild deleted file mode 100644 index 6ebdd1bebc9d..000000000000 --- a/app-i18n/ibus-unikey/ibus-unikey-0.6.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-unikey/ibus-unikey-0.6.0.ebuild,v 1.2 2012/03/06 08:15:59 naota Exp $ - -EAPI="4" -inherit eutils - -DESCRIPTION="Vietnamese Input Method Engine for IBUS using Unikey IME" -HOMEPAGE="http://code.google.com/p/ibus-unikey/" -SRC_URI="http://ibus-unikey.googlecode.com/files/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gtk3" - -RDEPEND="gtk3? ( >app-i18n/ibus-1.3.9[gtk3] - x11-libs/gtk+:3 ) - !gtk3? ( app-i18n/ibus - >=x11-libs/gtk+-2.12:2 ) - <app-i18n/ibus-1.4.0 - x11-libs/libX11" -DEPEND="${RDEPEND} - dev-util/pkgconfig - dev-util/intltool - >=sys-devel/gettext-0.17" - -src_configure() { - use gtk3 && myconf="--with-gtk-version=3" || myconf="" - econf ${myconf} -} |