Thought it might be useful to report briefly on installation of chromium on LFS.
Downloading the source using git took 64 mins. Syncing using gclient sync took only 6 mins, so I guess the sources were up-to-date. To create the make files I did: ./build/gyp_chromium -Ddisable_nacl=1 -Dgoogle_api_key='AIzaSyAfq7sgJqcCMOCxGuXz8c0yaxG64hx7TJw' -Dgoogle_default_client_id='1000770356257.apps.googleusercontent.com' -Dgoogle_default_client_secret='PXj7rSdw9-vdpy1vgs4kitYS' -Dwerror= -Dremove_webcore_debug_symbols=1 -Dlinux_sandbox_path=/usr/lib/chromium/chrome-sandbox I don't think the API keys are strictly necessary but I wanted to play with them to see how easy it was to include them. -Dwerror= was essential because make will stop at any warnings. I had to do: export CXXFLAGS="-fpermissive" before make. This was because it stopped at an -fpermissive warning. I then did: make BUILDTYPE=Release chrome -j8 and then: make BUILDTYPE=Release chrome_sandbox -j8 The chrome make took 73 mins and the sandbox make about 3 mins. The chrome binary is 120941096 bytes! I copied the files from out/Release to /usr/lib/chromium. Changed chrome_sandbox to chrome-sandbox and made it setuid root. Set up a tiny script - /usr/bin/chromium to allow passing parameters to chrome and exec the binary. Created a /usr/share/applications desktop file to run the script. That's it. There are a load of files that I copied to /usr/lib/chromium that I've no idea what they do. FWIW here's a list: -rw-rw-r-- 1 chromium chromium 980676 Dec 18 12:31 chrome_100_percent.pak -rw-rw-r-- 1 chromium chromium 4553720 Dec 18 12:31 chrome.pak -rw-rw-r-- 1 chromium chromium 1445 Dec 18 12:31 chrome_remote_desktop.pak -rwsr-xr-x 1 root chromium 24280 Dec 18 12:31 chrome-sandbox -rwxrwxr-x 1 chromium chromium 5087 Dec 18 12:31 chrome-wrapper -rwxrwxr-x 1 chromium chromium 120941096 Dec 18 12:31 chromium -rw-rw-r-- 1 chromium chromium 37543 Dec 18 12:31 content_resources.pak -rwxrwxr-x 1 chromium chromium 12448 Dec 18 12:31 genmacro -rwxrwxr-x 1 chromium chromium 12664 Dec 18 12:31 genmodule -rwxrwxr-x 1 chromium chromium 32640 Dec 18 12:31 genperf -rwxrwxr-x 1 chromium chromium 8240 Dec 18 12:31 genstring -rwxrwxr-x 1 chromium chromium 8280 Dec 18 12:31 genversion -rwxrwxr-x 1 chromium chromium 1956776 Dec 18 12:31 libffmpegsumo.so -rwxrwxr-x 1 chromium chromium 13384 Dec 18 12:31 libvpx_obj_int_extract -rw-rw-r-- 1 chromium chromium 0 Dec 18 12:31 linker.lock drwxrwxr-x 2 chromium chromium 4096 Dec 18 12:31 locales -rwxrwxr-x 1 chromium chromium 4916016 Dec 18 12:31 mksnapshot -rwxrwxr-x 1 chromium chromium 1315856 Dec 18 12:31 protoc -rwxrwxr-x 1 chromium chromium 49376 Dec 18 12:31 re2c drwxrwxr-x 2 chromium chromium 4096 Dec 18 12:31 remoting_locales -rw-rw-r-- 1 chromium chromium 4991663 Dec 18 12:31 resources.pak -rwxrwxr-x 1 chromium chromium 37394 Dec 18 12:31 xdg-mime -rwxrwxr-x 1 chromium chromium 33273 Dec 18 12:31 xdg-settings -rwxrwxr-x 1 chromium chromium 733368 Dec 18 12:31 yasm I'll start deleting some of them (the gen* stuff for e.g.) and see what happens. jb. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
