musl: Drop the protected symbol optimization at configure time
PATCH 1/4 musl: Drop the protected symbol optimization at configure time
lld and gold can not handle it and treat it wrong
Fixes
[YOCTO #11689]
--- meta/recipes-core/musl/musl_git.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/musl/musl_git.bb +1 -0
@@ -36,6 +36,7 @@ CONFIGUREOPTS = " \ --libdir=${libdir} \ --includedir=${includedir} \ --syslibdir=${base_libdir} \ + --disable-visibility \ " do_configure() {
Signature · 1 line
2.14.0
PATCH 2/4 llvm: Keep llvm-native dependency with clang toolchain
This was needed when we were conflicting with clang-native but this is solved via append PN to binaries of llvm-native
--- meta/recipes-devtools/llvm/llvm_git.bb | 2 -- 1 file changed, 2 deletions(-)
meta/recipes-devtools/llvm/llvm_git.bb +0 -2
@@ -10,8 +10,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=e825e017edc35cfd58e26116e5251771" DEPENDS = "libffi libxml2-native zlib ninja-native llvm-native" -DEPENDS_remove_toolchain-clang = "llvm-native" - RDEPENDS_${PN}_append_class-target = " ncurses-terminfo" inherit perlnative pythonnative cmake pkgconfig
Signature · 1 line
2.14.0
PATCH 3/4 python-numpy: Upgrade to 1.13.1
In reply to Khem RajUpdate LICENSE to BSD-3-Clause as per
https://github.com/numpy/numpy/blob/master/LICENSE.txt
LIC_FILES_CHKSUM changed due to copyright year change see
https://github.com/numpy/numpy/commit/b2ff4f13197dd58508d3d025a9034519974750bd
---
...h-usr-and-so-on-for-libraries-by-default-.patch | 24 +++++++++-------------
...thon-numpy_1.11.2.bb => python-numpy_1.13.1.bb} | 15 +++++++-------
...on3-numpy_1.11.2.bb => python3-numpy_1.13.1.bb} | 14 ++++++-------
3 files changed, 25 insertions(+), 28 deletions(-)
rename meta/recipes-devtools/python-numpy/{python-numpy_1.11.2.bb => python-numpy_1.13.1.bb} (86%)
rename meta/recipes-devtools/python-numpy/{python3-numpy_1.11.2.bb => python3-numpy_1.13.1.bb} (87%)meta/recipes-devtools/python-numpy/files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch +10 -14
@@ -11,11 +11,11 @@ Signed-off-by: Alexander Kanavin <[email protected]> numpy/distutils/system_info.py | 50 +++++------------------------------------- 1 file changed, 6 insertions(+), 44 deletions(-) -diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py -index 9dd48e2..80e197a 100644 ---- a/numpy/distutils/system_info.py -+++ b/numpy/distutils/system_info.py -@@ -204,51 +204,13 @@ if sys.platform == 'win32': +Index: numpy-1.13.1/numpy/distutils/system_info.py +=================================================================== +--- numpy-1.13.1.orig/numpy/distutils/system_info.py ++++ numpy-1.13.1/numpy/distutils/system_info.py +@@ -211,51 +211,13 @@ if sys.platform == 'win32': default_x11_lib_dirs = [] default_x11_include_dirs = [] else:
@@ -29,7 +29,10 @@ index 9dd48e2..80e197a 100644 - '/opt/local/include', '/sw/include', - '/usr/include/suitesparse'] - default_src_dirs = ['.', '/usr/local/src', '/opt/src', '/sw/src'] -- ++ default_lib_dirs = libpaths(['/deadir/lib'], platform_bits) ++ default_include_dirs = ['/deaddir/include'] ++ default_src_dirs = ['.', '/deaddir/src'] + - default_x11_lib_dirs = libpaths(['/usr/X11R6/lib', '/usr/X11/lib', - '/usr/lib'], platform_bits) - default_x11_include_dirs = ['/usr/X11R6/include', '/usr/X11/include',
@@ -50,7 +53,7 @@ index 9dd48e2..80e197a 100644 - # tests are run in debug mode Python 3. - tmp = open(os.devnull, 'w') - p = sp.Popen(["gcc", "-print-multiarch"], stdout=sp.PIPE, -- stderr=tmp) +- stderr=tmp) - except (OSError, DistutilsError): - # OSError if gcc is not installed, or SandboxViolation (DistutilsError - # subclass) if an old setuptools bug is triggered (see gh-3160).
@@ -64,15 +67,8 @@ index 9dd48e2..80e197a 100644 - finally: - if tmp is not None: - tmp.close() -+ default_lib_dirs = libpaths(['/deadir/lib'], platform_bits) -+ default_include_dirs = ['/deaddir/include'] -+ default_src_dirs = ['.', '/deaddir/src'] -+ + default_x11_lib_dirs = libpaths(['/deaddir/lib'], platform_bits) + default_x11_include_dirs = ['/deaddir/include'] if os.path.join(sys.prefix, 'lib') not in default_lib_dirs: default_lib_dirs.insert(0, os.path.join(sys.prefix, 'lib')) --- -2.6.2 -
meta/recipes-devtools/python-numpy/python-numpy_1.13.1.bb renamed from meta/recipes-devtools/python-numpy/python-numpy_1.11.2.bb +8 -7
@@ -1,16 +1,20 @@ SUMMARY = "A sophisticated Numeric Processing Package for Python" SECTION = "devel/python" -LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7e51a5677b22b865abbfb3dff6ffb2d0" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1002b09cd654fcaa2dcc87535acd9a96" SRCNAME = "numpy" -SRC_URI = "https://files.pythonhosted.org/packages/source/n/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ +SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ file://remove-build-path-in-comments.patch \ file://fix_shebang_f2py.patch \ ${CONFIGFILESURI} " -UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/numpy/files/" + +SRC_URI[md5sum] = "6d459e4a24f5035f720dda3c57716a92" +SRC_URI[sha256sum] = "de020ec06f1e9ce1115a50161a38bf8d4c2525379900f9cb478cc613a1e7cd93" + +UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases" CONFIGFILESURI ?= ""
@@ -81,9 +85,6 @@ do_compile_prepend_class-target() { FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a" -SRC_URI[md5sum] = "03bd7927c314c43780271bf1ab795ebc" -SRC_URI[sha256sum] = "04db2fbd64e2e7c68e740b14402b25af51418fc43a59d9e54172b38b906b0f69" - # install what is needed for numpy.test() RDEPENDS_${PN} = "python-unittest \ python-difflib \
meta/recipes-devtools/python-numpy/python3-numpy_1.13.1.bb renamed from meta/recipes-devtools/python-numpy/python3-numpy_1.11.2.bb +7 -7
@@ -1,16 +1,19 @@ SUMMARY = "A sophisticated Numeric Processing Package for Python" SECTION = "devel/python" -LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7e51a5677b22b865abbfb3dff6ffb2d0" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1002b09cd654fcaa2dcc87535acd9a96" SRCNAME = "numpy" -SRC_URI = "https://files.pythonhosted.org/packages/source/n/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ +SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ file://remove-build-path-in-comments.patch \ file://fix_shebang_f2py.patch \ ${CONFIGFILESURI} " -UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/numpy/files/" +SRC_URI[md5sum] = "6d459e4a24f5035f720dda3c57716a92" +SRC_URI[sha256sum] = "de020ec06f1e9ce1115a50161a38bf8d4c2525379900f9cb478cc613a1e7cd93" + +UPSTREAM_CHECK_URI = "https://github.com/numpy/numpy/releases" CONFIGFILESURI ?= ""
@@ -81,9 +84,6 @@ do_compile_prepend_class-target() { FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a" -SRC_URI[md5sum] = "03bd7927c314c43780271bf1ab795ebc" -SRC_URI[sha256sum] = "04db2fbd64e2e7c68e740b14402b25af51418fc43a59d9e54172b38b906b0f69" - # install what is needed for numpy.test() RDEPENDS_${PN} = "python3-unittest \ python3-difflib \
Signature · 1 line
2.14.0
PATCH 4/4 cairo: Add pkgconfig for opengl support
In reply to Khem Raj--- meta/recipes-graphics/cairo/cairo.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-graphics/cairo/cairo.inc +3 -1
@@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext" DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ - ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}" + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}" PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"
@@ -30,6 +31,7 @@ PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind" PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2" +PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl" #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points require cairo-fpu.inc
Signature · 1 line
2.14.0
Re: [PATCH 4/4] cairo: Add pkgconfig for opengl support
Quoted 1 line · Khem Raj
Signed-off-by Khem Raj <[email protected]>
Any explanation? Was this previously non-deterministic? If so, how far back does the problem go?
Quoted 19 lines
--- meta/recipes-graphics/cairo/cairo.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta/recipes-graphics/cairo/cairo.inc +2
-1@@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext" DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ - ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}" + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}" PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"
meta/recipes-graphics/cairo/cairo.inc PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" · line 34
Quoted 4 lines
meta/recipes-graphics/cairo/cairo.inc +1
-0@@ -30,6 +31,7 @@ PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind" PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2" +PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl"
Since the opengl distro feature can imply either OpenGL or OpenGL ES support, it doesn't seem right to use it to select one over the other (ie for recipes which support both, shouldn't the choice between OpenGL or OpenGL ES be independent of the opengl distro feature) ?
Quoted 11 lines
meta/recipes-graphics/cairo/cairo.inc +0
-1#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points require cairo-fpu.inc --2.14.0
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 4/4] cairo: Add pkgconfig for opengl support
Quoted 5 lines · Andre McCurdy
Quoted 1 line · Khem Raj
Signed-off-by Khem Raj <[email protected]>Any explanation? Was this previously non-deterministic? If so, how far back does the problem go?
it isnt non-deterministic atleast not after RSS. However, we need this enabled when we have openGL/X11 enabled.
Quoted 17 lines
Quoted 17 lines
--- meta/recipes-graphics/cairo/cairo.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta/recipes-graphics/cairo/cairo.inc +2
-1@@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext" DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ - ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}" + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
Quoted 12 lines
meta/recipes-graphics/cairo/cairo.inc PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" · line 34
Quoted 7 lines
meta/recipes-graphics/cairo/cairo.inc +1
-0PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}" PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"@@ -30,6 +31,7 @@ PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind" PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2" +PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl"Since the opengl distro feature can imply either OpenGL or OpenGL ES support, it doesn't seem right to use it to select one over the other (ie for recipes which support both, shouldn't the choice between OpenGL or OpenGL ES be independent of the opengl distro feature) ?
at some point we differentiated between opengl and gles at distro level atleast for RDK, but I agree that marking opengl as a distro feature encompassing all OpenGL implementations is better. Although, in this particular case all openGL implementations can be enabled simultaneously so may be we can enable egl and gles too with same knob. Alternatively We can leave the packageconfig knob disabled which will make it same defaults effectively ( which is disabled)
Quoted 12 lines
Quoted 12 lines
meta/recipes-graphics/cairo/cairo.inc +0
-1#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points require cairo-fpu.inc --2.14.0
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 4/4] cairo: Add pkgconfig for opengl support
Breaks the no-x11 builder:
https://autobuilder.yoctoproject.org/main/builders/nightly-no-x11/builds/543/steps/BuildImages/logs/stdio
Ross
Quoted 77 lines · Khem Raj
Quoted 5 lines · Andre McCurdy
Quoted 1 line · Khem Raj
Signed-off-by Khem Raj <[email protected]>Any explanation? Was this previously non-deterministic? If so, how far back does the problem go?
it isnt non-deterministic atleast not after RSS. However, we need this enabled when we have openGL/X11 enabled.
Quoted 6 lines
Review
Quoted 6 lines
--- meta/recipes-graphics/cairo/cairo.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)(quoted diff) +0
-0b/meta/recipes-graphics/cairo/cairo.inc
Quoted 7 lines
meta/recipes-graphics/cairo/cairo.inc X11DEPENDS = "virtual/libx11 libsm libxrender libxext" · line 24
Quoted 7 lines
index
8e1e2e1b88..fd376951bd100644meta/recipes-graphics/cairo/cairo.inc +0
-0@@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext" DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11','x11 xcb', '', d)} \
Quoted 5 lines
meta/recipes-graphics/cairo/cairo.inc X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
Quoted 5 lines
meta/recipes-graphics/cairo/cairo.inc +2
-1- ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}" + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no--disable-xlib,${X11DEPENDS}"
Quoted 2 lines
meta/recipes-graphics/cairo/cairo.inc PACKAGECONFIG[directfb] = "--enable-directfb=yes,,
Quoted 2 lines
meta/recipes-graphics/cairo/cairo.inc +0
-0PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"@@ -30,6 +31,7 @@ PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb"
Quoted 1 line
meta/recipes-graphics/cairo/cairo.inc PACKAGECONFIG[directfb] = "--enable-directfb=yes,, · line 31
Quoted 1 line
meta/recipes-graphics/cairo/cairo.inc +0
-0PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind"
Quoted 2 lines
meta/recipes-graphics/cairo/cairo.inc PACKAGECONFIG[directfb] = "--enable-directfb=yes,, · line 33
Quoted 2 lines
meta/recipes-graphics/cairo/cairo.inc +0
-0PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2"
Quoted 6 lines
meta/recipes-graphics/cairo/cairo.inc PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" · line 34
Quoted 1 line
meta/recipes-graphics/cairo/cairo.inc +1
-0+PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl"Since the opengl distro feature can imply either OpenGL or OpenGL ES support, it doesn't seem right to use it to select one over the other (ie for recipes which support both, shouldn't the choice between OpenGL or OpenGL ES be independent of the opengl distro feature) ?
at some point we differentiated between opengl and gles at distro level atleast for RDK, but I agree that marking opengl as a distro feature encompassing all OpenGL implementations is better. Although, in this particular case all openGL implementations can be enabled simultaneously so may be we can enable egl and gles too with same knob. Alternatively We can leave the packageconfig knob disabled which will make it same defaults effectively ( which is disabled)
Quoted 3 lines
meta/recipes-graphics/cairo/cairo.inc PACKAGECONFIG[directfb] = "--enable-directfb=yes,, · line 35
Quoted 3 lines
meta/recipes-graphics/cairo/cairo.inc +0
-0#check for TARGET_FPU=soft and inform configure of the result so itcan disable some floating points
Quoted 9 lines
Quoted 9 lines
meta/recipes-graphics/cairo/cairo.inc +0
-1require cairo-fpu.inc --2.14.0
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 4/4] cairo: Add pkgconfig for opengl support
Quoted 3 lines · Ross
Breaks the no-x11 builder:
https://autobuilder.yoctoproject.org/main/builders/nightly-no-x11/builds/543/steps/BuildImages/logs/stdio
yes I was expecting that
Quoted 82 lines
Ross
Quoted 78 lines · Khem Raj
Quoted 5 lines · Andre McCurdy
Quoted 1 line · Khem Raj
Signed-off-by Khem Raj <[email protected]>Any explanation? Was this previously non-deterministic? If so, how far back does the problem go?
it isnt non-deterministic atleast not after RSS. However, we need this enabled when we have openGL/X11 enabled.
Quoted 20 lines
Quoted 20 lines
--- meta/recipes-graphics/cairo/cairo.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta/recipes-graphics/cairo/cairo.inc +0
-0@@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrenderlibxext"
DEPENDS = "libpng fontconfig pixman glib-2.0 zlib"PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11
xcb', '', d)} \meta/recipes-graphics/cairo/cairo.inc +2
-1- ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}" + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"Quoted 16 lines
Quoted 11 lines
PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no
--disable-xlib,${X11DEPENDS}"
PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"meta/recipes-graphics/cairo/cairo.inc +0
-0@@ -30,6 +31,7 @@ PACKAGECONFIG[directfb] ="--enable-directfb=yes,,directfb"
PACKAGECONFIG[valgrind] =
"--enable-valgrind=yes,--disable-valgrind,valgrind"
PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" PACKAGECONFIG[glesv2] =
"--enable-glesv2,--disable-glesv2,virtual/libgles2" +PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl"Since the opengl distro feature can imply either OpenGL or OpenGL ES support, it doesn't seem right to use it to select one over the other (ie for recipes which support both, shouldn't the choice between OpenGL or OpenGL ES be independent of the opengl distro feature) ?
at some point we differentiated between opengl and gles at distro level atleast for RDK, but I agree that marking opengl as a distro feature encompassing all OpenGL implementations is better. Although, in this particular case all openGL implementations can be enabled simultaneously so may be we can enable egl and gles too with same knob. Alternatively We can leave the packageconfig knob disabled which will make it same defaults effectively ( which is disabled)
Quoted 8 lines
Quoted 8 lines
#check for TARGET_FPU=soft and inform configure of the result so it
can disable some floating points
require cairo-fpu.inc
--
2.14.0Quoted 5 lines
Quoted 5 lines
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 4/4] cairo: Add pkgconfig for opengl support
In reply to Khem RajQuoted 40 lines · Khem Raj
Quoted 5 lines · Andre McCurdy
Quoted 1 line · Khem Raj
Signed-off-by Khem Raj <[email protected]>Any explanation? Was this previously non-deterministic? If so, how far back does the problem go?
it isnt non-deterministic atleast not after RSS. However, we need this enabled when we have openGL/X11 enabled.
Quoted 17 lines
Quoted 17 lines
--- meta/recipes-graphics/cairo/cairo.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta/recipes-graphics/cairo/cairo.inc +2
-1@@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext" DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ - ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}" + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"Quoted 12 lines
meta/recipes-graphics/cairo/cairo.inc PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" · line 34
Quoted 7 lines
meta/recipes-graphics/cairo/cairo.inc +1
-0PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}" PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"@@ -30,6 +31,7 @@ PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind" PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2" +PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl"Since the opengl distro feature can imply either OpenGL or OpenGL ES support, it doesn't seem right to use it to select one over the other (ie for recipes which support both, shouldn't the choice between OpenGL or OpenGL ES be independent of the opengl distro feature) ?
Quoted 4 lines
at some point we differentiated between opengl and gles at distro level atleast for RDK, but I agree that marking opengl as a distro feature encompassing all OpenGL implementations is better. Although, in this particular case all openGL implementations can be enabled simultaneously
According to the tests in the configure script it looks like a choice between OpenGL or OpenGL ES, not both.
Quoted 3 lines
so may be we can enable egl and gles too with same knob. Alternatively We can leave the packageconfig knob disabled which will make it same defaults effectively ( which is disabled)
Either leave it disabled or enable it conditionally based on both the opengl and x11 distro features?
Quoted 15 lines
Quoted 13 lines
Quoted 13 lines
meta/recipes-graphics/cairo/cairo.inc +0
-1#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points require cairo-fpu.inc --2.14.0
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [PATCH 4/4] cairo: Add pkgconfig for opengl support
Quoted 49 lines · Andre McCurdy
Quoted 40 lines · Khem Raj
Quoted 5 lines · Andre McCurdy
Quoted 1 line · Khem Raj
Signed-off-by Khem Raj <[email protected]>Any explanation? Was this previously non-deterministic? If so, how far back does the problem go?
it isnt non-deterministic atleast not after RSS. However, we need this enabled when we have openGL/X11 enabled.
Quoted 17 lines
Quoted 17 lines
--- meta/recipes-graphics/cairo/cairo.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta/recipes-graphics/cairo/cairo.inc +2
-1@@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext" DEPENDS = "libpng fontconfig pixman glib-2.0 zlib" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \ - ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}" + ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"Quoted 12 lines
meta/recipes-graphics/cairo/cairo.inc PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" · line 34
Quoted 7 lines
meta/recipes-graphics/cairo/cairo.inc +1
-0PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}" PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"@@ -30,6 +31,7 @@ PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb" PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind" PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2" +PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl"Since the opengl distro feature can imply either OpenGL or OpenGL ES support, it doesn't seem right to use it to select one over the other (ie for recipes which support both, shouldn't the choice between OpenGL or OpenGL ES be independent of the opengl distro feature) ?
Quoted 4 lines
at some point we differentiated between opengl and gles at distro level atleast for RDK, but I agree that marking opengl as a distro feature encompassing all OpenGL implementations is better. Although, in this particular case all openGL implementations can be enabled simultaneously
According to the tests in the configure script it looks like a choice between OpenGL or OpenGL ES, not both.
Quoted 6 lines
Quoted 3 lines
so may be we can enable egl and gles too with same knob. Alternatively We can leave the packageconfig knob disabled which will make it same defaults effectively ( which is disabled)
Either leave it disabled or enable it conditionally based on both the opengl and x11 distro features?
could be a way forward.
Quoted 16 lines
Quoted 16 lines
Quoted 14 lines
Quoted 14 lines
meta/recipes-graphics/cairo/cairo.inc +0
-1#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points require cairo-fpu.inc --2.14.0
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core