[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: ungoogled-chromium: Remove all Blink performance tests.
From: |
guix-commits |
Subject: |
06/06: gnu: ungoogled-chromium: Remove all Blink performance tests. |
Date: |
Thu, 25 Jun 2020 19:57:09 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit e6db8912fdec8b33e39c03b5e3b3268df12648ab
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Jun 25 14:23:59 2020 +0200
gnu: ungoogled-chromium: Remove all Blink performance tests.
* gnu/packages/chromium.scm (%blacklisted-files): New variable.
(ungoogled-chromium-snippet): Adjust accordingly.
---
gnu/packages/chromium.scm | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index a0ba5ac..ac45bef 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -248,6 +248,12 @@
"v8/third_party/inspector_protocol" ;BSD-3
"v8/third_party/v8/builtins")) ;PSFL
+(define %blacklisted-files
+ ;; 'third_party/blink/perf_tests/resources/svg/HarveyRayner.svg' carries a
+ ;; nonfree license according to LICENSES in the same directory. As we don't
+ ;; run the Blink performance tests, just remove everything to save ~24MiB.
+ '("third_party/blink/perf_tests"))
+
(define %chromium-version "83.0.4103.116")
(define %ungoogled-revision "f08ce8b3f1300ef0750b5d6bf967b9cbbfd9a56d")
(define %debian-revision "debian/81.0.4044.92-1")
@@ -340,13 +346,6 @@
"PATH" '("bin")
(list #+patch #+python-wrapper #+xz))
- (format #t "Removing non-free file...~%")
- (force-output)
- ;; This file has a CC-BY-NC clause according to LICENSES from
- ;; the same directory, making it non-free.
- (delete-file
- "third_party/blink/perf_tests/svg/resources/HarveyRayner.svg")
-
;; Apply patches before running the ungoogled scripts because
;; domain substitution may break some of the patches.
(format #t "Applying assorted build fixes...~%")
@@ -374,6 +373,12 @@
"domain_regex.list" "-f" "domain_substitution.list"
"-c" "/tmp/domainscache.tar.gz" chromium-dir))
+ ;; Run after the ungoogled scripts to avoid interfering with
+ ;; patches or file lists.
+ (format #t "Removing blacklisted files...~%")
+ (force-output)
+ (for-each delete-file-recursively '#$%blacklisted-files)
+
(format #t "Pruning third party files...~%")
(force-output)
(apply invoke (string-append #+python-2 "/bin/python")
- branch master updated (5f46594 -> e6db891), guix-commits, 2020/06/25
- 01/06: gnu: Add clitest., guix-commits, 2020/06/25
- 02/06: gnu: xf86-video-intel: Update to 2.99.917-16.5ca3ac1., guix-commits, 2020/06/25
- 05/06: gnu: ungoogled-chromium: Convert computed origin to source snippet., guix-commits, 2020/06/25
- 03/06: gnu: debootstrap: Wrap with gpg and wget in PATH., guix-commits, 2020/06/25
- 04/06: gnu: openvswitch: Update to 2.13.0., guix-commits, 2020/06/25
- 06/06: gnu: ungoogled-chromium: Remove all Blink performance tests.,
guix-commits <=