gnu: icecat: Add WebAuthn support.

* gnu/packages/gnuzilla.scm (icecat)[inputs]: Add eudev.
[phases]: Add eudev to the wrapper.
This commit is contained in:
Brice Waegeneire 2021-06-12 22:39:20 +02:00
parent ccbeb7ef0e
commit bccfcef473
No known key found for this signature in database
GPG key ID: A94903A166A18FAE

View file

@ -15,6 +15,7 @@
;;; Copyright © 2019, 2020 Adrian Malacoda <malacoda@monarch-pass.net> ;;; Copyright © 2019, 2020 Adrian Malacoda <malacoda@monarch-pass.net>
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de> ;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2020 Marius Bakke <marius@gnu.org> ;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -910,6 +911,7 @@ (define-public icecat
;; UNBUNDLE-ME! ("nss" ,nss) ;; UNBUNDLE-ME! ("nss" ,nss)
("shared-mime-info" ,shared-mime-info) ("shared-mime-info" ,shared-mime-info)
;; UNBUNDLE-ME! ("sqlite" ,sqlite) ;; UNBUNDLE-ME! ("sqlite" ,sqlite)
("eudev" ,eudev)
("unzip" ,unzip) ("unzip" ,unzip)
("zip" ,zip) ("zip" ,zip)
;; UNBUNDLE-ME! ("zlib" ,zlib) ;; UNBUNDLE-ME! ("zlib" ,zlib)
@ -1271,24 +1273,21 @@ (define-public icecat
(lib (string-append out "/lib")) (lib (string-append out "/lib"))
(gtk (assoc-ref inputs "gtk+")) (gtk (assoc-ref inputs "gtk+"))
(gtk-share (string-append gtk "/share")) (gtk-share (string-append gtk "/share"))
(mesa (assoc-ref inputs "mesa")) (ld-libs (map (lambda (lib)
(mesa-lib (string-append mesa "/lib")) (string-append (assoc-ref inputs lib)
(pulseaudio (assoc-ref inputs "pulseaudio")) "/lib"))
(pulseaudio-lib (string-append pulseaudio "/lib")) '("libxscrnsaver"
(libxscrnsaver (assoc-ref inputs "libxscrnsaver")) "mesa"
(libxscrnsaver-lib (string-append libxscrnsaver "/lib")) "mit-krb5"
(mit-krb5 (assoc-ref inputs "mit-krb5")) "eudev"
(mit-krb5-lib (string-append mit-krb5 "/lib"))) "pulseaudio"))))
(wrap-program (car (find-files lib "^icecat$")) (wrap-program (car (find-files lib "^icecat$"))
`("XDG_DATA_DIRS" prefix (,gtk-share)) `("XDG_DATA_DIRS" prefix (,gtk-share))
;; The following line is commented out because the icecat ;; The following line is commented out because the icecat
;; package on guix has been observed to be unstable when ;; package on guix has been observed to be unstable when
;; using wayland, and the bundled extensions stop working. ;; using wayland, and the bundled extensions stop working.
;; `("MOZ_ENABLE_WAYLAND" = ("1")) ;; `("MOZ_ENABLE_WAYLAND" = ("1"))
`("LD_LIBRARY_PATH" prefix (,pulseaudio-lib `("LD_LIBRARY_PATH" prefix ,ld-libs))
,mesa-lib
,libxscrnsaver-lib
,mit-krb5-lib)))
#t)))))) #t))))))
(home-page "https://www.gnu.org/software/gnuzilla/") (home-page "https://www.gnu.org/software/gnuzilla/")
(synopsis "Entirely free browser derived from Mozilla Firefox") (synopsis "Entirely free browser derived from Mozilla Firefox")