2004-02-16 (Mon)
_ [comp] gkrellm/gkrellmms 落ちその後
gkrellmms 2.1.14-1 で #231740 は close されたようだ。普通に落ちなくなったし、メニューを選んでも落ちなくなった。
_ [comp] Ported lm80 to Linux 2.6 その後
結局関係なかったわけだけれども、[PATCH 2.6] New chip driver ported: lm80 によると、2.6.3 以降に merge されるようだ。
_ [comp] MozFx 708090-lite 1.3
出たようだ。早速 install。
_ [comp] 続・rivafb、2.6 で動かず
GeForce4 Ti 4200 だと拾ってくれないんだけど、GeForce2-MX だと
video=rivafb:1024x768-8@85
で動いてくれた。と思ったら、X 終了させて console に戻ったら刺さった。
_ [unicon] docs/unicon 更新
- insmod を modprobe に変更。
- /dev/fb0 の存在を調べるように変更。
_ [comp] 2.6.2-mm1, 2.6.3-rc2-mm1 の e1000 変
2.6.2-mm1 で e1000 を読み込んだら刺さる。なんだこりゃ。2.6.3-rc3-mm1 でも刺さるなぁ。 お、[e1000 2.6-exp] back out CSA interrupt fix の patch を当ててみたら刺さらなくなった。
_ [unicon] 2.6.3-rc3-mm1 対応メモ
drivers/char/vt.c の do_con_write 内で reject が起こるので移動。(中略の部位に新しいコードが入ってる)
int orig_count;
+#ifdef CONFIG_UNICON
+ /* added by Arthur Ma, for multiple font support */
+ struct double_byte * doublebyte_default = NULL;
+#define GB_LEFT 0x8000
+#define GB_RIGHT 0xc000
+#endif
(中略)
+#ifdef CONFIG_UNICON
+ /* added by Arthur Ma, for multiple font support */
+ if (UniconFontManager != NULL)
+ doublebyte_default = UniconFontManager->getfont (vt->vc_num);
+#endif
currcons = vt->vc_num;
drivers/video/console/fbcon.c の putcs_aligned_tl 内、以下を削除。
- atomic_dec(&info->pixmap.count);
- smp_mb__after_atomic_dec();
これでひとまず compile は通って動くようだ。
_ [comp] GTK+1 → GTK+2 config
gtk-config {--cflags|--libs}
から
pkg-config gtk+-2.0 {--cflags|--libs}
か。
2004-02-15 (Sun)
_ [debian] xmms 1.2.9-1vd1
gkrellmms の #231740 つながりで、xmms 本体に #232695 というのがあったようだ。ということで xmms 1.2.9-1vd1 を作ってみた。libdb4.2-dev が入っているので、Depends から libdb3-dev を削除。再度 gkrellmms を使って様子を見るか。 落ちなくなったかも。でもメニュー選ぶと 100% 即死。こっちは別の問題っぽいなぁ。
_ [comp] 五月雨 IgnorePath 設定
yoosee.wiki - 五月雨 は、五月雨を知る切っ掛けとなった Wiki だが、IgnorePath の説明は途中で終わっている。\ay日記 - 五月雨について は記述が若干古かった。手探りでなんとかしてみよう。 以下、Linux kernel patch from the Openwall Project をチェックするための手順を追ってみる。このページの最下行には SSI を用いていると思われるテキスト型のアクセスカウンタがある。これのせいで、正確な更新時間を取得することができない。これを IgnorePath にて処理してみようと思う。 まず、IgnorePath を設定するには htmldiff と htmlign を使えとあるが、htmldiff は存在していなかった。cvs を探ってみると、removed. use samidare –diff-content. ということだそうだ。なるほど。–diff-content はチェックしたい URI を引数に取るようだ。実行した結果は次の通り。
% ./samidare --diff-content http://www.openwall.com/linux/
checksum1: 39524 [] tmp/af-www.openwall.com-linux_02-15_05:00.html
checksum2: 39522 [] tmp/af-www.openwall.com-linux_02-15_06:00.html
[["560657", "/html/body/table[3]/tr/td[2]/p/font/text()"],
["560664", "/html/body/table[3]/tr/td[2]/p/font/text()"]]
--- /tmp/htmldiff114608.0 2004-02-15 06:12:31.000000000 +0900
+++ /tmp/htmldiff214608.0 2004-02-15 06:12:31.000000000 +0900
@@ -463,7 +463,7 @@
{elem
<p align="RIGHT">
{text "\n"}
- {elem <font size="-2"> {text "560657"} </font>}
+ {elem <font size="-2"> {text "560664"} </font>}
{text "\n"\}\}}}
</table>}
{text "\n" "\n"}
チェックサム、Path、diff が表示された。 この表示された Path を htmlign を使ってテストするのだが、この htmlign が手元では動かない。
../htmlign:31: undefined method `decode_charset_guess' for #<String:0x40326c38> (NoMethodError)
ひとまず該当個所を無視。
-tree1 = HTree.parse(File.read(filename1).decode_charset_guess)
+tree1 = HTree.parse(File.read(filename1)) #.decode_charset_guess)
まだエラーが出る。
../htmlign:9:in `path2pattern': undefined method `alt' for Regexp:Class (NoMethodError)
from htmlign:34
[ruby-dev:21146] Regexp.alt(pat1, pat2, …) からコードをいただいてきて、htmlign に挿入。これで htmlign は動くようになった。 さて htmlign の使い方だが、チェックしたいファイルと Path を引数に取るようだ。
../htmlign tmp/af-www.openwall.com-linux_02-15_05:00.html \
'/html/body/table[3]/tr/td[2]/p/font/text()'
/\A(?-mix:\/html(\[\d+\])?\/body(\[\d+\])?\/table\[3\]\/tr(\[\d+\])?\/td\[2\]\/p(\[\d+\])?\/font(\[\d+\])?\/text\(\)(\[\d+\])?)\z/
"/html/body/table[3]/tr/td[2]/p/font/text()"
--- /tmp/htmldiff114643.0 2004-02-15 06:24:50.000000000 +0900
+++ /tmp/htmldiff214643.0 2004-02-15 06:24:51.000000000 +0900
@@ -463,7 +463,7 @@
{elem
<p align="RIGHT">
{text "\n"}
- {elem <font size="-2"> {text "560657"} </font>}
+ {elem <font size="-2"> </font>}
{text "\n"\}\}}}
</table>}
{text "\n" "\n"}
お、うまくアクセスカウンタの場所が無視されたぞ。 あとは config.yml で IgnorePath を設定すれば OK。
- URI: http://www.openwall.com/linux/
Title: Owl patch
IgnorePath: /html/body/table[3]/tr/td[2]/p/font/text()
今のところ手元ではきちんと動いているようだ。