Packaging

Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2009-07-09 17:01:38
Size: 3811
Editor: APuteaux-154-1-93-93
Comment:
Revision 10 as of 2009-08-22 01:18:50
Size: 3570
Editor: APuteaux-154-1-93-222
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Chromium Packaging =
Line 5: Line 3:
For build instruction, see https://wiki.ubuntu.com/Chromium/Build For build instructions, see https://wiki.ubuntu.com/Chromium/Build
Line 11: Line 9:
=== debian/copyright ===

   * src tarball needs a full review
   * debian/licensecheck.pl is an attempt to simplify the task
Line 12: Line 15:
   * contributed pre-gyp patch lost, needs to be redone with gyp :P    * DONE: zlib (still need in-source for contrib/minizip/*), bzip2, libxml2, libxslt, libjpeg, libpng, libsqlite3
   * unpatched: libevent, pcre
   * patched: icu, hunspell(?), lzma_sdk(?), ffmpeg (multi-threaded)
   * other: v8, webkit, skia, gtest, libtest, gmock, googleurl, modp_b64
Line 14: Line 20:
   * 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)
   See http://code.google.com/p/chromium/wiki/LinuxPackaging
Line 50: Line 54:
=== vendor ID in User Agent ===

   * See http://code.google.com/p/chromium/issues/detail?id=17095
     => rejected by upstream

=== make inspector optional ===

   * DONE as chromium-browser-inspector
Line 53: Line 66:
   * DONE as an in-source lib using flags from http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/ffmpeg/README.chromium (should probably be a system-lib)

   * Provides ogg/vorbis/theora, but no mp4/h264.
   * Some issues with sound blocking the tab / whole browser
   * DONE as chromium-codecs-ffmpeg(-nonfree)
Line 59: Line 69:
   (See http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox)
Line 61: Line 70:
   * 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)
   * DONE: suid sandbox
   * seccomp sandbox
Line 66: Line 74:

   * DONE: Possible by adding {{{--enable-plugins}}} to either:
     * the command line
     * CHROMIUM_USER_FLAGS in the user environment
     * CHROMIUM_FLAGS in /etc/chromium-browser/default
Line 71: Line 84:
   * need to ship a link in flashplugin-installer (possible in karmic, very unlikely before) ==== o3d ====
Line 73: Line 86:
==== o3d ====
Line 93: Line 105:
   * 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?

   * DONE as chromium-browser-l10n

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

For build instructions, 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

debian/copyright

  • src tarball needs a full review
  • debian/licensecheck.pl is an attempt to simplify the task

system libs

  • DONE: zlib (still need in-source for contrib/minizip/*), bzip2, libxml2, libxslt, libjpeg, libpng, libsqlite3
  • unpatched: libevent, pcre
  • patched: icu, hunspell(?), lzma_sdk(?), ffmpeg (multi-threaded)
  • other: v8, webkit, skia, gtest, libtest, gmock, googleurl, modp_b64

    See http://code.google.com/p/chromium/wiki/LinuxPackaging

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?

vendor ID in User Agent

make inspector optional

  • DONE as chromium-browser-inspector

ffmpeg-mt

  • (for the HTML5 audio/video tags)
  • DONE as chromium-codecs-ffmpeg(-nonfree)

sandboxing

  • DONE: suid sandbox
  • seccomp sandbox

plugins

  • DONE: Possible by adding --enable-plugins to either:

    • the command line
    • CHROMIUM_USER_FLAGS in the user environment
    • CHROMIUM_FLAGS in /etc/chromium-browser/default

flash

  • starting to work, somehow.

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

  • DONE as chromium-browser-l10n

dictionaries

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

Chromium/Packaging (last edited 2009-08-22 01:18:50 by APuteaux-154-1-93-222)