aboutsummaryrefslogtreecommitdiff
path: root/CMake
AgeCommit message (Collapse)Author
2017-07-04Make asciidoc (and man pages) optionalDrew DeVault
And remove it from the build
2017-06-07Implement Tray IconsCalvin Lee
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
2017-05-17Revert "Drop epoll dependency"Drew DeVault
This reverts commit 91f2bf81bf89699d43083f3d3a27805ba5e395a9.
2017-05-17Drop epoll dependencyDrew DeVault
2017-04-07Add libcap check to CMakeJerziKaminsky
- 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.
2016-12-17Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIRWouter van Kesteren
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.
2016-12-09Fix build on FreeBSDGreg V
- 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
2016-01-19libinputCole Mickens
2015-12-20make gdk-pixbuf dependency really optionalprogandy
2015-12-17Implement PAM password verification in swaylockDrew DeVault
2015-12-07swaybg: load more image formats with gdk-pixbuf2progandy
travis: added gdk-pixbuf2 dependency
2015-12-02cmake: fix manpage dependenciesChristoph Gysin
fixes #289
2015-12-02cmake: fix indentationChristoph Gysin
2015-12-01cmake: extract add_manpage()Christoph Gysin
2015-11-25Merge pull request #255 from christophgysin/ninjaDrew DeVault
cmake: fix ninja build
2015-11-25cmake: fix ninja buildChristoph Gysin
When using the ninja generator: $ cmake -G Ninja <dir> $ ninja -C <dir> This commit fixes the warning: ninja: warning: multiple rules generate bin/wayland-desktop-shell-protocol.c. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
2015-11-25cmake: Fix typoChristoph Gysin
2015-11-18Support cursors over wayland clientsDrew DeVault
Apparently wayland has fucking client-side cursors, too
2015-11-12Add new dependencies for wayland clientsDrew DeVault
Cairo for rendering shit, Pango for text rendering, and wayland client stuff. Thanks @Cloudef, blatantly ripping off his cmake files for this
2015-08-27fixed json-c CMake inclusionminus
2015-08-26Add dependency on PCREDrew DeVault
Perl-compatible regular expression library
2015-08-18Find a2x through CMakeDrew DeVault
Fixes #63
2015-08-04Initial commitDrew DeVault