public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Updated ibus-HEAD.patch from upstream.
Date: Sun, 31 May 2026 02:04:58 GMT [thread overview]
Message-ID: <178019309814.1.5057415582336191817.rpms-ibus-fc455bbff045@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : fc455bbff0455c4923c157e09fd0b86796115cf1
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2010-12-28T14:36:20+09:00
Stats : +88/-9 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/fc455bbff0455c4923c157e09fd0b86796115cf1?branch=autotool
Log:
Updated ibus-HEAD.patch from upstream.
---
diff --git a/ibus-435880-surrounding-text.patch b/ibus-435880-surrounding-text.patch
index e88c2d1..fb5df0c 100644
--- a/ibus-435880-surrounding-text.patch
+++ b/ibus-435880-surrounding-text.patch
@@ -30,7 +30,7 @@ resets the current surrounding-text.
ibus/engine.py | 6 ++
ibus/interface/iengine.py | 3 +
ibus/interface/iinputcontext.py | 3 +
- src/ibusengine.c | 134 +++++++++++++++++++++++++++++++++++++++
+ src/ibusengine.c | 138 +++++++++++++++++++++++++++++++++++++++++
src/ibusengine.h | 21 ++++++-
src/ibusinputcontext.c | 61 ++++++++++++++++++
src/ibusinputcontext.h | 11 +++
@@ -628,7 +628,18 @@ index ae07393..777d404 100644
static void ibus_engine_emit_signal (IBusEngine *engine,
const gchar *signal_name,
GVariant *parameters);
-@@ -245,6 +255,7 @@ ibus_engine_class_init (IBusEngineClass *class)
+@@ -180,6 +190,10 @@ static const gchar introspection_xml[] =
+ " <method name='PageDown' />"
+ " <method name='CursorUp' />"
+ " <method name='CursorDown' />"
++ " <method name='SetSurroundingText'>"
++ " <arg direction='in' type='v' name='text' />"
++ " <arg direction='in' type='u' name='cursor_pos' />"
++ " </method>"
+ /* FIXME signals */
+ " <signal name='CommitText'>"
+ " <arg type='v' name='text' />"
+@@ -245,6 +259,7 @@ ibus_engine_class_init (IBusEngineClass *class)
class->property_hide = ibus_engine_property_hide;
class->set_cursor_location = ibus_engine_set_cursor_location;
class->set_capabilities = ibus_engine_set_capabilities;
@@ -636,7 +647,7 @@ index ae07393..777d404 100644
/* install properties */
/**
-@@ -611,12 +622,39 @@ ibus_engine_class_init (IBusEngineClass *class)
+@@ -611,12 +626,39 @@ ibus_engine_class_init (IBusEngineClass *class)
G_TYPE_STRING);
g_type_class_add_private (class, sizeof (IBusEnginePrivate));
@@ -676,7 +687,7 @@ index ae07393..777d404 100644
}
static void
-@@ -625,6 +663,11 @@ ibus_engine_destroy (IBusEngine *engine)
+@@ -625,6 +667,11 @@ ibus_engine_destroy (IBusEngine *engine)
g_free (engine->priv->engine_name);
engine->priv->engine_name = NULL;
@@ -688,7 +699,7 @@ index ae07393..777d404 100644
IBUS_OBJECT_CLASS(ibus_engine_parent_class)->destroy (IBUS_OBJECT (engine));
}
-@@ -796,6 +839,25 @@ ibus_engine_service_method_call (IBusService *service,
+@@ -796,6 +843,25 @@ ibus_engine_service_method_call (IBusService *service,
return;
}
@@ -714,7 +725,7 @@ index ae07393..777d404 100644
/* should not be reached */
g_return_if_reached ();
}
-@@ -950,6 +1012,26 @@ ibus_engine_property_hide (IBusEngine *engine, const gchar *prop_name)
+@@ -950,6 +1016,26 @@ ibus_engine_property_hide (IBusEngine *engine, const gchar *prop_name)
}
static void
@@ -741,7 +752,7 @@ index ae07393..777d404 100644
ibus_engine_emit_signal (IBusEngine *engine,
const gchar *signal_name,
GVariant *parameters)
-@@ -1133,14 +1215,66 @@ void ibus_engine_delete_surrounding_text (IBusEngine *engine,
+@@ -1133,14 +1219,66 @@ void ibus_engine_delete_surrounding_text (IBusEngine *engine,
gint offset_from_cursor,
guint nchars)
{
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index 7221d5d..54fcce5 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -45,3 +45,70 @@ index 2e288f5..fb56b76 100644
--
1.7.3.2
+--- a/src/ibusinputcontext.c
++++ b/src/ibusinputcontext.c
+@@ -732,7 +732,7 @@ ibus_input_context_get_input_context (co
+ GDBusConnection *connection)
+ {
+ IBusInputContext *context;
+- GError *error;
++ GError *error = NULL;
+
+ context = ibus_input_context_new (path, connection, NULL, &error);
+ if (!context) {
+@@ -904,7 +904,7 @@ ibus_input_context_is_enabled (IBusInput
+ {
+ g_assert (IBUS_IS_INPUT_CONTEXT (context));
+ GVariant *result;
+- GError *error;
++ GError *error = NULL;
+ result = g_dbus_proxy_call_sync ((GDBusProxy *) context,
+ "IsEnabled", /* method_name */
+ NULL, /* parameters */
+@@ -932,7 +932,7 @@ ibus_input_context_get_engine (IBusInput
+ {
+ g_assert (IBUS_IS_INPUT_CONTEXT (context));
+ GVariant *result;
+- GError *error;
++ GError *error = NULL;
+ result = g_dbus_proxy_call_sync ((GDBusProxy *) context,
+ "GetEngine", /* method_name */
+ NULL, /* parameters */
+From 017077ceb9ec2f26a8c524f3794a832164f21768 Mon Sep 17 00:00:00 2001
+From: Daiki Ueno <ueno@unixuser.org>
+Date: Tue, 28 Dec 2010 12:46:25 +0900
+Subject: [PATCH] Fix g_variant_get() call in DeleteSurroundingText signal handler.
+
+BUG=none
+TEST=manual
+
+Review URL: http://codereview.appspot.com/3820042
+---
+ src/ibusinputcontext.c | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/ibusinputcontext.c b/src/ibusinputcontext.c
+index 88afc22..7bbf8a2 100644
+--- a/src/ibusinputcontext.c
++++ b/src/ibusinputcontext.c
+@@ -578,7 +578,7 @@ ibus_input_context_g_signal (GDBusProxy *proxy,
+ guint32 keycode;
+ guint32 state;
+
+- g_variant_get (parameters, 0, "(uuu)", &keyval, &keycode, &state);
++ g_variant_get (parameters, "(uuu)", &keyval, &keycode, &state);
+
+ /* Forward key event back with IBUS_FORWARD_MASK. And process_key_event will
+ * not process key event with IBUS_FORWARD_MASK again. */
+@@ -595,7 +595,7 @@ ibus_input_context_g_signal (GDBusProxy *proxy,
+ gint offset_from_cursor;
+ guint nchars;
+
+- g_variant_get (parameters, 0, "(iu)", &offset_from_cursor, &nchars);
++ g_variant_get (parameters, "(iu)", &offset_from_cursor, &nchars);
+
+ g_signal_emit (context,
+ context_signals[DELETE_SURROUNDING_TEXT],
+--
+1.7.3.2
+
diff --git a/ibus.spec b/ibus.spec
index 16af68f..a8ddf2d 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -12,7 +12,7 @@
Name: ibus
Version: 1.3.99.20101202
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPLv2+
Group: System Environment/Libraries
@@ -294,9 +294,10 @@ fi
%{_datadir}/gtk-doc/html/*
%changelog
-* Wed Dec 22 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20101202-2
+* Wed Dec 22 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20101202-3
- Updated ibus-435880-surrounding-text.patch to support the xml setting.
- Updated ibus-530711-preload-sys.patch to set the default lang base.
+- Updated ibus-HEAD.patch from upstream.
* Thu Dec 09 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20101202-1
- Updated to 1.3.99.20101202
next reply other threads:[~2026-05-31 2:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-31 2:04 Takao Fujiwara [this message]
2026-05-31 2:05 [rpms/ibus] autotool: Updated ibus-HEAD.patch from upstream Takao Fujiwara
2026-05-31 2:06 Takao Fujiwara
2026-05-31 2:06 Takao Fujiwara
2026-05-31 2:06 Takao Fujiwara
2026-05-31 2:06 Takao Fujiwara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178019309814.1.5057415582336191817.rpms-ibus-fc455bbff045@fedoraproject.org \
--to=tfujiwar@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox