我如何帮助将Google Chrome浏览器移植到Linux?

时间:2020-03-05 18:48:55  来源:igfitidea点击:

我真的很喜欢Chrome,而纯粹的帮助端口的练习可以增进我的知识基础。

我从哪里开始?

在Windows和Linux下将运行的代码之间的基本异同是什么?

我需要什么技能和软件?

笔记:

官方网站面向Visual Studio!
Netbeans或者Eclipse是我唯一的选择。
我不会付钱给微软来帮助一个开源项目。

解决方案

回答

阅读有关Chrome和Linux上的开源的文章:

http://arstechnica.com/journals/linux.ars/2008/09/02/google-unveils-chrome-source-code-and-linux-port

Google V8 JavaScript引擎也是开源的,如果我们想贡献的话,可以在这里找到。

http://code.google.com/p/v8/

如果我们想为Chronium贡献力量,请按照以下说明进行操作:

http://dev.chromium.org/developers/contributing-code

Chromium is an open-source browser
  project that aims to build a safer,
  faster, and more stable way for all
  Internet users to experience the web.
  This site contains design documents,
  architecture overviews, testing
  information, and more to help you
  learn to build and work with the
  Chromium source code.

这是入门方法:

http://dev.chromium.org/developers/how-tos/getting-started

编辑:另外两个问题被添加到原始问题。

在Linux上构建需要以下软件:

  • 颠覆> = 1.4
  • pkg-config> = 0.20
  • Python> = 2.4
  • Perl> = 5.x
  • gcc / g ++> = 4.2
  • 野牛> = 2.3
  • 弯曲> = 2.5.34
  • gperf> = 3.0.3
  • libnss3-dev> = 3.12

在Ubuntu 8.04上,我们可以按以下方式获取所有上述内容:

$ sudo apt-get install subversion pkg-config python perl g++ bison flex gperf libnss3-dev
Note: There is no working
  Chromium-based browser on Linux.
  Although many Chromium submodules
  build under Linux and a few unit tests
  pass, all that runs is a command-line
  "all tests pass" executable.

回答

编辑:(2/6/10)

Chrome的Beta版已发布,适用于Linux。尽管它被标记为beta,但在我的Ubuntu机器上却能很好地工作。我们可以从Google下载:

http://www.google.com/chrome?platform=linux

编辑:(5/31/09)

自从我回答了这个问题以来,Chrome(实际上是" Chromium")在Linux上有了更多的新开发:已经发布了alpha版本。这意味着它不能完全正常工作。

如果我们使用Ubuntu,那么我们很幸运:在/etc/apt/sources.list中添加以下几行

deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main

然后,在命令行中:

aptitude update
aptitude install chromium-browser

如有必要,请不要忘记s / jaunty / yourUbuntuVersion /。另外,如果我们坚持的话,可以s / aptitude / apt-get /。

还有....是的,它有效。我现在正在新安装的Chromium浏览器中输入此信息!

该构建由启动板托管,并在安装时向我提供了一些安全警告,但我立即忽略了该警告。这是网站:https://launchpad.net/~chromium-daily/+archive/ppa

原始答案:

Linux构建说明