Comment #5 on issue 17586 by pierre.schmitz: Generate a source tarball with
each release
http://code.google.com/p/chromium/issues/detail?id=17586
export_tarball.py did not really work for me. I have written the following
Bash script to create a complete tarball
of a defined version ($pkgver):
# see
http://src.chromium.org/svn/trunk/src/tools/export_tarball/export_tarball.py
local _nonessential_dirs=(
'src/chrome/test/data'
'src/chrome/tools/test/reference_build'
'src/gears/binaries'
'src/net/data/cache_tests'
'src/o3d/documentation'
'src/o3d/samples'
'src/third_party/lighttpd'
'src/third_party/WebKit/LayoutTests'
'src/webkit/data/layout_tests'
'src/webkit/tools/test/reference_build'
)
local _current=$(pwd)
local _tmp=$(mktemp -d)
mkdir -p $_tmp/chromium-$pkgver
cd $_tmp/chromium-$pkgver
svn co http://src.chromium.org/svn/trunk/tools/depot_tools/
depot_tools
export PATH=./depot_tools/:$PATH
gclient config http://src.chromium.org/svn/releases/$pkgver
sed -e '15i\ "src/third_party/WebKit/LayoutTests": None,' \
-e '15i\ "src/chrome/tools/test/reference_build": None,' \
-e '15i\ "src/third_party/ffmpeg/binaries/chromium/linux/ia32": None,'
\
-e '15i\ "src/third_party/ffmpeg/binaries/chromium/linux/ia32_dbg":
None,' \
-e '15i\ "src/third_party/ffmpeg/binaries/chromium/linux/x64": None,' \
-e '15i\ "src/third_party/ffmpeg/binaries/chromium/linux/x64_dbg":
None,' \
-i .gclient
gclient sync --force --nohooks
svnversion src > src/build/LASTCHANGE.in
for i in ${_nonessential_di...@]}; do
rm -rf $i
done
find . -name '.svn' -type d -exec rm -rf {} \;
find . -iname '*.dll' -delete
find . -iname '*.exe' -delete
find . -iname '*.o' -delete
find . -iname '*.nexe' -delete
cd ..
bsdtar cvJf $_current/chromium-$pkgver.tar.xz chromium-$pkgver
cd $_current
rm -rf $_tmp
You can build chromium from the resulting tar like this:
export PATH=./depot_tools/:$PATH
gclient runhooks --force
cd src
make chrome chrome_sandbox
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs