gnu: ungoogled-chromium: Remove non-free file.
authorMarius Bakke <marius@gnu.org>
Sat, 6 Jun 2020 14:01:08 +0000 (16:01 +0200)
committerMarius Bakke <marius@gnu.org>
Mon, 22 Jun 2020 15:16:39 +0000 (17:16 +0200)
* gnu/packages/chromium.scm (ungoogled-chromium-source): Remove (unused) SVG
file that is licensed under a NoDerivatives license.

gnu/packages/chromium.scm

index d43e535..8fdaeed 100644 (file)
@@ -330,6 +330,15 @@ from forcing GEXP-PROMISE."
                    (force-output)
                    (invoke "tar" "xf" #+chromium-source)
 
+                   (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
+                    (string-append
+                     chromium-dir
+                     "/third_party/blink/perf_tests/svg/resources/HarveyRayner.svg"))
+
                    ;; Ungoogled-Chromium contains a forked subset of the Debian
                    ;; patches.  Disable those, as we apply newer versions later.
                    (substitute* "patches/series"