gnu: sbcl-cl-webkit: Update to 3.0.0.

* gnu/packages/lisp-xyz.scm (sbcl-cl-webkit): Update to 3.0.0.
This commit is contained in:
Pierre Neidhardt 2021-09-21 09:55:39 +02:00
parent a916d50566
commit 659fb24753
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -3455,29 +3455,43 @@ (define-public ecl-cl-cffi-gtk
(sbcl-package->ecl-package sbcl-cl-cffi-gtk)) (sbcl-package->ecl-package sbcl-cl-cffi-gtk))
(define-public sbcl-cl-webkit (define-public sbcl-cl-webkit
(let ((commit "cfc4f01ee806169d824750b4014653a93af9353d"))
(package (package
(name "sbcl-cl-webkit") (name "sbcl-cl-webkit")
(version (git-version "2.4" "16" commit)) (version "3.0.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/joachifm/cl-webkit") (url "https://github.com/joachifm/cl-webkit")
(commit commit))) (commit version)))
(file-name (git-file-name "cl-webkit" version)) (file-name (git-file-name "cl-webkit" version))
(sha256 (sha256
(base32 (base32
"18n90m33bi6arnjmwr3q3m0arwzr0kdnydlv4if82crvaagd6m89")))) "015xry1cvbgspfzz35ifz2qscz946ljhj2z8rzjscy9v8fgnjsdk"))))
(build-system asdf-build-system/sbcl) (build-system asdf-build-system/sbcl)
(inputs (inputs
`(("cffi" ,sbcl-cffi) `(("cffi" ,sbcl-cffi)
("cl-cffi-gtk" ,sbcl-cl-cffi-gtk) ("cl-cffi-gtk" ,sbcl-cl-cffi-gtk)
("webkitgtk" ,webkitgtk))) ("webkitgtk" ,webkitgtk)))
(native-inputs
`(;; Tests seem to need Xorg.
;; ("xorg-server" ,xorg-server-for-tests)
("calispel" ,sbcl-calispel)
("fiveam" ,sbcl-fiveam)
("float-features" ,sbcl-float-features)))
(arguments (arguments
`(#:asd-systems '("cl-webkit2") `(#:asd-systems '("cl-webkit2")
#:tests? #f ; TODO: Tests hang, why?
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
;; The following phase is needed for tests:
;; (add-before 'check 'start-xorg-server
;; (lambda* (#:key inputs #:allow-other-keys)
;; ;; The test suite requires a running X server.
;; (system (string-append (assoc-ref inputs "xorg-server")
;; "/bin/Xvfb :1 &"))
;; (setenv "DISPLAY" ":1")
;; #t))
(add-after 'unpack 'fix-paths (add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "webkit2/webkit2.init.lisp" (substitute* "webkit2/webkit2.init.lisp"
@ -3491,7 +3505,7 @@ (define-public sbcl-cl-webkit
currently targeting WebKit version 2. The WebKitGTK+ library adds web currently targeting WebKit version 2. The WebKitGTK+ library adds web
browsing capabilities to an application, leveraging the full power of the browsing capabilities to an application, leveraging the full power of the
WebKit browsing engine.") WebKit browsing engine.")
(license license:expat)))) (license license:expat)))
(define-public cl-webkit (define-public cl-webkit
(sbcl-package->cl-source-package sbcl-cl-webkit)) (sbcl-package->cl-source-package sbcl-cl-webkit))