aboutsummaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)Author
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
2018-02-10meson build: make enable options work as auto/true/falseDominique Martinet
This makes meson fail if -Denable_systemd=true was set but not found The default is now auto which is the old behaviour
2018-02-10meson.build status: print actual build options in messageDominique Martinet
We were printing the option intent (true by default for all), but some are disabled when a component is not found and this was not reflected.
2018-01-30Fix some typosGuido Günther
Prefer initialize over initialise since used more often in the sources.
2018-01-26meson: add ctags and etags targetsGuido Günther
to create tag files. Idea taken from systemd. Signed-off-by: Guido Günther <agx@sigxcpu.org>
2018-01-24meson: print enabled optionsGuido Günther
This makes it simpler to figure out what was enabled.
2018-01-04meson: fix include path in generated .pcDominique Martinet
The generated .pc still contained -I${prefix}/wlroots, this is no longer needed at all as the prefix is now 'wlr' and all includes are 'wlr/foo'
2017-12-28Further fixes to header install dirDrew DeVault
2017-12-28Install headers to /usr/include/wlrDrew DeVault
Rather than wlroots. I should have caught this.
2017-12-27meson: Fix exclude_headersBjörn Esser
2017-12-27libwlroots: Add shared library versioningBjörn Esser
2017-12-27include: Install headers in an isolated include-dirBjörn Esser
2017-12-27config: Avoid clash with other config-headersBjörn Esser