Mykyta Holubakha
138bcd0cfa
Unset LD_LIBRARY_PATH, unless specified
8 years ago
Drew DeVault
6a1df17fb7
Fix user-set LD_LIBRARY_PATH
8 years ago
Wouter van Kesteren
09b9106550
Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIR
...
Exherbo installs architecture dependent data in a different place than architecture
independent data. More concretely: binaries go in /usr/$chost/{bin,lib},
data goes in /usr/share and configs in /etc, /etc is already configurable
through CMAKE_INSTALL_FULL_SYSCONFDIR but the datadir was not. This
patch fixes it so that things can be pushed in the right places.
8 years ago
Greg V
da26d69cb1
Fix build on FreeBSD
...
- Make sure CMake always finds absolute paths for Cairo, Pango and GdkPixbuf
- Add forgotten json-c include path to swaymsg/CMakeLists.txt
- Disable -Werror because of assert warnings
- Add correct /proc/pid/file path for FreeBSD
- Use libepoll-shim on FreeBSD
- Only use Linux capabilities on, well, Linux
8 years ago
Drew DeVault
cb0ca3c301
Change name of ld-library-path cmake variable
8 years ago
Drew DeVault
0a1b211e09
Drop -Denable-binding-event
8 years ago
Drew DeVault
a4e92ad272
Deal with LD_LIBRARY_PATH
8 years ago
Hummer12007
8fc9f503f9
Enable using non-annotated tags in git-describe
...
This fixes the version string
8 years ago
Drew DeVault
2c9553a6fd
Set Cairo and Pango as required dependencies
9 years ago
Drew DeVault
d541a02461
Turn off ZSH completions by default
9 years ago
Drew DeVault
3fa8df7b05
Add -Werror to C flags
9 years ago
Tomáš Čech
1124e78dda
Respect supplied CMAKE_C_FLAGS
9 years ago
Drew DeVault
a8e1ca75d0
New default wallpaper!
9 years ago
Mikkel Oscar Lyderik
4cbb09d566
cmake: fix libinput include dirs
9 years ago
Drew DeVault
a6b19988c5
Merge pull request #440 from SethBarberee/zsh-completions
...
Basic Zsh auto-completion for --options
9 years ago
Cole Mickens
28081b7689
libinput
9 years ago
Seth Barberee
fcd0071555
added basic zsh shell completion for sway, swaybg, and swaygrab
9 years ago
Mikkel Oscar Lyderik
93c93dd0f7
Make enable-binding-event option have an affect.
...
The option was added to late so it was never set in the build.
9 years ago
Drew DeVault
b4ea9d492c
Make wallpaper optional (cmake flag)
9 years ago
Mikkel Oscar Lyderik
15cbc53a77
Make IPC binding event support a compile time opt.
9 years ago
Mikkel Oscar Lyderik
18f8185011
Fix whitespaces in cmake config
9 years ago
Drew DeVault
5060c72a54
Add default wallpaper
...
Closes #238
9 years ago
Yacine Hmito
284720cf5f
Added include(GNUInstallDirs)
...
Fixes configuration not properly installed since f02cf75
9 years ago
Yacine Hmito
f02cf75ff3
Use SYSCONFDIR as recommended
...
- swaylock config path not hardcoded anymore
- the unusual and weird FALLBACK_CONFIG_DIR is no more
9 years ago
robotanarchy
470e59b291
fix backtrace detection in CMake
...
works on arch (glibc) and void linux (tested with musl libc) now
9 years ago
robotanarchy
03c041dd30
add -fPIC flag (position independent code) like in wlc
...
Linking fails otherwise:
Linking C executable ../bin/sway
/usr/bin/ld: CMakeFiles/sway.dir/commands.c.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
CMakeFiles/sway.dir/commands.c.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
sway/CMakeFiles/sway.dir/build.make:442: recipe for target 'bin/sway' failed
9 years ago
robotanarchy
94cac7a014
use CMake's FindBacktrace for backtrace feature detection
9 years ago
progandy
21014e606b
make gdk-pixbuf dependency really optional
9 years ago
Drew DeVault
05e48835f7
Make some dependencies optional
...
Closes #368
9 years ago
Drew DeVault
f62502e78d
Drop sway-xorg.desktop
9 years ago
Drew DeVault
9c141f0bf1
Implement PAM password verification in swaylock
9 years ago
Drew DeVault
f80481a37d
Add swaylock subproject
9 years ago
Drew DeVault
7ed204eb02
Merge pull request #296 from progandy/pixbuf
...
Support for more image formats for wallpapers with gdk-pixbuf (#282 )
9 years ago
progandy
3fdf4f811f
swaybg: load more image formats with gdk-pixbuf2
...
travis: added gdk-pixbuf2 dependency
9 years ago
Christoph Gysin
99af7e7c9c
move manpages to subfolders
9 years ago
Christoph Gysin
cce9c338c0
cmake: build common code only once
...
This creates (static) libraries for protocols/, common/, and wayland/.
9 years ago
Christoph Gysin
38d4ee9f50
cmake: remove extra space
9 years ago
Christoph Gysin
92a3538381
cmake: extract sway
9 years ago
Christoph Gysin
4277070a7b
cmake: extract add_manpage()
9 years ago
Christoph Gysin
55b3532fe0
cmake: remove unnecessary quotes
9 years ago
Christoph Gysin
8f00eac07b
cmake: remove old-style endif condition
9 years ago
Christoph Gysin
2dedf206d7
cmake: use out-of-source build
9 years ago
Christoph Gysin
a043c9030c
cmake: separate C flags and preprocesser definitions
9 years ago
Christoph Gysin
f7ec3d00a0
cmake: use tabs instead of spaces
9 years ago
Christoph Gysin
905966bcae
cmake: style consistency
9 years ago
Christoph Gysin
2429266e3e
cmake: convert all cmake commands to lowercase
9 years ago
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.
9 years ago
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).
9 years ago
Drew DeVault
63cf8e48c4
Add swaybar subproject
9 years ago
Drew DeVault
59e97c2788
Add swaygrab(1) man page
9 years ago