commit fcitx for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community,
here is the log from the commit of package fcitx for openSUSE:Factory checked in at 2013-01-29 12:07:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fcitx (Old)
and /work/SRC/openSUSE:Factory/.fcitx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fcitx", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/fcitx/fcitx.changes 2012-10-16 11:30:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.fcitx.new/fcitx.changes 2013-01-29 12:07:19.000000000 +0100
@@ -1,0 +2,45 @@
+Sat Jan 26 05:03:20 UTC 2013 - i@marguerite.su
+
+- update to 4.2.7
+ * new feature for user:
+ + qt im module support per window input context.
+ + quickphrase add new custom ui editor.
+ + all pinyin now support stroke.
+ + add clipboard input support (Ctrl + ; to use it)
+ + fcitx-diagnose script for diagnose the problem
+ + new dark skin which can also work for non-composite window manager (though
+ looks not the same)
+ + Helping xmodmap user to correct loading ~/.Xmodmap by default
+ + Bind one input method with specific key.
+ + Translation update (German, and some spanish).
+ + Add "up" and "down" to paging key by default
+ + fcitx-config now will comment out the value which is same as the default
+ value upon save, so default value can be controlled by upstream fcitx change.
+ + reload only one addon configuration
+
+ * new feature for developer:
+ + Big build system improvement
+ + remove intltool dependency
+ + auto-codegen tool for cross module function.
+ + add libfcitx-qt, containing dbus stuff and provides custom ui plugin
+ architecture.
+ + candidate window can be overriden to use horizontal / vertical by input
+ method. (kimpanel need KDE 4.10 to use this feature)
+ + paging can be override by custom function
+
+ * bug fix:
+ + fix for xim restart.
+ + add more locale to xim by default.
+ + compatible with lua 5.2
+ + some other misc bugfix
+- added patches
+ * fcitx-4.2.7-compat-12.2.patch
+ + fix 12.2 and below builds, remove next release
+ * fcitx-4.2.7-compat-qt474.patch
+ + fix qt 4.7 builds with 12.1 and below
+ + remove next release
+ * fcitx-4.2.7-compat-gcc46.patch
+ + fix gcc 4.6 builds with 12.1 and below
+ + remove next release
+
+-------------------------------------------------------------------
Old:
----
fcitx-4.2.6.1.tar.bz2
fix_fcitx_googlecode_resolv_error.patch
pinyin.tar.gz
table.tar.gz
New:
----
fcitx-4.2.7-compat-12.2.patch
fcitx-4.2.7-compat-gcc46.patch
fcitx-4.2.7-compat-qt474.patch
fcitx-4.2.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ fcitx.spec ++++++
--- /var/tmp/diff_new_pack.oh4shk/_old 2013-01-29 12:07:23.000000000 +0100
+++ /var/tmp/diff_new_pack.oh4shk/_new 2013-01-29 12:07:23.000000000 +0100
@@ -16,10 +16,10 @@
#
-%define libver -4_2_6
+%define libver -4_2_7
Name: fcitx
-Version: 4.2.6.1
+Version: 4.2.7
Release: 0
Summary: Flexible Context-aware Input Tool with eXtension
License: GPL-2.0+
@@ -31,13 +31,15 @@
Source1: xim.d-fcitx
Source2: fcitx-README.suse
Source3: xim.fcitx.suse.template
-#Source5: pinyin.tar.gz
-#Source6: table.tar.gz
# for fedora auto-start
Source7: xinput-fcitx
Source8: openSUSE-default.tar.gz
-#FIX-FOR-UPSTREAM i@marguerite.su - dont download online
-#Patch1: fix_fcitx_googlecode_resolv_error.patch
+# fix-for-openSUSE wengxt@gmail.com - fix opensuse builds <= 1220
+Patch1: fcitx-4.2.7-compat-12.2.patch
+# fix-for-openSUSE wengxt@gmail.com - fix qt 4.7 builds
+Patch2: fcitx-4.2.7-compat-qt474.patch
+# fix-for-openSUSE wengxt@gmail.com - fix gcc 4.6 builds
+Patch3: fcitx-4.2.7-compat-gcc46.patch
BuildRequires: cairo-devel
%if 0%{?suse_version}
BuildRequires: dbus-1-devel
@@ -357,23 +359,31 @@
%prep
%setup -q -n %{name}-%{version}
-#%patch1 -p1
+%if 0%{?suse_version} <= 1220
+%patch1 -p1
+%endif
+%if 0%{?suse_version} <= 1210
+%patch2 -p1
+%patch3 -p1
+%endif
%build
mkdir build
cd build
-cmake .. -DENABLE_GTK2_IM_MODULE=On \
+cmake .. \
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
-DENABLE_GTK3_IM_MODULE=On \
%endif
-%if 0%{?suse_version} > 1110 || 0%{?fedora_version}
- -DENABLE_QT_IM_MODULE=On \
+%if 0%{?suse_version} <= 1210
+ -DENABLE_QT_GUI=Off \
+%endif
+%if 0%{?sles_version}
+ -DENABLE_QT=Off \
%endif
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLIB_INSTALL_DIR=%{_libdir} \
-DENABLE_DEBUG=On \
- -DENABLE_OPENCC=On \
-DENABLE_LUA=On
# copy external data
@@ -556,12 +566,15 @@
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/%{name}
-%{_bindir}/%{name}4-config
%{_bindir}/%{name}-autostart
%{_bindir}/%{name}-configtool
%{_bindir}/%{name}-remote
%{_bindir}/%{name}-skin-installer
%{_bindir}/%{name}-dbus-watcher
+%{_bindir}/%{name}-diagnose
+%if 0%{?suse_version} >= 1220
+%{_bindir}/%{name}-qt-gui-wrapper
+%endif
%{_datadir}/%{name}/
%{_datadir}/applications/*.desktop
%{_datadir}/icons/*
@@ -727,6 +740,9 @@
%files devel
%defattr(-,root,root)
%{_includedir}/*
+%{_bindir}/%{name}4-config
+%{_bindir}/%{name}-po-parser
+%{_bindir}/%{name}-scanner
%{_libdir}/pkgconfig/*.pc
%{_datadir}/cmake/
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.oh4shk/_old 2013-01-29 12:07:23.000000000 +0100
+++ /var/tmp/diff_new_pack.oh4shk/_new 2013-01-29 12:07:23.000000000 +0100
@@ -1,4 +1,4 @@
-libfcitx-4_2_6
+libfcitx-4_2_7
fcitx-gtk2
fcitx-gtk3
fcitx-qt4
\ No newline at end of file
++++++ fcitx-4.2.7-compat-12.2.patch ++++++
diff --git a/src/frontend/gtk2/client.c b/src/frontend/gtk2/client.c
index 8329071..52c5c9a 100644
--- a/src/frontend/gtk2/client.c
+++ b/src/frontend/gtk2/client.c
@@ -31,7 +31,6 @@
#include "client.h"
#include "marshall.h"
-#define LOG_LEVEL DEBUG
#define IC_NAME_MAX 64
#define PREEDIT_TYPE_STRING_INT \
@@ -129,7 +128,7 @@ FcitxIMClient* FcitxIMClientOpen(FcitxIMClientConnectCallback connectcb, FcitxIM
static void _changed_cb(DBusGProxy* proxy, char* service, char* old_owner, char* new_owner, gpointer user_data)
{
- FcitxLog(LOG_LEVEL, "_changed_cb");
+ FcitxLog(DEBUG, "_changed_cb");
FcitxIMClient* client = (FcitxIMClient*) user_data;
if (g_str_equal(service, client->servicename)) {
gboolean new_owner_good = new_owner && (new_owner[0] != '\0');
@@ -151,7 +150,7 @@ static void _changed_cb(DBusGProxy* proxy, char* service, char* old_owner, char*
static void _destroy_cb(DBusGProxy *proxy, gpointer user_data)
{
- FcitxLog(LOG_LEVEL, "_destroy_cb");
+ FcitxLog(DEBUG, "_destroy_cb");
FcitxIMClient* client = (FcitxIMClient*) user_data;
if (client->proxy == proxy) {
g_object_unref(client->proxy);
diff --git a/src/frontend/ipc/ipc.c b/src/frontend/ipc/ipc.c
index a29b1de..e126c4f 100644
--- a/src/frontend/ipc/ipc.c
+++ b/src/frontend/ipc/ipc.c
@@ -33,6 +33,10 @@
#define GetIPCIC(ic) ((FcitxIPCIC*) (ic)->privateic)
+#ifndef DBUS_ERROR_UNKNOWN_PROPERTY
+#define DBUS_ERROR_UNKNOWN_PROPERTY "org.freedesktop.DBus.Error.UnknownProperty"
+#endif
+
typedef struct _FcitxIPCCreateICPriv {
DBusMessage* message;
DBusConnection* conn;
diff --git a/src/lib/fcitx-qt/fcitxqtconnection.cpp b/src/lib/fcitx-qt/fcitxqtconnection.cpp
index 24fc6b6..08a17ea 100644
--- a/src/lib/fcitx-qt/fcitxqtconnection.cpp
+++ b/src/lib/fcitx-qt/fcitxqtconnection.cpp
@@ -28,8 +28,9 @@
#include "fcitx-utils/utils.h"
#include <QX11Info>
#include <QFile>
-#include
participants (1)
-
root@hilbert.suse.de