summaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)Author
2022-08-05Add the XWAYLAND extensionPeter Hutterer
This extension exists to serve one purpose: reliably identifying Xwayland. Previous attempts at doing so included querying root window properties, output names or input device names. All these attempts are somewhat unreliable. Instead, let's use an extension - where that extension is present we have an Xwayland server. Clients should never need to do anything but check whether the extension exists through XQueryExtension/XListExtensions. This extension provides a single QueryVersion request only, and that is only to provide future compatibility if we ever need anything other than "this extension exists" functionality. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
2022-04-21xorgproto 2022.1xorgproto-2022.1Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-09-15xorgproto 2021.5xorgproto-2021.5Povilas Kanapickas
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-30xorgproto-2021.4.99.2xorgproto-2021.4.99.2Povilas Kanapickas
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-15xorgproto-2021.4.99.1xorgproto-2021.4.99.1Povilas Kanapickas
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-04-30xorgproto 2021.4xorgproto-2021.4Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-04-30gitlab CI: check that the autotools and meson versions are in syncPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-03-10meson.build: install the protocol .txt files in docPeter Hutterer
This now matches the autotools installation Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-03-10meson.build: use built-in variable substitution handling instead of sedPeter Hutterer
Generated outputs are identical Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-02-25xorgproto-2021.3xorgproto-2021.3Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-02-24xorgproto 2021.2xorgproto-2021.2Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-02-08XF86keysym.h: reserve a range for Linux kernel keysymsPeter Hutterer
The Linux kernel adds a few evdev keycodes roughly every other release. These aren't available as keysyms through XKB until they have been added as keycode in xkeyboard-config and mapped there to a newly defined keysym in the X11 proto headers. In the past, this was done manually, a suitable keysym was picked at random and the mapping updated accordingly. This doesn't scale very well and, given we have a large reserved range for XF86 keysyms anyway, can be done easier. Let's reserve the range 0x10081XXX range for a 1:1 mapping of Linux kernel codes. That's 4095 values, the kernel currently uses only 767 anyway. The lower 3 bytes of keysyms within that range have to match the kernel value to make them easy to add and search for. Nothing in X must care about the actual keysym value anyway. Since we expect this to be parsed by other scripts for automatic updating, the format of those #defines is quite strict. Add a script to generate keycodes as well as verify that the existing ones match the current expected format. The script is integrated into the CI and meson test, so we will fail if an update breaks the expectations. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2020-08-24meson: Use configure_file for pc files.orbea
Meson's pkg.generate() is not suitable for header only libraries and using configure_file() allows for more fine tuned control. This also makes the meson and autotools builds more in sync where they both use the same .pc.in files. v2: Drop exec_prefix.
2020-04-14xorgproto 2020.1xorgproto-2020.1Adam Jackson
Fixes: xorgproto#28 Signed-off-by: Adam Jackson <ajax@redhat.com>
2020-04-14Revert "xorgproto 2020.1"Adam Jackson
Fails distcheck. This reverts commit 032a3a16cd6c283fc596c6410c59665cfa1c6cab.
2020-04-06xorgproto 2020.1Adam Jackson
Fixes: xorgproto#28 Signed-off-by: Adam Jackson <ajax@redhat.com>
2020-02-26Add DPMSInfoNotify eventAlexander Volkov
This will allow applications to respond to changes of power level of a monitor, e.g. an application may stop rendering and related calculations when the monitor is off. Bump DPMS version to 1.2, install dpmsproto.pc. Signed-off-by: Alexander Volkov <a.volkov@rusbitech.ru>
2020-02-25meson: mark more extensions as legacyRoss Burton
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>
2019-10-17xorgproto 2019.2xorgproto-2019.2Adam Jackson
Closes: https://gitlab.freedesktop.org/xorg/proto/xorgproto/issues/21 Signed-off-by: Adam Jackson <ajax@redhat.com>
2019-07-22Move windowswmproto to legacyJon Turney
2019-06-20xorgproto 2019.1xorgproto-2019.1Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-02-28xorgproto 2018.4xorgproto-2018.4Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-02-28presentproto: PresentCompleteModeSuboptimalCopy flagLouis-Francis Ratté-Boulianne
If the Complete event has this mode, the client is not using the more optimal format/modifier for the buffer allocation. The client must explicitely inform the server that it understands this mode by adding the PresentOptionSuboptimal flag when calling PresentPixmap. Its main usage as of now is to allow clients to re-fetch DRI3 format modifiers as some modifiers might allow direct scanout. Bump presentproto version to 1.2. Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
2018-02-28dri3: Add modifier/multi-plane requests, bump to v1.2Louis-Francis Ratté-Boulianne
DRI3 version 1.2 adds support for explicit format modifiers, including multi-planar buffers. Signed-off-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
2018-02-20xorgproto 2018.3xorgproto-2018.3Keith Packard
Signed-off-by: Keith Packard <keithp@keithp.com>
2018-02-15Bump meson.build version to 2018.2Keith Packard
Signed-off-by: Keith Packard <keithp@keithp.com>
2018-02-15Update RandR version in meson.build to 1.6Keith Packard
The RandR 1.6 patches were merged without the necessary meson changes. Signed-off-by: Keith Packard <keithp@keithp.com>
2018-02-12xproto: Bump to 7.0.32Adam Jackson
Since 7.0.31 we've added four new keysyms (XF86XK_Keyboard, _WWAN, _RFKill, and _AudioPreset). Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-02-12kbproto: Fix version number (1.0.7 not 1.0.6)Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-02-12presentproto: Fix version number (1.1 not 1.0)Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-02-06meson: Fix xf86driproto.pcAdam Jackson
These headers are in X11/dri but are included without a relative path. Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-02-05xorgproto 2018.1xorgproto-2018.1Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-02-01meson: Spread the install rules into their subdirsAdam Jackson
Mostly this is is so the generated Xpoll.h can be emitted into a usable directory when we build as a subproject. Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-02-01meson: Unbreak the dependency include pathAdam Jackson
2018-01-30Add a meson build systemAdam Jackson
Builds on the work Dylan Baker did for glproto. Note that this does not produce _quite_ identical pc files as the autotools build, but it only affects the name and description strings which are only informative anyway. Just to be petty: % time ( ./configure --prefix=/tmp/xorgproto && make install; ) >& /dev/null 2.42s user 1.67s system 107% cpu 3.804 total % time ( meson setup build && meson configure build -Dprefix=/tmp/xorgproto && ninja -C build install ) >& /dev/null 0.55s user 0.11s system 100% cpu 0.658 total Signed-off-by: Adam Jackson <ajax@redhat.com>
2017-11-06meson: Add meson build supportDylan Baker
This does everything the autotools build does except muck with your git config. It does so much faster, and has an "ext_glproto" dependency that is meant to be used with meson's wrap capability. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>