cht電腦資訊gcin
adm Find login register

gcin source 2.8.3 released

何震邦

joined: 2013-01-24
posted: 8
promoted:
bookmarked:
新北市新莊區
31subject: Promote 0 Bookmark 02015-05-30quote  

同上,我在 Fedora 22. 官方還是 2.8.2, 我自己編譯 2.8.3 的。

何震邦

joined: 2013-01-24
posted: 8
promoted:
bookmarked:
新北市新莊區
32subject: ./configure: line 342: [: =: unary operator expectedPromote 0 Bookmark 02015-06-07quote  

首先,第一行的 shebang 多打一個 # 變成註解,變成以預設 shell 執行。

此外,既然我們已經指定 bash 了,所以 342 行的 [ 應該改成 [[ 以避免 $USE_ANTHY 或 $USE_CHEWING 不存在造成語法錯誤。(例如 $USE_ANTHY 不存在的話,[ $USE_ANTHY = 'Y' ] 就會變成 [ = 'Y']。

siyuan
joined: 2012-01-04
posted: 13
promoted:
bookmarked:
紐西蘭
33subject: Promote 0 Bookmark 02015-10-08quote  

之前提到  gcin/qt5-im/gcin-imcontext-qt5.cpp  裡  printf() 的問題又有稍微更明確的答案了。原來  plasmashell  會用到  stdout  來  pass  指令  (似乎是用  dbus),結果  gcin  的 plugin  裡 printf()  就影響 plasmashell  啟動。感覺像是 plasmashell  的 bug,有空要回報了。在這之前不知  eliu  兄是否願意考慮把所有 gcin  plugin  裡的訊息送到 stderr?

eliu

joined: 2007-08-09
posted: 11468
promoted: 617
bookmarked: 187
新竹, 台灣
34subject: Promote 0 Bookmark 02015-10-08quote  

已經在 2.8.4 中修正

siyuan
joined: 2012-01-04
posted: 13
promoted:
bookmarked:
紐西蘭
35subject: Promote 0 Bookmark 02015-10-08quote  

我在  #kde-devel 上問了這個問題,他們說是 libkscreen (plasmashell 會用到) 的設計很脆弱,會被其它程式  print 到 stdout  影響。

guest
36subject: Promote 0 Bookmark 02015-10-11quote  

我使用 Gentoo 4.0.5的核心,LXQT 0.9,使用 gentoo-zh 的 overlay 所提供的 gcin-2.8.3 的 ebuild

USE 只使用了 anthy chewing

發現有兩處跟QT5相關的錯誤:

一、在qt5-im的Makefile裏面有一處 pkg-config Qt5Core Qt5Gui Qt5PlatformSupport QtDBus --cflags

      其中的QtDBus會造成

Package QtDBus was not found in the pkg-config search path.
Perhaps you should add the directory containing `QtDBus.pc'
to the PKG_CONFIG_PATH environment variable
No package 'QtDBus' found

      改成Qt5DBus就會成為

-I/usr/include/qt5/QtPlatformSupport -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtDBus -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5

二、在第一點錯誤的後面有 -I /usr/include/qt5/QtGui/5.2.1/QtGui

      只要將5.2.1改為5.4.2就可以編譯過去了。

 

因為不清楚如何更改gcin-2.8.3 的 ebuild,所以將相關的訊息寫出來

prev,1,2

cht電腦資訊gcin
adm Find login register
views:95829