summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAge
* Re-enable implicit fallthrough warningsLibravatar Drew DeVault2017-08-09
|
* [swaybar] fix non-dbus buildLibravatar Tobias Blass2017-07-20
| | | | | Swaybar's CMakeLists.txt uses the enable-tray option directly to decide whether to build the tray. This leads to a compilation error if dbus is not installed. This patch uses the ENABLE_TRAY variable instead, which is only true if the user enabled the tray *and* dbus is available.
* Disable -Wunused-result diagnosticLibravatar Hummer120072017-07-03
| | | It caused unpredictable build failures with different build environments
* Install wallpapers in DATADIR/backgrounds/swayLibravatar Andrew Conrad2017-06-14
|
* Implement Tray IconsLibravatar Calvin Lee2017-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements the StatusNotifierItem protocol, and enables swaybar to show tray icons. It also uses `xembedsniproxy` in order to communicate with xembed applications. The tray is completely optional, and can be disabled on compile time with the `enable-tray` option. Or on runtime with the bar config option `tray_output none`. Overview of changes: In swaybar very little is changed outside the tray subfolder except that all events are now polled in `event_loop.c`, this creates no functional difference. Six bar configuration options were added, these are detailed in sway-bar(5) The tray subfolder is where all protocol implementation takes place and is organised as follows: tray/sni_watcher.c: This file contains the StatusNotifierWatcher. It keeps track of items and hosts and reports when they come or go. tray/tray.c This file contains the StatusNotifierHost. It keeps track of sway's version of the items and represents the tray itself. tray/sni.c This file contains the StatusNotifierItem struct and all communication with individual items. tray/icon.c This file implements the icon theme protocol. It allows for finding icons by name, rather than by pixmap. tray/dbus.c This file allows for asynchronous DBus communication. See #986 #343
* FreeBSD fixesLibravatar johalun2017-06-06
| | | | | | | Increase _POSIX_SOURCE value where needed. Increase _XOPEN_SOURCE value where needed. Conditionally link to libcap (only on Linux). Possibly some trailing whitespace fixes (automatic).
* Revert "Drop epoll dependency"Libravatar Drew DeVault2017-05-17
| | | | This reverts commit 91f2bf81bf89699d43083f3d3a27805ba5e395a9.
* Drop epoll dependencyLibravatar Drew DeVault2017-05-17
|
* Add -DVERSION flag for release version numbersLibravatar Sebastian Noack2017-04-26
|
* Add libcap check to CMakeLibravatar JerziKaminsky2017-04-07
| | | | | | | | | | | - Moved ``<sys/capability.h>`` include inside `__linux__` guard, because all uses are similarly guarded. - <sys/capability.h> is part of an optional devel package, at least in fedora. CMake now explicitly checks that libcap devel files are available. - Added libcap to the list of install packages in .travis.yml, to make the dependency explicit. travis-ci installs the package by default, which is why this hasn't surfaced previously.
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* Make it work for all compilersLibravatar Fabio Alessandro Locati2017-02-25
|
* Ignore Wimplicit-fallthroughLibravatar Fabio Alessandro Locati2017-02-25
|
* Unset LD_LIBRARY_PATH, unless specifiedLibravatar Mykyta Holubakha2017-01-16
|
* Fix user-set LD_LIBRARY_PATHLibravatar Drew DeVault2016-12-27
|
* Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIRLibravatar Wouter van Kesteren2016-12-17
| | | | | | | | 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.
* Fix build on FreeBSDLibravatar Greg V2016-12-09
| | | | | | | | | - 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
* Change name of ld-library-path cmake variableLibravatar Drew DeVault2016-12-04
|
* Drop -Denable-binding-eventLibravatar Drew DeVault2016-12-02
|
* Deal with LD_LIBRARY_PATHLibravatar Drew DeVault2016-12-02
|
* Enable using non-annotated tags in git-describeLibravatar Hummer120072016-07-12
| | | This fixes the version string
* Set Cairo and Pango as required dependenciesLibravatar Drew DeVault2016-05-14
|
* Turn off ZSH completions by defaultLibravatar Drew DeVault2016-05-14
|
* Add -Werror to C flagsLibravatar Drew DeVault2016-04-29
|
* Respect supplied CMAKE_C_FLAGSLibravatar Tomáš Čech2016-04-28
|
* New default wallpaper!Libravatar Drew DeVault2016-03-18
|
* cmake: fix libinput include dirsLibravatar Mikkel Oscar Lyderik2016-01-22
|
* Merge pull request #440 from SethBarberee/zsh-completionsLibravatar Drew DeVault2016-01-19
|\ | | | | Basic Zsh auto-completion for --options
| * added basic zsh shell completion for sway, swaybg, and swaygrabLibravatar Seth Barberee2016-01-17
| |
* | libinputLibravatar Cole Mickens2016-01-19
|/
* Make enable-binding-event option have an affect.Libravatar Mikkel Oscar Lyderik2016-01-09
| | | | The option was added to late so it was never set in the build.
* Make wallpaper optional (cmake flag)Libravatar Drew DeVault2016-01-08
|
* Make IPC binding event support a compile time opt.Libravatar Mikkel Oscar Lyderik2016-01-08
|
* Fix whitespaces in cmake configLibravatar Mikkel Oscar Lyderik2016-01-05
|
* Add default wallpaperLibravatar Drew DeVault2015-12-28
| | | | Closes #238
* Added include(GNUInstallDirs)Libravatar Yacine Hmito2015-12-23
| | | | Fixes configuration not properly installed since f02cf75
* Use SYSCONFDIR as recommendedLibravatar Yacine Hmito2015-12-23
| | | | | - swaylock config path not hardcoded anymore - the unusual and weird FALLBACK_CONFIG_DIR is no more
* fix backtrace detection in CMakeLibravatar robotanarchy2015-12-22
| | | | works on arch (glibc) and void linux (tested with musl libc) now
* add -fPIC flag (position independent code) like in wlcLibravatar robotanarchy2015-12-21
| | | | | | | | | | 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
* use CMake's FindBacktrace for backtrace feature detectionLibravatar robotanarchy2015-12-21
|
* make gdk-pixbuf dependency really optionalLibravatar progandy2015-12-20
|
* Make some dependencies optionalLibravatar Drew DeVault2015-12-20
| | | | Closes #368
* Drop sway-xorg.desktopLibravatar Drew DeVault2015-12-18
|
* Implement PAM password verification in swaylockLibravatar Drew DeVault2015-12-17
|
* Add swaylock subprojectLibravatar Drew DeVault2015-12-10
|
* Merge pull request #296 from progandy/pixbufLibravatar Drew DeVault2015-12-08
|\ | | | | Support for more image formats for wallpapers with gdk-pixbuf (#282)
| * swaybg: load more image formats with gdk-pixbuf2Libravatar progandy2015-12-07
| | | | | | | | travis: added gdk-pixbuf2 dependency
* | move manpages to subfoldersLibravatar Christoph Gysin2015-12-02
|/
* cmake: build common code only onceLibravatar Christoph Gysin2015-12-02
| | | | This creates (static) libraries for protocols/, common/, and wayland/.
* cmake: remove extra spaceLibravatar Christoph Gysin2015-12-01
|