Getting the source / ソースコードの取得
The source code can be fetched in several ways, as described below. ソースコードは、以下に記載しているように、いくつかの方法で取得できます。
Contents
- 1 Source Tarballs (for package maintainers) / ソースコードの TAR ファイル(パッケージメンテナンス担当向け)
- 2 SCM-Access for the current development line (named DEV300) using Mercurial as SCM / ソースコード管理ツール Mercurial を使用する(最新の開発コード(DEV300)へアクセスする場合)
- 3 SCM-Access for the 3.2 release code line (named OOO320) using Subversion as SCM / ソースコード管理ツール Subversion を使用する(リリースバージョン(OOO320)のソースコードへアクセスする場合)
- 4 See also / 関連項目
Source Tarballs (for package maintainers) / ソースコードの TAR ファイル(パッケージメンテナンス担当向け)
The latest release version of the source code can be downloaded as tarballs from Download, see Source on the right. 最新のリリースバージョンのソースコードは、Download の右側にある Source から TAR ファイルでダウンロードできます。
The source is pretty big and has therefore been split into several files. ソースコードはかなり大きいので、いくつかのファイルに分割されています。
Tarball
TAR ファイル |
Description
説明 |
---|---|
OOo_3.x.x_src_core.tar.bz2
OOo_3.x.x_src_core.tar.bz2 |
The necessary part for each build, the other tarballs depend on this one.
すべてのビルドに必要です。この他の TAR ファイルは、このファイルに依存しています。 |
OOo_3.x.x_src_system.tar.bz2
OOo_3.x.x_src_system.tar.bz2 |
Libraries that usually exist on a standard Linux system[1]. For a Windows build this package is usually required.
標準的な Linux システムにあるライブラリ[1]。Windows 環境でビルドするときに必要です |
OOo_3.x.x_src_binfilter.tar.bz2
OOo_3.x.x_src_binfilter.tar.bz2 |
The filters for old binary StarOffice formats
昔のバイナリ StarOffice フォーマットのためのフィルター |
OOo_3.x.x_src_l10n.tar.bz2
OOo_3.x.x_src_l10n.tar.bz2 |
Translations of the software for many languages
多言語のための翻訳ファイル |
OOo_3.x.x_src_extensions.tar.bz2
OOo_3.x.x_src_extensions.tar.bz2 |
Extensions source package
拡張機能のソースパッケージ |
OOo_3.x.x_src_testautomation.tar.bz2
OOo_3.x.x_src_testautomation.tar.bz2 |
Automated test suite (optional)
自動テスト用のパッケージ(オプション) |
For a full build you need them all. For development, the core package is usually all you need. すべてをビルドするときは、すべての TAR ファイルが必要です。開発するときは、たいていの場合は core TAR ファイルだけが必要です。
Unpack the tarballs one at a time to a directory. They will create a new directory with the name of the milestone, such as OOO310_m11. This folder will from now on be the $SRC_ROOT
, when you run ./configure
it will create a shell-script that will set the environment variable to this path.
TAR ファイルを解凍してください。解凍すると、OOO310_m11 のようなマイルストーンの名前のフォルダが作成されます。これ以降、このフォルダのことを、$SRC_ROOT
と呼び、./configure
を実行すると、このフォルダを環境変数に設定するようにシェルスクリプトが作成されます。
SCM-Access for the current development line (named DEV300) using Mercurial as SCM / ソースコード管理ツール Mercurial を使用する(最新の開発コード(DEV300)へアクセスする場合)
Mercurial (hg) replaces Subversion end of October 2009. The mercurial master repository is already in place. You can clone the repository with
2009年10月末に、Subversion から Mercurial(hg)に移行しました。Mercurial のリポジトリを利用できます。以下のようにして、リポジトリからコピーできます。
hg clone http://hg.services.openoffice.org/DEV300 <working_dir> hg clone http://hg.services.openoffice.org/DEV300 <作業フォルダ>
The OOo Mercurial repository is huge. Cloning the OOo repository as shown above my take some hours depending on the quality of your internet connection. We provide a nightly snapshot as Mercurial bundle which is currently about 800 MB in size. Utilizing this bundle is the fastest way to get an initial clone of the repository.
OOo の Mercurial のリポジトリは、とても大きいです。上記のリポジトリをコピーすると、インターネットの状況にもよりますが、数時間かかるでしょう。私たちは、毎晩 Mercurial の bundleファイル(約 800 MB)をまとめるようにしました。この bundle ファイルを利用するのが、リポジトリのコピーを取得するもっとも速い方法です。
Download the bundle here: http://hg.services.openoffice.org/bundle/DEV300.hg
bundle ファイルはここからダウンロードできます: http://hg.services.openoffice.org/bundle/DEV300.hg
mkdir <working_dir> mkdir <作業フォルダ> cd <working_dir> cd <作業フォルダ> hg init hg init hg unbundle <path_to_bundle>/DEV300.hg hg unbundle <ダウンロードした bundle ファイルのパス>/DEV300.hg hg pull http://hg.services.openoffice.org/DEV300 hg pull http://hg.services.openoffice.org/DEV300 hg update hg update
Both methods will get you a repository and a working tree with the latest changes.
どちらの方法でも、リポジトリと、最新の変更を含んだ作業中のソースツリーを取得できます。
List all available milestones (a stable development version released by RelEng):
利用できるマイルストーン(RelEng がリリースした安定版)をすべて表示するには:
hg tags hg tags
Checking out a milestone
マイルストーンをチェックアウトする
hg update -rDEV300_mXX hg update -rDEV300_mXX
SCM-Access for the 3.2 release code line (named OOO320) using Subversion as SCM / ソースコード管理ツール Subversion を使用する(リリースバージョン(OOO320)のソースコードへアクセスする場合)
Checking out a milestone (a stable development version released by RelEng)
マイルストーン(RelEng がリリースした安定版)をチェックアウトする
svn checkout svn://svn.services.openoffice.org/ooo/tags/DEV300_mXX/ svn checkout svn://svn.services.openoffice.org/ooo/tags/DEV300_mXX/
Replace XX with the highest currently available milestone.
XX を、利用できる最新のマイルストーンに置き換えてください。
The files will be placed in the current directory.
ソースコードは、カレントフォルダにコピーされます。
See:
参照:
http://svn.services.openoffice.org/ooo/tags/ http://svn.services.openoffice.org/ooo/tags/
for a list of available milestones.
利用できるマイルストーンのリストを確認できます。
See also / 関連項目
Content on this page is licensed under the Public Documentation License (PDL). |