_ [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 かな?