[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-devel:10153] Re: ja-trans (Re: Uploaded ja-trans 0.3 (source all) to jp )



At Wed, 25 Aug 1999 22:14:53 +0900,
UNO Takeshi <uno@xxxxxxxxxxxxx> wrote:

> >  ・ja-trans ã«ã¯æœ€æ–° PO ファイルをã„ã‚Œã¦ãŠã
> >    æ—¢ã«å«ã‚ã¦ã‚‚らã£ãŸ PO ã‚’å«ã‚€ãƒ‘ッケージã«ã¤ã„ã¦ã¯ Replace: ã‚’
> >    ã¤ã‘ã¤ã¤æœ€æ–°ç‰ˆã‚’ã„ã‚Œã¦ãŠã。

ã‚ã 本æ¥ã‚ã‚‹ã¹ãパッケージã«å«ã¾ã‚Œã¦ã„ã¦ã„ãŸã‚‰åŒã˜ã‚‚ã®ã¯
入れãªã„æ–¹ãŒã„ã„ã‹ã‚‚…
# update ã—ãŸã‚‰æœ€æ–°ã®æ–¹ã‚’ ja-trans ã«ã„ã‚Œã¤ã¤ 本æ¥ã®ãƒ‘ッケージ㸠BTS ã‹ãªâ€¦
# ã§å«ã¾ã‚ŒãŸã‚‰ãã®POを削除ã—㦠ja-trans ã‚’ dupload

> ã“ã†ã„ã†ã“ã¨ã£ã¦å¯èƒ½ãªã‚“ã§ã—ょã†ã‹?

技術的ã«ã¯å¯èƒ½ã®ã¯ãšã€‚

> > Replace: ã‚’ã¤ã‘ã¦ãŠãã“ã¨ã§ã€æœ¬æ¥ãã®POã‚’å«ã‚€ã¹ãpackageã¨ja-trans
> > 両方ã«å«ã‚ã¦ãŠã„ã¦ã‚‚å•é¡Œãªã„ã¯ãšã€‚本æ¥ã®packageã ã‘ã„ã‚Œã¦ã„ã¦ã‚‚
> > 日本語ãŒã ã›ã¾ã™ã—ã€ja-transã‚’ã„ã‚Œã¦ãŠã„ã¦ã‚‚/後ã‹ã‚‰ã„ã‚Œã¦ã‚‚
> > ãれをãŠãã‹ãˆã¦ãれるã®ã§å¤§ä¸ˆå¤«ã ã¨æ€ã„ã¾ã™ã€‚
> 
> åŒã˜ãƒ•ã‚¡ã‚¤ãƒ«åã®ã‚‚ã®ãŒåˆ¥ãƒ‘ッケージã§ã‚ã£ãŸã¨ã—ã¦ã‚‚ã€Replaces:ãŒã‚ã‚Œã°
> 上書ãã—ã¦ãれるã€ã¨ã„ã†ã“ã¨ã§ã—ょã†ã‹?(ã“れ自体知らãªã‚“ã )

ãã†ã§ã™ã€‚

Packaging Manual より

| 8.5. `Replaces' - overwriting files and replacing packages
| ----------------------------------------------------------
| 
|      The `Replaces' control file field has two purposes, which come into
|      play in different situations.
| 
|      Virtual packages (Section 8.4, `Virtual packages - `Provides'') are
|      not considered when looking at a `Replaces' field - the packages
|      declared as being replaced must be mentioned by their real names.
|
| 8.5.1. Overwriting files in other packages
| ------------------------------------------
| 
|      Firstly, as mentioned before, it is usually an error for a package to
|      contains files which are on the system in another package, though
|      currently the `--force-overwrite' flag is enabled by default,
|      downgrading the error to a warning,
| 
|      If the overwriting package declares that it replaces the one
|      containing the file being overwritten then `dpkg' will proceed, and
|      replace the file from the old package with that from the new. The file
|      will no longer be listed as `owned' by the old package.
| 
|     If a package is completely replaced in this way, so that `dpkg' does
|     not know of any files it still contains, it is considered to have
|     disappeared. It will be marked as not wanted on the system (selected
|     for removal) and not installed. Any conffiles details noted in the
|     package will be ignored, as they will have been taken over by the
|     replacing package(s). The package's `postrm' script will be run to
|     allow the package to do any final cleanup required. See Section 6.2,
|     `Summary of ways maintainer scripts are called'.
|
|     In the future `dpkg' will discard files which overwrite those from
|     another package which declares that it replaces the one being
|     installed (so that you can install an older version of a package
|     without problems).
|
|     This usage of `Replaces' only takes effect when both packages are at
|     least partially on the system at once, so that it can only happen if
|     they do not conflict or if the conflict has been overridden.

> ja-transを入れãŸå¾Œã€æœ¬æ¥ã®ãƒ‘ッケージを削除ã€æœ¬æ¥ã®ãƒ‘ッケージãŒæ›´æ–°
> (poãŒæ›´æ–°ã•ã‚Œã¦ã„ã‚‹ã¨ã¯é™ã‚‰ãªã„)ã•ã‚ŒãŸå ´åˆã€ã¯ãŸã¾ãŸja-transã®ã¿
> 削除ã—ãŸå ´åˆã«çŸ›ç›¾ãŒç”Ÿã˜ã‚‹ã‚ˆã†ãªæ°—ãŒã™ã‚‹ã®ã§ã™ãŒã€
> é•ã£ã¦ãŸã‚‰ã”指摘ãã ã•ã„。

dpkgçš„ã«çŸ›ç›¾ã¯ç”Ÿã˜ãªã„ã¯ãšã§ã™ãŒã€å¤‰ãªã‚¿ã‚¤ãƒŸãƒ³ã‚° ja-trans を削除ã™ã‚‹ã¨
ã¡ã‚‡ã£ã¨æ‚²ã—ã„ã‹ã‚‚…
# 後ã‹ã‚‰ ja-trans ã‚’ã„ã‚Œã¦ã€å‰Šé™¤ã™ã‚‹ã¨æ—¥æœ¬èªžãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒ
# ã§ãªããªã£ã¦ã—ã¾ã†ã‚ˆã†ãªâ€¦
本æ¥ã®ãƒ‘ッケージãŒæ›´æ–°ã•ã‚ŒãŸå ´åˆã¯ã€ãã‚Œã«è¿½éšã—ãŸPOã‚’å«ã‚ãŸ
ja-transを出ã—ã¦ã€BTSã—ã¦å«ã‚ã¦ã‚‚らã†ã‚ˆã†ã«è¦è«‹ã™ã‚Œã°ã„ã„ã‚“ã§ã¯
ãªã„ã‹ãªã。

-- 
鵜飼文æ•