zoukankan      html  css  js  c++  java
  • Announcing WebKit SDL port

    转自: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
  • 相关阅读:
    Spring Boot SockJS应用例子
    Spring Boot+STOMP解决消息乱序问题
    Spring boot集成Websocket,前端监听心跳实现
    吐槽Windows 8,就没见过这么烂的平板操作系统
    怎样在MyEclipse上耍Chrome
    HDOJ 4876 ZCC loves cards
    IIS7.5 配置 PHP 5.3.5
    关于ANDROID模拟器的一些事
    性能測试命令字段解释
    排序算法复习
  • 原文地址:https://www.cnblogs.com/bigben0123/p/3476204.html
Copyright © 2011-2022 走看看