Thursday, July 26, 2007

More on mldonkey and loongson

My little patch to mldonkey's Makefile donesn't satisfy mldonkey developer. I didn't come up with a better solution. So I resorted to modify mldonkey's ebuild. Maybe not so elegant, but it works, at least for me.

I added the following snippet to src_install():
EXE="mlnet mld_hash get_range copysources make_torrent subconv"

if [ -f mlnet.byte ]; then
for i in $EXE; do
mv $i.byte $i
done
fi
dobin $EXE || die "dobin failed"
The ebuild could found here:
http://www.gentoo-cn.org/loongson-overlay/net-p2p/mldonkey/

This overlay is independent from the one on dev.lemote.com, although the latter was actually registered by me. Because I can't access dev.lemote.com's svn repository, probably due to network problem. So I just maintain this overlay locally, using git. To get it, run:
git-clone http://www.gentoo-cn.org/loongson-overlay/.git
BTW, I have just registered a domain name: gentoo-cn.org. I will make it theportal site of Chinese Gentoo community. As of this writing, this site is hosting latest Chinese Gentoo handbook and zh_cn GWN. Take a look:
http://www.gentoo-cn.org/doc/zh_cn/handbook/
http://www.gentoo-cn.org/news/zh_cn/gwn/gwn.xml

I have been translating Gentoo handbook with my translation teammates for several months. We hope we can setup an official translation team soon.
Current progress: http://gentoo.linuxsir.org/doc/progress.xml
Our activities could be found here: http://groups.google.com/group/gentoo-china

Labels: , , , ,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home