OSDN Git Service

Added all.
[clfsja/cross-lfs-ja.git] / src / temp-system / common / vim.ch
1 %
2 % This is part of CLFSja package.
3 %
4 % This is a CTIE change file for the original XML source of the CLFSbook.
5 %
6 @x
7 <?xml version="1.0" encoding="ISO-8859-1"?>
8 @y
9 <?xml version="1.0" encoding="UTF-8"?>
10 @z
11
12 @x
13     <secondary>temporary system</secondary>
14 @y
15     <secondary>&TemporarySystem;</secondary>
16 @z
17
18 @x
19     <title>Installation of VIM</title>
20 @y
21     <title>&InstallationOf1;VIM &InstallationOf2;</title>
22 @z
23
24 @x
25     <para os="a">We will cross-compile Vim so that we can have a text editor in
26     <filename class="directory">/tools</filename>. Vim is not technically
27     necessary in the temporary system, in that it is not there to satisfy any
28     package dependencies in the final system, but we believe that a text editor
29     is an extremely useful tool to have there.<!-- If you prefer a different
30     editor, you may check the hints project at <ulink url="&hints-root;" />
31     for information on cross-compiling other text editors. (placeholder - 
32     uncomment this sentence if/when such information actually exists)--></para>
33 @y
34     <para os="a">
35     Vim をクロスコンパイルします。
36     このテキストエディターを <filename class="directory">/tools</filename> ディレクトリにインストールします。
37     技術的に言えば Vim は一時システムには不要です。
38     一時システムになかったとしても、最終システムにおけるパッケージの依存関係には何ら影響しません。
39     しかしテキストエディターというものは極めて有用なツールであることからビルドしておくことにします。
40     <!-- If you prefer a different
41     editor, you may check the hints project at <ulink url="&hints-root;" />
42     for information on cross-compiling other text editors. (placeholder - 
43     uncomment this sentence if/when such information actually exists)-->
44     </para>
45 @z
46
47 @x
48     <para os="c1">The <command>configure</command> script is full of logic
49     that aborts at the first sign of cross compiling. Work around this by
50     setting the cached values of several tests with the following
51     command:</para>
52 @y
53     <para os="c1">
54     <command>configure</command> スクリプトには、クロスコンパイルであることが検出された時点で処理中断する箇所がいくつもあります。
55     これを回避するために数種のテストに対応するキャッシュ値を以下のコマンドにより設定します。
56     </para>
57 @z
58
59 @x
60     <para os="b">Change the default location of
61     the <filename>vimrc</filename> configuration file to <filename
62     class="directory">/tools/etc</filename>:</para>
63 @y
64     <para os="b">
65     設定ファイル <filename>vimrc</filename> のインストール先を、デフォルトのものでなく <filename
66     class="directory">/tools/etc</filename> にします。
67     </para>
68 @z
69
70 @x
71       <title>The meaning of the new configure options:</title>
72 @y
73       <title>&MeaningOfOption1;configure &MeaningOfOption2;</title>
74 @z
75
76 @x --enable-gui=no --disable-gtktest --disable-xim --disable-gpm --without-x --disable-netbeans
77           <para>These options prevent Vim from trying to link to libraries
78           that might be on the host but won't exist inside the temporary
79           build environment.</para>
80 @y
81           <para>
82           これらのオプションは、一時システム内に存在していないライブラリであるにも関わらず、ホストシステムに存在するために Vim がリンクしてしまうことを回避します。
83           </para>
84 @z
85
86 @x --with-tlib=ncurses
87           <para>Tells Vim to use Ncurses as its terminal library.</para>
88 @y
89           <para>
90           端末ライブラリとして Ncurses を用いることを指示します。
91           </para>
92 @z
93
94 @x
95     <para os="tv1">Create a temporary vimrc to make it function more the way you may
96     expect it to. This is explained more in the final system:</para>
97 @y
98     <para os="tv1">
99     vimrc ファイルを一時的に生成し各種機能を実現します。
100     これに関しては最終システムの手順において詳しく説明します。
101     </para>
102 @z
103
104 @x
105     <para>Details on this package are located in <xref
106     linkend="contents-vim" role="."/></para>
107 @y
108     <para>
109     &Details1;<xref linkend="contents-vim" role=""/>&Details2;
110     </para>
111 @z