Age | Commit message (Collapse) | Author |
|
|
|
This reverts commit 9c886f20b97b6ab1ac85b849f1fe7f16eb199ff0.
|
|
This breaks wlroots when used as a meson subproject.
This reverts commit dea311992eb4ff3e343c3cf5b0603034223d2a42, reversing
changes made to 6db9c4b74667c1d917d720f5e96985a2461569fb.
|
|
This is so that log messages are printed properly when wlroots is build
as a subproject.
|
|
|
|
|
|
Meson handles rpath properly, and we don't need to use -I ourselves by
using include_directories with '.'.
|
|
So the library is rebuilt properly when it's updated.
|
|
We use a dictionary to remove some code duplication.
|
|
|
|
|
|
We now use a combo choice between systemd/elogind as they are mutually
exclusive anyway.
|
|
Bump minimum meson version to 0.47 for the feature.
|
|
The later does not exist on FreeBSD
See #725
|
|
Add xdg-decoration-unstable-v1 support
|
|
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
|
|
|
|
This reverts commit ef0a6ea4d2934ec014d791150c42348061ec4f7f, reversing
changes made to 8d03bc9178d8544cbcd24293ece6ac9f1698e602.
|
|
|
|
|
|
This is an optional feature of libavutil, so this will cause a build
failure if it's not present (e.g. on Debian/Ubuntu).
|
|
|
|
|
|
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.
|
|
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.
|
|
Follow includedir parameter when installing include directory.
|
|
Replace underscore with hypen in meson option names, following style
recommendations.
http://mesonbuild.com/Style-guide.html#naming-options
|
|
|
|
|
|
Make X11 fully optional
|
|
|
|
Use source_root breaks the build when used as a subproject.
|
|
Make X11 Backend (in addition to XWayland) optional and small bug fix on XWayland includes.
|
|
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)
|
|
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.
|
|
to only export symbols matching wlr_* from the wlroots library
|
|
|
|
|
|
|
|
|
|
|
|
This makes meson fail if -Denable_systemd=true was set but not found
The default is now auto which is the old behaviour
|
|
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.
|
|
Prefer initialize over initialise since used more often in the sources.
|
|
to create tag files. Idea taken from systemd.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
This makes it simpler to figure out what was enabled.
|
|
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'
|
|
|
|
Rather than wlroots. I should have caught this.
|
|
|