Update of /cvsroot/fink/web/doc/packaging
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14813/web/doc/packaging

Modified Files:
        compilers.zh.php format.zh.php fslayout.zh.php index.zh.php 
        intro.zh.php packaging.zh.html policy.zh.php reference.zh.php 
        compilers.ja.php format.ja.php fslayout.ja.php index.ja.php 
        intro.ja.php packaging.ja.html policy.ja.php reference.ja.php 
Log Message:
English 1.86

Index: intro.ja.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/intro.ja.php,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- intro.ja.php        2 Feb 2006 11:32:41 -0000       1.34
+++ intro.ja.php        12 Feb 2006 04:59:58 -0000      1.35
@@ -1,7 +1,7 @@
 <?
 $title = "パッケージ作成 - 始めに";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:47';
 $metatags = '<link rel="contents" href="index.php?phpLang=ja" 
title="パッケージ作成 Contents"><link rel="next" 
href="format.php?phpLang=ja" title="パッケージ記述"><link rel="prev" 
href="index.php?phpLang=ja" title="パッケージ作成 Contents">';
 
 

Index: format.zh.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/format.zh.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- format.zh.php       2 Feb 2006 11:32:41 -0000       1.25
+++ format.zh.php       12 Feb 2006 04:59:58 -0000      1.26
@@ -1,7 +1,7 @@
 <?
 $title = "打包 - 软件包描述文件";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:46';
 $metatags = '<link rel="contents" href="index.php?phpLang=zh" title="打包 
Contents"><link rel="next" href="policy.php?phpLang=zh" 
title="打包相关规则"><link rel="prev" href="intro.php?phpLang=zh" 
title="介绍">';
 
 

Index: policy.ja.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/policy.ja.php,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- policy.ja.php       2 Feb 2006 11:32:41 -0000       1.41
+++ policy.ja.php       12 Feb 2006 04:59:58 -0000      1.42
@@ -1,7 +1,7 @@
 <?
 $title = "パッケージ作成 - ポリシー";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:47';
 $metatags = '<link rel="contents" href="index.php?phpLang=ja" 
title="パッケージ作成 Contents"><link rel="next" 
href="fslayout.php?phpLang=ja" 
title="ファイルシステムのレイアウト"><link rel="prev" 
href="format.php?phpLang=ja" title="パッケージ記述">';
 
 

Index: fslayout.ja.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/fslayout.ja.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- fslayout.ja.php     2 Feb 2006 11:32:41 -0000       1.36
+++ fslayout.ja.php     12 Feb 2006 04:59:58 -0000      1.37
@@ -1,7 +1,7 @@
 <?
 $title = "パッケージ作成 - ファイルシステム";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:47';
 $metatags = '<link rel="contents" href="index.php?phpLang=ja" 
title="パッケージ作成 Contents"><link rel="next" 
href="compilers.php?phpLang=ja" title="コンパイラ"><link rel="prev" 
href="policy.php?phpLang=ja" title="パッケージ化ポリシー">';
 
 

Index: index.zh.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/index.zh.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- index.zh.php        2 Feb 2006 11:32:41 -0000       1.25
+++ index.zh.php        12 Feb 2006 04:59:58 -0000      1.26
@@ -1,7 +1,7 @@
 <?
 $title = "打包";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:46';
 $metatags = '<link rel="contents" href="index.php?phpLang=zh" title="打包 
Contents"><link rel="next" href="intro.php?phpLang=zh" title="介绍">';
 
 
@@ -23,7 +23,7 @@
 </p>
 <h2><? echo FINK_CONTENTS ; ?></h2><ul>
        <li><a href="intro.php?phpLang=zh"><b>1 介绍</b></a><ul><li><a 
href="intro.php?phpLang=zh#def1">1.1 什么是软件包?</a></li><li><a 
href="intro.php?phpLang=zh#ident">1.2 
识别一个软件包</a></li></ul></li><li><a 
href="format.php?phpLang=zh"><b>2 软件包描述文件</b></a><ul><li><a 
href="format.php?phpLang=zh#trees">2.1 文件树结构</a></li><li><a 
href="format.php?phpLang=zh#format">2.2 文件格式</a></li><li><a 
href="format.php?phpLang=zh#percent">2.3 
百分号展开</a></li></ul></li><li><a href="policy.php?phpLang=zh"><b>3 
打包相关规则</b></a><ul><li><a href="policy.php?phpLang=zh#licenses">3.1 
软件包授权协议</a></li><li><a href="policy.php?phpLang=zh#openssl">3.2 
The GPL and OpenSSL</a></li><li><a href="policy.php?phpLang=zh#prefix">3.3 
避免干扰基本系统</a></li><li><a 
href="policy.php?phpLang=zh#sharedlibs">3.4 共享函数库</a></li><li><a 
href="policy.php?phpLang=zh#perlmods">3.5 Perl 模块</a></li><li><a 
href="policy.php?php
 Lang=zh#emacs">3.6 Emacs 规则</a></li></ul></li><li><a 
href="fslayout.php?phpLang=zh"><b>4 文件系统布局</b></a><ul><li><a 
href="fslayout.php?phpLang=zh#fhs">4.1 
文件系统层次结构标准</a></li><li><a 
href="fslayout.php?phpLang=zh#dirs">4.2 目录</a></li><li><a 
href="fslayout.php?phpLang=zh#avoid">4.3 
应该避免的事情</a></li></ul></li><li><a 
href="compilers.php?phpLang=zh"><b>5 Compilers</b></a><ul><li><a 
href="compilers.php?phpLang=zh#versions">5.1 Compiler Versions</a></li><li><a 
href="compilers.php?phpLang=zh#abi">5.2 The g++ ABI</a></li></ul></li><li><a 
href="reference.php?phpLang=zh"><b>6 操作手册</b></a><ul><li><a 
href="reference.php?phpLang=zh#build">6.1 构建过程</a></li><li><a 
href="reference.php?phpLang=zh#fields">6.2 字段</a></li><li><a 
href="reference.php?phpLang=zh#splitoffs">6.3 
剥离分支(SplitOffs)</a></li><li><a 
href="reference.php?phpLang=zh#scripts">6.4 脚本</a></li><li><a 
href="reference.php?phpLang=zh#patches">6.5 补丁
 </a></li><li><a href="reference.php?phpLang=zh#profile.d">6.6 Profile.d 
脚本</a></li></ul></li></ul>
-<!--Generated from $Fink: packaging.zh.xml,v 1.24 2006/02/02 11:31:46 
babayoshihiko Exp $-->
+<!--Generated from $Fink: packaging.zh.xml,v 1.25 2006/02/12 04:58:46 
babayoshihiko Exp $-->
 <? include_once "../../footer.inc"; ?>
 
 

Index: fslayout.zh.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/fslayout.zh.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- fslayout.zh.php     2 Feb 2006 11:32:41 -0000       1.24
+++ fslayout.zh.php     12 Feb 2006 04:59:58 -0000      1.25
@@ -1,7 +1,7 @@
 <?
 $title = "打包 - 文件系统布局";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:46';
 $metatags = '<link rel="contents" href="index.php?phpLang=zh" title="打包 
Contents"><link rel="next" href="compilers.php?phpLang=zh" 
title="Compilers"><link rel="prev" href="policy.php?phpLang=zh" 
title="打包相关规则">';
 
 

Index: compilers.zh.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/compilers.zh.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- compilers.zh.php    2 Feb 2006 11:32:41 -0000       1.7
+++ compilers.zh.php    12 Feb 2006 04:59:58 -0000      1.8
@@ -1,7 +1,7 @@
 <?
 $title = "打包 - Compilers";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:46';
 $metatags = '<link rel="contents" href="index.php?phpLang=zh" title="打包 
Contents"><link rel="next" href="reference.php?phpLang=zh" 
title="操作手册"><link rel="prev" href="fslayout.php?phpLang=zh" 
title="文件系统布局">';
 
 

Index: index.ja.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/index.ja.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- index.ja.php        2 Feb 2006 11:32:41 -0000       1.38
+++ index.ja.php        12 Feb 2006 04:59:58 -0000      1.39
@@ -1,7 +1,7 @@
 <?
 $title = "パッケージ作成";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:47';
 $metatags = '<link rel="contents" href="index.php?phpLang=ja" 
title="パッケージ作成 Contents"><link rel="next" 
href="intro.php?phpLang=ja" title="始めに">';
 
 
@@ -24,7 +24,7 @@
                </p>
        <h2><? echo FINK_CONTENTS ; ?></h2><ul>
        <li><a href="intro.php?phpLang=ja"><b>1 始めに</b></a><ul><li><a 
href="intro.php?phpLang=ja#def1">1.1 
パッケージとは何か?</a></li><li><a 
href="intro.php?phpLang=ja#ident">1.2 
パッケージの区別</a></li></ul></li><li><a 
href="format.php?phpLang=ja"><b>2 パッケージ記述</b></a><ul><li><a 
href="format.php?phpLang=ja#trees">2.1 ツリーレイアウト</a></li><li><a 
href="format.php?phpLang=ja#format">2.2 ファイル形式</a></li><li><a 
href="format.php?phpLang=ja#percent">2.3 
パーセント展開</a></li></ul></li><li><a 
href="policy.php?phpLang=ja"><b>3 
パッケージ化ポリシー</b></a><ul><li><a 
href="policy.php?phpLang=ja#licenses">3.1 
パッケージのライセンス</a></li><li><a 
href="policy.php?phpLang=ja#openssl">3.2 GPL と OpenSSL</a></li><li><a 
href="policy.php?phpLang=ja#prefix">3.3 
基盤システムへの干渉問題</a></li><li><a 
href="policy.php?phpLang=ja#sharedlibs">3.4 
共有ライブラリ</a></li><li><a href="policy.php?
 phpLang=ja#perlmods">3.5 Perl モジュール</a></li><li><a 
href="policy.php?phpLang=ja#emacs">3.6 Emacs 
ポリシー</a></li></ul></li><li><a href="fslayout.php?phpLang=ja"><b>4 
ファイルシステムのレイアウト</b></a><ul><li><a 
href="fslayout.php?phpLang=ja#fhs">4.1 ファイルシステム構造標準 
(Filesystem Hierarchy Standard)</a></li><li><a 
href="fslayout.php?phpLang=ja#dirs">4.2 ディレクトリ</a></li><li><a 
href="fslayout.php?phpLang=ja#avoid">4.3 
避けるべきこと</a></li></ul></li><li><a 
href="compilers.php?phpLang=ja"><b>5 コンパイラ</b></a><ul><li><a 
href="compilers.php?phpLang=ja#versions">5.1 
コンパイラバージョン</a></li><li><a 
href="compilers.php?phpLang=ja#abi">5.2 g++ ABI</a></li></ul></li><li><a 
href="reference.php?phpLang=ja"><b>6 
リファレンスマニュアル</b></a><ul><li><a 
href="reference.php?phpLang=ja#build">6.1 ビルドプロセス</a></li><li><a 
href="reference.php?phpLang=ja#fields">6.2 フィールド</
 a></li><li><a href="reference.php?phpLang=ja#splitoffs">6.3 
スプリットオフ (SplitOff)</a></li><li><a 
href="reference.php?phpLang=ja#scripts">6.4 スクリプト</a></li><li><a 
href="reference.php?phpLang=ja#patches">6.5 パッチ</a></li><li><a 
href="reference.php?phpLang=ja#profile.d">6.6 Profile.d 
スクリプト</a></li></ul></li></ul>
-<!--Generated from $Fink: packaging.ja.xml,v 1.35 2006/02/02 11:31:46 
babayoshihiko Exp $-->
+<!--Generated from $Fink: packaging.ja.xml,v 1.36 2006/02/12 04:58:47 
babayoshihiko Exp $-->
 <? include_once "../../footer.inc"; ?>
 
 

Index: format.ja.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/format.ja.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- format.ja.php       2 Feb 2006 11:32:41 -0000       1.38
+++ format.ja.php       12 Feb 2006 04:59:58 -0000      1.39
@@ -1,7 +1,7 @@
 <?
 $title = "パッケージ作成 - パッケージ記述";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:47';
 $metatags = '<link rel="contents" href="index.php?phpLang=ja" 
title="パッケージ作成 Contents"><link rel="next" 
href="policy.php?phpLang=ja" title="パッケージ化ポリシー"><link 
rel="prev" href="intro.php?phpLang=ja" title="始めに">';
 
 
@@ -143,7 +143,7 @@
                                        </td></tr><tr 
valign="top"><td>%f</td><td>
                                                <p>
                                                        <b>f</b>ull package 
name.%n-%v-%r と等価.
-                                                       Epoch は 
<code>%f</code> に含まれない.
+                                                       エポックは 
<code>%f</code> に含まれない.
                                                </p>
                                        </td></tr><tr valign="top"><td>%p, 
%P</td><td>
                                                <p>

Index: packaging.ja.html
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/packaging.ja.html,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- packaging.ja.html   2 Feb 2006 11:32:41 -0000       1.46
+++ packaging.ja.html   12 Feb 2006 04:59:58 -0000      1.47
@@ -210,7 +210,7 @@
                                        </td></tr><tr 
valign="top"><td>%f</td><td>
                                                <p>
                                                        <b>f</b>ull package 
name.%n-%v-%r と等価.
-                                                       Epoch は <tt 
style="white-space: nowrap;">%f</tt> に含まれない.
+                                                       エポックは <tt 
style="white-space: nowrap;">%f</tt> に含まれない.
                                                </p>
                                        </td></tr><tr valign="top"><td>%p, 
%P</td><td>
                                                <p>
@@ -1338,7 +1338,7 @@
                                               </p>
                                        </td></tr><tr 
valign="top"><td>Architecture</td><td>
 <p>
-パッケージが対応しているアーキテクチャー一覧を,コンマ区切りで記述.
+パッケージが対応している CPU 
アーキテクチャー一覧を,コンマ区切りで記述.
 現在のところ,<tt style="white-space: nowrap;">powerpc</tt> と <tt 
style="white-space: nowrap;">i386</tt> が値として使用できます.
 このフィールドが存在しないパッケージは,<tt 
style="white-space: nowrap;">powerpc, i386</tt> 
が指定されたものとして扱われます.
 (0.24.11 CVS バージョン以降 の fink に導入)
@@ -1349,6 +1349,21 @@
 の場合に <tt style="white-space: nowrap;">powerpc</tt> 
と宣言するのが,
 現在のところの主な使用方法です.
 </p>
+<p>
+このフィールドでは,値一覧にある値とパーセント展開を,通常の条件文法で使うことができます
+(詳細については,<tt style="white-space: nowrap;">Depends</tt> 
フィールドを参照).
+これによって,特定の変種を特定のアーキテクチャーに制限することができます.
+例えば:
+</p>
+<pre>
+  Package: foo-pm%type_pkg[perl]
+  Type: perl (5.8.1 5.8.4 5.8.6)
+  Architecture: (%type_pkg[perl] = 581) powerpc
+</pre>
+<p>
+によって,foo-pm581 という変種は <tt style="white-space: 
nowrap;">powerpc</tt> となり,他の変種には値無しになります.
+ただし,アーキテクチャーの値が無いことは,そのアーキテクチャー用のパッケージではない,ということではありません.
+</p>
 </td></tr><tr valign="top"><td>Epoch</td><td>
                                                <p>
                                                        <b>Fink 0.12.0 
で導入:</b>
@@ -1594,7 +1609,7 @@
                                                        Provides 
項目には,バージョン番号に関連した情報はない.
                                                        
親パッケージから取得することも,Provides 
フィールド自体にはバージョン番号を特定するような仕組みなどもない.
                                                        
バージョンを指定する依存性があっても,Provides 
を持つパッケージによって満たすことはできない.
-                                                       
結果として,同一の代理パッケージを提供するバリアントが多数あるのは危険である.
+                                                       
結果として,同一の代理パッケージを提供する変種が多数あるのは危険である.
                                                        
これによってバージョンを指定した依存性ができなくなるためである.
                                                        例えば, foo-gnome 
と foo-nogome が "Provides: foo" を提供する場合,"Depends: foo (&gt; 
1.1)" は動作しない.
                                                </p>
@@ -1971,7 +1986,7 @@
 ConfigureParams: --mandir=%p/share/man (%type_pkg[-x11]) --with-x11 
--disable-shared
 </pre>
                                                <p>
-                                                       これは<tt 
style="white-space: nowrap;">--mandir</tt> と <tt style="white-space: 
nowrap;">--disable-shared</tt> フラグを送り, -x11 
バリアントの場合のみ <tt style="white-space: nowrap;">--with-x11</tt> 
を送ってください.
+                                                       これは<tt 
style="white-space: nowrap;">--mandir</tt> と <tt style="white-space: 
nowrap;">--disable-shared</tt> フラグを送り, -x11 変種の場合のみ 
<tt style="white-space: nowrap;">--with-x11</tt> を送ってください.
                                                </p>
                                        </td></tr><tr 
valign="top"><td>GCC</td><td>
                                                <p>
@@ -2384,7 +2399,7 @@
 %n-%v-%r 
は,パッケージのユニークな識別子として扱われるため,
 <tt style="white-space: nowrap;">SplitOff</tt> (あるいは <tt 
style="white-space: nowrap;">SplitOff<b>N</b></tt>)
 を用いて (同じ <tt style="white-space: nowrap;">Version</tt> と <tt 
style="white-space: nowrap;">Revision</tt> で) <tt style="white-space: 
nowrap;">Package</tt> を作成しては行けません.
-バリアントを使う際は,各バリアントが独立したパッケージとなるようにしてください.
+変種を使う際は,各変種が独立したパッケージとなるようにしてください.
 
つまり,以下のようなパッケージレイアウトは禁止されます:
 </p>
 <pre>
@@ -2514,4 +2529,4 @@
 provided the document and this copyright notice remain complete and
 unmodified. Any commercial reproduction and any online publication
 requires the explicit consent of the author.</p><hr>
-<p>Generated from <i>$Fink: packaging.ja.xml,v 1.35 2006/02/02 11:31:46 
babayoshihiko Exp $</i></p></body></html>
+<p>Generated from <i>$Fink: packaging.ja.xml,v 1.36 2006/02/12 04:58:47 
babayoshihiko Exp $</i></p></body></html>

Index: policy.zh.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/policy.zh.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- policy.zh.php       2 Feb 2006 11:32:41 -0000       1.25
+++ policy.zh.php       12 Feb 2006 04:59:58 -0000      1.26
@@ -1,7 +1,7 @@
 <?
 $title = "打包 - 规则";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:46';
 $metatags = '<link rel="contents" href="index.php?phpLang=zh" title="打包 
Contents"><link rel="next" href="fslayout.php?phpLang=zh" 
title="文件系统布局"><link rel="prev" href="format.php?phpLang=zh" 
title="软件包描述文件">';
 
 

Index: reference.zh.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/reference.zh.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- reference.zh.php    2 Feb 2006 11:32:41 -0000       1.26
+++ reference.zh.php    12 Feb 2006 04:59:58 -0000      1.27
@@ -1,7 +1,7 @@
 <?
 $title = "打包 - 操作手册";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:46';
 $metatags = '<link rel="contents" href="index.php?phpLang=zh" title="打包 
Contents"><link rel="prev" href="compilers.php?phpLang=zh" title="Compilers">';
 
 
@@ -98,7 +98,7 @@
 </td></tr><tr valign="top"><td>Architecture</td><td>
 
 <p>
-A comma-separated list of architecture(s) the package is intended for.
+A comma-separated list of CPU architecture(s) the package is intended for.
 At present, the only valid values for architecture are <code>powerpc</code>
 and <code>i386</code>.  A package which is missing this field is treated
 as if the value of the field were <code>powerpc, i386</code>.
@@ -109,8 +109,26 @@
 require a compiler earlier than gcc-4.0 (or packages which depend on such
 packages), which should be declared to have architecture 
 <code>powerpc</code>.
-
 </p>
+<p>
+This field supports the standard conditional syntax for any value in
+the value list and percent-expansions can be used (see
+the <code>Depends</code> field for more information). In this manner,
+certain variants can be restricted to certain architectures. For
+example:
+</p>
+<pre>
+  Package: foo-pm%type_pkg[perl]
+  Type: perl (5.8.1 5.8.4 5.8.6)
+  Architecture: (%type_pkg[perl] = 581) powerpc
+</pre>
+<p>
+will result in the field for the foo-pm581 variant
+being <code>powerpc</code> and the field being blank for all other
+variants. Remember that omitting a certain architecture value does not
+mean that the package is not for that architecture.
+</p>
+
 </td></tr><tr valign="top"><td>Epoch</td><td>
 <p>
 <b>从 fink 0.12.0 开始。</b>

Index: reference.ja.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/reference.ja.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- reference.ja.php    2 Feb 2006 11:32:41 -0000       1.44
+++ reference.ja.php    12 Feb 2006 04:59:58 -0000      1.45
@@ -1,7 +1,7 @@
 <?
 $title = "パッケージ作成 - リファレンス";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:47';
 $metatags = '<link rel="contents" href="index.php?phpLang=ja" 
title="パッケージ作成 Contents"><link rel="prev" 
href="compilers.php?phpLang=ja" title="コンパイラ">';
 
 
@@ -115,7 +115,7 @@
                                               </p>
                                        </td></tr><tr 
valign="top"><td>Architecture</td><td>
 <p>
-パッケージが対応しているアーキテクチャー一覧を,コンマ区切りで記述.
+パッケージが対応している CPU 
アーキテクチャー一覧を,コンマ区切りで記述.
 現在のところ,<code>powerpc</code> と <code>i386</code> 
が値として使用できます.
 このフィールドが存在しないパッケージは,<code>powerpc, 
i386</code> が指定されたものとして扱われます.
 (0.24.11 CVS バージョン以降 の fink に導入)
@@ -126,6 +126,21 @@
 の場合に <code>powerpc</code> と宣言するのが,
 現在のところの主な使用方法です.
 </p>
+<p>
+このフィールドでは,値一覧にある値とパーセント展開を,通常の条件文法で使うことができます
+(詳細については,<code>Depends</code> フィールドを参照).
+これによって,特定の変種を特定のアーキテクチャーに制限することができます.
+例えば:
+</p>
+<pre>
+  Package: foo-pm%type_pkg[perl]
+  Type: perl (5.8.1 5.8.4 5.8.6)
+  Architecture: (%type_pkg[perl] = 581) powerpc
+</pre>
+<p>
+によって,foo-pm581 という変種は <code>powerpc</code> 
となり,他の変種には値無しになります.
+ただし,アーキテクチャーの値が無いことは,そのアーキテクチャー用のパッケージではない,ということではありません.
+</p>
 </td></tr><tr valign="top"><td>Epoch</td><td>
                                                <p>
                                                        <b>Fink 0.12.0 
で導入:</b>
@@ -371,7 +386,7 @@
                                                        Provides 
項目には,バージョン番号に関連した情報はない.
                                                        
親パッケージから取得することも,Provides 
フィールド自体にはバージョン番号を特定するような仕組みなどもない.
                                                        
バージョンを指定する依存性があっても,Provides 
を持つパッケージによって満たすことはできない.
-                                                       
結果として,同一の代理パッケージを提供するバリアントが多数あるのは危険である.
+                                                       
結果として,同一の代理パッケージを提供する変種が多数あるのは危険である.
                                                        
これによってバージョンを指定した依存性ができなくなるためである.
                                                        例えば, foo-gnome 
と foo-nogome が "Provides: foo" を提供する場合,"Depends: foo (&gt; 
1.1)" は動作しない.
                                                </p>
@@ -748,7 +763,7 @@
 ConfigureParams: --mandir=%p/share/man (%type_pkg[-x11]) --with-x11 
--disable-shared
 </pre>
                                                <p>
-                                                       
これは<code>--mandir</code> と <code>--disable-shared</code> 
フラグを送り, -x11 バリアントの場合のみ 
<code>--with-x11</code> を送ってください.
+                                                       
これは<code>--mandir</code> と <code>--disable-shared</code> 
フラグを送り, -x11 変種の場合のみ <code>--with-x11</code> 
を送ってください.
                                                </p>
                                        </td></tr><tr 
valign="top"><td>GCC</td><td>
                                                <p>
@@ -1161,7 +1176,7 @@
 %n-%v-%r 
は,パッケージのユニークな識別子として扱われるため,
 <code>SplitOff</code> (あるいは <code>SplitOff<b>N</b></code>)
 を用いて (同じ <code>Version</code> と <code>Revision</code> で) 
<code>Package</code> を作成しては行けません.
-バリアントを使う際は,各バリアントが独立したパッケージとなるようにしてください.
+変種を使う際は,各変種が独立したパッケージとなるようにしてください.
 
つまり,以下のようなパッケージレイアウトは禁止されます:
 </p>
 <pre>

Index: intro.zh.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/intro.zh.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- intro.zh.php        2 Feb 2006 11:32:41 -0000       1.24
+++ intro.zh.php        12 Feb 2006 04:59:58 -0000      1.25
@@ -1,7 +1,7 @@
 <?
 $title = "打包 - 介绍";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:46';
 $metatags = '<link rel="contents" href="index.php?phpLang=zh" title="打包 
Contents"><link rel="next" href="format.php?phpLang=zh" 
title="软件包描述文件"><link rel="prev" href="index.php?phpLang=zh" 
title="打包 Contents">';
 
 

Index: compilers.ja.php
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/compilers.ja.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- compilers.ja.php    2 Feb 2006 11:32:41 -0000       1.9
+++ compilers.ja.php    12 Feb 2006 04:59:58 -0000      1.10
@@ -1,7 +1,7 @@
 <?
 $title = "パッケージ作成 - コンパイラ";
 $cvs_author = 'Author: babayoshihiko';
-$cvs_date = 'Date: 2006/02/02 11:31:46';
+$cvs_date = 'Date: 2006/02/12 04:58:47';
 $metatags = '<link rel="contents" href="index.php?phpLang=ja" 
title="パッケージ作成 Contents"><link rel="next" 
href="reference.php?phpLang=ja" title="リファレンスマニュアル"><link 
rel="prev" href="fslayout.php?phpLang=ja" 
title="ファイルシステムのレイアウト">';
 
 

Index: packaging.zh.html
===================================================================
RCS file: /cvsroot/fink/web/doc/packaging/packaging.zh.html,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- packaging.zh.html   2 Feb 2006 11:32:41 -0000       1.31
+++ packaging.zh.html   12 Feb 2006 04:59:58 -0000      1.32
@@ -1069,7 +1069,7 @@
 </td></tr><tr valign="top"><td>Architecture</td><td>
 
 <p>
-A comma-separated list of architecture(s) the package is intended for.
+A comma-separated list of CPU architecture(s) the package is intended for.
 At present, the only valid values for architecture are <tt style="white-space: 
nowrap;">powerpc</tt>
 and <tt style="white-space: nowrap;">i386</tt>.  A package which is missing 
this field is treated
 as if the value of the field were <tt style="white-space: nowrap;">powerpc, 
i386</tt>.
@@ -1080,8 +1080,26 @@
 require a compiler earlier than gcc-4.0 (or packages which depend on such
 packages), which should be declared to have architecture 
 <tt style="white-space: nowrap;">powerpc</tt>.
-
 </p>
+<p>
+This field supports the standard conditional syntax for any value in
+the value list and percent-expansions can be used (see
+the <tt style="white-space: nowrap;">Depends</tt> field for more information). 
In this manner,
+certain variants can be restricted to certain architectures. For
+example:
+</p>
+<pre>
+  Package: foo-pm%type_pkg[perl]
+  Type: perl (5.8.1 5.8.4 5.8.6)
+  Architecture: (%type_pkg[perl] = 581) powerpc
+</pre>
+<p>
+will result in the field for the foo-pm581 variant
+being <tt style="white-space: nowrap;">powerpc</tt> and the field being blank 
for all other
+variants. Remember that omitting a certain architecture value does not
+mean that the package is not for that architecture.
+</p>
+
 </td></tr><tr valign="top"><td>Epoch</td><td>
 <p>
 <b>从 fink 0.12.0 开始。</b>
@@ -2060,4 +2078,4 @@
 provided the document and this copyright notice remain complete and
 unmodified. Any commercial reproduction and any online publication
 requires the explicit consent of the author.</p><hr>
-<p>Generated from <i>$Fink: packaging.zh.xml,v 1.24 2006/02/02 11:31:46 
babayoshihiko Exp $</i></p></body></html>
+<p>Generated from <i>$Fink: packaging.zh.xml,v 1.25 2006/02/12 04:58:46 
babayoshihiko Exp $</i></p></body></html>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to