summaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)AuthorLines
2021-04-07build: bump version to 1.61.6Furkan Sahin-2/+2
2021-03-31build: bump to version v1.6-rc31.6-rc3Furkan Sahin-1/+1
2021-03-24build: update version to v1.6-rc21.6-rc2Furkan Sahin-1/+1
2021-03-16build: update version to v1.6-rc11.6-rc1Furkan Sahin-1/+1
2021-02-08Automatically map built-in touchscreens/tablets to built-in panelsFurkan Sahin-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 alignmentFurkan Sahin-19/+19
The Sway style guide says we shouldn't align assignments.
2021-02-23build: Add dependency on libdrmFurkan Sahin-0/+2
As of 3fb3b7e5d1c5004598f32419ddf608b861421da0, 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-16build: use wlroots dependency variablesFurkan Sahin-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-02build: add basu as sd-bus providerFurkan Sahin-0/+5
2020-12-02build: introduce sd-bus-provider optionFurkan Sahin-8/+24
This allows to select a specific provider for the sd-bus library.
2020-12-02build: use WLR_HAS_* to decide whether suid is requiredFurkan Sahin-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.0Furkan Sahin-1/+1
2020-07-16meson.build: Fix the version formatFurkan Sahin-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 2cf77a26, probably by accident.
2020-07-16Bump version to 1.5Furkan Sahin-1/+1
2020-07-16Bump wlroots dependency to 0.11.0Furkan Sahin-1/+1
2020-07-01Update version to v1.5-rc2v1.5-rc2Furkan Sahin-1/+1
2020-06-24Update version to 1.5-rc11.5-rc1Furkan Sahin-1/+1
2020-05-14security.d: remove directoryFurkan Sahin-16/+0
Remove the entries from meson.build as well.
2020-04-30build: improve feature summaryFurkan Sahin-13/+9
Use the Meson summary() built-in instead of manually formatting a message. wlroots already depends on Meson 0.54.0.
2020-03-29build: make completions respect install prefixesFurkan Sahin-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.4Furkan Sahin-2/+2
2020-01-21fish-completion: use the correct fallback directoryFurkan Sahin-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-21completion: use pkg-config to get install location for bash/fishFurkan Sahin-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 concatFurkan Sahin-8/+8
It makes sure to handle paths as paths, and is generally safer and the blessed solution.
2019-12-31Update wlroots versionFurkan Sahin-1/+1
2019-12-31_incr_version: always overwrite old version numberFurkan Sahin-1/+1
2019-11-13add scale_filter output config optionFurkan Sahin-0/+1
2019-11-17Add -Wno-missing-bracesFurkan Sahin-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-14build: always use the project versionFurkan Sahin-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
2019-08-27Update version to 1.2Furkan Sahin-1/+1
2019-10-07build: bump wlroots version to 0.8.1Furkan Sahin-1/+1
2019-10-02build: remove rootston from wlroots subprojectFurkan Sahin-1/+1
Fixes an invalid option warning from Meson.
2019-09-23build: update wlroots version, be more strictFurkan Sahin-1/+1
wlroots versions are incompatible with each other. Often our users struggle with figuring out that their wlroots version is too old after a new release. Use a more strict version check to prevent building sway with incompatible wlroots versions.
2019-07-27Remove all wayland-server.h includesFurkan Sahin-1/+0
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. This commit si similar to wlroots' ca45f4490ccc ("Remove all wayland-server.h includes").
2019-06-22Use -fmacro-prefix-map to strip build pathFurkan Sahin-2/+38
Because meson does not provide a simple way to get the relative build path, it is computed with a pair of foreach loops. As meson does not have a simple way to compute string length (except via underscorify and 63 split operations), the build script uses a shell command instead. If the compiler does not suppot -fmacro-prefix-map, then fall back to passing in the relative path prefix, and use its length to offset the uses of __FILE__ in log messages so that the build path is at least still not included in the logs. This is significantly more efficient than calling _sway_strip_path.
2019-06-03Bump meson version to 1.1Furkan Sahin-1/+1
2019-05-30Add swaybar protocol documentationFurkan Sahin-0/+1
This adds swaybar-protocol.7.scd documenting the swaybar status line protocol including some differences from the i3bar counterpart.
2019-05-03Bump required wlroots version1.1-rc1Furkan Sahin-1/+1
2019-04-25swaybg: split into standalone projectFurkan Sahin-2/+0
The new upstream is https://github.com/swaywm/swaybg This commit also refactors our use of gdk-pixbuf a bit, since the only remaining reverse dependency is swaybar tray support.
2019-04-25Set the correct version for wlroots dependencyFurkan Sahin-1/+1
2019-04-13swaybg: add manpageFurkan Sahin-0/+1
2019-03-10meson: use pkg-config var for scdoc pathFurkan Sahin-3/+3
2019-03-04meson: update scdoc requirement to >= 1.9.2Furkan Sahin-1/+1
Since scdoc 1.9.1 is bugged, this updates the meson version check to >= 1.9.2 and drops the version requirement from the README. This should make it more obvious to users who have 1.9.1 that they need to update scdoc to be able to compile man pages and hopefully cut down on the duplicate issues
2019-02-27meson: check scdoc versionFurkan Sahin-2/+3
2019-02-27Merge pull request #3766 from RedSoxFan/sway-ipc-scdocFurkan Sahin-0/+1
Add sway-ipc.7.scd to document IPC protocol
2019-02-27Merge pull request #3786 from emersion/wlroots-versionFurkan Sahin-1/+3
Set minimum wlroots version
2019-02-27Print Meson featuresFurkan Sahin-5/+18
2019-02-27Set minimum wlroots versionFurkan Sahin-1/+3
2019-02-27Add sway-ipc.7.scd to document IPC protocolFurkan Sahin-0/+1
This add `sway-ipc.7.scd` that documents the IPC protocol. This also increased the minimum scdoc version from 1.8.1 to 1.9.0 to allow for table cells to be continued on the following line
2019-02-17Fix Meson subproject boolean default optionsFurkan Sahin-1/+1