mbox series

[meta-oe,kirkstone,0/6] Backport everything relevant to using cts with Weston >= 10

Message ID 20230615205637.724348-1-rs@ti.com
Headers show
Series Backport everything relevant to using cts with Weston >= 10 | expand

Message

Randolph Sapp June 15, 2023, 8:56 p.m. UTC
From: Randolph Sapp <rs@ti.com>

Backport everything relevant to getting opengl-es-cts up and running on
newer versions of wayland protocols and subsequently Weston 10.

Khem Raj (2):
  vulkan-cts,opengl-es-cts: Upgrade to1.3.3.1 and 3.2.8 respectively
  vulkan-cts,opengl-es-cts: Fix build with gcc-13

Linus Jacobson (1):
  khronos-cts: Replace wayland feature dependancy with vulkan

Randolph Sapp (2):
  glfw: add packageconfig and wayland dependencies
  opengl-es-cts: 3.2.8.0 -> 3.2.9.3

Ross Burton (1):
  khronos-cts: fix build when python3-build-native is present

 meta-oe/recipes-core/glfw/glfw_3.3.bb         | 14 ++-
 ...ude-limits-header-for-numeric_limits.patch | 88 -------------------
 .../files/0001-Include-missing-cstdint.patch  | 34 +++++++
 .../files/0001-Remove-dead-variable-984.patch | 34 +++++++
 ...-GCC-11-uninit-variable-warnings-946.patch | 73 ---------------
 ...LAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch | 37 ++++++++
 .../files/0001-include-missing-cstdint.patch  | 61 +++++++++++++
 ...0001-use-library-sonames-for-linking.patch | 20 +----
 ...01-vulkancts-Include-missing-cstdint.patch | 32 +++++++
 .../vk-gl-cts/files/0001-vulkancts.patch      | 40 ---------
 .../vk-gl-cts/files/gen-framework-path.patch  | 20 +++++
 .../vk-gl-cts/khronos-cts.inc                 | 43 ++++++---
 .../vk-gl-cts/opengl-es-cts_3.2.7.0.bb        | 31 -------
 .../vk-gl-cts/opengl-es-cts_3.2.9.3.bb        | 36 ++++++++
 .../vk-gl-cts/vulkan-cts_1.2.6.0.bb           | 24 -----
 .../vk-gl-cts/vulkan-cts_1.3.3.1.bb           | 34 +++++++
 16 files changed, 334 insertions(+), 287 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-Include-limits-header-for-numeric_limits.patch
 create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-Include-missing-cstdint.patch
 create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-Remove-dead-variable-984.patch
 delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-Workaround-for-GCC-11-uninit-variable-warnings-946.patch
 create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch
 create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-include-missing-cstdint.patch
 create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch
 delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts.patch
 create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/gen-framework-path.patch
 delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.7.0.bb
 create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bb
 delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.2.6.0.bb
 create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.3.1.bb

Comments

Randolph Sapp June 16, 2023, 10:18 p.m. UTC | #1
On 6/15/23 15:56, Randolph Sapp via lists.openembedded.org wrote:
> From: Randolph Sapp <rs@ti.com>
> 
> GLFW has the ability to use a wayland backend. This patch adds a config
> for it, but does not enable it by default because it has a dependency on
> extra-cmake-modules which is provided (most commonly) by meta-qt5-extra.
> 
> Signed-off-by: Randolph Sapp <rs@ti.com>

Whoops. That wasn't supposed to be included. Please ignore this patch, 
we had a previous discussion about it [1] and I haven't gotten around to 
cleaning it up.

[1] https://lists.openembedded.org/g/openembedded-devel/message/102216
akuster808 June 17, 2023, 6:07 p.m. UTC | #2
On 6/15/23 4:56 PM, Randolph Sapp via lists.openembedded.org wrote:
> From: Randolph Sapp <rs@ti.com>
>
> Backport everything relevant to getting opengl-es-cts up and running on
> newer versions of wayland protocols and subsequently Weston 10.
Weston 10 was released months before Kirkstone released so IMHO there 
was ample of time to get needed packages updated prior to release.  This 
does not sound like bug fixes.

Nacking series.

- armin


>
> Khem Raj (2):
>    vulkan-cts,opengl-es-cts: Upgrade to1.3.3.1 and 3.2.8 respectively
>    vulkan-cts,opengl-es-cts: Fix build with gcc-13
>
> Linus Jacobson (1):
>    khronos-cts: Replace wayland feature dependancy with vulkan
>
> Randolph Sapp (2):
>    glfw: add packageconfig and wayland dependencies
>    opengl-es-cts: 3.2.8.0 -> 3.2.9.3
>
> Ross Burton (1):
>    khronos-cts: fix build when python3-build-native is present
>
>   meta-oe/recipes-core/glfw/glfw_3.3.bb         | 14 ++-
>   ...ude-limits-header-for-numeric_limits.patch | 88 -------------------
>   .../files/0001-Include-missing-cstdint.patch  | 34 +++++++
>   .../files/0001-Remove-dead-variable-984.patch | 34 +++++++
>   ...-GCC-11-uninit-variable-warnings-946.patch | 73 ---------------
>   ...LAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch | 37 ++++++++
>   .../files/0001-include-missing-cstdint.patch  | 61 +++++++++++++
>   ...0001-use-library-sonames-for-linking.patch | 20 +----
>   ...01-vulkancts-Include-missing-cstdint.patch | 32 +++++++
>   .../vk-gl-cts/files/0001-vulkancts.patch      | 40 ---------
>   .../vk-gl-cts/files/gen-framework-path.patch  | 20 +++++
>   .../vk-gl-cts/khronos-cts.inc                 | 43 ++++++---
>   .../vk-gl-cts/opengl-es-cts_3.2.7.0.bb        | 31 -------
>   .../vk-gl-cts/opengl-es-cts_3.2.9.3.bb        | 36 ++++++++
>   .../vk-gl-cts/vulkan-cts_1.2.6.0.bb           | 24 -----
>   .../vk-gl-cts/vulkan-cts_1.3.3.1.bb           | 34 +++++++
>   16 files changed, 334 insertions(+), 287 deletions(-)
>   delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-Include-limits-header-for-numeric_limits.patch
>   create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-Include-missing-cstdint.patch
>   create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-Remove-dead-variable-984.patch
>   delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-Workaround-for-GCC-11-uninit-variable-warnings-946.patch
>   create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch
>   create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-include-missing-cstdint.patch
>   create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch
>   delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts.patch
>   create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/gen-framework-path.patch
>   delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.7.0.bb
>   create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bb
>   delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.2.6.0.bb
>   create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.3.1.bb
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#103326): https://lists.openembedded.org/g/openembedded-devel/message/103326
> Mute This Topic: https://lists.openembedded.org/mt/99557891/3616698
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [akuster808@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Randolph Sapp June 19, 2023, 6:28 p.m. UTC | #3
On 6/17/23 13:07, akuster808 wrote:
> On 6/15/23 4:56 PM, Randolph Sapp via lists.openembedded.org wrote:
>> From: Randolph Sapp <rs@ti.com>
>> Backport everything relevant to getting opengl-es-cts up and running on
>> newer versions of wayland protocols and subsequently Weston 10.
> Weston 10 was released months before Kirkstone released so IMHO there 
> was ample of time to get needed packages updated prior to release.  This 
> does not sound like bug fixes.
> 
> Nacking series.
> 
> - armin
> 

Sounds like an awful lot of speculation, have you tried running the 
current version of opengles-cts on Weston 10? :)

Anyways, here's the exact upstream commit required for Weston 10+ 
support [1]:
745d68215ebcfaf7fdb2a460447a0b6da3fda85a

Here's the list of tags that has it currently:
opengl-cts-4.6.3.0
opengl-cts-4.6.3.1
opengl-cts-4.6.3.2
opengl-cts-4.6.3.3
opengl-es-cts-3.2.9.0
opengl-es-cts-3.2.9.1
opengl-es-cts-3.2.9.2
opengl-es-cts-3.2.9.3
vulkan-cts-1.3.3.1
vulkan-cts-1.3.4.0
vulkan-cts-1.3.4.1
vulkan-cts-1.3.5.0
vulkan-cts-1.3.5.1
vulkan-cts-1.3.5.2
vulkan-cts-1.3.6.0

Hence the version bump.

[1] 
https://github.com/KhronosGroup/VK-GL-CTS/commit/745d68215ebcfaf7fdb2a460447a0b6da3fda85a

Randolph

> [snip]