Skip to content
A compositor for X11
Branch: next
Clone or download
Pull request Compare This branch is 621 commits ahead of chjj:master.
yshui backend: add interfaces for readiness reporting
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Latest commit b8cb0c5 Apr 27, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Make ubsan stricter Mar 29, 2019
.github Update issue template Nov 26, 2018
LICENSES More license stuff... Oct 4, 2018
bin Fix small misspellings Jan 28, 2019
dbus-examples Update comments about clear-shadow Sep 23, 2018
man Dump damage region info in trace log Mar 27, 2019
media Added 48x48px raster of initial Compton logo Sep 18, 2015
src backend: add interfaces for readiness reporting Apr 27, 2019
subprojects/test.h Add 'subprojects/test.h/' from commit 'a84877df68873f80ff3620f4993619… Mar 23, 2019
tests Remove cmake leftovers Dec 14, 2018
.clang-format new glx: implement blur Mar 10, 2019
.editorconfig Coding style change Feb 7, 2019
.gitignore Remove xrender-sync and xrender-sync-fence Oct 28, 2018
CONTRIBUTORS Update CONTRIBUTORS Jan 30, 2019
COPYING More license stuff... Oct 4, 2018
Doxyfile Fix small misspellings Jan 28, 2019
LICENSE.spdx More license stuff... Oct 4, 2018
README.md README: mentions how to specify header/library path Apr 14, 2019
README_orig.md update readme Apr 16, 2018
compton-default-fshader-win.glsl Feature: chjj#183 custom window shader & chjj#193 --no-fading-destroy… May 16, 2014
compton-fake-transparency-fshader-win.glsl Feature: chjj#183 custom window shader & chjj#193 --no-fading-destroy… May 16, 2014
compton.desktop Set icon to `compton` in compton.desktop Jun 5, 2015
compton.sample.conf Deprecate --glx-swap-method Mar 12, 2019
desc.txt
functions.sh Misc: Move shared functions out of make-release.sh Jan 11, 2015
make-release.sh Misc: Move shared functions out of make-release.sh Jan 11, 2015
meson.build build: check if std-predef.h exists Apr 14, 2019
meson_options.txt Add some unittests Mar 23, 2019

README.md

Compton

This is a development branch, bug to be expected

This is forked from the original Compton because that seems to have become unmaintained.

The current battle plan of this fork is to refactor it to make the code possible to maintain, so potential contributors won't be scared away when they take a look at the code.

We also try to fix bugs.

The original README can be found here

Changelog

See Releases

Build

Dependencies

Assuming you already have all the usual building tools installed (e.g. gcc, meson, ninja, etc.), you still need:

  • libx11
  • libx11-xcb
  • libXext
  • xproto
  • xcb
  • xcb-damage
  • xcb-xfixes
  • xcb-shape
  • xcb-renderutil
  • xcb-render
  • xcb-randr
  • xcb-composite
  • xcb-image
  • xcb-present
  • xcb-xinerama (optional, disable with the -Dxinerama=false meson configure flag)
  • pixman
  • libdbus (optional, disable with the -Ddbus=false meson configure flag)
  • libconfig (optional, disable with the -Dconfig_file=false meson configure flag)
  • libxdg-basedir (optional, disable with the -Dconfig_file=false meson configure flag)
  • libGL (optional, disable with the -Dopengl=false meson configure flag)
  • libpcre (optional, disable with the -Dregex=false meson configure flag)
  • libev
  • uthash

To build the documents, you need asciidoc

To build

$ meson --buildtype=release . build
$ ninja -C build

Built binary can be found in build/src

If you have libraries and/or headers installed at non-default location (e.g. under /usr/local/), you might need to tell meson about them, since meson doesn't look for dependencies there by default.

You can do that by setting the CPPFLAGS and LDFLAGS environment variables when running meson. Like this:

$ LDFLAGS="-L/path/to/libraries" CPPFLAGS="-I/path/to/headers" meson --buildtype=release . build

As an example, on FreeBSD, you might have to run meson with:

$ LDFLAGS="-L/usr/local/include" CPPFLAGS="-I/usr/local/include" meson --buildtype=release . build
$ ninja -C build

To install

$ ninja -C build install

Default install prefix is /usr/local, you can change it with meson configure -Dprefix=<path> build

How to Contribute

Code

You can look at the Projects page, and see if there is anything interests you. Or you can take a look at the Issues.

Non-code

Even if you don't want to contribute code, you can still contribute by compiling and running this branch, and report any issue you can find.

Contributors

See CONTRIBUTORS

You can’t perform that action at this time.