[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
130/203: gnu: webkitgtk: Use libsoup 3 and build with GCC.
From: |
guix-commits |
Subject: |
130/203: gnu: webkitgtk: Use libsoup 3 and build with GCC. |
Date: |
Wed, 3 Nov 2021 21:10:21 -0400 (EDT) |
apteryx 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)
- 32/203: gnu: python-docutils: Update to 0.17.1., (continued)
- 32/203: gnu: python-docutils: Update to 0.17.1., guix-commits, 2021/11/03
- 40/203: gnu: gstreamer: Update to 1.19.2., guix-commits, 2021/11/03
- 12/203: gnu: appstream-glib: Propagate gdk-pixbuf+svg rather than gdk-pixbuf., guix-commits, 2021/11/03
- 42/203: gnu: gst-plugins-good: Update to 1.19.2., guix-commits, 2021/11/03
- 38/203: gnu: python-sphinx: Update to 4.2.0., guix-commits, 2021/11/03
- 43/203: gnu: zxing-cpp: Update to 1.2.0., guix-commits, 2021/11/03
- 45/203: gnu: gst-plugins-ugly: Update to 1.19.2., guix-commits, 2021/11/03
- 49/203: gnu: e2fsprogs: Update to 1.46.4., guix-commits, 2021/11/03
- 51/203: gnu: pulseaudio: Update to 15.0., guix-commits, 2021/11/03
- 124/203: gnu: libthai: Make datrie a normal native-input., guix-commits, 2021/11/03
- 130/203: gnu: webkitgtk: Use libsoup 3 and build with GCC.,
guix-commits <=
- 133/203: gnu: python-flit: Update to 3.3.0., guix-commits, 2021/11/03
- 146/203: gnu: nspr: Normalize inputs., guix-commits, 2021/11/03
- 138/203: profiles: Add a gdk-pixbuf-loaders-cache-file hook., guix-commits, 2021/11/03
- 154/203: gnu: python-dbusmock: Update to 0.24.0., guix-commits, 2021/11/03
- 149/203: gnu: meson: Update to 0.60.0., guix-commits, 2021/11/03
- 158/203: gnu: gdk-pixbuf: Remove obsolete jasper support., guix-commits, 2021/11/03
- 163/203: gnu: python-numpy: Update to 1.21.3 and cleanup., guix-commits, 2021/11/03
- 164/203: gnu: gdb: Update to 11.1 and remove gdb-9.2., guix-commits, 2021/11/03
- 165/203: gnu: ldc: Update to 1.27.1., guix-commits, 2021/11/03
- 166/203: gnu: python2-lit: Remove package., guix-commits, 2021/11/03