Update of /cvsroot/fink/scripts/installer/dmg/doc/packaging
In directory
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv6499/scripts/installer/dmg/doc/packaging
Modified Files:
packaging.ja.html packaging.zh.html
Log Message:
InfoTest (en 1.88)
Index: packaging.ja.html
===================================================================
RCS file: /cvsroot/fink/scripts/installer/dmg/doc/packaging/packaging.ja.html,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- packaging.ja.html 26 Jun 2006 21:15:09 -0000 1.35
+++ packaging.ja.html 19 Sep 2006 05:56:52 -0000 1.36
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--
-Generated from $Fink: packaging.ja.xml,v 1.39 2006/04/11 23:52:29
babayoshihiko Exp $
+Generated from $Fink: packaging.ja.xml,v 1.40 2006/09/19 05:54:30
babayoshihiko Exp $
-->
<title>Fink Documentation - Fink
ããã±ã¼ã¸ã®ä½ææ¹æ³</title></head><body>
<table width="100%" cellspacing="0">
@@ -1234,6 +1234,8 @@
<b>ã³ã³ãã¤ã«æ®µé</b>ã§ã¯ã½ã¼ã¹ã®
configure ã¨ã³ã³ãã¤ã«ãè¡ããã¾ãï¼
æ®éã¯ã¹ã¯ãªãã <tt
style="white-space: nowrap;">configure</tt>
ãé©åãªå¼æ°ã§èµ·åãï¼ã³ãã³ã <tt style="white-space:
nowrap;">make</tt> ãå®è¡ãããã¨ã«ãªãã¾ãï¼
詳細ã¯ãã£ã¼ã«ã CompileScript
ãåç
§ãã¦ä¸ããï¼
+
ãã«ãã«å¯¾ããã¹ãã¹ã¤ã¼ããæå¹ãªå ´å (fink 0.25
ã®æ°ããæ©è½ã§ï¼ç¾å¨ã¡ã³ããã¢ã¼ãã§ãã«ãä¸ã«é©ç¨ããã)ï¼
+ CompileScript ã®ç´å¾ã« TestScript
ãå®è¡ãããï¼
</p>
<p>
<b>ã¤ã³ã¹ãã¼ã«æ®µé</b>ã§ã¯ï¼ããã±ã¼ã¸ã¯ä»®ãã£ã¬ã¯ããª
@@ -1577,6 +1579,9 @@
ãã«ãæã®ã¿ã«é©ç¨ãããä¾åæ§ã®ãªã¹ãï¼
ãã«ãæã«ã¯å¿
è¦ã ãï¼å®è¡æã«ã¯ä½¿ãããªããã¼ã«
(flexãªã©) ã示ãã®ã«ä½¿ãï¼
æ¸å¼ã¯ Depends
ã¨åãï¼
+
ãã«ããããéã«ãã¹ãã¹ã¤ã¼ããæå¹ã§ããã°ï¼
+ <tt style="white-space:
nowrap;">TestDepends</tt>
+
ããã®ãªã¹ãã«è¿½å ãããï¼
</p>
</td></tr><tr
valign="top"><td>Provides</td><td>
<p>
@@ -1613,6 +1618,7 @@
å½è©²ããã±ã¼ã¸ãã³ã³ãã¤ã«ä¸ã«ã¤ã³ã¹ãã¼ã«ããã¦ã¯ãããªãããã±ã¼ã¸ã®ä¸è¦§ï¼
ããã¯ï¼ <tt style="white-space: nowrap;">./configure</tt>
ãã³ã³ãã¤ã©ãï¼æã¾ãããªãã©ã¤ãã©ãªããããè¦ããï¼
å£ãããã¨ãåãã£ã¦ãããã¼ã«
(ä¾ãã°ï¼ç¹å®ã®ãã¼ã¸ã§ã³ã® sed ã«ãããã°)
ã®ãã¼ã¸ã§ã³ã使ç¨ãããã¨ãé¿ããããã«ä½¿ãã¾ãï¼
+ãã«ãæã«ãã¹ãã¹ã¤ã¼ããæå¹ãªå ´åï¼ <tt
style="white-space: nowrap;">TestConflicts</tt>
ãã£ã¼ã«ãå
ã®ããã±ã¼ã¸ã¯ãã®ãªã¹ãã«è¿½å ããã¾ãï¼
</p>
</td></tr><tr valign="top"><td>Replaces</td><td>
<p>
@@ -1707,6 +1713,9 @@
<tt style="white-space:
nowrap;">gnome</tt> ã¨ããå¤ã¯ <tt style="white-space:
nowrap;">mirror:gnome:stable/sources/%n/%n-%v.tar.gz</tt> ã®çç¥å½¢ï¼
ããã©ã«ãå¤ã¯
<tt style="white-space: nowrap;">%n-%v.tar.gz</tt>
(ããªãã¡ããã¥ã¢ã«ã»ãã¦ã³ãã¼ã) ã«ãªã£ã¦ããï¼
æ示çã« <tt
style="white-space: nowrap;">Source</tt>
ãæå®ããã®ã¯å»æ¢äºå®ã§ãã
(æ示çã«ç°¡åãªãã¡ã¤ã«åæå®/æåãã¦ã³ãã¼ãããã®ã¯å¯)ï¼
+</p><p>
+ãã¹ãã¹ã¤ã¼ããå®è¡ããããã ãã«å¿
è¦ãªã½ã¼ã¹ã¯ï¼<tt
style="white-space: nowrap;">TestSource</tt>
+ããã³ <tt style="white-space: nowrap;">InfoTest</tt>
å
ã®é¢é£ãã£ã¼ã«ãã使ã£ã¦ãã ããï¼
</p>
</td></tr><tr
valign="top"><td>Source<b>N</b></td><td>
<p>
@@ -1978,6 +1987,8 @@
<p>
configure
ã¹ã¯ãªããã«æ¸¡ãä»å çãªãã©ã¡ã¼ã¿ï¼
(詳細ã¯
CompileScript ãåç
§)
+
ãã«ãæã«ãã¹ãã¹ã¤ã¼ããæå¹ãªå ´åï¼<tt
style="white-space: nowrap;">TestConfigureParams</tt>
+
ã®å¤ãããã«è¿½å ããã¾ãï¼
ãã¼ã¸ã§ã³ 0.13.7
以éã® Fink ã§ã¯ï¼
ãã®ãã©ã¡ã¼ã¿ã¯ <tt style="white-space: nowrap;">Type: Perl</tt>
ã¨ãªã£ã¦ãã perl ã¢ã¸ã¥ã¼ã«ã«ã使ãã¾ãï¼
@@ -2090,6 +2101,48 @@
ãã® perl
ã¢ã¸ã¥ã¼ã«ã®ããã±ã¼ã¸ã§ã¯ç¡è¦ããã¾ãï¼
</p>
</td></tr></table>
+
+<p><b>ãã¹ãã¹ã¤ã¼ã:</b></p>
+<table border="0" cellpadding="0" cellspacing="10"><tr valign="bottom"><th
align="left">Field</th><th align="left">Value</th></tr><tr
valign="top"><td>InfoTest</td><td>
+<p>
+<b>fink 0.25 ã«ã¦å°å
¥ï¼</b>
+å½ãã£ã¼ã«ãã¯ï¼ãã¹ãã¹ã¤ã¼ããæå¹ãªå ´åã®ãã«ãå®è¡æã«ã®ã¿ä½¿ç¨ãããæ
å ±ãå
ãã ãã®ã§ãï¼
+ããã«ã¯ä»ã®ãã£ã¼ã«ããå«ã¾ãã¾ãï¼
+ç¾å¨ã®ã¨ããï¼ãã®ä¸ã« <tt style="white-space:
nowrap;">TestScript</tt> ããªããã°<b>ãªãã¾ãã</b>ï¼
+ä»ã®ãã£ã¼ã«ãã¯ãªãã·ã§ã³ã§ãï¼
+以ä¸ã®ãã£ã¼ã«ãã <tt style="white-space: nowrap;">InfoTest</tt>
ã«ã¦è¨±å¯ããã¦ãã¾ã:
+</p><ul>
+<li><tt style="white-space: nowrap;">TestScript</tt>:
+ ãã¹ãã¹ã¤ã¼ããå®è¡ããã¹ã¯ãªããï¼
+ ãã®ã¹ã¯ãªããã¯ï¼ã¹ã¤ã¼ããçµäºããã¨ã㯠status
ãè¿ãã¾ãï¼
+ 0 ã®å ´åã¯éã£ããã¨ã示ãï¼
+ 1 ã®å ´åã¯è¦åãããï¼
+
ä»ã®å¤ã®å ´åã¯è´å½çã¨èããããé大ãªåé¡ããã£ããã¨ã示ãã¾ãï¼
+
ãã®3ç¶æ
ã®ããï¼ã¹ã¯ãªããå
ã§çµäºå¤ãæ示çã«è¨å®ããªããã°ãªãã¾ããï¼
+ ä¾ãã°ï¼ <tt style="white-space: nowrap;">make check</tt>
ã¯æªãã¹ã¯ãªããã§ãï¼
+ ããã¯çµäºæã«ï¼check ã®ã¿ã¼ã²ãããåå¨ããªããã°
status 1 ãè¿ãããã§ãï¼
+ <tt style="white-space: nowrap;">make check || exit 2</tt>
ã¯æ¯è¼çè¯ãã¹ã¯ãªããã§ãï¼
+ </li>
+<li><tt style="white-space: nowrap;">TestConfigureParams</tt>:
+
ãã¹ãã¹ã¤ã¼ããå®è¡ããããã«å¿
è¦ãªè¿½å ã½ã¼ã¹ã§ãï¼
+ é¢é£ããå
¨ã¦ã®ãã£ã¼ã«ãããµãã¼ãããã¦ãã¾ãï¼
+ <tt style="white-space:
nowrap;">TestSource-MD5</tt>ã¯æå®ãããªããã°<b>ãªãã¾ãã</b>ï¼
+ <tt style="white-space: nowrap;">TestSourceN</tt> ã対å¿ãã <tt
style="white-space: nowrap;">TestSourceN-MD5</tt> , <tt style="white-space:
nowrap;">TestTarFilesRename</tt>
ãªã©ã追å ãããã¨ãå¯è½ã§ãï¼</li>
+<li><tt style="white-space: nowrap;">TestSuiteSize</tt>:
+
ãã¹ãã¹ã¤ã¼ãã©ã®ç¨åº¦ããããã®ãããã®æéã示ãã¾ãï¼
+ å¤ã¯ï¼<tt style="white-space: nowrap;">small</tt>, <tt
style="white-space: nowrap;">medium</tt>, 㨠<tt style="white-space:
nowrap;">large</tt> ã§ãï¼
+ ãã®ãã£ã¼ã«ãã¯ç¾å¨ã®ã¨ããç¡è¦ããã¾ãï¼
+ </li>
+<li>
+ãã®ä»ã®ãã£ã¼ã«ãï¼<tt style="white-space: nowrap;">InfoTest</tt>
å
ã¨å¤ã§å®ç¾©ããããã£ã¼ã«ãã«é¢ãã¦ï¼
+ã¹ã¤ã¼ããæå¹ãªå ´åï¼<tt style="white-space:
nowrap;">InfoTest</tt> å
ã®å¤ãä»ã®å¤ãæ¸ãæãã¾ãï¼</li>
+</ul><p>ä¾:
+</p><pre>InfoTest: <<
+ TestScript: make check || exit 2
+ TestConfigureParams: --enable-tests
+<<</pre>
+</td></tr></table>
+
<p>
<b>ã¤ã³ã¹ãã¼ã«æ®µéé¢é£:</b>
</p>
@@ -2540,4 +2593,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.39 2006/04/11 23:52:29
babayoshihiko Exp $</i></p></body></html>
+<p>Generated from <i>$Fink: packaging.ja.xml,v 1.40 2006/09/19 05:54:30
babayoshihiko Exp $</i></p></body></html>
Index: packaging.zh.html
===================================================================
RCS file: /cvsroot/fink/scripts/installer/dmg/doc/packaging/packaging.zh.html,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- packaging.zh.html 26 Jun 2006 21:15:09 -0000 1.35
+++ packaging.zh.html 19 Sep 2006 05:56:52 -0000 1.36
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--
-Generated from $Fink: packaging.zh.xml,v 1.27 2006/04/11 23:52:29
babayoshihiko Exp $
+Generated from $Fink: packaging.zh.xml,v 1.28 2006/09/19 05:54:30
babayoshihiko Exp $
-->
<title>Fink Documentation - å建 Fink 软件å
</title></head><body>
<table width="100%" cellspacing="0">
@@ -999,7 +999,14 @@
è¿ä¸ä¸ªå段æ¥æ§å¶æå
³ç»èã</p>
<p>å¨<b>è¡¥ä¸é¶æ®µ</b>ï¼æºä»£ç ä¼è¢«æä¸è¡¥ä¸ï¼ä»¥ä½¿å¾å¯ä»¥å¨
Darwin ä¸é¢ç¼è¯ãç± UpdateConfigGuessï¼UpdateLibtoolï¼Patch å
PatchScrip è¿å 个å段æææçæä½å°è¢«æç
§é¡ºåºæ§è¡ã</p>
<p>å¨<b>ç¼è¯é¶æ®µ</b>ï¼æºä»£ç 被é
ç½®åç¼è¯ãé常è¿ä¼ä»¥æäºåæ°æ¥è°ç¨
<tt style="white-space: nowrap;">configure</tt> èæ¬ï¼ç¶åæ§è¡ä¸ä¸ª
<tt style="white-space: nowrap;">make</tt> å½ä»¤ã
-详ç»ä¿¡æ¯è¯·æ¥ç CompileScript å段çæè¿°ã</p>
+详ç»ä¿¡æ¯è¯·æ¥ç CompileScript å段çæè¿°ã
+
+If test suites are enabled
+for the build (a new feature in fink 0.25, currently achieved by building in
+maintainer mode), the TestScript will be run immediately after the
+CompileScript.
+
+</p>
<p>å¨<b>å®è£
é¶æ®µ</b>ï¼è½¯ä»¶å
被å®è£
å°ä¸ä¸ªä¸´æ¶ç®å½ï¼<tt
style="white-space: nowrap;">/sw/src/fink.build/root-gimp-1.2.1-1</tt> (=
%d)ã(注æ "root-" é¨åã)
ææé常åºè¯¥å®è£
å° <tt style="white-space: nowrap;">/sw</tt>
çæ件ç°å¨è¢«å®è£
å¨
<tt style="white-space: nowrap;">/sw/src/fink.build/root-gimp-1.2.1-1/sw</tt>
(= %i = %d%p)ã
@@ -1306,6 +1313,11 @@
<b>ä» fink 0.9.0 å¼å§ã</b>
åªå¨ç¼è¯æ¶éè¦çä¾èµå
³ç³»çæ¸
åã
è¿å¯ä»¥ç¨äºååºæ建软件å
å¿
须使ç¨å·¥å
·(æ¯å¦
flex)ãå®æ¯æå Depends ç¸åçè¯æ³ã
+
+If a build is being done
+with test suites enabled, the dependencies in the <tt style="white-space:
nowrap;">TestDepends</tt>
+field will be added to this list.
+
</p>
</td></tr><tr valign="top"><td>Provides</td><td>
<p>
@@ -1337,7 +1349,9 @@
being compiled. This can be used to prevent <tt style="white-space:
nowrap;">./configure</tt>
or the compiler from seeing undesired library headers or to avoid use
of a version of a tool that is known to be broken (for example, a bug
-in a certain version of sed).
+in a certain version of sed). If a build is being done
+with test suites enabled, the packages in the <tt style="white-space:
nowrap;">TestConflicts</tt>
+field will be added to this list.
</p>
</td></tr><tr valign="top"><td>Replaces</td><td>
<p>
@@ -1424,6 +1438,10 @@
This implicitly-defined <tt style="white-space: nowrap;">Source</tt> form is
deprecated
(explicitly-stated simple filename/manual download is still okay).
+</p><p>
+Sources that are only needed in order to run test suites should
+use <tt style="white-space: nowrap;">TestSource</tt> and related fields,
inside the
+<tt style="white-space: nowrap;">InfoTest</tt> block.
</p>
</td></tr><tr valign="top"><td>Source<b>N</b></td><td>
@@ -1656,6 +1674,9 @@
<p>
ä¼ éç» configure èæ¬çé¢å¤åæ°(æ¥é
CompileScript å段ç说æè·å详ç»ä¿¡æ¯)ã
+If a build is being done
+with test suites enabled, the value of the <tt style="white-space:
nowrap;">TestConfigureParams</tt>
+field will be appended to this.
å¯¹äº < 0.13.7 ç fink çæ¬ï¼è¿ä¸ªåæ°ä¹å¯¹ perl 模å<tt
style="white-space: nowrap;">Type: Perl</tt>ææï¼å¹¶ä¼æ·»å å°é»è®¤ç
perl Makefile.PL
å符串ä¸ã
@@ -1764,13 +1785,50 @@
<p>where <tt style="white-space: nowrap;">$perlarchdir</tt> is "darwin" for
versions 5.8.0 and
earlier, and is
"darwin-thread-multi-2level" for versions 5.8.1 and later.</p>
-
</td></tr><tr valign="top"><td>NoPerlTests</td><td>
<p>
<b>ä» fink 0.13.7 ä¹åå¼å§ã</b>
ä¸ä¸ªé对 perl 模å软件å
çå¸å°å¼ãå¦æ为ççè¯ï¼<tt
style="white-space: nowrap;">CompileScript</tt> ç <tt style="white-space:
nowrap;">make test</tt> é¨åä¼å¯¹é£äºæå®ç perl 模å忽ç¥ã
</p>
</td></tr></table>
+<p><b>Test Suites:</b></p>
+<table border="0" cellpadding="0" cellspacing="10"><tr valign="bottom"><th
align="left">Field</th><th align="left">Value</th></tr><tr
valign="top"><td>InfoTest</td><td>
+<p>
+<b>Introduced in fink 0.25.</b>
+This field encapsulates information that will only be used when performing
+a build with test suites enabled. It contains other fields.
+If present, this field <b>must</b> contain a <tt style="white-space:
nowrap;">TestScript</tt>.
+All other fields are optional. The following fields are allowed inside
+<tt style="white-space: nowrap;">InfoTest</tt>:
+</p><ul>
+<li><tt style="white-space: nowrap;">TestScript</tt>: A script which runs the
test suite. This script should exit
+ with status 0 if the suite passes, 1 to indicate warnings, or any other
+ value to indicate failures serious enough to be considered fatal.
+ Because of this tri-state logic, you should explicitly set an exit value in
+ this script. For instance, <tt style="white-space: nowrap;">make
check</tt> is a bad script,
+ since it will exit with status 1 if the check target doesn't exist.
+ <tt style="white-space: nowrap;">make check || exit 2</tt> would be a
better script.</li>
+<li><tt style="white-space: nowrap;">TestConfigureParams</tt>: A value which
will be appended to <tt style="white-space: nowrap;">ConfigureParams</tt>.</li>
+<li><tt style="white-space: nowrap;">TestDepends</tt> and <tt
style="white-space: nowrap;">TestConflicts</tt>: Lists of packages that will be
added to the <tt style="white-space: nowrap;">BuildDepends</tt> or <tt
style="white-space: nowrap;">BuildConflicts</tt> lists.</li>
+<li><tt style="white-space: nowrap;">TestSource</tt>: Extra sources necessary
to run the test suite. All of the
+ affiliated fields are also supported, so you <b>must</b> also specify
+ <tt style="white-space: nowrap;">TestSource-MD5</tt>, and you may also have
+ <tt style="white-space: nowrap;">TestSourceN</tt> and corresponding <tt
style="white-space: nowrap;">TestSourceN-MD5</tt>,
+ <tt style="white-space: nowrap;">TestTarFilesRename</tt>, etc.</li>
+<li><tt style="white-space: nowrap;">TestSuiteSize</tt>: Describes
approximately how long the test suite takes to
+ run. Valid values are <tt style="white-space: nowrap;">small</tt>, <tt
style="white-space: nowrap;">medium</tt>, and <tt style="white-space:
nowrap;">large</tt>.
+ This field is currently ignored.</li>
+<li>Any other standard field. If a field is specified both inside and outside
+<tt style="white-space: nowrap;">InfoTest</tt>, the value inside <tt
style="white-space: nowrap;">InfoTest</tt> will replace
+the other value when test suites are active.</li>
+</ul><p>Here's an example:
+</p><pre>InfoTest: <<
+ TestScript: make check || exit 2
+ TestConfigureParams: --enable-tests
+<<</pre>
+</td></tr></table>
+
+
<p><b>å®è£
é¶æ®µï¼</b></p>
<table border="0" cellpadding="0" cellspacing="10"><tr valign="bottom"><th
align="left">Field</th><th align="left">Value</th></tr><tr
valign="top"><td>UpdatePOD</td><td>
<p>
@@ -2134,4 +2192,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.27 2006/04/11 23:52:29
babayoshihiko Exp $</i></p></body></html>
+<p>Generated from <i>$Fink: packaging.zh.xml,v 1.28 2006/09/19 05:54:30
babayoshihiko Exp $</i></p></body></html>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits