From f00f6915061e71d4e4056a8a1ebc334ef17fb627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Batista?= Date: Fri, 11 Jul 2025 16:50:45 -0300 Subject: [PATCH] gnu: keepassxc-browser: Update to 1.9.9.1. The default manifest.json file targets chromium based browsers and does not work on firefox based ones on account of them lacking support for background.service_worker. See: * gnu/packages/browser-extensions.scm (keepassxc-browser): Update to 1.9.9.1. [source] : Use 'manifest_firefox.json' instead of the default one which targets chromium based browsers. Change-Id: Iedb9e7943ad6a359402476c7a93e094b62e2b4be Signed-off-by: Hilton Chain --- gnu/packages/browser-extensions.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/browser-extensions.scm b/gnu/packages/browser-extensions.scm index c9d9bb48f70..53672ed0343 100644 --- a/gnu/packages/browser-extensions.scm +++ b/gnu/packages/browser-extensions.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2023 Nicolas Graves ;;; Copyright © 2023, 2024 Clément Lassieur ;;; Copyright © 2025 Robin Templeton +;;; Copyright © 2025 André Batista ;;; ;;; This file is part of GNU Guix. ;;; @@ -262,7 +263,7 @@ fill and submit login forms if a matching password entry is found.") (define keepassxc-browser (package (name "keepassxc-browser") - (version "1.8.10") + (version "1.9.9.1") (source (origin (method git-fetch) (uri (git-reference @@ -272,7 +273,15 @@ fill and submit login forms if a matching password entry is found.") (file-name (git-file-name name version)) (sha256 (base32 - "1059kcb95ig18izbchwlb7pz41l4l3vjwzlmhz3w8zw2qxm6hrvx")))) + "12m7j7gz5gdhlv3paj9mmv9nb94cf80lridipmbdvk9shr43d0ag")) + ;; Default 'manifest.json' targets chromium based browsers and + ;; depends on background.service_worker support. + ;; See: + (snippet + #~(begin + (delete-file "keepassxc-browser/manifest.json") + (copy-file "dist/manifest_firefox.json" + "keepassxc-browser/manifest.json"))))) (build-system copy-build-system) (properties '((addon-id . "keepassxc-browser@keepassxc.org")))