amd64 用 flashplugin-nonfree、sid 入り (9.0.48.0.1)

Adobe Flash Player の新しいの (正式版) が出てたよって話を読んで、ダウンロードしてきて展開、nspluginwrapper -i /path/to/libflashplayer.so したのだけど、ふと DebianBTS を見にいくと "#411533 - flashplugin-nonfree: add support for amd64 - Debian Bug report logs" が Fixed になってて、amd64 でも nspluginwrapper 経由で使えるよう自動で設定してくれるようになってて、そりゃ APT がめんどう見てくれるほうが楽なのでそっちを使うことにする。
念のため nspluginwrapper -r /path/to/npwrapper.libflashplayer.so で今使ってるのを消しておいて、sudo aptitude install flashplugin-nonfree したら、それだけで OK だった。flashplugin-nonfree が nspluginwrapper に依存してるので sudo aptitude markauto nspluginwrapper しておく (うちでは Adobe Flash Player にしか使ってないので)。

/var/lib/dpkg/info/flashplugin-nonfree.postinst を見ると、たしかに nspluginwrapper を使うようになってる。

if [ "$DEB_HOST_ARCH" = "amd64" ] ; then
        if [ -e /usr/bin/nspluginwrapper ] ; then
                nspluginwrapper -n -i /usr/lib/flashplugin-nonfree/libflashplayer.so
        fi
fi

プラグイン本体は /usr/lib/flashplugin-nonfree/libflashplayer.so で、これを /usr/lib/iceweasel/plugins/npwrapper.libflashplayer.so -> ../../nspluginwrapper/plugins/npwrapper.libflashplayer.so で使うようになってる。
gnash も YouTube に対応してるらしい*1 0.8.0~cvs20070611.1016-1 があったので、ちょっと試してみようかと思ったのだけど、今ちょっと依存関係が壊れてて*2インストールできなかったのでヤメ。
swfdec も YouTube に対応してるらしい*3 0.4.5-1 があるけど、ウェブ・ブラウザのプラグインでない単体のものがないので、めんどうに感じてヤメてしまった。ところで、totem (totem-gstreamer) が flv ファイルを再生できてるのは gstreamer0.10-ffmpeg のおかげで、swfdec は関係ないのかな。ていうか、昔は gstreamer* が libswfdec* に依存してた気がするけど、今は依存してなくて、うちには入ってなかった。
あと、the entire thing has been reworked as a native GTK app that communicates with the hosting web browser using the XEmbed protocol という Adobe のベータ版も、まだふだん使いに耐えない状態のようで ("http://blogs.adobe.com/penguin.swf/2007/06/fullscreen_beta.html" のコメント欄参照)、YouTube とか見れなくなるのはヤなのでヤメとく。
追記: Adobe Flash Player のアップデートはセキュリティ・フィックスだった模様 (セキュリティホール memo - 2007.07)。