mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 14:24:18 +08:00
xserver-xorg: build support for dri
This commit is contained in:
parent
3595df0934
commit
709f4aad3e
@ -17,8 +17,10 @@ dependencies = [
|
||||
"libxcvt",
|
||||
"libxdmcp",
|
||||
"libxext",
|
||||
"libxfixes",
|
||||
"libxfont2",
|
||||
"libxkbfile",
|
||||
"libxxf86vm",
|
||||
"mesa-x11",
|
||||
"openssl1",
|
||||
"pixman",
|
||||
|
||||
@ -1,17 +1,3 @@
|
||||
diff -ruwN xorg-server-21.1.16/glx/meson.build source/glx/meson.build
|
||||
--- xorg-server-21.1.16/glx/meson.build 2025-02-25 11:56:05.000000000 -0700
|
||||
+++ source/glx/meson.build 2025-05-06 15:13:57.516784717 -0600
|
||||
@@ -13,8 +13,8 @@
|
||||
'glxcmds.c',
|
||||
'glxcmdsswap.c',
|
||||
'glxext.c',
|
||||
- 'glxdriswrast.c',
|
||||
- 'glxdricommon.c',
|
||||
+ #'glxdriswrast.c',
|
||||
+ #'glxdricommon.c',
|
||||
'glxscreens.c',
|
||||
'render2.c',
|
||||
'render2swap.c',
|
||||
diff -ruwN xorg-server-21.1.16/hw/xfree86/common/xf86Xinput.c source/hw/xfree86/common/xf86Xinput.c
|
||||
--- xorg-server-21.1.16/hw/xfree86/common/xf86Xinput.c 2025-02-25 11:56:05.000000000 -0700
|
||||
+++ source/hw/xfree86/common/xf86Xinput.c 2025-05-03 11:28:37.266757877 -0600
|
||||
@ -96,16 +82,7 @@ diff -ruwN xorg-server-21.1.16/hw/xfree86/os-support/xf86_OSlib.h source/hw/xfre
|
||||
#include <stdlib.h>
|
||||
diff -ruwN xorg-server-21.1.16/include/meson.build source/include/meson.build
|
||||
--- xorg-server-21.1.16/include/meson.build 2025-02-25 11:56:05.000000000 -0700
|
||||
+++ source/include/meson.build 2025-05-06 15:10:29.262525728 -0600
|
||||
@@ -6,7 +6,7 @@
|
||||
# convert to the old-style 1.x.y version scheme used up to 1.20.x for backwards compatibility
|
||||
release = 1 * 10000000 + major * 100000 + minor * 1000 + patch
|
||||
|
||||
-dri_dep = dependency('dri', required: build_glx)
|
||||
+dri_dep = dependency('dri', required: false)
|
||||
|
||||
conf_data = configuration_data()
|
||||
conf_data.set('_DIX_CONFIG_H_', '1')
|
||||
+++ source/include/meson.build 2025-05-06 18:15:08.036215875 -0600
|
||||
@@ -162,7 +162,7 @@
|
||||
conf_data.set('HAVE_PORT_CREATE', cc.has_function('port_create') ? '1' : false)
|
||||
conf_data.set('HAVE_REALLOCARRAY', cc.has_function('reallocarray', dependencies: libbsd_dep) ? '1' : false)
|
||||
@ -129,7 +106,7 @@ diff -ruwN xorg-server-21.1.16/include/meson.build source/include/meson.build
|
||||
conf_data.set('DRI3', build_dri3 ? '1' : false)
|
||||
if build_glx
|
||||
- conf_data.set_quoted('DRI_DRIVER_PATH', dri_dep.get_pkgconfig_variable('dridriverdir'))
|
||||
+ #conf_data.set_quoted('DRI_DRIVER_PATH', dri_dep.get_pkgconfig_variable('dridriverdir'))
|
||||
+ conf_data.set_quoted('DRI_DRIVER_PATH', '/usr/lib/dri')
|
||||
endif
|
||||
conf_data.set('HAS_SHM', build_mitshm ? '1' : false)
|
||||
conf_data.set('MITSHM', build_mitshm ? '1' : false)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user