[packages/ibus-qt] - updated to 1.3.2 - removed obsolete HEAD patch
qboosh
qboosh at pld-linux.org
Sun Mar 31 19:35:38 CEST 2013
commit bae7e2615b44f87b424c7085eeaae0c735e741e6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 31 19:35:24 2013 +0200
- updated to 1.3.2
- removed obsolete HEAD patch
ibus-qt-HEAD.patch | 40 ----------------------------------------
ibus-qt.spec | 8 +++-----
2 files changed, 3 insertions(+), 45 deletions(-)
---
diff --git a/ibus-qt.spec b/ibus-qt.spec
index fc5b1e0..47cc4dc 100644
--- a/ibus-qt.spec
+++ b/ibus-qt.spec
@@ -1,14 +1,13 @@
Summary: Qt IBus library and Qt input method plugin
Summary(pl.UTF-8): Biblioteka Qt IBus oraz wtyczka metody wprowadzania znaków dla Qt
Name: ibus-qt
-Version: 1.3.1
-Release: 3
+Version: 1.3.2
+Release: 1
License: GPL v2+
Group: Libraries
#Source0Download: http://code.google.com/p/ibus/downloads/list
Source0: http://ibus.googlecode.com/files/%{name}-%{version}-Source.tar.gz
-# Source0-md5: 769e8872ca8a59327b2073ce2f142589
-Patch0: %{name}-HEAD.patch
+# Source0-md5: e53cb59f993d0c93ba968330dbc62c22
URL: http://code.google.com/p/ibus/
BuildRequires: QtCore-devel >= 4.5
BuildRequires: QtDBus-devel >= 4.5
@@ -50,7 +49,6 @@ Ten pakiet zawiera pliki nagłówkowe dla biblioteki IBus Qt.
%prep
%setup -q -n %{name}-%{version}-Source
-%patch0 -p1
%build
%cmake \
diff --git a/ibus-qt-HEAD.patch b/ibus-qt-HEAD.patch
deleted file mode 100644
index 2d0f98e..0000000
--- a/ibus-qt-HEAD.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 282bf68d2064972fd24de109e0280fd48c299c9c Mon Sep 17 00:00:00 2001
-From: Peng Huang <shawn.p.huang at gmail.com>
-Date: Thu, 25 Nov 2010 14:22:12 +0900
-Subject: [PATCH] Fix selected text be deleted problem.
-
----
- qtim/ibus-input-context.cpp | 13 ++++++++++++-
- 1 files changed, 12 insertions(+), 1 deletions(-)
-
-diff --git a/qtim/ibus-input-context.cpp b/qtim/ibus-input-context.cpp
-index c47fce6..fdfd34a 100644
---- a/qtim/ibus-input-context.cpp
-+++ b/qtim/ibus-input-context.cpp
-@@ -722,11 +722,22 @@ IBusInputContext::displayPreeditText (const TextPointer &text, uint cursor_pos,
- void
- IBusInputContext::slotUpdatePreeditText (const TextPointer &text, uint cursor_pos, bool visible)
- {
-+ // set visible to false, if text is empty
-+ visible = visible && !text->text ().isEmpty ();
-+
-+ // set cursor at end, if pos is greater than the text length
-+ if (cursor_pos > (uint)text->text ().length ())
-+ cursor_pos = text->text ().length ();
-+
-+ bool update = (m_preedit_visible != visible) || visible;
-+
- m_preedit = text;
- m_preedit_visible = visible;
- m_preedit_cursor_pos = cursor_pos;
-
-- displayPreeditText (m_preedit, m_preedit_cursor_pos, visible);
-+ if (update) {
-+ displayPreeditText (m_preedit, m_preedit_cursor_pos, visible);
-+ }
- }
-
- void
---
-1.7.2.1
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ibus-qt.git/commitdiff/bae7e2615b44f87b424c7085eeaae0c735e741e6
More information about the pld-cvs-commit
mailing list