aboutsummaryrefslogtreecommitdiff
path: root/meson.build
AgeCommit message (Collapse)Author
2018-12-01meson.build: remove obsolete definition of swayidle_depsIan Fan
2018-11-23Meson: Fix SYSCONFDIR definition.progandy
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'
2018-11-18Use #if instead of #ifdefemersion
2018-11-12Use #if instead of #ifdef for WLR_HAS_*emersion
2018-10-27added fish completions for swaynagmadblobfish
2018-10-27added fish completions for swayidlemadblobfish
2018-10-17Set sysconfdir to /etc only if prefix is /usrsghctoma
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.
2018-10-16Set SYSCONFDIR to /etc even when "prefix" is setNiccolò Scatena
SYSCONFDIR should be "/etc" even when prefix="/usr" to be FHS compliant. This is the default in meson from v0.44.
2018-10-16Revert "Fix SYSCONFDIR to include "prefix""Niccolò Scatena
This reverts commit 6942f5b6845b2cc572ec378365771a34caf50ba1. SYSCONFDIR should be "/etc" even when prefix="/usr" to be FHS compliant. This is the default in meson from v0.44.
2018-10-14Establish sway-output(5)Drew DeVault
2018-10-06Fix swaylock w/shadow on glibc, improve securityDrew DeVault
Today I learned that GNU flaunts the POSIX standard in yet another creative way. Additionally, this adds some security improvements, namely: - Zeroing out password buffers in the privileged child process - setuid/setgid after reading /etc/shadow
2018-09-30Add support for installing binaries with DT_RPATHArkadiusz Hiler
It's better to use DT_RPATH dynamic section of the elf binary to store the paths of libraries to load instead of overwriting LD_LIBRARY_PATH for the whole environment, causing surprises. This solution is much more transparent and perfectly suitable for running contained installations of wayland/wlroots/sway. The code unsetting the LD_LIBRARY_PATH/LD_PRELOAD was also deleted as it's a placebo security at best - we should trust the execution path that leads us to running sway, and it's way too late to care about those variables since we already started executing our compositor, thus we would be compromised anyway.
2018-09-30Remove libcap/prctl artifactsArkadiusz Hiler
They seem like relics of the pasts, from when we were retaining the ptrace cap. Some translations still may need updates.
2018-09-28Add support for building swaylock without PAMDrew DeVault
This involves setuid'ing swaylock, which then forks and drops perms on the parent process. The child process remains root and listens on a pipe for requests to validate passwords against /etc/shadow.
2018-09-26Add _C11_SOURCE feature test macro on FreeBSDsghctoma
This will restrict the default namespace set on FreeBSD to the C11 standard (everything is visible by default), which will prevent possible conflicts with symbols hidden behing __BSD_VISIBLE.
2018-09-26Make libpam optionalDrew DeVault
2018-09-03Merge remote-tracking branch 'upstream/master' into fix-freebsd-buildsghctoma
2018-09-02Add ld-library-path meson optionRyan Dwyer
2018-09-02Use dashes in meson option namesRyan Dwyer
2018-08-30Fix SYSCONFDIR to include "prefix"sghctoma
SYSCONFDIR is used to determine the path of the default configuration file. 'sysconfdir' is set to 'prefix/sysconfdir' later (on line 139), so configuration files are installed under 'prefix', but SYSCONFDIR did not reflect it.
2018-08-30Make libcap an optional dependencysghctoma
FreeBSD does not have libcap, so without "required: false" Sway fails to build.
2018-08-27Hide deprecated wayland functionsScott Anderson
2018-08-26added fish to meson.buildMartin Kalchev
2018-08-02Merge branch 'master' into nagbarRyan Dwyer
2018-08-02Link xcb dependency to meson options "enable_xwayland" (#2393)Michel Ganguin
* Link xcb dependency to meson options "enable_xwayland" * Link xcb dependency to meson options "enable_xwayland"
2018-08-01swaynag: implement config file supportBrian Ashworth
2018-08-01Address first round review for swaynagBrian Ashworth
2018-08-01Implements swaynagbarBrian Ashworth
2018-07-30Merge pull request #2387 from 1ace/feature/bash-completionDrew DeVault
bash completion
2018-07-30delete references to swaygrabEric Engestrom
2018-07-30meson: install bash completionEric Engestrom
2018-07-29Enable unstable wlroots featuresDrew DeVault
2018-07-24style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: falsePascal Pascher
2018-07-24Added meson option "enable_xwayland" (default: true) to enable/disable ↵Pascal Pascher
xwayland support
2018-06-18Automatically float xwayland windowsemersion
2018-05-20Swaylock: Allow per-output imagesRyan Dwyer
2018-05-13Idle handling for dpms/lockscreen et alMattias Eriksson
Swayidle handles idle events and allows for dpms and lockscreen handling. It also handles systemd sleep events, and can raise a lockscreen on sleep Fixes #541
2018-05-11Add swaylock(1) and swaymsg(1)Drew DeVault
2018-05-11Add sway-input(5)Drew DeVault
2018-05-11Add sway-bar(5)Drew DeVault
2018-05-11Add sway(5)Drew DeVault
2018-05-11Wire up scdoc and rewrite sway(1)Drew DeVault
2018-05-06meson.build: Look for '-lpam', not '-llibpam'.Yorick van Pelt
See #1920 for more information.
2018-04-08Improve dependency checksBruno Pinto
2018-04-05Add -Wno-unused-resultDrew DeVault
Fixes #1744
2018-04-04Initial swaylock portDrew DeVault
2018-03-30Initialize seat pointer in swaybarDrew DeVault
2018-03-29Start port of swaybar to layer shellDrew DeVault
This starts up the event loop and wayland display and shims out the basic top level rendering concepts. Also includes some changes to incorporate pango into the 1.x codebase properly.
2018-03-28Address review commentsDrew DeVault
2018-03-28Add solid-color rendering to swaybgDrew DeVault