Drew DeVault
94f65e354d
Add libinput-1.14 support
...
This libinput version adds a new tablet tool type.
5 years ago
Drew DeVault
58b2584863
Remove rootston
5 years ago
Simon Ser
ca45f4490c
Remove all wayland-server.h includes
...
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.
5 years ago
Manuel Stoeckl
bb05617414
Use -fmacro-prefix-map to strip build path
...
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.
5 years ago
Drew DeVault
c0305f4f86
Update version to 0.6.0
6 years ago
Drew DeVault
fd0d7d0907
Add FreeRDP backend for remote desktop support
6 years ago
Ilia Bozhinov
4281c8c566
meson.build: require libinput >= 1.9.0
...
We use LIBINPUT_SWITCH_TABLET_MODE, which is introduced in 1.9.0
6 years ago
emersion
408eca7dfa
meson: remove -Wredundant-decls
...
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
6 years ago
Drew DeVault
c9137cba69
Update version to 0.5.0
6 years ago
emersion
5445d8aad0
meson: enable more compiler warnings
6 years ago
Drew DeVault
b46e097fe2
Update version to 0.4.1
6 years ago
emersion
0b33643175
Bump version to 0.4
6 years ago
emersion
8163f7e1e2
primary-selection-v1: copy from gtk-primary-selection
6 years ago
emersion
59d1b6790d
Bump project version to 0.3
6 years ago
emersion
77c25c1526
meson: remove b_lundef=false on FreeBSD
6 years ago
emersion
75371d2c88
Require libdrm >= 2.4.95
6 years ago
emersion
af3de7ea68
text-input-v3: use protocol from wayland-protocols
6 years ago
Simon Barth
92e39b586c
build: bump versino to 0.2.0
6 years ago
Scott Anderson
70ae76304e
backend/x11: Remove old input functions
...
This also allows us to remove xcb-xkb, since Xinput will now give us the
appropriate XKB modifiers with each event.
6 years ago
emersion
51bfdd620e
Use #if instead of #ifdef for wlroots config data
...
This prevents some annoying issues when e.g. not including wlr/config.h or
making a typo in the guard name.
6 years ago
sghctoma
753540335b
Remove WLR_HAS_POSIX_FALLOCATE from build system
6 years ago
emersion
346ec21c4c
util: use shm_open for in-memory files
...
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.
6 years ago
emersion
be6210cf82
Update version to 0.1
6 years ago
Drew DeVault
66e8908e9a
Merge pull request #1203 from dcz-purism/input
...
Support input method and text input
6 years ago
Dorota Czaplejewicz
174e8a48aa
build: bump wayland-scanner version
...
wayland-scanner >= 1.15.0 accepts foreign struct references, necessary in protocols like zwp-input-method-v2
6 years ago
n3rdopolis
cf7323a831
meson.build: require logind v237
...
Commit 7b52388424
uses a function added in logind v237
6 years ago
sghctoma
65359718c4
Use == to check system instead of a prefix match
6 years ago
sghctoma
1d017c1cc1
Set minimum Meson version to 0.48.0
...
This commit sets the required Meson version to >=0.48.0, and removes the
comment about building on FreeBSD requires an extra flag.
6 years ago
sghctoma
57ce896688
Add b_lundef=false Meson option on FreeBSD
...
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.
6 years ago
Drew DeVault
6025fcaa09
Update required meson version to 0.47.1
6 years ago
Scott Anderson
fd3fa760d3
Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""
...
This reverts commit 9c886f20b9
.
6 years ago
Drew DeVault
9c886f20b9
Revert "Merge pull request #1194 from ascent12/meson_feature"
...
This breaks wlroots when used as a meson subproject.
This reverts commit dea311992e
, reversing
changes made to 6db9c4b746
.
6 years ago
Scott Anderson
653ea512c2
Use current_source_dir instead of source_root
...
This is so that log messages are printed properly when wlroots is build
as a subproject.
6 years ago
Scott Anderson
51892e0d74
Install headers explicitly
6 years ago
Scott Anderson
a2bbf2c1f7
Make style more consistent
6 years ago
Scott Anderson
869dca1bce
Remove unnecessary project arguments
...
Meson handles rpath properly, and we don't need to use -I ourselves by
using include_directories with '.'.
6 years ago
Scott Anderson
1358d80ab9
Add link dependency on symbols file
...
So the library is rebuilt properly when it's updated.
6 years ago
Scott Anderson
584a3f8b6e
Update examples to use new option
...
We use a dictionary to remove some code duplication.
6 years ago
Scott Anderson
560e96aa57
Update rootston to use new option
6 years ago
Scott Anderson
784c20c82f
Use new options for X11 backend and Xwayland
6 years ago
Scott Anderson
94ed2fc7bb
Use feature options for libcap/logind
...
We now use a combo choice between systemd/elogind as they are mutually
exclusive anyway.
6 years ago
Scott Anderson
3fa3dca6d5
Add new feature options
...
Bump minimum meson version to 0.47 for the feature.
6 years ago
Guido Günther
570970db64
ctags: use -f instead of -o
...
The later does not exist on FreeBSD
See #725
6 years ago
Drew DeVault
5642c5cc8f
Merge pull request #1053 from emersion/xdg-decoration
...
Add xdg-decoration-unstable-v1 support
6 years ago
Drew DeVault
211ae764fd
Initial pass on API stability guarantees
...
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
6 years ago
emersion
555721f714
Add xdg-decoration-unstable-v1 support
6 years ago
Drew DeVault
4b096fc114
Revert "Merge pull request #1153 from emersion/include-config"
...
This reverts commit ef0a6ea4d2
, reversing
changes made to 8d03bc9178
.
6 years ago
emersion
e02c486b60
Use posix_fallocate when available
6 years ago
emersion
41094a7df5
Always include config.h
6 years ago
Scott Anderson
86942d8a6a
Check for libavutil/hwcontext_drm.h
...
This is an optional feature of libavutil, so this will cause a build
failure if it's not present (e.g. on Debian/Ubuntu).
7 years ago