[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
packaging manual 3.1.1.0
早瀬ã§ã™ã€‚packaging manual 3.1.1.0 ãŒå‡ºã¾ã—ãŸã€‚
翻訳をã“ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«è¿½å¾“ã•ã›ã¾ã—ãŸã€‚
cvs diff -r v3_0_1_1-ja1 -U 10
ã—ãŸã‚‚ã®ã‚’以下ã«è¼‰ã›ã¦ãŠãã¾ã™ã€‚よã‚ã—ããŠé¡˜ã„ã—ã¾ã™ã€‚
# ã¨ã“ã‚ã§ã€ã“ã®å‰ web 㧠devel ã® ML を見ã¦ã„ãŸã‚‰ã€
# ã©ãªãŸã‹ãŒã€icewm ã¯æ—¥æœ¬èªžã‚’表示ã§ããªã„ã¨æ›¸ã‹ã‚Œã¦ã„ãŸã®ã§ã™ãŒã€
# ç§ã®ç’°å¢ƒ (slink) ã§ã¯ã€å¿…è¦ãªã‚½ãƒ¼ã‚¹ã‚’æŒã£ã¦æ¥ã¦ã€ãã®ã¾ã¾
# dpkg-buildpackage ã—ãŸã ã‘ã§æ—¥æœ¬èªžãŒå‡ºã¦ã¾ã™ã€‚
# ã“ã‚Œã£ã¦ã€ç’°å¢ƒ (slink ã‹ potato ã‹) ã®é•ã„ã§ã€ã“ã†ãªã£ã¦
# ã—ã¾ã†ã®ã§ã—ょã†ã‹ï¼Ÿ
# (devel è³¼èªã—ã¦ãªã„ã®ã§ã€ã“ã“ã§ã¼ãã£ã¨è¨€ã£ã¦ã¿ã‚‹ã€‚)
--
早瀬 èŒ‚è¦ (shayase@xxxxxxxxxxxxxxx)
Index: packaging-ja.sgml
===================================================================
RCS file: /home/hayase/.cvsroot/pack-man/packaging-ja.sgml,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -U10 -r1.1.1.1 -r1.3
--- packaging-ja.sgml 1999/11/19 12:44:25 1.1.1.1
+++ packaging-ja.sgml 1999/11/20 16:18:31 1.3
@@ -2147,20 +2147,30 @@
<!-- ORIG
<qref id="f-classification"><tt>Section</tt> and
<tt>Priority</tt></qref>
(classification, mandatory)
ORIG -->
<qref id="f-classification"><tt>Section</tt> ã¨
<tt>Priority</tt></qref>
(分類用ã€å¿…é ˆ)
</p>
</item>
+ <item>
+ <p>
+<!-- ORIG
+ <qref id="relationships"><tt>Build-Depends</tt> at
+ al.</qref> (source package interrelationships)
+ ORIG -->
+ <qref id="relationships"><tt>Build-Depends</tt>
+ ãã®ä»–</qref> (ソースパッケージã®ç›¸äº’関連)
+ </p>
+ </item>
<item>
<p>
<qref id="f-Standards-Version"><tt>Standards-Version</tt></qref>
</p>
</item>
</list>
<p>
<!-- ORIG
The per-binary-package fields are:
@@ -2194,24 +2204,24 @@
<qref id="f-classification"><tt>Section</tt> ã¨
<tt>Priority</tt></qref> (分類用)</p>
</item>
<item>
<p><qref id="f-Essential"><tt>Essential</tt></qref></p>
</item>
<item>
<p>
<!-- ORIG
<qref id="relationships"><tt>Depends</tt> et
- al.</qref> (package interrelationships)
+ al.</qref> (binary package interrelationships)
ORIG -->
<qref id="relationships"><tt>Depends</tt> ãã®ä»–</qref>
- (パッケージ間ã®é–¢é€£æ€§)
+ (ãƒã‚¤ãƒŠãƒªãƒ‘ッケージ間ã®é–¢é€£æ€§)
</p>
</item>
</list>
<p>
<!-- ORIG
These fields are used by <prgn>dpkg-gencontrol</prgn> to
generate control files for binary packages (see below), by
<prgn>dpkg-genchanges</prgn> to generate the
<tt>.changes</tt> file to accompany the upload, and by
@@ -2984,20 +2994,30 @@
</item>
<item>
<p><qref id="f-Maintainer"><tt>Maintainer</tt></qref></p>
</item>
<item>
<p><qref id="f-Binary"><tt>Binary</tt></qref></p>
</item>
<item>
<p><qref id="f-Architecture"><tt>Architecture</tt></qref></p>
</item>
+ <item>
+ <p>
+<!-- ORIG
+ <qref id="relationships"><tt>Build-Depends</tt> et
+ al.</qref> (source package interrelationships)
+ ORIG -->
+ <qref id="relationships"><tt>Build-Depends</tt>
+ ãã®ä»–</qref> (ソースパッケージã®ç›¸äº’関連)
+ </p>
+ </item>
<item>
<p>
<qref id="f-Standards-Version"><tt>Standards-Version</tt></qref></p>
</item>
<item>
<p><qref id="f-Files"><tt>Files</tt></qref></p>
</item>
</list>
<p>
@@ -3456,21 +3476,21 @@
明記ã•ã‚Œã¦ã„ã‚‹å ´åˆã‚’除ã„ã¦ã€ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã®æœ¬ä½“ã¯ä¸€è¡Œã®
データã®ã¿ãŒè¨±ã•ã‚Œã¦ãŠã‚Šã€ç©ºç™½ã¯æ„味をæŒã¡ã¾ã›ã‚“。空白ã¯ã€
åå‰ (パッケージやアーã‚テクãƒãƒ£ã€ãƒ•ã‚¡ã‚¤ãƒ«ã€ãã®ä»–) ã‚„
ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã€è¤‡æ•°ã®ã‚ャラクタã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³é–¢ä¿‚ã®ä¸ã«ã¯ã€
絶対ã«ã‚ã£ã¦ã¯ã„ã‘ã¾ã›ã‚“。
</p>
<p>
<!-- ORIG
Field names are not case-sensitive, but it is usual to
- capitalise the fields using mixed case as shown below.
+ capitalise the field names using mixed case as shown below.
ORIG -->
フィールドã®åå‰ã«ã¯ã€å¤§æ–‡å—ã‹å°æ–‡å—ã‹ã¯é–¢ä¿‚ã‚ã‚Šã¾ã›ã‚“。
ã—ã‹ã—ã€ä»¥ä¸‹ã«ç¤ºã™ã‚ˆã†ã«ã€å¤§æ–‡å—å°æ–‡å—を混在ã•ã›ã‚‹å ´åˆã«ã¯ã€
最åˆã®ä¸€æ–‡å—ã ã‘を大文å—ã«ã™ã‚‹ã®ãŒæ™®é€šã§ã™ã€‚
</p>
<p>
<!-- ORIG
Blank lines, or lines consisting only of spaces and tabs,
are not allowed within field values or between fields - that
@@ -3516,21 +3536,21 @@
the alphanumerics and <tt>+</tt> <tt>-</tt> <tt>.</tt>
(plus, minus and full stop).
ORIG -->
ãƒã‚¤ãƒŠãƒªãƒ‘ッケージã®åå‰ã§ã™ã€‚パッケージã®åå‰ã¯ã€
英数å—㨠<tt>+</tt> <tt>-</tt> <tt>.</tt>
(プラスã¨ãƒžã‚¤ãƒŠã‚¹ã€ãƒ”リオド) ã‹ã‚‰æˆã‚Šã¾ã™ã€‚
<footnote>
<p>
<!-- ORIG
The characters <tt>@</tt> <tt>:</tt> <tt>=</tt>
- <tt>t</tt>t> <tt>_</tt> (at, colon, equals, percent
+ <tt>%</tt> <tt>_</tt> (at, colon, equals, percent
and underscore) used to be legal and are still
accepted when found in a package file, but may not be
used in new packages
ORIG -->
<tt>@</tt> <tt>:</tt> <tt>=</tt> <tt>%</tt> <tt>_</tt>
(アットマークã€ã‚³ãƒãƒ³ã€ç‰å·ã€ãƒ‘ーセントã€
アンダースコア) ã¨ã„ã£ãŸè¨˜å·ã¯ã€ä»¥å‰ã«ã¯
èªã‚られã¦ã„ã¦ã€ä»Šã§ã‚‚ã€ãƒ‘ッケージファイルã®åå‰ã«
ç¾ã‚ŒãŸå ´åˆã«ã¯è¨±å®¹ã•ã‚Œã¾ã™ãŒã€æ–°ã—ã„パッケージã§ã¯
使ã£ã¦ã¯ã„ã‘ã¾ã›ã‚“。
@@ -4233,32 +4253,32 @@
<tag><em>stable</em></tag>
<item>
<p>
<!-- ORIG
This is the current `released' version of Debian
GNU/Linux. A new version is released approximately
every 3 months after the <em>development</em> code has
been <em>frozen</em> for a month of testing. Once the
distribution is <em>stable</em> only major bug fixes
are allowed. When changes are made to this
- distribution, the minor version number is increased
- (for example: 1.2 becomes 1.2.1 then 1.2.2, etc).
+ distribution, the release number is increased
+ (for example: 1.2r1 becomes 1.2r2 then 1.2r3, etc).
ORIG -->
ã“ã‚Œã¯ã€ç¾åœ¨ã® Debian GNU/Linux ã®ãƒªãƒªãƒ¼ã‚¹ã•ã‚Œã¦ã„ã‚‹
ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã™ã€‚æ–°ã—ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã¯ã€é–‹ç™ºã‚³ãƒ¼ãƒ‰ãŒ
å‡çµã•ã‚ŒãŸã®ã¡ä¸€ãƒ¶æœˆã»ã©ã®ãƒ†ã‚¹ãƒˆæœŸé–“ã‚’ãŠã„ã¦ã€
ã ã„ãŸã„三ヶ月ã”ã¨ã«ãƒªãƒªãƒ¼ã‚¹ã•ã‚Œã¦ã„ã¾ã™ã€‚
ディストリビューションãŒã€<em>stable</em> ã«ãªã‚Š
安定ã—ãŸã‚‰ã€ä¸»è¦ãªãƒã‚°ãƒ•ã‚£ãƒƒã‚¯ã‚¹ã ã‘ãŒè¨±ã•ã‚Œã¾ã™ã€‚
ã“ã®ãƒ‡ã‚£ã‚¹ãƒˆãƒªãƒ“ューションã«å¤‰æ›´ãŒåŠ ãˆã‚‰ã‚Œã‚‹ã¨ãã¯ã€
- マイナーãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ãŒå¢—ãˆã¾ã™
- (例ãˆã°ã€1.2 㯠1.2.1 ã«ãªã‚Šã€1.2.2 ã«ãªã‚Šã¾ã™)。
+ リリース番å·ãŒå¢—ãˆã¾ã™
+ (例ãˆã°ã€1.2r1 㯠1.2r2 ã«ãªã‚Šã€1.2r3 ã«ãªã‚Šã¾ã™)。
</p>
</item>
<tag><em>unstable</em></tag>
<item>
<p>
<!-- ORIG
This distribution value refers to the
<em>developmental</em> part of the Debian distribution
tree. New packages, new upstream versions of packages
@@ -4785,29 +4805,29 @@
version number is mandatory.
ORIG -->
<var>upstream-version</var> ã«é–¢ã™ã‚‹ <prgn>dpkg</prgn>
ã®æ¯”較ã®æŒ¯ã‚‹èˆžã„ã¯å¾Œã§è¿°ã¹ã¾ã™ã€‚ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã®
<var>upstream-version</var> 部分ã¯å¿…é ˆã§ã™ã€‚
</p>
<p>
<!-- ORIG
The <var>upstream-version</var> may contain only
- alphanumerics and the characters <tt>+</tt> <tt>.</tt>
+ alphanumerics and the characters <tt>.</tt> <tt>+</tt>
<tt>-</tt> <tt>:</tt> (full stop, plus, hyphen, colon)
and should start with a digit. If there is no
<var>debian-revision</var> then hyphens are not allowed;
if there is no <var>epoch</var> then colons are not
allowed.</p>
ORIG -->
- <var>upstream-version</var> ã¯è‹±æ•°å—ã¨æ–‡å— <tt>+</tt>
- <tt>.</tt> <tt>-</tt> <tt>:</tt> (ピリオドã€ãƒ—ラスã€
+ <var>upstream-version</var> ã¯è‹±æ•°å—ã¨æ–‡å— <tt>.</tt>
+ <tt>+</tt> <tt>-</tt> <tt>:</tt> (ピリオドã€ãƒ—ラスã€
ãƒã‚¤ãƒ•ãƒ³ã€ã‚³ãƒãƒ³) ã ã‘ã‹ã‚‰æ§‹æˆã•ã‚Œã¦ãŠã‚Šã€æ•°å—ã§
始ã¾ã‚‰ãªãã¦ã¯ã„ã‘ã¾ã›ã‚“。ãŸã ã—ã€
<var>debian-revision</var> ãŒãªã‘ã‚Œã°ã€ãƒã‚¤ãƒ•ãƒ³ã¯
許ã•ã‚Œã¾ã›ã‚“。ã¾ãŸã€<var>epoch</var> ãŒãªã‘ã‚Œã°ã€
コãƒãƒ³ã¯è¨±ã•ã‚Œã¾ã›ã‚“。</p>
</item>
<tag><var>debian-revision</var></tag>
<item>
@@ -4985,20 +5005,83 @@
<!-- ORIG
If you need to compare version numbers in a script, you may use
<tt>dpkg −compare-versions ...</tt>. Type <tt>dpkg
−help</tt> −> −for details on arguments.
ORIG -->
ã‚‚ã—スクリプトä¸ã§ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’比較ã™ã‚‹å¿…è¦ãŒã‚ã‚Œã°ã€
<tt>dpkg --compare-versions ...</tt> を使ã†ã¨è‰¯ã„ã§ã—ょã†ã€‚
引数ã«ã¤ã„ã¦è©³ã—ã知りãŸã‘ã‚Œã°ã€<tt>dpkg --help</tt>
--> -- ã¨ã‚¿ã‚¤ãƒ—ã—ã¦ä¸‹ã•ã„。
</p>
+
+ <sect>
+<!-- ORIG
+ <heading>Version numbers based on dates</heading>
+ ORIG -->
+ <heading>日付ã«åŸºã¥ããƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·</heading>
+ <p>
+<!-- ORIG
+ In general, Debian packages should use the same version
+ numbers as the upstream sources.</p>
+ ORIG -->
+ 一般的ã«ã€Debian パッケージã¯ä¸Šæµã‚½ãƒ¼ã‚¹ã¨åŒã˜ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’
+ 使ã‚ãªãã¦ã¯ã„ã‘ã¾ã›ã‚“。</p>
+
+ <p>
+<!-- ORIG
+ However, in some cases where the upstream version number is
+ based on a date (e.g., a development `snapshot' release)
+ dpkg cannot handle these version numbers currently, without
+ epochs. For example, dpkg will consider `96May01' to be
+ greater than `96Dec24'.</p>
+ ORIG -->
+ ã—ã‹ã—ã€ä¸Šæµã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ãŒæ—¥ä»˜ã«åŸºã¥ãよã†ãªå ´åˆ
+ (例ãˆã°ã€é–‹ç™º `snapshot' リリースã®å ´åˆ) ã«ã¯ã€
+ ç¾åœ¨ã€epoch を使ã‚ãªã„é™ã‚Šã€dpkg ã¯ã“れらã®ã‚ˆã†ãª
+ ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’扱ã†ã“ã¨ãŒã§ãã¾ã›ã‚“。例ãˆã°ã€
+ dpkg 㯠`96May01' ã‚’ `96Dec24' よりも大ãã„ã¨åˆ¤æ–ã™ã‚‹
+ ã§ã—ょã†ã€‚</p>
+
+ <p>
+<!-- ORIG
+ To prevent having to use epochs for every new upstream
+ version, the version number should be changed to the
+ following format in such cases: `19960501', `19961224'. It
+ is up to the maintainer whether he/she wants to bother the
+ upstream maintainer to change the version numbers upstream,
+ too.</p>
+ ORIG -->
+ ãã®ã‚ˆã†ãªå ´åˆã«ã€ä»Šå¾Œã®ãã‚Œãžã‚Œã®æ–°ã—ã„上æµãƒãƒ¼ã‚¸ãƒ§ãƒ³ã«å¯¾ã—ã¦
+ epoch を使ã‚ãªãã¦æ¸ˆã‚€ã‚ˆã†ã«ã™ã‚‹ãŸã‚ã«ã¯ã€ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’
+ `19960501'ã€`19961224' ã¨ã„ã£ãŸæ›¸å¼ã«å¤‰æ›´ã—ãªãã¦ã¯
+ ãªã‚Šã¾ã›ã‚“。上æµã®ãƒ¡ãƒ³ãƒ†ãƒŠã«ã€ä¸Šæµã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚‚
+ 変更ã™ã‚‹ã‚ˆã†ã«ãŠé¡˜ã„ã™ã‚‹ã‹ã©ã†ã‹ã¯ãƒ¡ãƒ³ãƒ†ãƒŠæ¬¡ç¬¬ã§ã™ã€‚</p>
+
+ <p>
+<!-- ORIG
+ Note, that other version formats based on dates which are
+ parsed correctly by dpkg should <em>not</em> be changed.</p>
+ ORIG -->
+ 日付ã«åŸºã¥ã„ãŸã€ã“ã®ã»ã‹ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã®æ›¸å¼ãŒ dpkg ã«ã‚ˆã£ã¦
+ æ£ã—ã解æžã•ã‚Œã‚‹ãªã‚‰ã€ãã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã‚’変更ã—ã¦ã¯
+ <em>ã„ã‘ãªã„</em>ã“ã¨ã«æ³¨æ„ã—ã¦ä¸‹ã•ã„。</p>
+
+ <p>
+<!-- ORIG
+ Native Debian packages (i.e., packages which have been
+ written especially for Debian) whose version numbers include
+ dates should always use the `YYYYMMDD' format.</p>
+ ORIG -->
+ Debian 固有ã®ãƒ‘ッケージ (ã¤ã¾ã‚Šã€Debian å‘ã‘ã«ç‰¹åˆ¥ã«æ›¸ã‹ã‚ŒãŸ
+ パッケージ) ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ç•ªå·ã«æ—¥ä»˜ã‚’å«ã‚ã‚‹ãªã‚‰ã°ã€
+ 常㫠`YYYYMMDD' ã¨ã„ã†æ›¸å¼ã‚’使ã‚ãªãã¦ã¯ã„ã‘ã¾ã›ã‚“。</p>
+ </sect>
</chapt>
<!-- ORIG
<chapt id="maintainerscripts"><heading>Package maintainer scripts
and installation procedure
ORIG -->
<chapt id="maintainerscripts"><heading>パッケージ管ç†ã‚¹ã‚¯ãƒªãƒ—トã¨
インストールã®æ‰‹é †
</heading>
@@ -6236,45 +6319,71 @@
<!-- ORIG
This is done using the <tt>Depends</tt>, <tt>Recommends</tt>,
<tt>Suggests</tt>, <tt>Conflicts</tt>, <tt>Provides</tt> and
<tt>Replaces</tt> control file fields.
ORIG -->
ã“ã®å®£è¨€ã«ã¯ã€åˆ¶å¾¡ãƒ•ã‚¡ã‚¤ãƒ«ã® <tt>Depends</tt> ã¨
<tt>Recommends</tt>ã€<tt>Suggests</tt>ã€<tt>Conflicts</tt>ã€
<tt>Provides</tt>ã€<tt>Replaces</tt> フィールドを使用ã—ã¾ã™ã€‚
</p>
+ <p>
+<!-- ORIG
+ Source packages may declare relationships to binary packages,
+ saying that they require certain binary packages being
+ installed or absent at the time of building the package.
+ <p>
+ ORIG -->
+ ソースパッケージã¯ã€ãƒã‚¤ãƒŠãƒªãƒ¼ãƒ‘ッケージã¨ã®é–¢é€£ã‚’宣言ã—ã¦ã‚‚
+ よã„ã§ã™ã€‚ãƒã‚¤ãƒŠãƒªãƒ‘ッケージã¨ã®é–¢é€£ã¨ã¯ã€ãã®ãƒ‘ッケージã®
+ 構築時ã«ã€ã‚ã‚‹ãƒã‚¤ãƒŠãƒªãƒ‘ッケージãŒã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ã‚‹å¿…è¦ãŒ
+ ã‚ã‚‹ã“ã¨ã€ã¾ãŸã¯ã‚·ã‚¹ãƒ†ãƒ ã«å˜åœ¨ã—ã¦ã¯ãªã‚‰ãªã„ã“ã¨ã‚’示ã™ã‚‚ã®ã§ã™ã€‚
+ </p>
+
+ <p>
+<!-- ORIG
+ This is done using the <tt>Build-Depends</tt>,
+ <tt>Build-Depends-Indep</tt>, <tt>Build-Conflicts</tt>, and
+ <tt>Build-Conflicts-Indep</tt> control file fields.
+ ORIG -->
+ ã“ã®å®£è¨€ã«ã¯ã€åˆ¶å¾¡ãƒ•ã‚¡ã‚¤ãƒ«ã® <tt>Build-Depends</tt> ã¨
+ <tt>Build-Depends-Indep</tt>ã€<tt>Build-Conflicts</tt>ã€
+ <tt>Build-Conflicts-Indep</tt> フィールドを使用ã—ã¾ã™ã€‚
+ </p>
+
<!-- ORIG
<sect id="depsyntax"><heading>Syntax of relationship fields
ORIG -->
<sect id="depsyntax"><heading>関係性フィールドã®æ›¸å¼
</heading>
<p>
<!-- ORIG
These fields all have a uniform syntax. They are a list of
package names separated by commas.
ORIG -->
ã¾ãŸã€å„フィールドã¯ã‚³ãƒ³ãƒžã§åŒºåˆ‡ã‚‰ã‚ŒãŸãƒ‘ッケージåã®ä¸€è¦§ã§ã™ã€‚
</p>
<p>
<!-- ORIG
- In <tt>Depends</tt>, <tt>Recommends</tt>, <tt>Suggests</tt>
- and <tt>Pre-Depends</tt> (the fields which declare
- dependencies of the package in which they occur on other
- packages) these package names may also be lists of
- alternative package names, separated by vertical bar symbols
- <tt>|</tt> (pipe symbols).
+ In <tt>Depends</tt>, <tt>Recommends</tt>, <tt>Suggests</tt>,
+ <tt>Pre-Depends</tt>, <tt>Build-Depends</tt> and
+ <tt>Build-Depends-Indep</tt>(the fields which declare
+ dependencies of the package in which they occur on other
+ packages) these package names may also be lists of
+ alternative package names, separated by vertical bar symbols
+ <tt>|</tt> (pipe symbols).
ORIG -->
<tt>Depends</tt> ã‚„ <tt>Recommends</tt>ã€<tt>Suggests</tt>ã€
- <tt>Pre-Depends</tt>
+ <tt>Pre-Depends</tt>ã€<tt>Build-Depends</tt>ã€
+ <tt>Build-Depends-Indep</tt>
(ä»–ã®ãƒ‘ッケージã«ä¾å˜é–¢ä¿‚ãŒã‚ã‚‹å ´åˆã«å®£è¨€ã™ã‚‹ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰)
ã®å„フィールド内ã«è¨˜è¿°ã™ã‚‹ãƒ‘ッケージåã¯ã€ä»£æ›¿ãƒ‘ッケージåã®
一覧ã§ã‚‚構ã„ã¾ã›ã‚“。代替パッケージåã¯ã€
åž‚ç›´ãƒãƒ¼ã‚·ãƒ³ãƒœãƒ« <tt>|</tt> (パイプシンボル)
ã§åŒºåˆ‡ã£ã¦æ›¸ãã¾ã™ã€‚
</p>
<p>
<!-- ORIG
All the fields except <tt>Provides</tt> may restrict their
@@ -6343,28 +6452,73 @@
<!-- ORIG
For example:
ORIG -->
例を以下ã«ç¤ºã—ã¾ã™ã€‚
<example>
Package: metamail
Version: 2.7-3
Depends: libc5 (>= 5.2.18-4), mime-support, csh | tcsh
</example>
</p>
+
+ <p>
+<!-- ORIG
+ All fields that specify build-time relationships
+ (<tt>Build-Depends</tt>, <tt>Build-Depends-Indep</tt>,
+ <tt>Build-Conflicts</tt> and <tt>Build-Conflicts-Indep</tt>)
+ may be restricted to a certain set of architectures. This
+ is done in brackets after each individual package name and
+ the optional version specification. The brackets enclose a
+ list of Debian architecture names separated by whitespace.
+ An exclamation mark may be prepended to each name. If the
+ current Debian host architecture is not in this list and
+ there are no exclamation marks in the list, or it is in the
+ list with a prepended exclamation mark, the package name and
+ the associated version specification are ignored completely
+ for the purposes of defining the relationships.
+ ORIG -->
+ 構築時ã®ãƒ‘ッケージ間ã®é–¢é€£ã‚’示ã™å…¨ã¦ã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰
+ (<tt>Build-Depends</tt> ã‚„ <tt>Build-Depends-Indep</tt>ã€
+ <tt>Build-Conflicts</tt>ã€<tt>Build-Conflicts-Indep</tt>)
+ ã¯ã€ã‚るアーã‚テクãƒãƒ£ã®ã‚»ãƒƒãƒˆã«é™å®šã—ã¦ã‚‚ã‹ã¾ã„ã¾ã›ã‚“。
+ ã“ã‚Œã¯ã€ãã‚Œãžã‚Œã®ãƒ‘ッケージåã¨ã‚ªãƒ—ションã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³æŒ‡å®šã®
+ 後ã«ã€è§’括弧ã§ã¯ã•ã‚“ã§æŒ‡å®šã—ã¾ã™ã€‚角括弧ã®ãªã‹ã«ã¯ã€ç©ºç™½ã§
+ 区切られ㟠Debian アーã‚テクãƒãƒ£ã®åå‰ã®ãƒªã‚¹ãƒˆã‚’入れã¾ã™ã€‚
+ 感嘆符 (!) ã‚’ãã‚Œãžã‚Œã®ã‚¢ãƒ¼ã‚テクãƒãƒ£åã®å‰ã«ç½®ãã“ã¨ã‚‚
+ ã§ãã¾ã™ã€‚ã‚‚ã—ã€ç¾åœ¨ã® Debian ホストã®ã‚¢ãƒ¼ã‚テクãƒãƒ£ãŒ
+ ã“ã®ãƒªã‚¹ãƒˆã«ç„¡ãã¦æ„Ÿå˜†ç¬¦ã®ã¤ã„ãŸæŒ‡å®šã‚‚ç„¡ã„å ´åˆã¨ã€æ„Ÿå˜†ç¬¦ä»˜ãã§
+ ã“ã®ãƒªã‚¹ãƒˆä¸ã«ã‚ã‚‹å ´åˆã«ã¯ã€ãã®ãƒ‘ッケージåã¨ãƒãƒ¼ã‚¸ãƒ§ãƒ³æŒ‡å®šã¯
+ パッケージ間ã®é–¢é€£ã‚’定義ã™ã‚‹ãŸã‚ã«ã¯ä½¿ã‚ã‚Œãšã€å®Œå…¨ã«
+ 無視ã•ã‚Œã¾ã™ã€‚
+ </p>
+
+ <p>
+<!-- ORIG
+ For example:
+ ORIG -->
+ 例を以下ã«ç¤ºã—ã¾ã™ã€‚
+ <example>
+ Source: glibc
+ Build-Depends-Indep: texinfo
+ Build-Depends: kernel-headers-2.2.10 [!hurd-i386],
+ hurd-dev [hurd-i386], gnumach-dev [hurd-i386]
+ </example>
+ </p>
</sect>
+ <sect>
<!-- ORIG
- <sect><heading>Dependencies - <tt>Depends</tt>, <tt>Recommends</tt>,
- <tt>Suggests</tt>, <tt>Pre-Depends</tt>
+ <heading>Binary Dependencies - <tt>Depends</tt>,
+ <tt>Recommends</tt>, <tt>Suggests</tt>, <tt>Pre-Depends</tt>
ORIG -->
- <sect><heading>ä¾å˜é–¢ä¿‚ - <tt>Depends</tt>ã€<tt>Recommends</tt>ã€
- <tt>Suggests</tt>ã€<tt>Pre-Depends</tt>
+ <heading>ãƒã‚¤ãƒŠãƒªã®ä¾å˜é–¢ä¿‚ - <tt>Depends</tt>ã€
+ <tt>Recommends</tt>ã€<tt>Suggests</tt>ã€<tt>Pre-Depends</tt>
</heading>
<p>
<!-- ORIG
These four fields are used to declare a dependency by one
package on another. They appear in the depending package's
control file.
ORIG -->
ã“れらã®å››ã¤ã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã¯ã‚るパッケージã¨ä»–ã®ãƒ‘ッケージã¨ã®
ä¾å˜é–¢ä¿‚を宣言ã™ã‚‹ãŸã‚ã«ä½¿ç”¨ã—ã¾ã™ã€‚ã“れらã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã¯ã€
@@ -6785,36 +6939,36 @@
<prgn>dpkg</prgn> when it invokes it, so that bulk
installations proceed smoothly.
ORIG -->
<prgn>dselect</prgn> ã¯ã€å¤§é‡ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ä½œæ¥ã‚’円滑ã«
進ã‚ã‚‹ãŸã‚ã€<prgn>dpkg</prgn> ã‚’ã“ã®ã‚ªãƒ—ション付ãã§
èµ·å‹•ã—ã¾ã™ã€‚
</p>
</sect1>
<!-- ORIG
- <sect id="conflicts"><heading>Alternative packages -
+ <sect id="conflicts"><heading>Alternative binary packages -
<tt>Conflicts</tt> and <tt>Replaces</tt>
ORIG -->
- <sect id="conflicts"><heading>代替パッケージ -
+ <sect id="conflicts"><heading>代替ãƒã‚¤ãƒŠãƒªãƒ‘ッケージ -
<tt>Conflicts</tt> 㨠<tt>Replaces</tt>
</heading>
<p>
<!-- ORIG
- When one package declares a conflict with another
+ When one binary package declares a conflict with another
<prgn>dpkg</prgn> will refuse to allow them to be installed
on the system at the same time.
ORIG -->
- ã‚るパッケージãŒä»–ã®ãƒ‘ッケージã¨ã®ç«¶åˆé–¢ä¿‚を宣言ã—ã¦ã„ã‚‹å ´åˆã€
- <prgn>dpkg</prgn>ã¯ã€ãれら二ã¤ã®ãƒ‘ッケージをåŒæ™‚ã«
- インストールã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。
+ ã‚ã‚‹ãƒã‚¤ãƒŠãƒªãƒ‘ッケージãŒä»–ã®ãƒ‘ッケージã¨ã®ç«¶åˆé–¢ä¿‚ã‚’
+ 宣言ã—ã¦ã„ã‚‹å ´åˆã€<prgn>dpkg</prgn> ã¯ã€ãれら二ã¤ã®
+ パッケージをåŒæ™‚ã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã™ã‚‹ã“ã¨ã¯ã§ãã¾ã›ã‚“。
</p>
<p>
<!-- ORIG
If one package is to be installed, the other must be removed first -
if the package being installed is marked as replacing (<ref
id="replaces">) the one on the system, or the one on the system is
marked as deselected, or both packages are marked
<tt>Essential</tt>, then <prgn>dpkg</prgn> will
automatically remove the package which is causing the
@@ -6912,29 +7066,33 @@
</sect>
<!-- ORIG
<sect id="virtual"><heading>Virtual packages - <tt>Provides</tt>
ORIG -->
<sect id="virtual"><heading>仮想パッケージ - <tt>Provides</tt>
</heading>
<p>
<!-- ORIG
- As well as the names of actual (`concrete') packages, the
- package relationship fields <tt>Depends</tt>,
- <tt>Recommends</tt>, <tt>Suggests</tt> and
- <tt>Conflicts</tt> may mention virtual packages.
- ORIG -->
- 実際ã«å˜åœ¨ã™ã‚‹ (具体的ãª) パッケージã¨åŒæ§˜ã€ãƒ‘ッケージã®
- 関連性を記述ã™ã‚‹ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã€<tt>Depends</tt> ã¨ã€
- <tt>Recommends</tt>ã€<tt>Suggests</tt>ã€<tt>Conflicts</tt>
- ã«ã¯ã€ä»®æƒ³ãƒ‘ッケージåを記述ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚
+ As well as the names of actual (`concrete') packages, the
+ package relationship fields <tt>Depends</tt>,
+ <tt>Build-Depends</tt>, <tt>Build-Depends-Indep</tt>,
+ <tt>Recommends</tt>, <tt>Suggests</tt>, <tt>Conflicts</tt>,
+ <tt>Build-Conflicts</tt> and <tt>Build-Conflicts-Indep</tt> may
+ mention virtual packages.
+ ORIG -->
+ 実際ã«å˜åœ¨ã™ã‚‹ (具体的ãª) パッケージã¨åŒæ§˜ã€ãƒ‘ッケージã®
+ 関連性を記述ã™ã‚‹ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã€<tt>Depends</tt> ã¨
+ <tt>Build-Depends</tt>ã€<tt>Build-Depends-Indep</tt>ã€
+ <tt>Recommends</tt>ã€<tt>Suggests</tt>ã€<tt>Conflicts</tt>ã€
+ <tt>Build-Conflicts</tt>ã€<tt>Build-Conflicts-Indep</tt>
+ ã«ã¯ã€ä»®æƒ³ãƒ‘ッケージåを記述ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚
</p>
<p>
<!-- ORIG
A virtual package is one which appears in the
<tt>Provides</tt> control file field of another package.
The effect is as if the package(s) which provide a
particular virtual package name had been listed by name
everywhere the virtual package name appears.
ORIG -->
@@ -7271,21 +7429,92 @@
</example>
<!-- ORIG
so that <prgn>dselect</prgn> defaults to selecting the
lightweight standalone info browser.
ORIG -->
ã“ã®ã‚ˆã†ãªè¨˜è¿°ã«ãªã£ã¦ã„ãŸå ´åˆã€<prgn>dselect</prgn> ã¯ã€
軽ãã¦å˜ç‹¬ã§å‹•ä½œã™ã‚‹ info-browser ã§ã‚ã‚‹ info をデフォルトã§
é¸æŠžã—ã¾ã™ã€‚
</p>
</sect>
- </chapt>
+
+
+<!-- ORIG
+ <sect><heading>Relationships between source and binary packages -
+ <tt>Build-Depends</tt>, <tt>Build-Depends-Indep</tt>,
+ <tt>Build-Conflicts</tt>, <tt>Build-Conflicts-Indep</tt>
+ ORIG -->
+ <sect><heading>ソースパッケージã¨ãƒã‚¤ãƒŠãƒªãƒ‘ッケージ間ã®é–¢é€£ -
+ <tt>Build-Depends</tt>ã€<tt>Build-Depends-Indep</tt>ã€
+ <tt>Build-Conflicts</tt>ã€<tt>Build-Conflicts-Indep</tt>
+ </heading>
+
+ <p>
+<!-- ORIG
+ A source package may declare a dependency or a conflict on a
+ binary package. This is done with the control file fields
+ <tt>Build-Depends</tt>, <tt>Build-Depends-Indep</tt>,
+ <tt>Build-Conflicts</tt>, and <tt>Build-Conflicts-Indep</tt>. Their
+ semantics is that the dependencies and conflicts they define
+ must be satisfied (as defined earlier for binary packages),
+ when one of the targets in <tt>debian/rules</tt> that the
+ particular field applies to is invoked.
+ ORIG -->
+ ソースパッケージã¯ãƒã‚¤ãƒŠãƒªãƒ‘ッケージã«å¯¾ã™ã‚‹ä¾å˜ã€ã‚ã‚‹ã„ã¯
+ è¡çªé–¢ä¿‚を宣言ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã“ã‚Œã¯åˆ¶å¾¡ãƒ•ã‚¡ã‚¤ãƒ«ã®
+ <tt>Build-Depends</tt> 㨠<tt>Build-Depends-Indep</tt>ã€
+ <tt>Build-Conflicts</tt>ã€<tt>Build-Conflicts-Indep</tt> ã‚’
+ 使ã£ã¦æŒ‡å®šã—ã¾ã™ã€‚ã“れらã®æ„味ã¯ã€<tt>debian/rules</tt> ä¸ã®
+ ターゲットã®ã†ã¡ã§ã€ç‰¹å®šã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ãŒé©ç”¨ã•ã‚Œã‚‹ã‚ˆã†ãªã‚‚ã®ãŒ
+ 呼ã³å‡ºã•ã‚ŒãŸã¨ãã«ã€(ã“れよりå‰ã«ãƒã‚¤ãƒŠãƒªãƒ‘ッケージã«å¯¾ã—ã¦
+ 定義ã—ãŸã®ã¨åŒã˜ã‚ˆã†ã«) 定義ã•ã‚Œã¦ã„ã‚‹ä¾å˜ã€ã‚ã‚‹ã„ã¯è¡çªé–¢ä¿‚ãŒ
+ 満ãŸã•ã‚Œã¦ã„ãªã‘ã‚Œã°ãªã‚‰ãªã„ã¨ã„ã†ã“ã¨ã§ã‚る。
+
+ <taglist>
+ <tag><tt>Build-Depends</tt>, <tt>Build-Conflicts</tt></tag>
+ <item>
+ <p>
+<!-- ORIG
+ The <tt>Build-Depends</tt> and <tt>Build-Conflicts</tt> fields apply
+ to the targets
+ <tt>build</tt>, <tt>binary</tt>, <tt>binary-arch</tt>
+ and <tt>binary-indep</tt>.
+ ORIG -->
+ <tt>Build-Depends</tt> 㨠<tt>Build-Conflicts</tt>
+ フィールドã¯ã€
+ <tt>build</tt> 㨠<tt>binary</tt>ã€<tt>binary-arch</tt>ã€
+ <tt>binary-indep</tt>
+ ターゲットã«å¯¾ã—ã¦é©ç”¨ã•ã‚Œã‚‹ã€‚
+ </p>
+ </item>
+ <tag><tt>Build-Depends-Indep</tt>, <tt>Build-Conflicts-Indep</tt></tag>
+ <item>
+ <p>
+<!-- ORIG
+ The <tt>Build-Depends-Indep</tt> and
+ <tt>Build-Conflicts-Indep</tt> fields apply to the
+ targets <tt>binary</tt> and <tt>binary-indep</tt>.
+ ORIG -->
+ <tt>Build-Depends-Indep</tt> ã¨
+ <tt>Build-Conflicts-Indep</tt> フィールドã¯
+ <tt>binary</tt> 㨠<tt>binary-indep</tt>
+ ターゲットã«å¯¾ã—ã¦é©ç”¨ã•ã‚Œã‚‹ã€‚
+ </p>
+ </item>
+ </taglist>
+
+ </p>
+
+ </sect>
+
+
+ </chapt>
<!-- ORIG
<chapt id="conffiles"><heading>Configuration file handling
ORIG -->
<chapt id="conffiles"><heading>è¨å®šãƒ•ã‚¡ã‚¤ãƒ«ã®å–り扱ã„
</heading>
<p>
<!-- ORIG
<prgn>dpkg</prgn> can do a certain amount of automatic
@@ -7841,40 +8070,42 @@
in the <prgn>postinst</prgn> script. Futhermore, and <em>this
is very important</em>, the library must be placed before the
symlink pointing to it in the <tt>.deb</tt> file. This is so
that by the time <prgn>dpkg</prgn> comes to install the
symlink (overwriting the previous symlink pointing at an older
version of the library) the new shared library is already in
place. Currently the way to ensure the ordering is done
properly is to install the library in the appropriate
<tt>debian/tmp/.../lib</tt> directory before creating the
symlink, by putting the commands in the <tt>debian/rules</tt>
- in the appropriate order.
+ in the appropriate order. Whether this has been done
+ correctly can be checked by performing an <tt>ls -f</tt>.
ORIG -->
次ã«ã€ãƒ‘ッケージã¯ã€<prgn>ldconfig</prgn> ãŒã€å…±æœ‰ãƒ©ã‚¤ãƒ–ラリ用ã«
作æˆã™ã‚‹ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒªãƒ³ã‚¯ã‚’å«ã¾ãªã‘ã‚Œã°ã„ã‘ã¾ã›ã‚“。例ãˆã°ã€
<prgn>libgdbm1</prgn> パッケージã¯ã€<tt>/usr/lib/libgdbm.so.1</tt>
ã‹ã‚‰ <tt>libgdbm.so.1.7.3</tt> ã¸ã®ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒªãƒ³ã‚¯ã‚’å«ã‚“ã§
ã„ãªã‘ã‚Œã°ã„ã‘ã¾ã›ã‚“。ã“ã‚ŒãŒå¿…è¦ãªã®ã¯ã€<prgn>dpkg</prgn> ãŒ
ライブラリをインストールã—ã¦ã‹ã‚‰ postinst スクリプトã§
<prgn>ldconfig</prgn> ãŒå®Ÿè¡Œã•ã‚Œã‚‹ã¾ã§ã®é–“ã«ã€<prgn>ld.so</prgn>
ãŒãã®ãƒ©ã‚¤ãƒ–ラリを見ã¤ã‘ã‚‹ã“ã¨ãŒã§ãるよã†ã«ã™ã‚‹ãŸã‚ã§ã™ã€‚ã•ã‚‰ã«ã€
<em>ã“ã‚Œã¯é‡è¦ãªã“ã¨ã§ã™ãŒ</em>ã€<tt>.deb</tt> ファイルä¸ã®
ライブラリã¯ã€ãã‚Œã¸ã®ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒªãƒ³ã‚¯ãŒç½®ã‹ã‚Œã‚‹ã‚ˆã‚Šå…ˆã«
ç½®ã‹ã‚Œã¦ã„ãªã‘ã‚Œã°ã„ã‘ã¾ã›ã‚“。ã“ã‚Œã«ã‚ˆã‚Šã€<prgn>dpkg</prgn> ãŒ
(å¤ã„ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®ãƒ©ã‚¤ãƒ–ラリを指ã™ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒªãƒ³ã‚¯ã‚’上書ãã™ã‚‹
ã“ã¨ã«ã‚ˆã£ã¦) æ–°ã—ã„シンボリックリンクをインストールã™ã‚‹æ™‚点ã§ã€
æ–°ã—ã„共有ライブラリãŒæ—¢ã«å˜åœ¨ã—ã¦ã„ã‚‹ã“ã¨ã‚’ä¿è¨¼ã—ã¾ã™ã€‚
ç¾åœ¨ã®ã¨ã“ã‚ã€<tt>debian/rules</tt> ã«é©åˆ‡ãªé †åºã§ã‚³ãƒžãƒ³ãƒ‰ã‚’
書ãã“ã¨ã«ã‚ˆã£ã¦ã€ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒªãƒ³ã‚¯ã‚’作æˆã™ã‚‹ã¾ãˆã«ã€
ライブラリをé©åˆ‡ãª <tt>debian/tmp/.../lib</tt> ã«ç½®ãã“ã¨ã§ã€
- ã“ã®é †åºã‚’ä¿è¨¼ã—ã¾ã™ã€‚
+ ã“ã®é †åºã‚’ä¿è¨¼ã—ã¾ã™ã€‚ã“ã‚ŒãŒæ£ã—ãè¡Œã‚ã‚ŒãŸã‹ã©ã†ã‹ã¯ã€
+ <tt>ls -f</tt> を実行ã™ã‚‹ã“ã¨ã«ã‚ˆã£ã¦ãƒã‚§ãƒƒã‚¯ã§ãã¾ã™ã€‚
</p>
<!--
next Paragraph added to close Bug #5299, Guy Maor
-->
<p>
<!-- ORIG
Thirdly, the development package should contain a symlink for
the shared library without a version number. For example, the