aboutsummaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)Author
2019-11-20Add -Wmissing-prototypesSimon Ser
This requires functions without a prototype definition to be static. This allows to detect dead code, export less symbols and put shared functions in headers.
2019-11-19build: Pass library as first argument to pkgconfig.generate()Scott Moreau
Eliminates this warning when building wlroots as a subproject: subprojects/wlroots/meson.build:216: DEPRECATION: Library wlroots was passed to the libraries keyword argument of a previous call to generate() method instead of first positional argument. Adding wlroots to Requires field, but this is a deprecated behaviour that will change in a future version of Meson. Please report the issue if this warning cannot be avoided in your case.
2019-10-16build: simplify by using disabler depsSimon Ser
2019-10-07Update version to 0.8.1Drew DeVault
2019-08-27Update version to 0.7.0Drew DeVault
2019-08-11Add libinput-1.14 supportDrew DeVault
This libinput version adds a new tablet tool type.
2019-08-09Remove rootstonDrew DeVault
2019-07-27Remove all wayland-server.h includesSimon Ser
The documentation for wayland-server.h says: > Use of this header file is discouraged. Prefer including > wayland-server-core.h instead, which does not include the server protocol > header and as such only defines the library PI, excluding the deprecated API > below. Replacing wayland-server.h with wayland-server-core.h allows us to drop the WL_HIDE_DEPRECATED declaration.
2019-07-17Use -fmacro-prefix-map to strip build pathManuel Stoeckl
This commit matches sway's 2dc4978d8af326c310057ca8fd22a4c7f5d09335. To help ensure a reproducible build (when debug info is disabled), the meson build script now uses the -fmacro-prefix-map command line argument supported by GCC to strip the build-path dependent bytes of each __FILE__ string used by wlr_log and related functions. A rather ugly algorithm is used to compute the relative path between the build and source folders, because meson has no specific function for this. When the compiler does not support -fmacro-prefix-map, fall back to shifting the start of each __FILE__ string by the length of the relative path to the source directory.
2019-05-03Update version to 0.6.0Drew DeVault
2019-04-08Add FreeRDP backend for remote desktop supportDrew DeVault
2019-03-22meson.build: require libinput >= 1.9.0Ilia Bozhinov
We use LIBINPUT_SWITCH_TABLET_MODE, which is introduced in 1.9.0
2019-03-12meson: remove -Wredundant-declsemersion
This is causing issues with wayland-scanner generated files. The client and server headers are declaring the same structs. We include both in the Wayland backend. See https://gitlab.freedesktop.org/wayland/wayland/issues/82
2019-03-11Update version to 0.5.0Drew DeVault
2019-03-01meson: enable more compiler warningsemersion
2019-02-27Update version to 0.4.1Drew DeVault
2019-02-25Bump version to 0.4emersion
2019-02-13primary-selection-v1: copy from gtk-primary-selectionemersion
2019-02-03Bump project version to 0.3emersion
2019-01-29meson: remove b_lundef=false on FreeBSDemersion
2019-01-29Require libdrm >= 2.4.95emersion
2019-01-24text-input-v3: use protocol from wayland-protocolsemersion
2018-12-01build: bump versino to 0.2.0Simon Barth
2018-11-13backend/x11: Remove old input functionsScott Anderson
This also allows us to remove xcb-xkb, since Xinput will now give us the appropriate XKB modifiers with each event.
2018-11-12Use #if instead of #ifdef for wlroots config dataemersion
This prevents some annoying issues when e.g. not including wlr/config.h or making a typo in the guard name.
2018-11-09Remove WLR_HAS_POSIX_FALLOCATE from build systemsghctoma
2018-10-28util: use shm_open for in-memory filesemersion
shm_open is a POSIX function creating an in-memory file. Using it simplifies the code and removes the dependency on XDG_RUNTIME_DIR. The only downside is that we need to generate a random name for the shm file.
2018-10-21Update version to 0.1emersion
2018-10-12Merge pull request #1203 from dcz-purism/inputDrew DeVault
Support input method and text input
2018-10-09build: bump wayland-scanner versionDorota Czaplejewicz
wayland-scanner >= 1.15.0 accepts foreign struct references, necessary in protocols like zwp-input-method-v2
2018-10-07meson.build: require logind v237n3rdopolis
Commit 7b523884249f904f45b1e9a7eae8152c2ac1248d uses a function added in logind v237
2018-09-28Use == to check system instead of a prefix matchsghctoma
2018-09-28Set minimum Meson version to 0.48.0sghctoma
This commit sets the required Meson version to >=0.48.0, and removes the comment about building on FreeBSD requires an extra flag.
2018-09-26Add b_lundef=false Meson option on FreeBSDsghctoma
The Meson option "b_lundef" need to be set to false on FreeBSD, because the symbol "environ" is in crt1.o, which is not linked with shared libraries. With Meson >=0.48.0 it is possible to set this option only for FreeBSD. This patch changes meson.build to do that.
2018-08-24Update required meson version to 0.47.1Drew DeVault
2018-08-24Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""Scott Anderson
This reverts commit 9c886f20b97b6ab1ac85b849f1fe7f16eb199ff0.
2018-08-23Revert "Merge pull request #1194 from ascent12/meson_feature"Drew DeVault
This breaks wlroots when used as a meson subproject. This reverts commit dea311992eb4ff3e343c3cf5b0603034223d2a42, reversing changes made to 6db9c4b74667c1d917d720f5e96985a2461569fb.
2018-08-23Use current_source_dir instead of source_rootScott Anderson
This is so that log messages are printed properly when wlroots is build as a subproject.
2018-08-22Install headers explicitlyScott Anderson
2018-08-22Make style more consistentScott Anderson
2018-08-22Remove unnecessary project argumentsScott Anderson
Meson handles rpath properly, and we don't need to use -I ourselves by using include_directories with '.'.
2018-08-22Add link dependency on symbols fileScott Anderson
So the library is rebuilt properly when it's updated.
2018-08-22Update examples to use new optionScott Anderson
We use a dictionary to remove some code duplication.
2018-08-22Update rootston to use new optionScott Anderson
2018-08-22Use new options for X11 backend and XwaylandScott Anderson
2018-08-22Use feature options for libcap/logindScott Anderson
We now use a combo choice between systemd/elogind as they are mutually exclusive anyway.
2018-08-22Add new feature optionsScott Anderson
Bump minimum meson version to 0.47 for the feature.
2018-08-16ctags: use -f instead of -oGuido Günther
The later does not exist on FreeBSD See #725
2018-08-02Merge pull request #1053 from emersion/xdg-decorationDrew DeVault
Add xdg-decoration-unstable-v1 support
2018-07-29Initial pass on API stability guaranteesDrew DeVault
This introduces -DWLR_USE_UNSTABLE and adds information regarding the stability status to all headers. I started with a conservative set of headers to mark as stable: - types/wlr_matrix.h - util/edges.h - util/log.h - util/region.h - xcursor.h