aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
Commit message (Collapse)AuthorAge
* add scale_filter output config optionLibravatar Ronan Pigott2019-11-29
|
* Add -Wno-missing-bracesLibravatar Simon Ser2019-11-17
| | | | | | | -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
* build: always use the project versionLibravatar Simon Ser2019-10-16
| | | | | | | | 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
* Update version to 1.2Libravatar Drew DeVault2019-10-12
|
* build: bump wlroots version to 0.8.1Libravatar Simon Ser2019-10-08
|
* build: remove rootston from wlroots subprojectLibravatar Tadeo Kondrak2019-10-02
| | | | Fixes an invalid option warning from Meson.
* build: update wlroots version, be more strictLibravatar Simon Ser2019-09-23
| | | | | | | 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.
* Remove all wayland-server.h includesLibravatar Simon Ser2019-07-27
| | | | | | | | | | | | | | | 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").
* Use -fmacro-prefix-map to strip build pathLibravatar Manuel Stoeckl2019-07-15
| | | | | | | | | | | | | | 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.
* Bump meson version to 1.1Libravatar Drew DeVault2019-06-03
|
* Add swaybar protocol documentationLibravatar Brian Ashworth2019-05-30
| | | | | This adds swaybar-protocol.7.scd documenting the swaybar status line protocol including some differences from the i3bar counterpart.
* Bump required wlroots version1.1-rc1Libravatar Drew DeVault2019-05-03
|
* swaybg: split into standalone projectLibravatar Drew DeVault2019-04-25
| | | | | | | 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.
* Set the correct version for wlroots dependencyLibravatar bschacht2019-04-25
|
* swaybg: add manpageLibravatar Simon Ser2019-04-13
|
* meson: use pkg-config var for scdoc pathLibravatar emersion2019-03-10
|
* meson: update scdoc requirement to >= 1.9.2Libravatar Brian Ashworth2019-03-04
| | | | | | | | 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
* meson: check scdoc versionLibravatar emersion2019-03-01
|
* Merge pull request #3766 from RedSoxFan/sway-ipc-scdocLibravatar Drew DeVault2019-02-27
|\ | | | | Add sway-ipc.7.scd to document IPC protocol
| * Add sway-ipc.7.scd to document IPC protocolLibravatar Brian Ashworth2019-02-27
| | | | | | | | | | | | | | 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
* | Merge pull request #3786 from emersion/wlroots-versionLibravatar Drew DeVault2019-02-27
|\ \ | | | | | | Set minimum wlroots version
| * | Set minimum wlroots versionLibravatar emersion2019-02-27
| |/
* / Print Meson featuresLibravatar emersion2019-02-27
|/
* Fix Meson subproject boolean default optionsLibravatar emersion2019-02-17
|
* Disable unneeded wlroots subproject featuresLibravatar emersion2019-02-16
|
* Fix --version when building from tarballLibravatar emersion2019-02-12
|
* Set version in project fileLibravatar Michael Vetter2019-02-05
| | | | | | | | Let's set the version in the meson file instead of declaring it outside. In case git is installed we use the git hash as version. Instead it isn't (like on a clean build system), let's use the version defined in the project.
* Merge pull request #3482 from emersion/meson-systemd-versionLibravatar Drew DeVault2019-01-21
|\ | | | | meson: set minimum systemd version
| * meson: set minimum systemd versionLibravatar emersion2019-01-21
| | | | | | | | sd_bus_slot_set_floating has been introduced in systemd 239.
* | Replace wlr_log with sway_logLibravatar M Stoeckl2019-01-21
|/ | | | | | | | | | | | | This commit mostly duplicates the wlr_log functions, although with a sway_* prefix. (This is very similar to PR #2009.) However, the logging function no longer needs to be replaceable, so sway_log_init's second argument is used to set the exit callback for sway_abort. wlr_log_init is still invoked in sway/main.c This commit makes it easier to remove the wlroots dependency for the helper programs swaymsg, swaybg, swaybar, and swaynag.
* meson: make sure wlroots has been built with xwaylandLibravatar emersion2019-01-18
|
* meson: remove extraneous parenthesesLibravatar emersion2019-01-18
|
* meson: remove rpath optionsLibravatar emersion2019-01-18
|
* meson: remove unused dependenciesLibravatar emersion2019-01-18
|
* meson: add gdk-pixbuf and man-pages optionsLibravatar emersion2019-01-18
|
* Use Meson feature optionsLibravatar emersion2019-01-17
|
* Remove usage of VLAs.Libravatar Connor E2019-01-16
|
* Split swaylock into separate projectLibravatar Drew DeVault2019-01-13
|
* Split swayidle from swayLibravatar Drew DeVault2019-01-12
|
* bash: add completion for swaybarLibravatar Gaël PORTAY2018-12-31
|
* swaybar: add tray interfaceLibravatar Ian Fan2018-12-31
|
* Change mouse buttons to x11 map and libevdev namesLibravatar Brian Ashworth2018-12-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This modifies the way mouse bindings are parsed. Instead of adding to BTN_LEFT, which results in button numbers that may not be expected, buttons will be parsed in one of the following ways: 1. `button[1-9]` will now map to their x11 equivalents. This is already the case for bar bindings. This adds support for binding to axis events, which was not possible in the previous approach. 2. Anything that starts with `BTN_` will be parsed as an event code name using `libevdev_event_code_from_name`. This allows for any button to be mapped to instead of limiting usage to the ones near BTN_LEFT. This also adds a dependency on libevdev, but since libevdev is already a dependency of libinput, this should be fine. If needed, this option can have dependency guards added. Binding changes: - button1: BTN_LEFT -> BTN_LEFT - button2: BTN_RIGHT -> BTN_MIDDLE - button3: BTN_MIDDLE -> BTN_RIGHT - button4: BTN_SIDE -> SWAY_SCROLL_UP - button5: BTN_EXTRA -> SWAY_SCROLL_DOWN - button6: BTN_FORWARD -> SWAY_SCROLL_LEFT - button7: BTN_BACK -> SWAY_SCROLL_RIGHT - button8: BTN_TASK -> BTN_SIDE - button9: BTN_JOYSTICK -> BTN_EXTRA Since the axis events need to be mapped to an event code, this uses the following mappings to avoid any conflicts: - SWAY_SCROLL_UP: KEY_MAX + 1 - SWAY_SCROLL_DOWN: KEY_MAX + 2 - SWAY_SCROLL_LEFT: KEY_MAX + 3 - SWAY_SCROLL_RIGHT: KEY_MAX + 4
* meson.build: remove obsolete definition of swayidle_depsLibravatar Ian Fan2018-12-01
|
* Meson: Fix SYSCONFDIR definition.Libravatar progandy2018-11-23
| | | | | | | | | | | | | SYSCONFDIR was set to the wrong path if prefix is not '/usr' and sysconfdir is an absolute path. Use join_paths() to fix it. Also remove the special case for prefix '/usr'. In that case Meson already sets sysconfdir to the absolute path '/etc', so just using join_paths() will return the correct value. join_paths('/usr/local', 'etc') => '/usr/local/etc' join_paths('/usr/local', '/etc') => '/etc' join_paths('/usr', '/etc') => '/etc'
* Use #if instead of #ifdefLibravatar emersion2018-11-18
|
* Use #if instead of #ifdef for WLR_HAS_*Libravatar emersion2018-11-12
|
* added fish completions for swaynagLibravatar madblobfish2018-10-27
|
* added fish completions for swayidleLibravatar madblobfish2018-10-27
|
* Set sysconfdir to /etc only if prefix is /usrLibravatar sghctoma2018-10-17
| | | | | | | | | | PR #2855 basically hardcodes the config file path to /etc, which is a problem on e.g. FreeBSD, where the expected path for config files of non-base software is '/usr/local/etc'. Meson sets sysconfdir to '/etc' explicitly only when prefix is '/usr', so it is still possible to use '/usr/local' as prefix, and install the config files under '/usr/local/etc'. This commit allows to do that by setting sysconfdir based on the value of prefix.
* Set SYSCONFDIR to /etc even when "prefix" is setLibravatar Niccolò Scatena2018-10-16
| | | | | SYSCONFDIR should be "/etc" even when prefix="/usr" to be FHS compliant. This is the default in meson from v0.44.