[討論] ibus-array-0.0.2 and iBus 1.4

作者: ray2501 (貓是一隻貓)   2012-07-15 12:13:28
二個似乎不相容,我已經先切換到 SCIM-Array 了,
不過經過搜尋,修改 source code 以後可以編譯,不過我就沒測試了...
下面是資料來源:
https://bugs.archlinux.org/task/26124
ibus-array-0.0.2/src/engine.c
在 ibus_array_init() function,
res = ibus_config_get_value (config, "engine/Array",
// "SpecialNotify", &value);
// if (res) {
"SpecialNotify");
if (res != NULL) {
//const gchar* str = g_value_get_string(&value);
const gchar* str = g_variant_get_string (res, NULL);
if (g_strcmp0(str, "1") == 0)
is_special_notify = TRUE;
}
res = ibus_config_get_value (config, "engine/Array",
// "SpecialOnly", &value);
// if (res) {
"SpecialNotify");
if (res != NULL) {
//const gchar* str = g_value_get_string(&value);
const gchar* str = g_variant_get_string (res, NULL);
另外在 configure.ac, 在 pthread 附近加入
# checks for dl
AC_SEARCH_LIBS(dlopen, dl)
測試的時候發現在 sqlite3.c 會編譯失敗...
作者: caterans (無所謂)   2012-07-29 22:15:00
大哥你po錯板了
作者: forloricever (sigh...)   2012-07-31 18:36:00
沒 po 錯... 並不是每個人都用 windows
作者: caterans (無所謂)   2012-08-01 12:55:00
是,小弟上了一課

Links booklink

Contact Us: admin [ a t ] ucptt.com