CVS から引っ張ってきて vd_tdiary_rast-search_html-anchor.diff を当てて作成。
Bugzilla ORG 255990 の patch v3 (alt) と vd_mozilla-firefox-1.5beta1_without-gnome-and-gconf.patch を当てて作成。
プラグインによって mo を読みにいったりいかなかったりする。さっぱり意味がわからない。
何か根本的に勘違いしてた疑惑が。要継続調査。
明日作業できるかわからないので今日リリース。
GKrellUIM のページはこちら。
deb パッケージを作るのに cdbs を試してみた。
% dh_make --cdbs --copyright gpl--cdbs オプションをつけると、debian/rules 等が cdbs の形式になる。また、--copyright gpl で debian/copyright が GPL で準備される。
#!/usr/bin/make -f include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mkもともとは build-tree/ とか使う形式だったけど、今回はそれは使わない方向で。
とっかかりとしてひとまずここまで。
上の問題解決。gettext を使う GKrellM plugin は
#include <gkrellm2/gkrellm.h> : #ifdef ENABLE_NLS bind_textdomain_codeset( PACKAGE, "UTF-8" ); #endif
としている。一方、gkrellm2/gkrellm.h には
#if !defined(PACKAGE) #define PACKAGE "gkrellm" #endif
という部分がある。つまり PACKAGE がきちんと define されていなければ、プラグイン本来の mo を読まずに gkrellm.mo を読みにいってしまう。mo が読まれるプラグインと読まれないプラグインの C ソースをいくら見比べてもおかしな部分はないわけで、実際の違いは Makefile に存在していた。
このへんを踏まえて GKrellUIM も gettextize 成功。中身を整頓していないので、公開はまた後日。
前 | 2005年 9月 |
次 | ||||
日 | 月 | 火 | 水 | 木 | 金 | 土 |
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 |
[amd64 | audacious | comp | debian | gkrelluim | kip | misc | movie | research | rime | unicon | vdr | work | えふえふ]
書いてる人: dai
パッチ等(無保証)