[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
130/217: gnu: webkitgtk: Use libsoup 3 and build with GCC.
From: |
guix-commits |
Subject: |
130/217: gnu: webkitgtk: Use libsoup 3 and build with GCC. |
Date: |
Sun, 14 Nov 2021 19:21:02 -0500 (EST) |
vagrantc pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 2ff4344019991170a5a56a28cce3d42b76c2fd95
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Oct 16 02:26:49 2021 -0400
gnu: webkitgtk: Use libsoup 3 and build with GCC.
Clang is not needed when building with libsoup 3.
* gnu/packages/webkit.scm (webkitgtk): Delete trailing #t.
[configure-flags]: Remove -DUSE_SOUP2.
[phases]{prepare-build-environment}: Remove phase.
[native-inputs]: Remove clang.
---
gnu/packages/webkit.scm | 24 +++++-------------------
1 file changed, 5 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index e54b680..8866ca3 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -253,10 +253,6 @@ acceleration in mind, leveraging common 3D graphics APIs
for best performance.")
(string-append ; uses lib64 by default
"-DLIB_INSTALL_DIR="
(assoc-ref %outputs "out") "/lib")
-
- ;; XXX TODO: Use libsoup@3.
- "-DUSE_SOUP2=ON"
-
;; XXX Adding GStreamer GL support would apparently
;; require adding gst-plugins-bad to the inputs,
;; which might entail a security risk as a result of
@@ -277,8 +273,7 @@ acceleration in mind, leveraging common 3D graphics APIs
for best performance.")
(let ((store-directory (%store-directory)))
(substitute*
"Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp"
- (("@storedir@") store-directory))
- #t)))
+ (("@storedir@") store-directory)))))
(add-after 'unpack 'patch-gtk-doc-scan
(lambda* (#:key inputs #:allow-other-keys)
(for-each (lambda (file)
@@ -286,31 +281,22 @@ acceleration in mind, leveraging common 3D graphics APIs
for best performance.")
(("http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd")
(string-append (assoc-ref inputs "docbook-xml")
"/xml/dtd/docbook/docbookx.dtd"))))
- (find-files "Source" "\\.sgml$"))
- #t))
+ (find-files "Source" "\\.sgml$"))))
(add-after 'unpack 'embed-absolute-wpebackend-reference
(lambda* (#:key inputs #:allow-other-keys)
(let ((wpebackend-fdo (assoc-ref inputs "wpebackend-fdo")))
(substitute*
"Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp"
(("libWPEBackend-fdo-([\\.0-9]+)\\.so" all version)
- (string-append wpebackend-fdo "/lib/" all)))
- #t)))
- (add-before 'configure 'prepare-build-environment
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "CC" "clang")
- (setenv "CXX" "clang++")
- #t))
+ (string-append wpebackend-fdo "/lib/" all))))))
(add-after 'install 'move-doc-files
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(doc (assoc-ref outputs "doc")))
(mkdir-p (string-append doc "/share"))
(rename-file (string-append out "/share/gtk-doc")
- (string-append doc "/share/gtk-doc"))
- #t))))))
+ (string-append doc "/share/gtk-doc"))))))))
(native-inputs
- `(("clang" ,clang-11)
- ("bison" ,bison)
+ `(("bison" ,bison)
("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
("gobject-introspection" ,gobject-introspection)
- 93/217: gnu: Build all Rust packages using the latest rustc., (continued)
- 93/217: gnu: Build all Rust packages using the latest rustc., guix-commits, 2021/11/14
- 98/217: gnu: Add python-tomli., guix-commits, 2021/11/14
- 99/217: gnu: python-setuptools-scm: Update to 6.3.2, guix-commits, 2021/11/14
- 102/217: gnu: meson: Patch to allow installing to independent prefixes., guix-commits, 2021/11/14
- 101/217: gnu: python-pathlib2: Update to 2.3.6., guix-commits, 2021/11/14
- 111/217: gnu: colord-minimal: Introduce minimal variant., guix-commits, 2021/11/14
- 116/217: gnu: mesa: Update to 21.2.4., guix-commits, 2021/11/14
- 128/217: gnu: libsoup: Reverse inheritance relationship with libsoup-minimal., guix-commits, 2021/11/14
- 132/217: gnu: webkitgtk: Add a debug output., guix-commits, 2021/11/14
- 129/217: gnu: libsoup: Update to 3.0.1., guix-commits, 2021/11/14
- 130/217: gnu: webkitgtk: Use libsoup 3 and build with GCC.,
guix-commits <=
- 131/217: gnu: pulseaudio: Add doxygen to fix build., guix-commits, 2021/11/14
- 134/217: gnu: llvm: Add make-lld-wrapper, lld-wrapper and lld-as-ld-wrapper., guix-commits, 2021/11/14
- 139/217: gnu: gdk-pixbuf: Add a search path for the loaders cache file., guix-commits, 2021/11/14
- 147/217: gnu: nss: Update to 3.71., guix-commits, 2021/11/14
- 145/217: gnu: mariadb: Only run the main test suite to avoid flaky tests., guix-commits, 2021/11/14
- 151/217: gnu: python-hypothesis: Update to 6.23.4., guix-commits, 2021/11/14
- 153/217: gnu: boost: Update to 1.77.0., guix-commits, 2021/11/14
- 156/217: gnu: python-six-bootstrap: Update to 1.16.0., guix-commits, 2021/11/14
- 161/217: gnu: mesa: Enable support for OpenGL ES 1.1 and 2.0., guix-commits, 2021/11/14
- 165/217: gnu: ldc: Update to 1.27.1., guix-commits, 2021/11/14