[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: gnu: ungoogled-chromium: Embed absolute references to libGL and f
From: |
guix-commits |
Subject: |
03/09: gnu: ungoogled-chromium: Embed absolute references to libGL and friends. |
Date: |
Thu, 22 Oct 2020 12:49:06 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit b10fdd510e2a48438b1ae07232e5275ddbf6e582
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Oct 22 18:29:26 2020 +0200
gnu: ungoogled-chromium: Embed absolute references to libGL and friends.
* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Provide
absolute
references to dlopen'd Mesa libraries.
---
gnu/packages/chromium.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 7bc69c7..344f3a7 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -617,6 +617,16 @@
(substitute* "device/udev_linux/udev1_loader.cc"
(("libudev\\.so\\.1")
(string-append udev "/lib/libudev.so.1")))
+
+ (substitute* '("ui/ozone/platform/x11/gl_ozone_glx.cc"
+ "ui/ozone/common/egl_util.cc"
+ "ui/gl/init/gl_initializer_linux_x11.cc")
+ (("libGL\\.so\\.1")
+ (string-append mesa "/lib/libGL.so.1"))
+ (("libEGL\\.so\\.1")
+ (string-append mesa "/lib/libEGL.so.1"))
+ (("libGLESv2\\.so\\.2")
+ (string-append mesa "/lib/libGLESv2.so.2")))
#t)))
(add-before 'configure 'prepare-build-environment
(lambda* (#:key inputs #:allow-other-keys)
- branch master updated (cad55e9 -> 3e09453), guix-commits, 2020/10/22
- 01/09: gnu: universal-ctags: Update to 5.9.20201018.0., guix-commits, 2020/10/22
- 03/09: gnu: ungoogled-chromium: Embed absolute references to libGL and friends.,
guix-commits <=
- 05/09: gnu: clang@10, clang@11: Fix CMake files., guix-commits, 2020/10/22
- 07/09: gnu: srt: Remove unused input., guix-commits, 2020/10/22
- 09/09: gnu: srt: Disable code coverage checking., guix-commits, 2020/10/22
- 02/09: gnu: universal-ctags: Store temporary files below "/tmp"., guix-commits, 2020/10/22
- 04/09: gnu: ungoogled-chromium: Update to 86.0.4240.111-0.c34a56d [security fixes]., guix-commits, 2020/10/22
- 06/09: gnu: Add LLDB., guix-commits, 2020/10/22
- 08/09: gnu: srt: Do not build the static library., guix-commits, 2020/10/22