aboutsummaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)Author
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
2018-07-28Add xdg-decoration-unstable-v1 supportemersion
2018-07-21Revert "Merge pull request #1153 from emersion/include-config"Drew DeVault
This reverts commit ef0a6ea4d2934ec014d791150c42348061ec4f7f, reversing changes made to 8d03bc9178d8544cbcd24293ece6ac9f1698e602.
2018-07-21Use posix_fallocate when availableemersion
2018-07-21Always include config.hemersion
2018-06-26Check for libavutil/hwcontext_drm.hScott Anderson
This is an optional feature of libavutil, so this will cause a build failure if it's not present (e.g. on Debian/Ubuntu).
2018-05-29rootston: use wl_display_destroy_clientsemersion
2018-05-17Add support for version 2 of the xdg-output protocolemersion
2018-05-05Add option to disable examples buildflorian.weigelt
Compiling the examples is useful for testing and development, but less useful for actual users of wlroots. This commit adds the option --enable-examples to set weather to include the examples at compilation or not. The default value is True, so the current behaviour remains unchanged.
2018-05-05Add option to disable rootston buildflorian.weigelt
Compiling the rootston example compositor is useful for testing and development, but less useful for actual users of wlroots, who might prefer sway or other compositors. This commit adds the option --enable-rootston to set weather to include rootston at compilation or not. The default value is True, so the current compilation behaviour remains unchanged.
2018-04-03Install include directory into includedirDanilo Spinella
Follow includedir parameter when installing include directory.
2018-04-02Change meson option names to use hypenDanilo Spinella
Replace underscore with hypen in meson option names, following style recommendations. http://mesonbuild.com/Style-guide.html#naming-options
2018-03-28backend/x11: make xcb-xkb optional, remove global stateemersion
2018-03-28backend/x11: correctly update keyboard modifiersemersion
2018-03-26Merge pull request #713 from ManDay/masterDrew DeVault
Make X11 fully optional
2018-03-23Minor correctionsCedric Sodhi
2018-03-12meson: use current_source_dir instead of source_rootemersion
Use source_root breaks the build when used as a subproject.
2018-03-09Make X11 fully optionalCedric Sodhi
Make X11 Backend (in addition to XWayland) optional and small bug fix on XWayland includes.
2018-03-03move xwm.h out of include/wlrDominique Martinet
xwm.h was meant to be private, so move it to include/xwayland/xwm.h We had an ifdef WLR_HAS_XCB_ICCCM in xwayland.h which was easy to move to xwm, it is not safe to use the WLR_HAS_* in the public headers. I checked a few of our current users and none rely on xwm.h being public as expected (rootston, sway, hsroots)
2018-03-03xcb errors: optional dependency with improved messagesDominique Martinet
Now message can look like: [xwayland/xwm.c:991] xcb error: op ChangeProperty (no minor), code Window (no extension), value 6291465 instead of this one when the lib is not available: [xwayland/xwm.c:999] xcb error: op 18:0, code 3, sequence 103, value 6291465 The value in case of Window is the window id, so we can tell what function applied on which window which is a good start. The sequence ought to be able to tell us more precisely which invocation it was, but we never log it when calling functions so is useless in practice and no longer logged.
2018-02-23Add symbols fileGuido Günther
to only export symbols matching wlr_* from the wlroots library
2018-02-19Revert "ELF Visibility"Drew DeVault
2018-02-19Explicitly export EFL symbolsScott Anderson
2018-02-14meson: require wayland-protocols >=1.12 for xdg-shell stableDominique Martinet
2018-02-12Reformat all #include directivesemersion
2018-02-10meson build: only link with deps when required by optionsDominique Martinet