[packages/chromium-browser/DEVEL] clean documentation
glen
glen at pld-linux.org
Fri Jan 4 22:45:03 CET 2013
commit 07b01cb727e35cc6b05298b9265e19e8282a885b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Jan 4 15:51:46 2013 +0200
clean documentation
chromium-browser.spec | 4 ++--
clean-source.sh | 23 ++++++++++++++++++++++-
get-source.sh | 4 ++++
3 files changed, 28 insertions(+), 3 deletions(-)
---
diff --git a/chromium-browser.spec b/chromium-browser.spec
index f4b4bc5..8439ff2 100644
--- a/chromium-browser.spec
+++ b/chromium-browser.spec
@@ -54,7 +54,7 @@
# - mute BEEP mixer if you do not want to hear horrible system bell when
# pressing home/end in url bar or more ^F search results on page.
# - space considerations:
-# - unpacked sources: ~668MiB
+# - unpacked sources: ~654MiB
# - built code: ~1.4GiB (x86_64/i686)
# - http://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites
# - to look for new tarball, use update-source.sh script
@@ -68,7 +68,7 @@
Summary: A WebKit powered web browser
Name: chromium-browser
Version: 24.0.1312.45
-Release: 0.15
+Release: 0.18
License: BSD, LGPL v2+ (ffmpeg)
Group: X11/Applications/Networking
Source0: http://carme.pld-linux.org/~glen/chromium-browser/src/beta/%{name}-%{version}.tar.gz
diff --git a/clean-source.sh b/clean-source.sh
index e701476..93d093a 100755
--- a/clean-source.sh
+++ b/clean-source.sh
@@ -11,12 +11,33 @@ eval "$@"
# initial list from src/tools/export_tarball/export_tarball.py
# also removed non-linux files: find -name win -o -name mac -o name android
# find -type d -name 'android' -o -name 'chromeos' -o -name 'cros'
+# find -type d -name *doc*
+
# suffix with _ those that we can't remove (just yet) because of the gclient
# hooks (see build/all.gyp) or of some unneeded deps/includes
remove_nonessential_dirs() {
local dir
for dir in \
+ native_client/documentation \
+ third_party/webdriver/pylib/docs \
+ third_party/mesa/MesaLib/src/gallium/docs \
+ third_party/mesa/MesaLib/docs \
+ third_party/tcmalloc/vendor/doc \
+ third_party/leveldatabase/src/doc \
+ third_party/re2/doc \
+ third_party/WebKit/Source/WebKit/qt/docs \
+ third_party/WebKit/Source/WebKit/gtk/docs \
+ third_party/WebKit/Source/JavaScriptCore/docs \
+ third_party/ffmpeg/doc \
+ third_party/hyphen/doc \
+ third_party/sqlite/src/doc \
+ ppapi/c/documentation \
+ ppapi/cpp/documentation \
+ gpu/command_buffer/docs \
+ chrome/browser/extensions/docs \
+ \
android_webview \
+ third_party/mesa/MesaLib/docs \
ash/resources/default_100_percent/cros_ \
ash/resources/default_200_percent/cros_ \
ash/system/chromeos \
@@ -658,4 +679,4 @@ if [ "${nacl:-1}" != "0" ]; then
fi
# cleanup empty dirs
-find -type d -print0 | sort -zr | xargs -0 rmdir -v 2>/dev/null | tee -a REMOVED-dirs.txt
+find -type d -print0 | sort -zr | xargs -0 rmdir -v --ignore-fail-on-non-empty | tee -a REMOVED-dirs.txt
diff --git a/get-source.sh b/get-source.sh
index ee94ca3..740aae8 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -72,6 +72,10 @@ else
fi
sh -x $WORK_DIR/clean-source.sh v8=$v8
+
+# do not keep REMOVED*.txt in tarball. they are visible in .log anyway
+rm -vf REMOVED-*.txt
+
du -sh .
# add LASTCHANGE info, take "branch_revision" item
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/4884fc995902450f6cd5512b71e22d5566e4448d
More information about the pld-cvs-commit
mailing list