mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
eglinfo: remove the recipe
Last commit upstream was in Sep 2014; pull requests have been ignored since. I believe eglinfo from mesa-demos is an adequate and maintained alternative. Also this recipe was using an ugly waf blob placed directly into oe-core, which was also dependent on python 2. (From OE-Core rev: aa36510ebea93c1f6f327152e5aa63beccad0275) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b8c2575002
commit
88a49ffbd8
@@ -1,7 +0,0 @@
|
||||
EGLINFO_PLATFORM ?= "fb"
|
||||
EGLINFO_BINARY_NAME ?= "eglinfo-fb"
|
||||
|
||||
require eglinfo.inc
|
||||
|
||||
SUMMARY += "(Framebuffer version)"
|
||||
CXXFLAGS += "-DMESA_EGL_NO_X11_HEADERS=1"
|
||||
@@ -1,13 +0,0 @@
|
||||
EGLINFO_PLATFORM ?= "wayland"
|
||||
EGLINFO_BINARY_NAME ?= "eglinfo-wayland"
|
||||
|
||||
require eglinfo.inc
|
||||
|
||||
DEPENDS += "wayland"
|
||||
|
||||
inherit distro_features_check
|
||||
|
||||
# depends on wayland
|
||||
REQUIRED_DISTRO_FEATURES += "wayland"
|
||||
|
||||
SUMMARY += "(Wayland version)"
|
||||
@@ -1,13 +0,0 @@
|
||||
EGLINFO_PLATFORM ?= "x11"
|
||||
EGLINFO_BINARY_NAME ?= "eglinfo-x11"
|
||||
|
||||
require eglinfo.inc
|
||||
|
||||
DEPENDS += "virtual/libx11"
|
||||
|
||||
inherit distro_features_check
|
||||
|
||||
# depends on virtual/libx11
|
||||
REQUIRED_DISTRO_FEATURES += "x11"
|
||||
|
||||
SUMMARY += "(X11 version)"
|
||||
@@ -1,38 +0,0 @@
|
||||
SUMMARY = "Utility for printing information EGL and its client APIs (OpenGL, OpenGL ES, OpenVG)"
|
||||
SECTION = "graphics"
|
||||
LICENSE = "Zlib"
|
||||
HOMEPAGE = "https://github.com/dv1/eglinfo"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=8d4f33bc3add976f7dfae85dab66f03c"
|
||||
|
||||
DEPENDS = "virtual/egl"
|
||||
|
||||
SRC_URI = "git://github.com/dv1/eglinfo.git;branch=master \
|
||||
file://waf \
|
||||
file://0001-Add-STAGING_INCDIR-to-searchpath-for-egl-headers.patch \
|
||||
file://0001-Check-for-libegl-using-pkg-config.patch \
|
||||
"
|
||||
SRCREV = "223817ee37988042db7873cfb5b2e899dfe35c10"
|
||||
|
||||
CVE_PRODUCT = "eglinfo"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit waf distro_features_check pkgconfig
|
||||
# depends on virtual/egl
|
||||
REQUIRED_DISTRO_FEATURES ?= "opengl"
|
||||
|
||||
# BSP layers should add .bbappend files for the -x11 and -fb .bb recipes, which
|
||||
# append the respective EGL/OpenGLES/OpenVG libraries to DEPENDS and set
|
||||
# EGL_DEVICE as appropriate.
|
||||
EGLINFO_DEVICE ?= "generic"
|
||||
|
||||
EXTRA_OECONF = "--platform=${EGLINFO_PLATFORM} \
|
||||
--device=${EGLINFO_DEVICE} \
|
||||
--sysroot ${STAGING_DIR_TARGET}"
|
||||
|
||||
do_configure_prepend() {
|
||||
install -D -m 0755 ${WORKDIR}/waf ${S}/waf
|
||||
}
|
||||
do_install_append() {
|
||||
mv ${D}/${bindir}/eglinfo ${D}/${bindir}/${EGLINFO_BINARY_NAME}
|
||||
}
|
||||
-33
@@ -1,33 +0,0 @@
|
||||
From 99a5784d33ad5e0e6fa00338d2732cbccad7661c Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 13 Jan 2016 16:08:22 -0800
|
||||
Subject: [PATCH] Add STAGING_INCDIR to searchpath for egl headers
|
||||
|
||||
bcm_host.h is in standard includedir in sysroot
|
||||
add that to header search paths.
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Upstream-Status: Submitted
|
||||
|
||||
wscript | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/wscript b/wscript
|
||||
index 195e247..0f6ec53 100644
|
||||
--- a/wscript
|
||||
+++ b/wscript
|
||||
@@ -177,9 +177,10 @@ def configure_raspberrypi_device(conf, platform):
|
||||
conf.check_cxx(mandatory = 1, lib = ['GLESv2', 'EGL', 'bcm_host'], uselib_store = 'EGL')
|
||||
import os
|
||||
sysroot = conf.options.sysroot + conf.options.prefix
|
||||
+ std_include_path = os.path.join(sysroot, 'include')
|
||||
vcos_pthread_path = os.path.join(sysroot, 'include/interface/vcos/pthreads')
|
||||
vcms_host_path = os.path.join(sysroot, 'include/interface/vmcs_host/linux')
|
||||
- if not conf.check_cxx(mandatory = 0, header_name = ['vcos_platform_types.h', 'EGL/egl.h', 'bcm_host.h'], includes = [vcos_pthread_path, vcms_host_path], uselib_store = 'EGL'):
|
||||
+ if not conf.check_cxx(mandatory = 0, header_name = ['vcos_platform_types.h', 'EGL/egl.h', 'bcm_host.h'], includes = [vcos_pthread_path, vcms_host_path, std_include_path], uselib_store = 'EGL'):
|
||||
conf.fatal('Check if --prefix and --sysroot are set correctly.')
|
||||
conf.env['WITH_APIS'] = []
|
||||
if check_gles2(conf):
|
||||
--
|
||||
2.19.1
|
||||
@@ -1,36 +0,0 @@
|
||||
From 17f5d2f574236f8c3459f9efadef2f0f6220a4dd Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 13 Aug 2018 15:46:53 -0700
|
||||
Subject: [PATCH] Check for libegl using pkg-config
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
[Roman: patch has been rebased to 223817ee3798 ("Add Wayland support")
|
||||
trivial merge conflicts resolved]
|
||||
Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
|
||||
---
|
||||
wscript | 7 +------
|
||||
1 file changed, 1 insertion(+), 6 deletions(-)
|
||||
|
||||
diff --git a/wscript b/wscript
|
||||
index 0f6ec53..401f62e 100644
|
||||
--- a/wscript
|
||||
+++ b/wscript
|
||||
@@ -174,14 +174,9 @@ def configure_raspberrypi_device(conf, platform):
|
||||
else:
|
||||
conf.fatal('Unsupported Raspberry Pi platform "%s"' % platform)
|
||||
return
|
||||
- conf.check_cxx(mandatory = 1, lib = ['GLESv2', 'EGL', 'bcm_host'], uselib_store = 'EGL')
|
||||
+ conf.check_cfg(package='egl', args='--libs --cflags')
|
||||
import os
|
||||
sysroot = conf.options.sysroot + conf.options.prefix
|
||||
- std_include_path = os.path.join(sysroot, 'include')
|
||||
- vcos_pthread_path = os.path.join(sysroot, 'include/interface/vcos/pthreads')
|
||||
- vcms_host_path = os.path.join(sysroot, 'include/interface/vmcs_host/linux')
|
||||
- if not conf.check_cxx(mandatory = 0, header_name = ['vcos_platform_types.h', 'EGL/egl.h', 'bcm_host.h'], includes = [vcos_pthread_path, vcms_host_path, std_include_path], uselib_store = 'EGL'):
|
||||
- conf.fatal('Check if --prefix and --sysroot are set correctly.')
|
||||
conf.env['WITH_APIS'] = []
|
||||
if check_gles2(conf):
|
||||
conf.env['WITH_APIS'] += ['GLES1', 'GLES2']
|
||||
--
|
||||
2.19.1
|
||||
-169
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user