aboutsummaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)AuthorLines
2022-10-30Support libinput's 1.21 new dwtp optionpudiva chip líquida-1/+1
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
2022-05-30build: link with -pthreadSimon Ser-0/+1
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")
2022-04-18Chase wlroots X11 hints updatekraftwerk28-0/+1
2022-03-12Replace pcre with pcre2ndren-1/+1
Closes: https://github.com/swaywm/sway/issues/6838
2022-01-18build: execute wlroots subproject before finding depsSimon Ser-14/+10
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
2022-01-12build: fix building with basuKirill Chibisov-3/+10
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.
2022-01-11meson: check: false on run_commandKenny Levinsen-2/+2
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.
2021-12-23build: bump version to 1.8-devSimon Ser-1/+1
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.
2021-12-19build: bump wlroots dependency to 0.16.0Sefa Eyeoglu-1/+1
2021-12-14meson.build: require wayland-protocols 1.24Cole Mickens-1/+1
As far as I can tell `ZWP_LINUX_DMABUF_FEEDBACK_V1_TRANCHE_FLAGS_SCANOUT` is introduced in wayland-protocols 1.24.
2021-12-13swaynag: remove xdg-output logicSimon Ser-1/+1
We can just get the output name from wl_output directly, now that wl_output version 4 exists.
2021-11-26build: use list for sdbus depSimon Ser-19/+4
This allows to simplify our logic. Meson will pick the first found library.
2021-09-15build: remove scdoc stdin/stdout hackSimon Ser-5/+4
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
2021-07-21Add meson options to enable/disable swaybar and swaynagDylan Araps-7/+27
2021-06-30build: use ExternalProgram.full_path instead of pathSimon Ser-1/+1
ExternalProgram.path has been deprecated.
2021-06-30build: use Dependency.get_variable instead of get_pkgconfig_variableSimon Ser-7/+7
Dependency.get_pkgconfig_variable has been deprecated.
2021-06-30build: use meson.global_build_root()Simon Ser-2/+2
meson.build_root() is deprecated. References: https://github.com/mesonbuild/meson/pull/8629
2021-06-23build: bump wlroots dependency to 0.15.0Simon Ser-1/+1
2021-05-04build: remove sd-bus status itemSimon Ser-1/+0
sd-bus == tray, no need to print the same thing twice.
2021-04-14meson: libseat is no longer optionalKenny Levinsen-5/+0
See: https://github.com/swaywm/wlroots/pull/2839
2021-04-11build: stop checking for logindSimon Ser-3/+1
wlroots has removed its logind session backend [1]. It now relies on libseat only. [1]: https://github.com/swaywm/wlroots/pull/2786
2021-04-08build: update wlroots dependency version to 0.14.xSimon Ser-1/+1
The latest commit of Sway always requires the latest commit of wlroots.
2021-04-07build: bump version to 1.6Simon Ser-2/+2
2021-03-24build: update version to v1.6-rc21.6-rc2Simon Ser-1/+1
2021-03-16build: update version to v1.6-rc11.6-rc1Simon Ser-1/+1
2021-02-25Automatically map built-in touchscreens/tablets to built-in panelsSimon Ser-0/+1
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.
2021-02-23build: stop cargo-culting assignment alignmentSimon Ser-19/+19
The Sway style guide says we shouldn't align assignments.
2021-02-23build: Add dependency on libdrmTadeo Kondrak-0/+2
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.
2021-02-21build: use wlroots dependency variablesSimon Ser-14/+11
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
2020-12-09build: add basu as sd-bus providerSimon Ser-0/+5
2020-12-09build: introduce sd-bus-provider optionSimon Ser-8/+24
This allows to select a specific provider for the sd-bus library.
2020-12-09build: use WLR_HAS_* to decide whether suid is requiredSimon Ser-6/+18
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.
2020-11-08build: bump wlroots dependency to 0.12.0Simon Ser-1/+1
2020-07-17meson.build: Fix the version formatMichael Weiss-1/+1
The current version is prefixed by a "v" and therefore breaks the output of "swaymsg -rt get_version" which is implemented trough "sscanf(SWAY_VERSION, "%u.%u.%u", &major, &minor, &patch)". The prefixed "v" was added in 8b2ff2f1, probably by accident.
2020-07-16Bump version to 1.5Simon Ser-1/+1
2020-07-16Bump wlroots dependency to 0.11.0Simon Ser-1/+1
2020-07-01Update version to v1.5-rc2v1.5-rc2Drew DeVault-1/+1
2020-06-24Update version to 1.5-rc11.5-rc1Simon Ser-1/+1
2020-05-14security.d: remove directoryÉrico Rolim-16/+0
Remove the entries from meson.build as well.
2020-05-01build: improve feature summarySimon Ser-13/+9
Use the Meson summary() built-in instead of manually formatting a message. wlroots already depends on Meson 0.54.0.
2020-04-04build: make completions respect install prefixesDominique Martinet-2/+8
Tell pkgconfig about prefix and datadir as required in the .pc files, so if the prefix isn't standard nothing is installed outside of it. For fish, this requires https://github.com/fish-shell/fish-shell/pull/6778 Fixes swaywm/swaybg#13
2020-01-22Update version to 1.4Drew DeVault-2/+2
2020-01-22fish-completion: use the correct fallback directoryEli Schwartz-1/+1
fish completions should never be installed to share/fish/completions/ as that directory is reserved exclusively for completions shipped as part of the fish source code. Use the same vendor_completions.d/ directory which the default fish configuration uses.
2020-01-22completion: use pkg-config to get install location for bash/fishEli Schwartz-2/+12
Both shells provide pkg-config files which declare their designated completionsdir. Use this as the primary source of truth.
2020-01-22meson: use join_paths to build paths, instead of string concatEli Schwartz-8/+8
It makes sure to handle paths as paths, and is generally safer and the blessed solution.
2019-12-31Update wlroots versionDrew DeVault-1/+1
2019-12-31_incr_version: always overwrite old version numberDrew DeVault-1/+1
2019-11-29add scale_filter output config optionRonan Pigott-0/+1
2019-11-17Add -Wno-missing-bracesSimon Ser-0/+1
-Wmissing-braces makes it annoying to zero-initialize structs with = {0} when the first field is a struct. See for instance [1]. [1]: https://builds.sr.ht/~sircmpwn/job/110425
2019-10-16build: always use the project versionSimon Ser-5/+9
Don't use the latest tag, always use the project version for the version string. Because of version branches, getting the version from Git can be unreliable. Closes: https://github.com/swaywm/sway/issues/4631