summaryrefslogtreecommitdiff
path: root/gnu/packages/webkit.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/webkit.scm')
-rw-r--r--gnu/packages/webkit.scm36
1 files changed, 17 insertions, 19 deletions
diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index 0c82435cdea..95dac20b81b 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -126,14 +126,14 @@ engine that uses Wayland for graphics output.")
126 126
127(define-public webkitgtk 127(define-public webkitgtk
128 (package 128 (package
129 (name "webkitgtk") ; webkit2gtk4 129 (name "webkitgtk")
130 (version "2.40.5") 130 (version "2.42.3")
131 (source (origin 131 (source (origin
132 (method url-fetch) 132 (method url-fetch)
133 (uri (string-append "https://www.webkitgtk.org/releases/" 133 (uri (string-append "https://www.webkitgtk.org/releases/"
134 name "-" version ".tar.xz")) 134 name "-" version ".tar.xz"))
135 (sha256 135 (sha256
136 (base32 "0zq32rn34v7hzr53s100r77aglbi6wffp9b13bcj31k6cfi53q3x")) 136 (base32 "1qnq2f6chsfns1psrqbbsqhgyb458zf75nlmzskb6a2n0hq4c6ha"))
137 (patches (search-patches 137 (patches (search-patches
138 "webkitgtk-adjust-bubblewrap-paths.patch")))) 138 "webkitgtk-adjust-bubblewrap-paths.patch"))))
139 (build-system cmake-build-system) 139 (build-system cmake-build-system)
@@ -149,10 +149,8 @@ engine that uses Wayland for graphics output.")
149 #:build-type "Release" 149 #:build-type "Release"
150 #:configure-flags 150 #:configure-flags
151 #~(list "-DPORT=GTK" 151 #~(list "-DPORT=GTK"
152 ;; GTKDOC will be removed upstream soon in favor of 152 "-DENABLE_INTROSPECTION=ON"
153 ;; gi-docgen; it is normally disabled because the 153 "-DUSE_GTK4=ON"
154 ;; doc is rather expensive to build.
155 "-DENABLE_GTKDOC=ON"
156 ;; The minibrowser, not built by default, is a good 154 ;; The minibrowser, not built by default, is a good
157 ;; tool to validate the good operation of 155 ;; tool to validate the good operation of
158 ;; webkitgtk. 156 ;; webkitgtk.
@@ -232,7 +230,7 @@ engine that uses Wayland for graphics output.")
232 ruby-2.7 230 ruby-2.7
233 unifdef)) 231 unifdef))
234 (propagated-inputs 232 (propagated-inputs
235 (list gtk+ libsoup)) 233 (list gtk libsoup))
236 (inputs 234 (inputs
237 (list at-spi2-core 235 (list at-spi2-core
238 bubblewrap 236 bubblewrap
@@ -249,8 +247,8 @@ engine that uses Wayland for graphics output.")
249 libgcrypt 247 libgcrypt
250 libgudev 248 libgudev
251 libjpeg-turbo 249 libjpeg-turbo
250 libjxl
252 libmanette 251 libmanette
253 libnotify
254 libpng 252 libpng
255 libseccomp 253 libseccomp
256 libsecret 254 libsecret
@@ -283,34 +281,34 @@ propagated by default) such as @code{gst-plugins-good} and
283 license:bsd-2 281 license:bsd-2
284 license:bsd-3)))) 282 license:bsd-3))))
285 283
286(define-public webkitgtk-next 284(define-public webkitgtk-for-gtk3
287 (package 285 (package
288 (inherit webkitgtk) 286 (inherit webkitgtk)
289 (name "webkitgtk-next") ; webkit2gtk5 287 (name "webkitgtk-for-gtk3")
290 (arguments 288 (arguments
291 (substitute-keyword-arguments (package-arguments webkitgtk) 289 (substitute-keyword-arguments (package-arguments webkitgtk)
292 ((#:configure-flags flags) 290 ((#:configure-flags flags)
293 #~(cons* "-DENABLE_INTROSPECTION=ON" 291 #~(cons* "-DENABLE_GTKDOC=ON"
294 "-DUSE_GTK4=ON" 292 (delete "-DENABLE_INTROSPECTION=ON"
295 (delete "-DENABLE_GTKDOC=ON" #$flags))))) 293 (delete "-DUSE_GTK4=ON" #$flags))))))
296 (propagated-inputs 294 (propagated-inputs
297 (modify-inputs (package-propagated-inputs webkitgtk) 295 (modify-inputs (package-propagated-inputs webkitgtk)
298 (replace "gtk+" gtk))) 296 (replace "gtk" gtk+)))
299 (inputs 297 (inputs
300 (modify-inputs (package-inputs webkitgtk) 298 (modify-inputs (package-inputs webkitgtk)
301 (delete "libnotify"))))) 299 (prepend libnotify)))))
302 300
303;;; Required by e.g. emacs-next-pgtk, emacs-xwidgets, and some other GNOME 301;;; Required by e.g. emacs-next-pgtk, emacs-xwidgets, and some other GNOME
304;;; packages for webkit2gtk-4.0. See also the upstream tracker for libsoup 3: 302;;; packages for webkit2gtk-4.0. See also the upstream tracker for libsoup 3:
305;;; https://gitlab.gnome.org/GNOME/libsoup/-/issues/218. 303;;; https://gitlab.gnome.org/GNOME/libsoup/-/issues/218.
306(define-public webkitgtk-with-libsoup2 304(define-public webkitgtk-with-libsoup2
307 (package/inherit webkitgtk 305 (package/inherit webkitgtk-for-gtk3
308 (name "webkitgtk-with-libsoup2") 306 (name "webkitgtk-with-libsoup2")
309 (arguments (substitute-keyword-arguments (package-arguments webkitgtk) 307 (arguments (substitute-keyword-arguments (package-arguments webkitgtk-for-gtk3)
310 ((#:configure-flags flags) 308 ((#:configure-flags flags)
311 #~(cons "-DUSE_SOUP2=ON" #$flags)))) 309 #~(cons "-DUSE_SOUP2=ON" #$flags))))
312 (propagated-inputs 310 (propagated-inputs
313 (modify-inputs (package-propagated-inputs webkitgtk) 311 (modify-inputs (package-propagated-inputs webkitgtk-for-gtk3)
314 (replace "libsoup" libsoup-minimal-2))))) 312 (replace "libsoup" libsoup-minimal-2)))))
315 313
316(define-public wpewebkit 314(define-public wpewebkit