aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
Commit message (Collapse)AuthorAge
* Define _POSIX_C_SOURCE globallyLibravatar Simon Ser2024-02-23
| | | | See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
* build: bump version to 1.10-devLibravatar Simon Ser2024-01-26
|
* Detect Nvidia proprietary driver via drmGetVersion()Libravatar Simon Ser2023-12-12
| | | | | This is less punishing for users with the Nvidia driver loaded but not used by Sway (e.g. for CUDA).
* meson: bump wlroots version after 0.17.0 releaseLibravatar llyyr2023-11-22
|
* render: Use wlroots scale filterLibravatar Alexander Orzechowski2023-06-19
|
* pango: add printf attributeLibravatar Simon Ser2023-04-14
| | | | | | | | This allows the compiler to catch mismatches between the format string and the arguments passed in. Need to add -Wno-format-zero-length because we pass an empty string on purpose in swaybar/render.c.
* ipc: add LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM entryLibravatar Simon Ser2023-03-27
| | | | | | | | | | This was introduced in the last libinput release. Fixes the following error: ../sway/ipc-json.c:928:17: error: enumeration value 'LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM' not handled in switch [-Werror=switch] 928 | switch (libinput_device_config_accel_get_profile(device)) { | ^~~~~~
* input: enable user xkb configs with cap_sys_niceLibravatar Ronan Pigott2023-01-11
|
* build: fix have_xwayland when xcb-icccm is not foundLibravatar Simon Ser2022-11-29
| | | | xcb-icccm is required to build Xwayland support.
* build: move completions to separate fileLibravatar Simon Ser2022-11-28
|
* build: remove trailing newline at end of fileLibravatar Simon Ser2022-11-28
|
* Make libinput backend optionalLibravatar Simon Ser2022-11-28
|
* Make GLES2 optionalLibravatar Simon Ser2022-11-28
|
* build: bump version to 1.9-devLibravatar Simon Ser2022-11-26
|
* build: drop unused wayland-egl dependencyLibravatar Simon Ser2022-11-26
|
* build: bump wlroots dependency to 0.17.0Libravatar Joe Kappus2022-11-11
|
* Use wl_signal_emit_mutable()Libravatar Simon Ser2022-11-10
| | | | | This function fixes segfaults when emitting a signal potentially removes arbitrary listeners.
* Support libinput's 1.21 new dwtp optionLibravatar pudiva chip lĂ­quida2022-10-30
| | | | | | | | | Support the new dwtp (disable while trackpointing) option introduced in libinput 1.21, allowing users to control whether the trackpoint (like those in Thinkpads, but not only) should be disabled while using the keyboard/touchpad. See: https://gitlab.freedesktop.org/libinput/libinput/-/issues/731
* build: link with -pthreadLibravatar Simon Ser2022-05-30
| | | | | | | | | | Fixes the following FreeBSD error: ld: error: undefined symbol: pthread_getschedparam >>> referenced by realtime.c:25 (../sway/realtime.c:25) >>> sway/sway.p/realtime.c.o:(set_rr_scheduling) Fixes: a3a82efbf6b5 ("realtime: request SCHED_RR using CAP_SYS_NICE")
* Chase wlroots X11 hints updateLibravatar kraftwerk282022-04-18
|
* Replace pcre with pcre2Libravatar ndren2022-03-12
| | | Closes: https://github.com/swaywm/sway/issues/6838
* build: execute wlroots subproject before finding depsLibravatar Simon Ser2022-01-18
| | | | | | | | | | | wlroots often requires dependencies more recent than Sway's. Executing the wlroots subproject first will give Meson a chance to find these newer dependencies, possibly via subprojects. The subproject will override the "wlroots" dependency when executed, so we don't need to use get_variable anymore. References: https://github.com/swaywm/sway/pull/6498#issuecomment-1001746017
* build: fix building with basuLibravatar Kirill Chibisov2022-01-12
| | | | | | | | | 02b412a introduced the use of list for sdbus deps, however it was assuming that all packages which were in a list has a version higher than 239. That is true for libsystemd and libelogind, since they use the same versions, however basu is using version numbers which are way lower than what libsystemd/libelogind are using, so basu only build is failing.
* meson: check: false on run_commandLibravatar Kenny Levinsen2022-01-11
| | | | | | | Future meson releases will change the default and warns when the implicit default is used, breaking builds. Explicitly set check: false to maintain behavior and silence warnings.
* build: bump version to 1.8-devLibravatar Simon Ser2021-12-23
| | | | | | | | | | | | | | | | | | | | Historically we've been sticking with the last release number in the master branch. However that's a bit confusing, people can't easily figure out whether they're using a release or a work-in-progress snapshot. Only the commit hash appended to the version number may help, but that's not very explicit and disappears when using a tarball. We could bump the version in master to the next release number. However during the RC cycle there would be a downgrade from 1.8 to 1.8-rc1. Also it would be hard to tell the difference between a stable release and an old snapshot. This patch introduces a new pre-release identifier, "dev". It's alphabetically before "rc" so it should be correctly sorted by semver comparisons. "dev" is upgraded to "rc" (and then to stable) when doing a release. The master branch always uses a "dev" version, only release branches use "rc" or stable versions.
* build: bump wlroots dependency to 0.16.0Libravatar Sefa Eyeoglu2021-12-19
|
* meson.build: require wayland-protocols 1.24Libravatar Cole Mickens2021-12-14
| | | As far as I can tell `ZWP_LINUX_DMABUF_FEEDBACK_V1_TRANCHE_FLAGS_SCANOUT` is introduced in wayland-protocols 1.24.
* swaynag: remove xdg-output logicLibravatar Simon Ser2021-12-13
| | | | | We can just get the output name from wl_output directly, now that wl_output version 4 exists.
* build: use list for sdbus depLibravatar Simon Ser2021-11-26
| | | | | This allows to simplify our logic. Meson will pick the first found library.
* build: remove scdoc stdin/stdout hackLibravatar Simon Ser2021-09-15
| | | | | | | | Since [1], Meson allows feeding the input file as stdin and capturing stout to the output file. We don't need the sh hack anymore. [1]: https://github.com/mesonbuild/meson/pull/8923
* Add meson options to enable/disable swaybar and swaynagLibravatar Dylan Araps2021-07-21
|
* build: use ExternalProgram.full_path instead of pathLibravatar Simon Ser2021-06-30
| | | | ExternalProgram.path has been deprecated.
* build: use Dependency.get_variable instead of get_pkgconfig_variableLibravatar Simon Ser2021-06-30
| | | | Dependency.get_pkgconfig_variable has been deprecated.
* build: use meson.global_build_root()Libravatar Simon Ser2021-06-30
| | | | | | meson.build_root() is deprecated. References: https://github.com/mesonbuild/meson/pull/8629
* build: bump wlroots dependency to 0.15.0Libravatar Simon Ser2021-06-23
|
* build: remove sd-bus status itemLibravatar Simon Ser2021-05-04
| | | | sd-bus == tray, no need to print the same thing twice.
* meson: libseat is no longer optionalLibravatar Kenny Levinsen2021-04-14
| | | | See: https://github.com/swaywm/wlroots/pull/2839
* build: stop checking for logindLibravatar Simon Ser2021-04-11
| | | | | | | wlroots has removed its logind session backend [1]. It now relies on libseat only. [1]: https://github.com/swaywm/wlroots/pull/2786
* build: update wlroots dependency version to 0.14.xLibravatar Simon Ser2021-04-08
| | | | | The latest commit of Sway always requires the latest commit of wlroots.
* build: bump version to 1.6Libravatar Simon Ser2021-04-07
|
* build: update version to v1.6-rc21.6-rc2Libravatar Simon Ser2021-03-24
|
* build: update version to v1.6-rc11.6-rc1Libravatar Simon Ser2021-03-16
|
* Automatically map built-in touchscreens/tablets to built-in panelsLibravatar Simon Ser2021-02-25
| | | | | Detect whether an output is built-in via its type. Detect whether a touchscreen or tablet tool is built-in via its ID_PATH property.
* build: stop cargo-culting assignment alignmentLibravatar Simon Ser2021-02-23
| | | | The Sway style guide says we shouldn't align assignments.
* build: Add dependency on libdrmLibravatar Tadeo Kondrak2021-02-23
| | | | | | As of 66343839b146a54505b746784cd42a8efb844963, sway now uses a libdrm header. Add this dependency to the build system so headers from it can be used on systems where pkg-config is required to find them.
* build: use wlroots dependency variablesLibravatar Simon Ser2021-02-21
| | | | | | | | | Instead of manually parsing header files and having two different code-paths depending on whether a subproject is used, use dependency variables which can come from either the subproject or pkg-config. References: https://github.com/swaywm/wlroots/pull/2734
* build: add basu as sd-bus providerLibravatar Simon Ser2020-12-09
|
* build: introduce sd-bus-provider optionLibravatar Simon Ser2020-12-09
| | | | This allows to select a specific provider for the sd-bus library.
* build: use WLR_HAS_* to decide whether suid is requiredLibravatar Simon Ser2020-12-09
| | | | | | | | Maybe systemd/elogind is found but wlroots was built without them. Print the warning message depending on the WLR_HAS_* defines instead. While at it, don't print the message if wlroots has been build with libseat.
* build: bump wlroots dependency to 0.12.0Libravatar Simon Ser2020-11-08
|