[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Momonga-devel.ja:03621] Re: OpenOffice.org の hunspell 対応について
- To: devel.ja@xxxxxxxxxxxxxxxxx
- From: nosanosa <sbfield_snmsyk@xxxxxxxxxxx>
- Date: Tue, 13 May 2008 18:18:10 +0900 (JST)
nosanosaです。
OOoの件ですが、hunspellの方はよく分かりませんが、x86_64でビルドできないのはログをみたところ、(xulrunnerやjava関連ではなく)「かもめの開発2007」プロジェクト(http://jsdp2007.jp/)のパッチをマージした部分に問題があるようです。
エラーでとまったビルドツリーが残っていれば、添付のパッチ chardlg.cxx.diff でビルドが通るか試してもらえませんか?
$ cd BUILD/ooo-build-2.4.0.8/build/ooh680-m12
$ patch -p0 < chardlg.cxx.diff
$ . ./LinuxIntelEnv.Set.sh
$ cd svx
$ build
これでsvxモジュールのビルドが再開できます。(もしかしたらbuild --from svx とする必要があるかもしれません。)
このあたりの方法はgo-oo.orgのページの
http://go-oo.org/developers/hackers-guide-ja.html#section-5
などに書いてあります。
hunspellの方は--with-system-hunspellとするとシステムのlibhunspellを使うようなので、その場合はBuildRequires: hunspell-develかなと思います。
ですが、デフォルトではhunspellはinternalのものを使っているので、 hunspell-*をインストールするとなぜdict/ooo/*.affやらを作るようになるのかはよく分かりません。
対症療法的に現状維持でBuildRequires:にhunspell一族を足して、できたファイルをfilelistに足しておくというのでもいいかとはおもいますが。
GANBARE! NIPPON! Win your ticket to Olympic Games 2008.
--- svx/source/dialog/chardlg.cxx.o 2008-05-13 02:03:39.000000000 +0900
+++ svx/source/dialog/chardlg.cxx 2008-05-13 02:15:14.000000000 +0900
@@ -4079,7 +4079,7 @@
SetMetricValue( m_aNewWidthMF, nWidth, SFX_MAPUNIT_TWIP );
}
-sal_Int32 SvxCharFitTextPage::GetWidth()
+long SvxCharFitTextPage::GetWidth()
{
return GetCoreValue( m_aNewWidthMF, SFX_MAPUNIT_TWIP );
}