The officially official Devuan Forum!

You are not logged in.

#1 Today 06:39:57

Alverstone
Member
Registered: 2024-10-06
Posts: 35  

Xorg libseat patch with meson

https://forums.gentoo.org/viewtopic.php … 3#p8887083

Had to apply this to make it compile. Just a heads up.

diff --git a/hw/xfree86/meson.build b/hw/xfree86/meson.build
index c4db85c..a90064b 100644
--- a/hw/xfree86/meson.build
+++ b/hw/xfree86/meson.build
@@ -93,6 +93,7 @@ xorg_deps = [
     xshmfence_dep,
     config_dep,
     libdrm_dep,
+    libseat_dep,
 ]
 
 if get_option('suid_wrapper')
diff --git a/hw/xfree86/os-support/meson.build b/hw/xfree86/os-support/meson.build
index 236f5de..66d624b 100644
--- a/hw/xfree86/os-support/meson.build
+++ b/hw/xfree86/os-support/meson.build
@@ -14,6 +14,12 @@ hdrs_xorg_os_support = [
 os_dep = []
 os_c_args = []
 
+libseat_dep = []
+if build_seatd_libseat
+    srcs_xorg_os_support += 'linux/seatd-libseat.c'
+    libseat_dep = dependency('libseat')
+endif
+
 if get_option('pciaccess')
     srcs_xorg_os_support += 'bus/Pci.c'
     if host_machine.system() != 'linux'
diff --git a/test/meson.build b/test/meson.build
index 94634c1..17c4181 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -219,7 +219,7 @@ if build_xorg
     unit = executable('tests',
          unit_sources,
          c_args: unit_c_args,
-         dependencies: [pixman_dep, randrproto_dep, inputproto_dep, libxcvt_dep],
+         dependencies: [pixman_dep, randrproto_dep, inputproto_dep, libxcvt_dep, libseat_dep],
          include_directories: unit_includes,
          link_args: ldwraps,
          link_with: xorg_link,

Offline

Board footer