Commit Graph

96 Commits

Author SHA1 Message Date
Christoph Gysin
a043c9030c cmake: separate C flags and preprocesser definitions 2015-12-01 22:03:09 +02:00
Christoph Gysin
f7ec3d00a0 cmake: use tabs instead of spaces 2015-12-01 22:03:09 +02:00
Christoph Gysin
905966bcae cmake: style consistency 2015-12-01 22:03:09 +02:00
Christoph Gysin
2429266e3e cmake: convert all cmake commands to lowercase 2015-12-01 22:03:09 +02:00
Yacine Hmito
f3f77f9ff1 FALLBACK_CONFIG_DIR did not work. Fixed.
- Flag was ignored. Now it's taken into account.
- Missing trailing slashes in path now behaves properly.
2015-12-01 19:41:44 +01:00
Yacine Hmito
09feef89ee Can customize config fallback directory
CMake takes a `FALLBACK_CONFIG_DIR` flag which is the directory where the
standard configuration file `config` is copied at installation.
If loading from typical configuration directories fails, sway loads
FALLBACK_CONFIG_DIR/config (/etc/sway/config by default).
2015-12-01 01:07:48 +01:00
Drew DeVault
63cf8e48c4 Add swaybar subproject 2015-11-29 10:26:50 -05:00
Drew DeVault
59e97c2788 Add swaygrab(1) man page 2015-11-27 10:06:24 -05:00
Drew DeVault
7c04cd4fc8 Add swaygrab subproject 2015-11-27 09:53:50 -05:00
Drew DeVault
4e7dccf631 Add swaymsg(1) man page 2015-11-26 15:14:23 -05:00
Drew DeVault
d69cbeabc0 Add swaymsg subproject 2015-11-26 12:41:24 -05:00
Drew DeVault
82db2a57a9 Basic support for extensions in server and clients 2015-11-18 22:01:22 -05:00
Drew DeVault
5c3f40111a Fix man page installs 2015-11-13 07:56:06 -05:00
Drew DeVault
fd1a59def3 Clean up CMake stuff 2015-11-13 07:17:48 -05:00
Ben Boeckel
8e8bdbcae2 cmake: run git in the source directory 2015-11-12 21:56:14 -05:00
Ben Boeckel
ec013d1f1a common: create a static library 2015-11-12 21:56:14 -05:00
Ben Boeckel
98678dea5d cmake: clean up installation rules 2015-11-12 21:56:14 -05:00
Ben Boeckel
f8ae8cb820 cmake: clean up definition settings 2015-11-12 21:56:14 -05:00
Ben Boeckel
28f1e9842c cmake: manipulate CMAKE_MODULE_PATH as a list
Also prefer local modules.
2015-11-12 21:56:14 -05:00
Ben Boeckel
2e9183e4de cmake: set the output directory once 2015-11-12 21:56:14 -05:00
Ben Boeckel
4714262c3d cmake: simplify manpage generation 2015-11-12 21:56:14 -05:00
Ben Boeckel
c8599dba02 cmake: use string(TIMESTAMP) 2015-11-12 21:56:14 -05:00
Ben Boeckel
f002baed7a cmake: bump requirement to 3.1.0
CMAKE_C_STANDARD was introduced in 3.1.0.
2015-11-12 21:43:21 -05:00
Drew DeVault
bfcabe48ef Start fleshing out wayland client implementation
This introduces a basic shared framework for making wayland clients
within sway itself.
2015-11-12 19:04:01 -05:00
Drew DeVault
4dc913c95e Add swaybg executable
This will let users set their background to something other than that
cringy demoscene thing wlc has now. It's also going to be the first
wayland client written for sway, so I picked an easy thing to work on.
We'll have to figure out how to indicate that it's a special view.
2015-11-12 08:31:47 -05:00
Drew DeVault
aadcba4b7c Add new dependencies for wayland clients
Cairo for rendering shit, Pango for text rendering, and wayland client
stuff. Thanks @Cloudef, blatantly ripping off his cmake files for this
2015-11-12 08:17:52 -05:00
Tomáš Čech
c57499d29c Use location of XKBcommon headers, don't expect build in source directory 2015-09-30 14:21:01 +02:00
Drew DeVault
8e25ce4e57 Fix build for debian stretch
Fixes #182
2015-09-18 07:16:20 -04:00
Luminarys
54b51cbe6a Updated versioning in cmake 2015-08-26 21:15:43 -05:00
minus
c948432fb4 fixed json-c CMake inclusion 2015-08-27 00:06:09 +02:00
minus
2289029fab added json-c lib and implemented IPC get_version 2015-08-26 23:49:38 +02:00
Drew DeVault
c4257055eb Merge pull request #135 from Luminarys/master
Added in build version based on git hash
2015-08-26 10:18:06 -04:00
Luminarys
429fc53e51 Minor fixes 2015-08-26 09:14:32 -05:00
Drew DeVault
93482312f9 Add dependency on PCRE
Perl-compatible regular expression library
2015-08-26 08:32:27 -04:00
Drew DeVault
73d35f4b1d Use C 99
Closes #127
2015-08-26 07:01:08 -04:00
Luminarys
38cfdf99f4 Added in build version based on git hash 2015-08-25 22:04:57 -05:00
minus
8dfaf6265b fixed #108 signed/unsigned comparison 2015-08-21 16:53:11 +02:00
Max Bruckner
0ac6409a75 Add Wayland and Xorg session files
This allows display managers to detect sway.
2015-08-20 23:12:34 +02:00
minus
faccaf6112 added sway_assert function
returns false on a failed assertion in release mode and raises SIGABRT in debug mode
2015-08-18 23:38:34 +02:00
Drew DeVault
a246e9b4c7 Find a2x through CMake
Fixes #63
2015-08-18 07:06:07 -04:00
Lubomir Rintel
478f375b40 Install manual pages to <prefix>/share/man
Use a FHS compliant location instead of /usr/man compat symlink. Some distros
don't ship that one.
2015-08-18 10:40:24 +02:00
Drew DeVault
4b64e481a8 Add man pages 2015-08-17 21:25:58 -04:00
Drew DeVault
7f8ebb7d0d Move headers to include/ 2015-08-16 11:02:56 -04:00
Drew DeVault
749238b130 Add default config file 2015-08-16 10:49:20 -04:00
Drew DeVault
542ef0c777 Pull in some scas code and read i3 config file 2015-08-04 21:30:40 -04:00
Drew DeVault
6a33e1e3cd Initial commit 2015-08-04 21:02:46 -04:00