风..竹... (Feng ZHU ?)

http://blogs.sun.com/zhufeng/date/20081230 星期二 2008年12月30日

view chm file using gnochm under OpenSolaris


I used to compile gnochm for opensolaris but it's boring, finally I get a working gnochm but cannot support Chinese. Now we can use SFE spec to compile it.
first of all, install JDS CBE and pkgbuild.
Then get spec files.

    $svn co https://pkgbuild.svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk SFE


Notice: CBE's svn is broking, just remove it or backup it as svn.broken.
Then we can go to SFE dir and use:


    $. /opt/jdsbuild/bin/env.sh
    $pkgtool build --download --autodeps SFEgnochm.spec


It will compile and install gnochm, if there's any dependency problem it can automatic solve it.


使用SFE spec编译Wine

最近重新发现了新大陆,就是SFE的spec。因为opensolaris独特的原因,我们下载的开源软件的源码包经常不能顺利编译,现在有SFE spec repository,已经有很多贡献者做好了patch和编译配置,这种类似RPM机制的包编译系统可以帮助我们为自己的opensolaris系统添加更多的软件。


  1. 首先,要安装JDS CBE,这是opensolaris编译很多图形界面程序时需要的编译环境。安装完毕每次编译前需要


    • $. /opt/jdsbuild/bin/env.sh (bash)

    • >source /opt/jdsbuild/bin/env.csh (csh/tcsh)


  2. 然后去pkgbuild下载编译安装pkgbuild工具包。别忘了configure时候加prefix=/usr。

  3. 现在找到一个目录,执行如下命令。注意如果你先设置了JDS CBE,里面的svn是broke的,把/opt/jdsbuild/bin/svn move 到svn.broken即可。


    • svn co https://pkgbuild.svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk SFE


  4. 完毕,可以进入目录看到很多spec文件了,寻找你喜爱的程序开始编译之旅吧!!使用pkgtool工具会自动编译安装spec指定的软件。比如SFEwine,我们上次介绍自己配置编译wine,现在我们用SFE spec来编译要轻松许多,而且经过wine社区的努力,可以用SUN Studio编译了。


    • $pkgtool build --download --autodeps SFEwine.spec

    • --download 表示没有的时候下载源程序,--autodeps自动解决以来问题,如果该目录下有spec的话。

    • wine的spec有些问题,我编译时不能下载source101:winetricks文件。如果您也遇到这个问题编辑SFE.spec把source101地址改成http://kegel.com/wine/winetricks,注释掉下面的patch101和Patch101两行就可以了。

    • 如果在编译wine前你编译安装了SFElibaudioio,你猜会发生什么呢?bingle,wine的声音有了!安装wine后使用winecfg打开audio配置选中driver,然后test audio,就会听到一阵小鼓,drum,drum。不幸的是,PES6使用这个audio driver会导致crash。。。


    • 这是我用wine装的picasa 3,不能登录picasa webalbum,会导致崩溃,但是bloggit可以用。



http://blogs.sun.com/zhufeng/date/20081217 星期三 2008年12月17日

better MSN client

Pidgin is the default instant messenger for OpenSolaris desktop. But are you tired with it? It's update is slow, it's new feature is poor. If you are using MSN account, I prefer emesene (www.emesene.org). a MSN client written in Python.
Just download it and decompress it to ur_emesene_dir. Cos' it's Python program we need not make, make install what ever, just run ur_emesene_dir/emesene. For convenience, you can create a link to /usr/bin or add an alias in your profile, or edit system->preference->main menu to add a menu entry to ur desktop.


Enjoy it !

http://blogs.sun.com/zhufeng/date/20081118 星期二 2008年11月18日

在OpenSolaris上配置wine玩实况足球

在OpenSolaris里配置wine来玩实况足球!OpenSolaris的wine虽然blastwave和sunfreeware都没有,但是网上能搜到安装包,下面介绍下编译wine的过程,来自lets check out wine on OpenSolaris

[Read More]

http://blogs.sun.com/zhufeng/date/20081117 星期一 2008年11月17日

opensolaris上的实况足球

wine 1.1.8模拟的PES6,还挺象那么回事。为什么下面黑了一条边呢?








http://blogs.sun.com/zhufeng/date/20081105 星期三 2008年11月05日

去掉opensolaris desktop讨厌的beep


kill the annoying beep !


在笔记本上装 opensolaris 后,总是有讨厌的嘀嘀声,要命的是声音还很大,要是不巧碰上在终端里输出一堆控制字符简直是震耳欲聋。。

[Read More]