ソースのダウンロード

$ apt-get source mythtv

パッチを当ててみる

$ cd mythtv-0.25/
$ patch -p1 < ../mythtv-isdb.patch
patching file libs/libmythtv/channelscan/channelscan_sm.cpp
Hunk #1 FAILED at 176.
1 out of 2 hunks FAILED -- saving rejects to file libs/libmythtv/channelscan/channelscan_sm.cpp.rej
patching file libs/libmythtv/channelscan/frequencytablesetting.cpp
Hunk #1 succeeded at 73 (offset 1 line).
patching file libs/libmythtv/eithelper.cpp
Hunk #1 succeeded at 217 (offset -5 lines).
Hunk #2 succeeded at 246 (offset -5 lines).
Hunk #3 succeeded at 260 (offset -5 lines).
Hunk #4 succeeded at 272 (offset -5 lines).
Hunk #5 succeeded at 317 (offset -5 lines).
Hunk #6 succeeded at 364 (offset -1 lines).
Hunk #7 succeeded at 452 (offset 4 lines).
Hunk #8 succeeded at 515 (offset 4 lines).
Hunk #9 succeeded at 524 (offset 4 lines).
patching file libs/libmythtv/frequencytables.cpp
Hunk #1 succeeded at 465 (offset 21 lines).
patching file libs/libmythtv/libmythtv.pro
Hunk #1 succeeded at 231 (offset 12 lines).
Hunk #2 succeeded at 247 (offset 14 lines).
patching file libs/libmythtv/mpeg/dvbdescriptors.cpp
Hunk #2 FAILED at 69.
Hunk #3 succeeded at 155 (offset 4 lines).
Hunk #4 FAILED at 161.
Hunk #5 FAILED at 192.
Hunk #6 succeeded at 226 (offset 6 lines).
Hunk #7 succeeded at 283 (offset 45 lines).
Hunk #8 succeeded at 309 (offset 37 lines).
3 out of 8 hunks FAILED -- saving rejects to file libs/libmythtv/mpeg/dvbdescriptors.cpp.rej
patching file libs/libmythtv/mpeg/dvbdescriptors.h
Hunk #1 succeeded at 9 with fuzz 1 (offset -6 lines).
Hunk #2 succeeded at 36 (offset -6 lines).
Hunk #3 FAILED at 99.
Hunk #4 FAILED at 252.
Hunk #5 FAILED at 561.
Hunk #6 FAILED at 594.
Hunk #7 FAILED at 1023.
Hunk #8 succeeded at 1105 (offset 49 lines).
Hunk #9 FAILED at 1448.
Hunk #10 FAILED at 1565.
7 out of 10 hunks FAILED -- saving rejects to file libs/libmythtv/mpeg/dvbdescriptors.h.rej
patching file libs/libmythtv/mpeg/dvbstreamdata.cpp
patching file libs/libmythtv/mpeg/dvbstreamdata.h
Hunk #1 succeeded at 25 (offset 1 line).
Hunk #2 succeeded at 213 (offset 1 line).
patching file libs/libmythtv/mpeg/dvbtables.cpp
patching file libs/libmythtv/mpeg/dvbtables.h
Hunk #1 FAILED at 8.
Hunk #2 FAILED at 93.
Hunk #3 FAILED at 277.
Hunk #4 succeeded at 326 (offset 2 lines).
Hunk #5 FAILED at 365.
Hunk #6 succeeded at 386 (offset 2 lines).
4 out of 6 hunks FAILED -- saving rejects to file libs/libmythtv/mpeg/dvbtables.h.rej
patching file libs/libmythtv/mpeg/isdb_decode_text.c
patching file libs/libmythtv/mpeg/isdb_decode_text.h
patching file libs/libmythtv/mpeg/mpegdescriptors.cpp
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 78.
Hunk #3 FAILED at 422.
Hunk #4 FAILED at 440.
4 out of 4 hunks FAILED -- saving rejects to file libs/libmythtv/mpeg/mpegdescriptors.cpp.rej
patching file libs/libmythtv/mpeg/mpegdescriptors.h
Hunk #1 succeeded at 197 (offset 44 lines).
Hunk #2 FAILED at 180.
1 out of 2 hunks FAILED -- saving rejects to file libs/libmythtv/mpeg/mpegdescriptors.h.rej
patching file libs/libmythtv/mpeg/scanstreamdata.cpp
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to file libs/libmythtv/mpeg/scanstreamdata.cpp.rej
patching file libs/libmythtv/mpeg/scanstreamdata.h
Hunk #1 FAILED at 12.
1 out of 1 hunk FAILED -- saving rejects to file libs/libmythtv/mpeg/scanstreamdata.h.rej
patching file libs/libmythtv/tv_rec.cpp
Hunk #1 succeeded at 1819 (offset -202 lines).
$ patch -p0 <../mythtv-japanese-cat.patch
patching file libs/libmythtv/mpeg/dvbdescriptors.cpp
Hunk #1 succeeded at 317 (offset -108 lines).
$ patch -p0 < ../mythtv-subtitle.patch
patching file libs/libmythtv/eithelper.cpp
Hunk #1 succeeded at 246 (offset -5 lines).
$ patch -p1 < ../mythtv-bs.patch
patching file libs/libmythtv/dtvmultiplex.cpp
Hunk #1 succeeded at 336 (offset 32 lines).
Hunk #2 FAILED at 327.
1 out of 2 hunks FAILED -- saving rejects to file libs/libmythtv/dtvmultiplex.cpp.rej
patching file libs/libmythtv/dtvmultiplex.h
patching file libs/libmythtv/dvbchannel.cpp
Hunk #1 succeeded at 267 (offset 29 lines).
Hunk #2 FAILED at 754.
Hunk #3 FAILED at 882.
2 out of 3 hunks FAILED -- saving rejects to file libs/libmythtv/dvbchannel.cpp.rej
$ patch -p2 < ../mythtv-tuning.patch
patching file libs/libmythtv/dvbstreamhandler.cpp
Hunk #1 FAILED at 282.
1 out of 1 hunk FAILED -- saving rejects to file libs/libmythtv/dvbstreamhandler.cpp.rej

パッチを何も考えずに当ててもほぼ全滅。成功しているのは単体ではあまり意味のない部分のみ。

ISDB対応版の0.25が出るまで様子を見る他ない。

Debian-Multimediaのmythtv-0.24.2は次の方法で入手できる。

$ wget ftp://ftp.debian-multimedia.org/pool/main/m/mythtv/{mythtv_0.24.2-0.0squeeze1.dsc,mythtv_0.24.2.orig.tar.gz,mythtv_0.24.2-0.0squeeze1.diff.gz}
$ dpkg-source -x mythtv_0.24.2-0.0squeeze1.dsc

このソースはいつまでダウンロードできるんだろう。

5月 19th, 2012

Posted In: ソフトウェア

タグ: , , , , , ,

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください