[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: uBlock Origin: Update to 1.38.0.
From: |
guix-commits |
Subject: |
07/07: gnu: uBlock Origin: Update to 1.38.0. |
Date: |
Thu, 23 Sep 2021 06:08:19 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 597f324dcd4251f47b4ab892ca1ec9359d0420e8
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Sep 23 10:52:14 2021 +0200
gnu: uBlock Origin: Update to 1.38.0.
* gnu/packages/browser-extensions.scm (uassets): Remove variable.
(ublock-origin): Update to 1.38.0.
[source]: Specify RECURSIVE? to GIT-FETCH.
[arguments]: Remove phase link-uassets. Add phase do-not-depend-on-git.
Remove trailing #t's.
[native-inputs]: Remove UASSETS.
---
gnu/packages/browser-extensions.scm | 39 +++++++++++++------------------------
1 file changed, 13 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/browser-extensions.scm
b/gnu/packages/browser-extensions.scm
index 9cd0cf9..925bb28 100644
--- a/gnu/packages/browser-extensions.scm
+++ b/gnu/packages/browser-extensions.scm
@@ -48,30 +48,19 @@ supported content to the Kodi media center.")
(define-public play-to-kodi/chromium
(make-chromium-extension play-to-kodi))
-(define uassets
- (let ((commit "54e217d9051831d0d8856286a877962e0f592d45"))
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/uBlockOrigin/uAssets")
- (commit commit)))
- (file-name (git-file-name "uAssets" (string-take commit 9)))
- (sha256
- (base32
- "1xhxadm6qyph6kkq3gxg1rar1psb586mniwp7bkyj5zpzzj31wmj")))))
-
(define ublock-origin
(package
(name "ublock-origin")
- (version "1.37.2")
+ (version "1.38.0")
(home-page "https://github.com/gorhill/uBlock")
(source (origin
(method git-fetch)
- (uri (git-reference (url home-page) (commit version)))
+ (uri (git-reference (url home-page) (commit version)
+ (recursive? #t)))
(file-name (git-file-name name version))
(sha256
(base32
- "1c1dh9kkimvahs9yw1hv67290h8xvmbl10film7g1wamdxydj97y"))))
+ "0zw8ys60x2nszdiad0k1hnhr3ddgh54f07c978l26yvvlqnvmgbh"))))
(build-system gnu-build-system)
(outputs '("xpi" "firefox" "chromium"))
(arguments
@@ -81,18 +70,18 @@ supported content to the Kodi media center.")
(modify-phases (map (lambda (phase)
(assq phase %standard-phases))
'(set-paths unpack patch-source-shebangs))
- (add-after 'unpack 'link-uassets
- (lambda* (#:key native-inputs inputs #:allow-other-keys)
- (symlink (string-append (assoc-ref (or native-inputs inputs)
- "uassets"))
- "../uAssets")
- #t))
+ (add-after 'unpack 'do-not-depend-on-git
+ (lambda _
+ ;; The script attempts to checkout the uAssets submodule,
+ ;; but we already did so with git-fetch.
+ (substitute* "tools/make-assets.sh"
+ (("^git submodule update.*")
+ ""))))
(add-after 'unpack 'make-files-writable
(lambda _
;; The build system copies some files and later tries
;; modifying them.
- (for-each make-file-writable (find-files "."))
- #t))
+ (for-each make-file-writable (find-files "."))))
(add-after 'patch-source-shebangs 'build-xpi
(lambda _
(invoke "./tools/make-firefox.sh" "all")))
@@ -107,11 +96,9 @@ supported content to the Kodi media center.")
(install-file "dist/build/uBlock0.firefox.xpi"
(string-append xpi "/lib/mozilla/extensions"))
(copy-recursively "dist/build/uBlock0.firefox" firefox)
- (copy-recursively "dist/build/uBlock0.chromium" chromium)
- #t))))))
+ (copy-recursively "dist/build/uBlock0.chromium" chromium)))))))
(native-inputs
`(("python" ,python-wrapper)
- ("uassets" ,uassets)
("zip" ,zip)))
(synopsis "Block unwanted content from web sites")
(description
- branch master updated (c3236c2 -> 597f324), guix-commits, 2021/09/23
- 01/07: gnu: u-boot-tools: Install the 'kwboot' executable., guix-commits, 2021/09/23
- 05/07: gnu: lldb: Update to 12.0.1., guix-commits, 2021/09/23
- 02/07: gnu: LLVM, Clang: Update to 12.0.1., guix-commits, 2021/09/23
- 04/07: gnu: lld: Update to 12.0.1., guix-commits, 2021/09/23
- 03/07: gnu: Add libunwind-headers., guix-commits, 2021/09/23
- 07/07: gnu: uBlock Origin: Update to 1.38.0.,
guix-commits <=
- 06/07: gnu: ungoogled-chromium: Update to 93.0.4577.82-0.3f62dbc., guix-commits, 2021/09/23