Navigation Menu

Skip to content

Commit

Permalink
doc release: update packages need to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Masafumi Yokoyama committed Jun 30, 2015
1 parent 91ca6eb commit 38302d5
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions doc/source/developer/release.rst
Expand Up @@ -20,6 +20,27 @@ Release procedure (XXX not yet translated)
* CUTTER_SOURCE_PATH=$HOME/work/cutter/cutter


ビルド環境の準備
----------------

以下にMroongaのリリース作業を行うために事前にインストール
しておくべきパッケージを示します。

なお、ビルド環境としては Debian GNU/Linux (sid)を前提として説明しているため、その他の環境では適宜読み替えて下さい。::

% sudo apt-get install -V ruby mecab libmecab-dev gnupg2 dh-autoreconf python-sphinx bison

Debian系(.deb)やRed Hat系(.rpm)パッケージのビルドには `Vagrant <https://www.vagrantup.com/>`_ を使用します。apt-getでインストールできるのは古いバージョンなので、Webサイトから最新版をダウンロードしてインストールすることをおすすめします。

Vagrantで使用する仮想化ソフトウェア(VirtualBox、VMwareなど)がない場合、合わせてインストールしてください。なお、VirtualBoxはsources.listにcontribセクションを追加すればapt-getでインストールできます。::

% cat /etc/apt/sources.list
deb http://ftp.jp.debian.org/debian/ sid main contrib
deb-src http://ftp.jp.debian.org/debian/ sid main contrib
% sudo apt-get update
% sudo apt-get install virtualbox


変更点の記述
------------

Expand Down Expand Up @@ -151,12 +172,6 @@ Linux 用のパッケージは以下の 2 種類に分けることが可能で
Debian 系
^^^^^^^^^

.. note::

以下の作業は初回パッケージ作成時のみ必要です。初回パッケージ作成時にはパッケージ作成に必要なソフトウェアをインストールします。::

$ sudo apt-get install -y debootstrap

まず apt ディレクトリに移動します。 ::

$ cd apt
Expand All @@ -182,12 +197,6 @@ make build に PARALLEL=yes とするとビルドが並列に走り、作業が
Red Hat 系
^^^^^^^^^^

.. note::

以下の作業は初回パッケージ作成時のみ必要です。初回パッケージ作成時にはパッケージ作成に必要なソフトウェアをインストールします。::

$ sudo apt-get install -y rinse createrepo rpm

まず yum ディレクトリに移動する。

その後、次のようにすれば一連のリリース作業(download build sign-packages update-repository upload)が行われますが、途中で失敗することもあります。 ::
Expand Down

0 comments on commit 38302d5

Please sign in to comment.