转自:http://www.dorothybrowser.com/announcing-webkit-sdl-port/

下载地址 https://gitorious.org/spiegel/webkitsdl/source/master:

Hi. I am Kwang Yul Seo, chief computer scientist at Company 100, Inc.. Today I am happy to announce the WebKit SDL port.

You might wonder why we need another WebKit port because we already have many ports including Mac, Chromium, Qt and Gtk. The reason is simple. We need a simple port which uses skia as its graphics backend. Chromium port uses skia, but the code base of Chromium is quite complex and not easy to experiment new features.

Our team is working on multiple WebKit ports including Android NDK and Linux (STB/TV). We use skia for all the ports we have. Because it takes a long time to build and test on mobile and embedded devices, we needed a bare minimum desktop WebKit port which uses skia.

We’ve decided to open the source code so that the SDL users can embed WebKit in their applications. You can retrieve the source code from the following git repository:

git://www.dorothybrowser.com/WebKitSDL.git

You can build WebKit SDL both on Linux and Mac OS X. Because WebKit SDL depends on skia for graphics, you must build skia before you build WebKit.

To build skia, change the current working directory to Source/ThirdParty/skia.

cd Source/ThirdParty/skia

And make.

make

On Mac OS X, you must give “SKIA_BUILD_FOR=mac” as in the following:

make SKIA_BUILD_FOR=mac

The skia library (libskia.a) is generated under Source/ThirdParty/skia/out/.

Because WebKit SDL build script is written in cmake, you need cmake program to build WebKit SDL. Use -DPORT=SDL to specify the port.

mkdir WebKitBuild
cd WebKitBuild
cmake -DPORT=SDL ../Source

Now we have makefile generated in WebKitBuild directory. Build WebKit with make.

make

To build WebKit SDL in debug mode, pass “-DCMAKE_BUILD_TYPE=debug” as cmake command line arguments.

cmake -DPORT=SDL -DCMAKE_BUILD_TYPE=debug ../Source/

Once build is done, you can launch SDLLauncher. It is a simple test browser located under Tools/SDLLauncher.

./Programs/SDLWebLauncher

Announcing WebKit SDL port的更多相关文章

  1. WebKit资源

    WebKit 资料搜集 1 what is webkit? WebKit 是一个开源浏览器网页排版引擎,与之相应的引擎有Gecko(Mozilla,Firefox 等使用的排版引擎)和Trident( ...

  2. [转]开发者需要了解的WebKit(mark)

    以下内容转自:http://www.infoq.com/cn/articles/webkit-for-developers -------------------------------------- ...

  3. 开发者需要了解的WebKit

    2013-3-22 22:37| 发布者: sxwgf| 查看: 575| 评论: 0|来自: infoq 摘要: Paul Irish是著名的前端开发工程师,同时他也是Chrome开发者关系团队成员 ...

  4. WebKit HTML、CSS、JS

    开发者需要了解的WebKit https://www.infoq.cn/article/webkit-for-developers 开发者需要了解的 WebKit   彭超 2013 年 3 月 18 ...

  5. chromium ⑤

    我们都知道chromium是用webkit完成页面显示的,   那么chromium是怎样集成和封装webkit的呢?   是怎样将webkit整合到自己的框架中,并将一个页面渲染出来的?   这篇我 ...

  6. Chromium Graphics: Graphics and Skia

    Graphics and Skia Chrome uses Skia for nearly all graphics operations, including text rendering. GDI ...

  7. webkit模块介绍

    一.Webkit模块   用到的第三方库如下:   cairo 一个2D绘图库 casqt Unicode处理用的库,从QT中抽取部分代码形成的 expat 一个XML SAX解析器的库 freety ...

  8. 八大Webkit内核浏览器

    列举出时下最流行的Webkit内核浏览器,所以我们并不会做出评测和对比.PS:本文列举的浏览器有一部分为IE+Webkit双核浏览器,如果您对其他IE内核浏览器很感兴趣<抛弃数据!用体验和感觉告 ...

  9. 探索WebKit内核(一)------ 菜鸟起步

    为什么搞WebKit 如今研究WebKit的人越来越多,俺不能免俗,也增加当中.WebKit的火爆也是得益于浏览器和WebOS的混战,随着Palm WebOS, Chrome OS, Firefox ...

随机推荐

  1. vue + element 实现登录注册(自定义表单验证规则)

    注册页包含手机验证码登录和密码的二次验证. 效果如下: 实现代码: <template> <div> <div class="register-wrapper& ...

  2. Mybatis教程-实战看这一篇就够了

    转自:https://blog.csdn.net/hellozpc/article/details/80878563 1.从JDBC谈起 1.1.使用IDEA创建maven工程 1.2.引入mysql ...

  3. springboot @Value 获取计算机中绝对路径文件的内容

    默认情况下使用 @Value("aaa.txt") private Resource txtResource; 这样获取到的是项目classpath 下的 aaa.txt 如果想获 ...

  4. js值----你所不知道的JavaScript系列(6)

    1.数组 在 JavaScript 中,数组可以容纳任何类型的值,可以是字符串.数字.对象(object),甚至是其他数组(多维数组就是通过这种方式来实现的) .----<你所不知道的JavaS ...

  5. DevOps知识地图实践指南

    DevOps知识地图   DevOps方法论的主要来源是Agile, Lean 和TOC, 独创的方法论是持续交付. DevOps经典图书: * <DevOps实践指南> * <持续 ...

  6. linux journalctl 命令

    目录 Help 输出所有的日志记录 匹配(match) 把日志保存到文件中 限定日志所能占用的最高容量 查看某次启动后的日志 查看指定时间段的日志 同时应用 match 和时间过滤条件 按 unit ...

  7. snmpd.conf 配置

    开启snmp后,一些指标获取不到,需要配置snmpd.conf文件,如下图所示 参考文章:http://blog.csdn.net/flyingfalcon/article/details/47831 ...

  8. Notes of Daily Scrum Meeting(12.24)

    平安夜了,我们还在这里辛苦地赶代码,整个人都不好了... 今天的团队任务总结如下: 团队成员 今日团队工作 陈少杰 寻找大神帮助,调试网络连接 王迪 建立搜索的UI界面,把算法加入进去 金鑫 调试网络 ...

  9. Linux内核及分析 第四周 扒开系统调用的三层皮(上)

    实验过程 选择20号系统调用getpid(取得进程识别码) 在网上查询getpid函数的C语言代码以及其嵌入式汇编语句 C语言代码: #include <stdio.h> #include ...

  10. Resolved validation conflict with readonly

    /** * Bug绕过去方案WorkAround * Bug描述: * JQuery的Validation的和form的input元素设为readonly,一对不可调和的矛盾: * 一个设置为requ ...