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

Modified Files:
        packaging.zh.xml packaging.ja.xml 
Log Message:
English 1.86

Index: packaging.zh.xml
===================================================================
RCS file: /cvsroot/fink/web/xml/packaging/packaging.zh.xml,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- packaging.zh.xml    2 Feb 2006 11:31:46 -0000       1.24
+++ packaging.zh.xml    12 Feb 2006 04:58:46 -0000      1.25
@@ -1204,7 +1204,7 @@
 <itemd>
 <!-- start translation -->
 <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>.
@@ -1215,8 +1215,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>.
-<!-- end translation -->
 </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>
+<codeblock>
+  Package: foo-pm%type_pkg[perl]
+  Type: perl (5.8.1 5.8.4 5.8.6)
+  Architecture: (%type_pkg[perl] = 581) powerpc
+</codeblock>
+<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>
+<!-- end translation -->
 </itemd></item>
 
 <item><itemt>Epoch</itemt>

Index: packaging.ja.xml
===================================================================
RCS file: /cvsroot/fink/web/xml/packaging/packaging.ja.xml,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- packaging.ja.xml    2 Feb 2006 11:31:46 -0000       1.35
+++ packaging.ja.xml    12 Feb 2006 04:58:47 -0000      1.36
@@ -232,7 +232,7 @@
                                        <itemd>
                                                <p>
                                                        <em>f</em>ull package 
name.%n-%v-%r と等価.
-                                                       Epoch は 
<code>%f</code> に含まれない.
+                                                       エポックは 
<code>%f</code> に含まれない.
                                                </p>
                                        </itemd>
                                </item>
@@ -1514,7 +1514,7 @@
 <item><itemt>Architecture</itemt>
 <itemd>
 <p>
-パッケージが対応しているアーキテクチャー一覧を,コンマ区切りで記述.
+パッケージが対応している CPU 
アーキテクチャー一覧を,コンマ区切りで記述.
 現在のところ,<code>powerpc</code> と <code>i386</code> 
が値として使用できます.
 このフィールドが存在しないパッケージは,<code>powerpc, 
i386</code> が指定されたものとして扱われます.
 (0.24.11 CVS バージョン以降 の fink に導入)
@@ -1525,6 +1525,21 @@
 の場合に <code>powerpc</code> と宣言するのが,
 現在のところの主な使用方法です.
 </p>
+<p>
+このフィールドでは,値一覧にある値とパーセント展開を,通常の条件文法で使うことができます
+(詳細については,<code>Depends</code> フィールドを参照).
+これによって,特定の変種を特定のアーキテクチャーに制限することができます.
+例えば:
+</p>
+<codeblock>
+  Package: foo-pm%type_pkg[perl]
+  Type: perl (5.8.1 5.8.4 5.8.6)
+  Architecture: (%type_pkg[perl] = 581) powerpc
+</codeblock>
+<p>
+によって,foo-pm581 という変種は <code>powerpc</code> 
となり,他の変種には値無しになります.
+ただし,アーキテクチャーの値が無いことは,そのアーキテクチャー用のパッケージではない,ということではありません.
+</p>
 </itemd></item>
                                <item>
                                        <itemt>Epoch</itemt>
@@ -1810,7 +1825,7 @@
                                                        Provides 
項目には,バージョン番号に関連した情報はない.
                                                        
親パッケージから取得することも,Provides 
フィールド自体にはバージョン番号を特定するような仕組みなどもない.
                                                        
バージョンを指定する依存性があっても,Provides 
を持つパッケージによって満たすことはできない.
-                                                       
結果として,同一の代理パッケージを提供するバリアントが多数あるのは危険である.
+                                                       
結果として,同一の代理パッケージを提供する変種が多数あるのは危険である.
                                                        
これによってバージョンを指定した依存性ができなくなるためである.
                                                        例えば, foo-gnome 
と foo-nogome が &quot;Provides: foo&quot; 
を提供する場合,&quot;Depends: foo (> 1.1)&quot; は動作しない.
                                                </p>
@@ -2305,7 +2320,7 @@
 ConfigureParams: --mandir=%p/share/man (%type_pkg[-x11]) --with-x11 
--disable-shared
 </codeblock>
                                                <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>
                                        </itemd>
                                </item>
@@ -2816,7 +2831,7 @@
 %n-%v-%r 
は,パッケージのユニークな識別子として扱われるため,
 <code>SplitOff</code> (あるいは <code>SplitOff<em>N</em></code>)
 を用いて (同じ <code>Version</code> と <code>Revision</code> で) 
<code>Package</code> を作成しては行けません.
-バリアントを使う際は,各バリアントが独立したパッケージとなるようにしてください.
+変種を使う際は,各変種が独立したパッケージとなるようにしてください.
 
つまり,以下のようなパッケージレイアウトは禁止されます:
 </p>
 <codeblock>



-------------------------------------------------------
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