diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2024-01-11 15:53:58 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2024-01-19 22:57:35 -0500 |
commit | 4de25e64b216ffcd98af8a37e04f31c34efddffe (patch) | |
tree | ea05fa608c041e7a384d291caec809e2b64f5558 /libre/iceweasel | |
parent | 785a340a61717b199427657446830ee4fe2c9a3b (diff) |
iceweasel: reduce logging noise
Diffstat (limited to 'libre/iceweasel')
-rw-r--r-- | libre/iceweasel/PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD index f01bb321f..caea6a6a0 100644 --- a/libre/iceweasel/PKGBUILD +++ b/libre/iceweasel/PKGBUILD @@ -358,7 +358,8 @@ prepare() { # Use system python-typing-extensions instead of the old vendored one to avoid # unresolvable dependency versions. They are probably downloaded when network # connectivity is enabled at built time, but that is not the case for Parabola. - rm -rfv third_party/python/typing_extensions + echo "deleting vendored 'python-typing-extensions'" + rm -rfv third_party/python/typing_extensions | grep -Fq '' # arch-specific technical patching case ${CARCH} in @@ -607,10 +608,11 @@ END # "${branding_srcdir}/branding/watermark.svg" # process default Top Sites and their icons - find ${tippytopdir} -type f \ + echo "deleting unused \"Top Sites\"" + find "${tippytopdir}" -type f \ -not -name 'wikipedia-org*' \ -not -name 'top_sites.json' \ - -exec rm -v {} \; + -exec rm -v {} \; | grep -Fq '' [[ "${CARCH}" != armv7h ]] || export MAGICK_TIME_LIMIT=300 # magick: time limit exceeded for image in "${branding_srcdir}"/tippytop/*.svg; do local outname=$(basename -s .svg "${image}") @@ -636,10 +638,11 @@ END pushd browser/components/search/extensions > /dev/null # Delete unused search engine configs + echo "deleting unused search engine configs" find -mindepth 1 -maxdepth 1 \ -not -name ddg \ -not -name wikipedia \ - -exec rm -frv {} \; + -exec rm -frv {} \; | grep -Fq '' popd > /dev/null @@ -649,7 +652,7 @@ END # Upstream tarball can contain some ignored cruft, # including binaries (for example, python3). echo 'Removing files specified in .gitignore...' - git init && git clean -dfX \ + git init -b master && git clean -dfX \ --exclude='!ipc/chromium/src/third_party/libevent/evconfig-private.h' \ --exclude='!toolkit/crashreporter/google-breakpad/src/third_party/lss/' \ --exclude='!third_party/python/**/*.egg-info/' @@ -689,7 +692,8 @@ END echo "removing remaining non-free bits" rm -v toolkit/crashreporter/tools/upload_symbols.py - rm -frv third_party/rust/winapi-{i686,x86_64}-pc-windows-gnu/**/*.a + rm -frv third_party/rust/winapi-{i686,x86_64}-pc-windows-gnu/**/*.a | \ + sed 's|/[^/]*\.a$|/*.a|' | sort -u ## patching sanity checks ## _check_patching |