Meego Wiki
Views

TV Browser How to Build

From MeeGo wiki
Jump to: navigation, search

Contents

How to Build MeeGo TV Browser

Get the Source Code

Checkout the browser source code from gitorious:

  $git clone git://gitorious.org/meego-middleware/meego-tv-browser.git
  $git checkout -b 874-base-webkit origin/874-base-webkit

Sync with 'gclient'

The MeeGo TV browser is based on Chromium, the third party dependency packages need to be sync with gclient tool.

  • Install depot_tool
Follow the chromium Install the depot_tool guide to install depot_tool
  • rename the browser source folder “meego-tv-browser” to “src”
  $mv meego-tv-browser src
  • edit the ".gclient" file in the parent folder of browser source tree, add the following content in to .gclient:
       solutions = [
         { "name"        : "src",
           "url"         : "http://src.chromium.org/svn/trunk/src",
           "custom_deps" : {
             "src/third_party/WebKit": None,
             "src/third_party/WebKit/LayoutTests": None,
             "src/third_party/WebKit/Source": None,
             "src/third_party/WebKit/Tools/DumpRenderTree": None,
             "src/third_party/WebKit/Tools/Scripts": None,
             "src/third_party/WebKit/Tools/gdb": None,
             "src/third_party/WebKit/WebKitLibraries": None,
             "src/chrome/tools/test/reference_build/chrome": None,
             "src/chrome_frame/tools/test/reference_build/chrome": None,
             "src/chrome/tools/test/reference_build/chrome_linux": None,
             "src/chrome/tools/test/reference_build/chrome_mac": None,
             "src/third_party/hunspell_dictionaries": None,
           },
           "safesync_url": "",
         },
       ]
  • run "gclient sync --force" in src directory
    $gclient sync --force

Build the browser

Build the browser with following commands:

  $./build/gyp_chromium -D component=shared_library -D disable_nacl=1
  $ make -j6 chrome BUILDTYPE=Release "CXXFLAGS +=-D_UMMS_" V=1

Need to add "CXXFLAGS +=-D_UMMS_" to enable UMMS support.

Personal tools