2015-07-21 (Tue)

_ [debian] 続々々々々・uim Qt5 support

LOG_DRIVER の問題は、automake (1.15) ではなく、automake1.11 (aclocal-1.11 と automake-1.11) を使うように autogen.sh を書き換えることで対応。 残るは Qt4 と Qt5 の両立。–with-qt4-immodule はつけてて OK で、–with-qt4 をつけたらビルドできなくなる。正確には qt4/toolbar で cmake CMakeLists.txt すると、

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QT_INCLUDE_DIR
   used as include directory in directory /tmp/uim-qt5/qt4/toolbar/CMakeFiles/CMakeTmp

CMake Error: Internal CMake error, TryCompile configure of cmake failed

CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1316 (message):
  Unable to compile a basic Qt application.  Qt has not been found correctly.
Call Stack (most recent call first):
  /usr/share/cmake-3.2/Modules/FindKDE4.cmake:108 (find_package)
  CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
See also "/tmp/uim-qt5/qt4/toolbar/CMakeFiles/CMakeOutput.log".
See also "/tmp/uim-qt5/qt4/toolbar/CMakeFiles/CMakeError.log".

となるもののここでビルド中断にはならず、この後の make で

make  -f Makefile.qmake INSTALL_ROOT= all
make[1]: Entering directory '/tmp/uim-qt5/qt4/toolbar'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/uim-qt5/qt4/toolbar'
( cd build; make  all )
make[1]: Entering directory '/tmp/uim-qt5/qt4/toolbar/build'
make[1]: *** No rule to make target 'all'.  Stop.
make[1]: Leaving directory '/tmp/uim-qt5/qt4/toolbar/build'
Makefile:571: recipe for target 'all' failed
make: *** [all] Error 2

となって初めて中断する。 と、どうやらこの CMakeLists.txt に

find_package(Qt4)

と追加してやればいいだけみたい。これは Qt5 ブランチでなくても影響ないようなので pull-req を送った。> fix CMake Error not found QT_QT_INCLUDE_DIR when specify both –with-qt4 and –with-qt5. ひとまずこれで Qt5 対応できたかも?

これらをまとめたパッケージを入れるなら、まずは expeirmental かな?

2015-07-19 (Sun)

_ [debian] mikutter 3.2.5+dfsg-1

uploaded.

_ [debian] ruby-gnome2 2.2.5-1

この最新版で ruby-gnome2 2.2.0-5 FTBFS#790910 は解決なので閉じておいた。

2015-07-17 (Fri)

_ [debian] 続々々々・uim Qt5 support

dh-autoreconf って

override_dh_autoreconf:
       dh_autoreconf $(CURDIR)/autogen.sh

こういう使い方もできるのか。 そして dh_auto_test が失敗するのは、以前にも sigschemeuim で dh_autoreconf をした際に起きていた LOG_DRIVER の問題だった。sigscheme はともかく uim では解決してないんだった。今が対応のときか…。 Uim on Qt5 のコメント にあるように immodule/candidatewindowproxy.cpp を修正して uim-candwin-qt5 が起動しないようにして、qt5/immodule/quimplatforminputcontext.cpp の ENABLE_DEBUG を一旦無効にしておくと、一応 uim Qt5 immodule は使えてるように見える。