summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-12-13 12:35:22 +0000
committerRoss Burton <ross.burton@intel.com>2020-02-25 16:28:10 +0000
commit032909626b4b4757a4ad10823b199157538a58e9 (patch)
treeba7af3d83f46813c2c97fc1837e5a606b0c813b0
parentf61f9a3ee1aa77ebcc67730cda9bfde88e4e9c5f (diff)
meson: mark more extensions as legacy
The Meson and Autotools builds disagree about what extensions are legacy. This patch makes the Meson build identical to autotools. Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--include/X11/extensions/meson.build18
-rw-r--r--include/X11/meson.build4
-rw-r--r--meson.build6
3 files changed, 15 insertions, 13 deletions
diff --git a/include/X11/extensions/meson.build b/include/X11/extensions/meson.build
index 1d85cf8..d1ac281 100644
--- a/include/X11/extensions/meson.build
+++ b/include/X11/extensions/meson.build
@@ -65,8 +65,6 @@ install_headers(
'xf86dga.h',
'xf86dgaproto.h',
'xf86dgastr.h',
- 'xf86misc.h',
- 'xf86mscstr.h',
'xf86vm.h',
'xf86vmproto.h',
'xf86vmstr.h',
@@ -85,13 +83,6 @@ install_headers(
'xtestext1const.h',
'xtestext1proto.h',
'xtestproto.h',
- 'xtrapbits.h',
- 'xtrapddmi.h',
- 'xtrapdi.h',
- 'xtrapemacros.h',
- 'xtraplib.h',
- 'xtraplibp.h',
- 'xtrapproto.h',
'Xv.h',
'XvMC.h',
'XvMCproto.h',
@@ -113,7 +104,16 @@ if get_option('legacy') == true
'windowswmstr.h',
'xcalibrateproto.h',
'xcalibratewire.h',
+ 'xtrapbits.h',
+ 'xtrapddmi.h',
+ 'xtrapdi.h',
+ 'xtrapemacros.h',
+ 'xtraplib.h',
+ 'xtraplibp.h',
+ 'xtrapproto.h',
'Xeviestr.h',
+ 'xf86misc.h',
+ 'xf86mscstr.h',
'xf86rush.h',
'xf86rushstr.h',
'XKBgeom.h',
diff --git a/include/X11/meson.build b/include/X11/meson.build
index 1c33c64..a4b022e 100644
--- a/include/X11/meson.build
+++ b/include/X11/meson.build
@@ -59,4 +59,6 @@ install_headers(
subdir('dri')
subdir('extensions')
subdir('fonts')
-subdir('PM')
+if get_option('legacy') == true
+ subdir('PM')
+endif
diff --git a/meson.build b/meson.build
index cfbaa2c..68e622a 100644
--- a/meson.build
+++ b/meson.build
@@ -42,18 +42,15 @@ pcs = [
['renderproto', '0.11.1'],
['resourceproto', '1.2.0'],
['scrnsaverproto', '1.2.2'],
- ['trapproto', '3.4.3'],
['videoproto', '2.3.3'],
['xcmiscproto', '1.2.2'],
['xextproto', '7.3.0'],
['xf86bigfontproto', '1.2.0'],
['xf86dgaproto', '2.1'],
['xf86driproto', '2.1.1'],
- ['xf86miscproto', '0.9.3'],
['xf86vidmodeproto', '2.3.1'],
['xineramaproto', '1.2.1'],
['xproto', '7.0.32'],
- ['xproxymngproto', '1.0.3'],
]
foreach pc : pcs
@@ -78,9 +75,12 @@ if get_option('legacy') == true
['fontcacheproto', '0.1.3'],
['lg3dproto', '5.0'],
['printproto', '1.0.5'],
+ ['trapproto', '3.4.3'],
['windowswmproto', '1.0.4'],
['xcalibrateproto', '0.1.0'],
+ ['xf86miscproto', '0.9.3'],
['xf86rushproto', '1.2.2'],
+ ['xproxymngproto', '1.0.3'],
]
foreach pc : legacy_pcs
pkg.generate(