Packaging

Revision 1 as of 2009-07-09 17:01:38

Clear message

Chromium Packaging

This is a list of TODO & WIP for Chromium in Ubuntu.

For build instruction, see https://wiki.ubuntu.com/Chromium/Build

The Ubuntu packaging branch is located in LP: bzr branch lp:chromium-browser

Daily debs for Hardy to Karmic: https://edge.launchpad.net/~chromium-daily/+archive/ppa

system libs

  • contributed pre-gyp patch lost, needs to be redone with gyp :P
  • unpatched and already in the archive: zlib, bzip2, libevent, libxml2, pcre, xslt
  • patched: icu, libjpeg, hunspell(?), libpng, libsqlite3(?), lzma_sdk(?), ffmpeg (multi-threaded)
  • other: v8, webkit, skia, gtest, libtest, gmock, googleurl, modp_b64, breakpad_client(not needed)

shared libs

  • GYP_DEFINES="library=shared_library"
  • a lot of duplicated code making the debs unnecessary huge
    chromium-browser_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3_amd64.deb (17.3 MiB)
    chromium-browser_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3_i386.deb (17.3 MiB)
    chromium-browser_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3_lpia.deb (15.2 MiB)
    
    chromium-browser-dbg_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3_amd64.deb  (123.0 MiB)
    chromium-browser-dbg_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3_i386.deb (123.0 MiB)
    chromium-browser-dbg_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3_lpia.deb (117.2 MiB)
    
    chromium-testsuite_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3_amd64.deb (184.6 MiB)
    chromium-testsuite_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3_i386.deb (184.6 MiB)
    chromium-testsuite_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3_lpia.deb (169.7 MiB)
    
    chromium-testsuite-dbg_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3_amd64.deb (724.4 MiB)
    chromium-testsuite-dbg_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3_i386.deb (724.3 MiB)
    chromium-testsuite-dbg_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3_lpia.deb (684.3 MiB)
    
    chromium-browser_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3.diff.gz (11.7 KiB)
    chromium-browser_3.0.193.0~svn20090708r20142-0ubuntu1~ucd3.dsc (2.0 KiB)
    chromium-browser_3.0.193.0~svn20090708r20142.orig.tar.gz (114.4 MiB)
  • load time penalty?

ffmpeg-mt

sandboxing

  • (See http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox)

  • DONE using direct patching. This needs to be improved using gyp switches/env.
  • Causes problem with --debug: the main binary has to be go-r, which brings no extra security as the binaries are publicly available (anyone can fetch the .deb and extract it)

plugins

flash

  • starting to work, somehow.
  • need to ship a link in flashplugin-installer (possible in karmic, very unlikely before)

o3d

extensions / addons

  • add the extension flags to the launcher script?
    • --enable-extensions --load-extension="/some/path"
      how to provide both a system path and a user path?
  • package a few extensions
    • most requested are adblock, greasemonkey and noscript
  • themes?

lang packs

  • there are only 4 lang packs shipped in the main package
  • they are hardcoded (see http://is.gd/1slJQ). It doesn't scale.

  • integration with launchpad translations?

dictionaries

  • dicts are downloaded on demand, should use the system dicts instead