LibreOffice開発版のビルドのチュートリアル for Linux/Mac OS X Takeshi Abe 2014-06-07 * はじめに ** ハンズオン形式のチュートリアルなので、随時質問してください * Tinderbox http://tinderbox.libreoffice.org/ * Xcode https://developer.apple.com/ * Git ** Linuxの場合 # apt-get install git # yum install git ** Mac OS Xの場合 *** Mountain Lion/Lion/Snow Leopard: インストーラーで入れる: http://git-scm.com * AutoconfとAutomake ** Linuxの場合 # apt-get install autoconf automake # yum install autoconf automake ** Mac OS Xの場合 ソースから入れる: http://http://ftp.gnu.org/gnu/autoconf/ バージョン2.65以上 http://ftp.gnu.org/gnu/automake/ バージョン1.11以上 * その他の依存するツール/ライブラリ ** Linuxの場合 # apt-get build-dep libreoffice # yum-builddep libreoffice ** Mac OS Xの場合 *** Snow Leopard ソースからcoreutilsを入れる: http://ftp.gnu.org/gnu/coreutils/ バージョン8.13以上 * LibreOfficeのGitレポジトリのclone $ git clone git://gerrit.libreoffice.org/core * configure(autogen.sh)のオプション --help --prefix --with-lang=ALL (or --with-lang='en-US ja de') --with-help --without-doxygen --without-java --enable-debug --enable-dbgutil --enable-symbols --enable-verbose --enable-werror --enable-macosx-retina --with-macosx-sdk / --with-macosx-version-min-required / --with-macosx-version-max-allowed * 起動 ** Linuxの場合 $ ./instdir/program/soffice ** Mac OS Xの場合 $ open ./instdir/LibreOfficeDev.app * 参考 ** ドキュメンテーション https://wiki.documentfoundation.org/Development LibreOffice: Hermenutical keys to a complex code-base by Michael Meeks https://people.gnome.org/~michael/data/2013-07-26-libreoffice-code-structure.pdf ** 日本語での資料 「Linux環境でLibreOfficeをビルドしてみようかね」 by 小笠原さん http://www.slideshare.net/naruoga/libreofficelinux 「Mac OS XでのLibreOfficeビルド報告(Ver.2)」 by testnoda さん http://www.slideshare.net/testnoda/lib-o-buildmacosx20140210