mac os 下载编译chromium最新源码 – Build Chrome on Mac OS 10.10

1.安装git

2.按照官网说明,安装depot_tools

3.check out source code:

$ fetch –nohooks chromium     # Optionally, –no-history

$ fetch –nohooks blink        # Optionally, –no-history

The checkout will be from 6GB to 22GB, depending on your choices.

You can fetch one of two targets: chromium or blink. Either choice will clone both the Chromium and Blink repos, but there’s a small difference.

  • fetch chromium will use the Blink version that’s rolled into Chromium via DEPS (usually a few hours old). This choice is easier if working only on Chromium.
  • fetch blink will always retrieve the latest Blink (ToT) version, and is useful if working on Blink.

Either choice, the fetch will consume ~22GB of disk space.  However, if you choose to clone without git history, the checkout will total ~6.5GB.

Use –no-history with fetch to create shallow clones. Use if you don’t need repo history or want a faster clone. Later,  git fetch –unshallow will deepen these shallow clones.

我们选择chromeium就可以了。

fetch –nohooks chromium –nosvn=True  或者 fetch –nohooks –no-history chromium

4.如果第3步未能成功完成,则执行 gclient sync –force 继续更新.

5.安装依赖软件:

Linux:

$ ./build/install-build-deps.sh

Mac:

需要暗转xcode5 (或以上。参考:https://code.google.com/p/chromium/wiki/MacBuildInstructions

Windows:

需要VS2013: 参考:http://dev.chromium.org/developers/how-tos/build-instructions-windows

6.Run post-sync hooks

$ gclient runhooks

7.Update, checkout

$ git rebase-update

$ gclient sync

8.Build

Chrome使用的是GYP (Generate-Your-Project)作为build工具:使用以下命令生成build file:

export GYP_GENERATORS=ninja,xcode-ninja

./build/gyp_chromium

也可以加参数,例如:

$ ./build/gyp_chromium -Goutput_dir=out_cros

详见:http://dev.chromium.org/developers/gyp-environment-variables

最后Building Chrome

ninja -C out/Release/ chrome

9.有可能在第5步中的最后ninja -C out/Debug/ chrome命令中报下面的错误:

ninja: error: ‘../../native_client/toolchain/mac_x86/nacl_x86_newlib/nacl_x86_newlib.json’, needed by ‘gen/tc_irt/lib64/libppapi_proxy_nacl.a’, missing and no known rule to make it

,此时需要执行gclient runhooks(The hooks are required to download some prebuilts / sdks (like nacl, for which you’re getting an error).)来下载部分相应的依赖库. 如果步骤6执行过则应该没有问题。

以上总结参考Chrome 官方给出的 Get the Code: Checkout, Build, Run & Submit http://dev.chromium.org/developers/how-tos/get-the-code

ibus-xkbc release test vervsion

My colleague Naoyuki.Ishimura created a new iBus engine (ibus-xkbc). This is a keyboard layout emulation which base on *ibus* framework. The layout data is base on the data which XKN used. It can work on any Xserver other than XKB enabled Xorg server.

You can get it and try , and please help to report the issue:

You can get it:

http://github.com/sun-im/ibus-xkbc/

And please use
http://github.com/sun-im/ibus-xkbc/issues
if you have any issue or request to enhancement.

Any comments are highly appreciated.

sunpinyin update : ibus-sunpinyin 2.0 发布 RC4!

ibus-sunpinyin 2.0 发布 RC4!

感谢Kov同学的卓越贡献.以下内容引自讨论组对新版的介绍。

changelog:
– 修正 issue#24 不能输入单引号的错误,现在能输入单引号了
– 修正 issue#52 在 amd64 平台下,无法加载双拼数据的问题
– 修正 issue#57 在双拼模式下,输入标点符号后无法输入中文的问题
– 修正 issue#58 不使用 MS2003 时,双拼输入会崩溃的问题
– 修正了在编辑已输入拼音字串时,候选词更新异常的问题

好几个都是双拼方面的修正。建议双拼用户再试试看。=)
和以前一样,上传到了 googlecode
上:http://ibus-sunpinyin.googlecode.com/files/ibus-sunpinyin-2.0_rc4.tar.gz

rc4已经是趋于稳定的版本的,期待大家试用和反馈!

FW: Please join (快来加入)sunpinyin-developers@googlegroups.com

FW from : 素月如何上青天

我们刚刚为SunPinyin项目建立了一个google-group。虽然oso-inputmethod项目也有一个mail-list,不过是和其他opensolaris i18n/l10n项目share的。而且似乎国内的开发者或用户,还是更习惯和倾向使用google-group作为交流的途径。因此我们就创建了这个group。

SunPinyin的开发者会使用这个mail group来讨论开发相关的问题,同时用户也可以用这个mail group来报告发现的问题。大家也可以直接发邮件到sunpinyin-developers@googlegroups.com

欢迎SunPinyin的新老用户加入sunpinyin-developers@googlegroups.com; 积极反馈各位在使用中遇到的问题,这将会使我们更快了解SunPinyin的bug和您的需求,并且以最快的随度修改bug和满足您的需求!

您的反馈和需求就是对我们最大的支持! 也是我们前进的最大动力!

期待您的加入!谢谢!

Take over SunPinYin

My talent colleague YongSun is leaving Sun. I feel very sad to lose a so good colleague. Anyway, we have to face the fact, everything will continue. I took over SunPinYin project. Actually I have joined this project for several months. And I’m very glade to contributor userdict and Double Pinyin modules. For people who always care about this project, thanks for your support so long. And I hope you all could care this project and do more contribution as used to. Certainly new comer will be welcome very much as well!  And YonSun will still be a core community contributor too. Let us say thank Yong for his contribution to SunPinYin, and looking forward his more contribution to SunPinYin in the future.

I strongly recommend his new blog, you will find much fun here . http://yongsun.me

如何使用Opensoalris中的多媒体播放器totem

(转载请注明来源地址http://blogs.sun.com/weixue)

安装了Opensolaris后,多数的用户可能马上就像要进行的应用,就是听歌,看电影了。呵呵,可惜阿由于某些原因,很多多媒体格式的解码器都不是默认安装的,可能你发现了,totem这个多媒体播放器其实什么也不能播放。。怎么办呢?很简单安转相应的解码器就行了。玩过Unix/linux的都知道其实这些解码器插件都在GStreamer里。这里为大家提供几个简单的方法可以用现成的:

1. 最有效,最简单,最全面的结局方案就是去这个网站,这里提供了很多Solaris上的多媒体软件,有的是商业的,有的可以自由使用。 把它(http://ips.homeunix.com:10906/) 加到pulisher里,直接就可以安转各种解码器的IPS 包了。比如你要安装播放flash和MPEG的解码器插件:

  1. "pkg set-authority -O http://ips.homeunix.com:10906 ips.homeunix.com" to add repository.
  2. "pkg refresh –full" to update catalog.
  3. "pkg install MBLgst-plugin-ffmpeg MBLgst-plugin-flv" to install plugins.

这里还很很多mp3, DVD的插件,转好这些包一般的视频音频基本上可以自由看听了。

2. 这个网站提供了一些:GStreamer Input Selector Plugin for OpenSolaris

http://addons.songbirdnest.com/addon/1354/versions

3. 有个热心人,自己编译了一些常用的解码器: http://blog.sartek.net/2009/05/gstreamer-stuff-on-opensolaris.html

当然,你完全也可以自己下载GStreamer,然后自己编译。

Build Open X on Solaris by yourself – OpenSolaris Project: Fully Open X Project

转载时请以超链接形式标明文章原始出处和作者信息.  :
http://blogs.sun.com/weixue/entry/build_open_x_on_solaris

OpenSolaris Project: Fully Open X Project is fully X project which include X library and application for  Opensolaris. The Fully Open X Project (FOX) will create a public Mercurial gate on
opensolaris.org containing a merge of these three source bases:

  • the current OpenSolaris X code drops published by the Sun X team
  • the Xorg SPARC driver sources created by Martin Bochnig for Martux
  • the full X11R7.2 source builds created by Moinak Ghosh for Belenix

Build fox-gate: please see:  http://opensolaris.org/os/project/fox/build_inst/