Ubuntuのpidgin-2.4.1にパッチあて

Date
'09-04-03(金曜日) 00:35:54
Category
コンピュータ

そして相変わらずctrl+pとかで変なダイアログが開くPidginにパッチを当てる作業

mkdir pidgin-20090403

cd pidgin-20090403
apt-get source pidgin
wget http://www.honeyplanet.jp/pidgin_mtn_jul3.diff.gz
zcat pidgin_mtn_jul3.diff.gz | patch -p0

パッチを当てる時、エラーになるやつスキップでOKです。
この後は手作業でファイルを修正してやる.
以下に修正点メモ。漏れがあるかもしれない・・・

diff -r pidgin-2.4.1-patch/libpurple/protocols/irc/parse.c pidgin-2.4.1/libpurple/protocols/irc/parse.c

262c262
< static char *irc_recv_convert(struct irc_conn *irc, const char *string)
---
> static char *irc_recv_convert(struct irc_conn *irc, char *string)
267a268,274
> GError *err;
> gboolean retry;
> gsize in_len, out_len;
> int conv_len;
> char *strtmp;
> gsize strtmp_len;
>

diff -r pidgin-2.4.1-patch/libpurple/protocols/yahoo/yahoo.h pidgin-2.4.1/libpurple/protocols/yahoo/yahoo.h
79a80
> #define YAHOOJP_CLIENT_VERSION_ID "524223"

diff -r pidgin-2.4.1-patch/libpurple/protocols/yahoo/yahoo_profile.c pidgin-2.4.1/libpurple/protocols/yahoo/yahoo_profile.c
1111d1105
< #endif

その後は

cd ..
dpkg -i pidgin_2.4.1-1ubuntu2.3_i386.deb
echo pidgin hold | sudo dpkg --set-selections


コメントする

トラックバック(0)

トラックバックURL: http://blog.marupara.dyndns.org/mt5/mt-tb.cgi/3718