Mesa/u_dep_xcb.patch
Stefan Dirsch c7ad8ef77d Accepting request 1092012 from home:sndirsch:branches:X11:XOrg
- needed to fix build of Mesa 23.1
  * Mesa-drivers: -Dshader-cache=enabled
  * Mesa: -Dxlib-lease=enabled
  * recommended for both Mesa and Mesa-drivers to avoid some scary messages when
    comparing fds: -Dallow-kcmp=enabled
- Credits for figuring this out go to "llyyr" <llyyr.public@gmail.com>
- gbm files are no longer needed to be removed manually for -drivers build
- VDPAU support for r300 has been dropped with Mesa 23.1
- supersedes n_no-sse2-on-ix86-except-for-intel-drivers.patch

- Update to bugfix release 23.1.1
- adjusted u_dep_xcb.patch

- Update to 23.1.0
  * new feature release
  * some highlights
    + Our OpenCL implementation Rusticl added support for AMD GPUs.
    + Both ANV (Intel) and RADV (AMD) got initial support for Vulkan Video
      decoding.
    + Vulkan Graphics Pipeline Libraries (GPL) are now supported in RADV.
- adjusted n_stop-iris-flicker.patch
- supersedes U_ReturnME.patch
- meson option "-Ddri-drivers" has been removed; wasn't used any 
  longer by us --> killed it

OBS-URL: https://build.opensuse.org/request/show/1092012
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1209
2023-06-10 14:16:28 +00:00

29 lines
1.1 KiB
Diff

Index: mesa-23.1.1/meson.build
===================================================================
--- mesa-23.1.1.orig/meson.build
+++ mesa-23.1.1/meson.build
@@ -1966,9 +1966,11 @@ if with_platform_x11
endif
endif
if with_any_vk or with_egl or (with_glx == 'dri' and with_dri_platform == 'drm')
+ dep_x11_xcb = dependency('x11-xcb')
dep_xcb_dri2 = dependency('xcb-dri2', version : '>= 1.8')
if with_dri3
+ dep_xcb = dependency('xcb')
dep_xcb_dri3 = dependency('xcb-dri3')
dep_xcb_present = dependency('xcb-present')
# until xcb-dri3 has been around long enough to make a hard-dependency:
Index: mesa-23.1.1/src/loader/meson.build
===================================================================
--- mesa-23.1.1.orig/src/loader/meson.build
+++ mesa-23.1.1/src/loader/meson.build
@@ -46,6 +46,6 @@ libloader = static_library(
c_args : loader_c_args,
gnu_symbol_visibility : 'hidden',
include_directories : [inc_include, inc_src, inc_util],
- dependencies : [dep_libdrm, dep_thread, dep_xcb_xrandr],
+ dependencies : [dep_libdrm, dep_thread, dep_xcb_xrandr, dep_xcb],
build_by_default : false,
)