diff options
author | Adam Jackson <ajax@redhat.com> | 2019-09-13 16:43:21 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2019-10-08 14:58:32 -0400 |
commit | 1547c1cc3c99cca7c123ee83aee66586477bf265 (patch) | |
tree | 5833ea7e85227b63c7d9bff7d469218561b089ae | |
parent | e0d4e02710e6d66408ecbbd2fee64ae4c6748739 (diff) |
Move remaining xlib-entwined headers to LEGACY
These headers refer to libX11 types and don't belong in this package.
libX11 and libXv have been updated to supply these headers themselves
now, so these are only useful for building older versions of those
libraries.
Fixes: xorg/proto/xorgproto#10
-rw-r--r-- | Makefile.am | 8 | ||||
-rw-r--r-- | include/X11/extensions/meson.build | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 40c2f67..18f4203 100644 --- a/Makefile.am +++ b/Makefile.am @@ -130,11 +130,13 @@ inputprotopkgconfig_DATA = inputproto.pc kbdir = $(includedir)/X11/extensions kb_HEADERS = \ - include/X11/extensions/XKBgeom.h \ include/X11/extensions/XKB.h \ include/X11/extensions/XKBproto.h \ include/X11/extensions/XKBsrv.h \ include/X11/extensions/XKBstr.h +if LEGACY +kb_HEADERS += include/X11/extensions/XKBgeom.h +endif kbprotopkgconfigdir = $(datadir)/pkgconfig kbprotopkgconfig_DATA = kbproto.pc @@ -256,11 +258,13 @@ endif videodir = $(includedir)/X11/extensions video_HEADERS = \ - include/X11/extensions/vldXvMC.h \ include/X11/extensions/Xv.h \ include/X11/extensions/XvMC.h \ include/X11/extensions/XvMCproto.h \ include/X11/extensions/Xvproto.h +if LEGACY +video_HEADERS += include/X11/extensions/vldXvMC.h +endif videoprotopkgconfigdir = $(datadir)/pkgconfig videoprotopkgconfig_DATA = videoproto.pc diff --git a/include/X11/extensions/meson.build b/include/X11/extensions/meson.build index dbd70c2..1d85cf8 100644 --- a/include/X11/extensions/meson.build +++ b/include/X11/extensions/meson.build @@ -53,7 +53,6 @@ install_headers( 'syncconst.h', 'syncproto.h', 'syncstr.h', - 'vldXvMC.h', 'xcmiscproto.h', 'xcmiscstr.h', 'xf86bigfont.h', @@ -77,7 +76,6 @@ install_headers( 'XI2proto.h', 'XI.h', 'XIproto.h', - 'XKBgeom.h', 'XKB.h', 'XKBproto.h', 'XKBsrv.h', @@ -110,6 +108,7 @@ if get_option('legacy') == true 'lgewire.h', 'Print.h', 'Printstr.h', + 'vldXvMC.h', 'windowswm.h', 'windowswmstr.h', 'xcalibrateproto.h', @@ -117,6 +116,7 @@ if get_option('legacy') == true 'Xeviestr.h', 'xf86rush.h', 'xf86rushstr.h', + 'XKBgeom.h', subdir : 'X11/extensions' ) endif |