[Scim-imengine-dev 1559] Re: scim-anthy-1.3.0 リリース

Back to archive index

Takashi Nakamoto blued****@bpost*****
2007年 4月 5日 (木) 13:29:04 JST


中本です。

On Wed, 4 Apr 2007 10:19:28 +0900
Takuro Ashie <ashie****@homa*****> wrote:
> 隊長!やりますた!

うむ。ご苦労であった。

On Thu, 5 Apr 2007 02:26:21 +0900
"MATSUU Takuto" <matsu****@gmail*****> wrote:

> cvsのもので試しましたが、現象変わりません。
> src/Makefile.amのHELPER_MODULE(SCIM_BUILD_HELPER)周りが原因と思いま
> す。

確かにあのままでは、 scim_anthy_tray.cpp がコンパイルされてしまい、コ
ンパイルエラーになってしまいます。気づかなかった orz
とりあえず、また CVS に修正したものをアップしてみました。
 - まだテストもしていない
 - ちゃんとコンパイルできるかどうか心配
 - コンパイルできたとしてもちゃんと動作するかどうか心配
という状況ですが、もしよろしければお試しください。基本的には、
src/Makefile.amの

anthy_imengine_helper_la_SOURCES  = scim_anthy_helper.cpp \
				    scim_anthy_tray.cpp

というところを

if SCIM_BUILD_TRAY
anthy_imengine_helper_la_SOURCES  = scim_anthy_helper.cpp \
				    scim_anthy_tray.cpp
else
anthy_imengine_helper_la_SOURCES  = scim_anthy_helper.cpp
endif

に変えただけです。

> 再現のさせ方はこんな感じです。gtk+-2.0がインストールされている状況下scimで、
> $ ./configure --disable-panel-gtk --disable-setup-ui --disable-gtk2-immodule
> $ make && make install
> そしてscim-anthyで、
> $ ./configure
> $ make
> 
> gtk+-2.0がインストールされていても--disable-gtk2-immoduleを指定するような
> Gentoo的柔軟(変態)ポリシーが故に発生してるんだと思います。御迷惑をおかけします。
> 
> /bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I..  -DSCIM_ANTHY_LOCALEDIR=\"/usr/local/share/locale\"
> -DSCIM_ICONDIR=\"/usr/share/scim/icons\"
> -DSCIM_ANTHY_DATADIR=\"/usr/share/scim/Anthy\"
> -DSCIM_ANTHY_STYLEDIR=\"/usr/share/scim/Anthy/style\"
> -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/scim-1.0  -g -O2 -MT
> anthy_imengine_helper_la-scim_anthy_tray.lo -MD -MP -MF
> .deps/anthy_imengine_helper_la-scim_anthy_tray.Tpo -c -o
> anthy_imengine_helper_la-scim_anthy_tray.lo `test -f
> 'scim_anthy_tray.cpp' || echo './'`scim_anthy_tray.cpp
>  g++ -DHAVE_CONFIG_H -I. -I..
> -DSCIM_ANTHY_LOCALEDIR=\"/usr/local/share/locale\"
> -DSCIM_ICONDIR=\"/usr/share/scim/icons\"
> -DSCIM_ANTHY_DATADIR=\"/usr/share/scim/Anthy\"
> -DSCIM_ANTHY_STYLEDIR=\"/usr/share/scim/Anthy/style\"
> -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/scim-1.0 -g -O2 -MT
> anthy_imengine_helper_la-scim_anthy_tray.lo -MD -MP -MF
> .deps/anthy_imengine_helper_la-scim_anthy_tray.Tpo -c
> scim_anthy_tray.cpp  -fPIC -DPIC -o
> .libs/anthy_imengine_helper_la-scim_anthy_tray.o
> scim_anthy_tray.cpp:29:30: error: gtk/scimtrayicon.h: No such file or directory
> scim_anthy_tray.h:78: error: ISO C++ forbids declaration of
> 'ScimTrayIcon' with no type
> scim_anthy_tray.h:78: error: expected ';' before '*' token
> scim_anthy_tray.cpp: In constructor 'AnthyTray::AnthyTray()':
> scim_anthy_tray.cpp:48: error: class 'AnthyTray' does not have any
> field named 'm_tray'
> scim_anthy_tray.cpp: In destructor 'AnthyTray::~AnthyTray()':
> scim_anthy_tray.cpp:89: error: 'm_tray' was not declared in this scope
> scim_anthy_tray.cpp: In member function 'void
> AnthyTray::create_general_menu(scim::PropertyList&)':
> scim_anthy_tray.cpp:254: warning: comparison is always false due to
> limited range of data type
> scim_anthy_tray.cpp: In member function 'void AnthyTray::create_tray()':
> scim_anthy_tray.cpp:500: error: 'm_tray' was not declared in this scope
> scim_anthy_tray.cpp:500: error: 'scim_tray_icon_new' was not declared
> in this scope


-- 
 中本 崇志 (Takashi Nakamoto)
 E-mail: blued****@bpost*****
 Homepage: http://bd.tank.jp/
 Blog: http://bd.tank.jp/diary/




Scim-imengine-dev メーリングリストの案内
Back to archive index