From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [v3 1/3] rpi-userland: fix opengl library symlinks
Date: Tue, 18 Jul 2017 09:51:13 +0200 [thread overview]
Message-ID: <20170718095113.2cc0b24c@windsurf> (raw)
In-Reply-To: <20170717160939.3159-2-gael.portay@savoirfairelinux.com>
Hello,
On Mon, 17 Jul 2017 12:09:37 -0400, Ga?l PORTAY wrote:
> The Qt WebEngine module loads libEGL.so.1 and libGLESv2.so.2 libraries.
> Their path are hard-coded [1].
>
> This patch sets up cmake to create those library links.
>
> # ls -l /usr/lib/lib*GL*
> lrwxrwxrwx 1 root root 11 Mar 21 17:24 /usr/lib/libEGL.so -> libEGL.so.1
> lrwxrwxrwx 1 root root 15 Mar 21 17:24 /usr/lib/libEGL.so.1 -> libEGL.so.1.0.0
> -rwxr-xr-x 1 root root 163152 Mar 22 14:56 /usr/lib/libEGL.so.1.0.0
> lrwxrwxrwx 1 root root 14 Mar 21 17:24 /usr/lib/libGLESv2.so -> libGLESv2.so.2
> lrwxrwxrwx 1 root root 18 Mar 21 17:24 /usr/lib/libGLESv2.so.2 -> libGLESv2.so.2.0.0
> -rwxr-xr-x 1 root root 78788 Mar 22 14:56 /usr/lib/libGLESv2.so.2.0.0
>
> [1] https://github.com/qt/qtwebengine/blob/5.8/src/core/surface_factory_qt.cpp#L76-L86
>
> Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
> ---
> .../0001-Add-OpenGL-library-versioning.patch | 35 ++++++++++++++++++++++
> 1 file changed, 35 insertions(+)
> create mode 100644 package/rpi-userland/0001-Add-OpenGL-library-versioning.patch
>
> diff --git a/package/rpi-userland/0001-Add-OpenGL-library-versioning.patch b/package/rpi-userland/0001-Add-OpenGL-library-versioning.patch
> new file mode 100644
> index 0000000000..ea708f9559
> --- /dev/null
> +++ b/package/rpi-userland/0001-Add-OpenGL-library-versioning.patch
> @@ -0,0 +1,35 @@
> +From bf388550943afc70798c497e3fc706303394cfdc Mon Sep 17 00:00:00 2001
> +From: =?utf-8?q?Ga=C3=ABl=20PORTAY?= <gael.portay@savoirfairelinux.com>
> +Date: Fri, 3 Mar 2017 17:28:41 -0500
> +Subject: [PATCH] Add OpenGL library versioning
> +
> +Some applications like QtWebEngine dynamically load libraries using
> +dlopen. The library name is hardcoded, and it includes the library
> +version [1].
> +
> +This patch creates symlinks for EGL and GLES libraries.
> +
> + libEGL.so.1 -> libEGL.so
> + libGLESv2.so.2 -> libGLESv2.so
> +
> +[1] https://github.com/qt/qtwebengine/blob/dev/src/core/surface_factory_qt.cpp#L76-L86
Missing Signed-off-by line here.
Has this patch been submitted upstream ?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-07-18 7:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-17 16:09 [Buildroot] [v3 0/3] Qt WebEngine support Gaël PORTAY
2017-07-17 16:09 ` [Buildroot] [v3 1/3] rpi-userland: fix opengl library symlinks Gaël PORTAY
2017-07-18 7:51 ` Thomas Petazzoni [this message]
2017-07-18 17:32 ` Gaël PORTAY
2017-07-18 18:54 ` Arnout Vandecappelle
2017-07-17 16:09 ` [Buildroot] [v3 2/3] qt5webengine: new package Gaël PORTAY
2017-07-17 16:09 ` [Buildroot] [v3 3/3] configs: new raspberrypi3 qt5 config Gaël PORTAY
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170718095113.2cc0b24c@windsurf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.