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

[debian-devel:17786] Re: anthy パッケージのアップデート(Re:日本語タスク(squeeze)



On Tue, Mar 30, 2010 at 11:03:01PM +0900, Hideki Yamane wrote:
> On Tue, 30 Mar 2010 22:45:33 +0900
> Osamu Aoki <osamu@debian.org> wrote:
> > watchファイルにuupdateとありますが、動くんですかね?
> 
>  前のバージョンに watch ファイルをコピーして動作させてみました。

これは動きます。diff.gzがありますから。
 
> henrich@babytalk:/tmp/anthy-9100e$ cp /home/henrich/src/japanese-input-method/anthy-9100h/debian/watch debian/
> henrich@babytalk:/tmp/anthy-9100e$ uscan
> anthy: Newer version (9100h) available on remote site:
>   http://iij.dl.sourceforge.jp/anthy/37536/anthy-9100h.tar.gz
>   (local version is 9100e)
> anthy: Successfully downloaded updated package anthy-9100h.tar.gz
>     and symlinked anthy_9100h.orig.tar.gz to it
> New Release will be 9100h-1.
> -- Untarring the new sourcecode archive ../anthy_9100h.orig.tar.gz
> Success!  The diffs from version 9100e-3.2 worked fine.
ほらね。
> Remember: Your current directory is the OLD sourcearchive!
> Do a "cd ../anthy-9100h" to see the new package

$ ls -l
total 80
drwxrwxr-x 18 osamu osamu  4096 Mar 30 22:29 anthy-9100h
-rw-rw-r--  1 osamu osamu 72847 Mar 30 22:44 anthy_9100h-1.debian.tar.gz
$ mv anthy-9100h anthy-9100g
$ mv anthy_9100h-1.debian.tar.gz anthy_9100g-1.debian.tar.gz
$ ls -l
total 80
drwxrwxr-x 18 osamu osamu  4096 Mar 30 22:29 anthy-9100g
-rw-rw-r--  1 osamu osamu 72847 Mar 30 22:44 anthy_9100g-1.debian.tar.gz
$ cd anthy-9100g
/home/osamu/Desktop/data/tmp/osamu/anthy-9100g
$ sed -e "s/9100h/9100g/" <debian/changelog >debian/changelog.new
$ diff -u debian/changelog debian/changelog.new
--- debian/changelog    2010-03-31 00:30:07.000000000 +0900
+++ debian/changelog.new        2010-03-31 00:30:58.000000000 +0900
@@ -1,4 +1,4 @@
-anthy (9100h-1) unstable; urgency=low
+anthy (9100g-1) unstable; urgency=low
 
   * New upstream release (Closes: #554216)
     - fix "anthy: conversion fail "itioku" ",
$ mv debian/changelog.new debian/changelog
$ uscan
anthy: Newer version (9100h) available on remote site:
  http://iij.dl.sourceforge.jp/anthy/37536/anthy-9100h.tar.gz
  (local version is 9100g)
anthy: Successfully downloaded updated package anthy-9100h.tar.gz
    and symlinked anthy_9100h.orig.tar.gz to it
New Release will be 9100h-1.
-- Untarring the new sourcecode archive ../anthy_9100h.orig.tar.gz
Unpacking the debian/ directory from version 9100g-1 worked fine.
Remember: Your current directory is the OLD sourcearchive!
Do a "cd ../anthy-9100h" to see the new package
$ 

お、Unpacking the debian/ directory from version 9100g-1 worked fine

$ mv anthy_9100g-1.debian.tar.gz anthy_9100g-1.debian.tar.gzz
$ uscan
anthy: Newer version (9100h) available on remote site:
  http://iij.dl.sourceforge.jp/anthy/37536/anthy-9100h.tar.gz
  (local version is 9100g)
anthy: Successfully downloaded updated package anthy-9100h.tar.gz
    and symlinked anthy_9100h.orig.tar.gz to it
New Release will be 9100h-1.
-- Untarring the new sourcecode archive ../anthy_9100h.orig.tar.gz
uupdate: could not find diffs from version 9100g-1 to apply!

コメントが奇妙ですが、anthy_9100g-1.debian.tar.gを使いますね。

> > anthy.README.Debianの内容は、言いたいことのように英語の内容がなっていませんが
> > まあ、英語が分かるひとなら勘で読めるでしょう。
> > 
> > pbuilderでbuildしてアップします。
> 
>  ありがとうございます。
>  #README.Debian の更新はお任せします :)

あのままにしました。人の文体の問題なので。