Debian Codegraph @

README.md

raw symbols SCIP
1 picom
2 =====
3
4 [![circleci](https://circleci.com/gh/yshui/picom.svg?style=shield)](https://circleci.com/gh/yshui/picom)
5 [![codecov](https://codecov.io/gh/yshui/picom/branch/next/graph/badge.svg?token=NRSegi0Gze)](https://codecov.io/gh/yshui/picom)
6 [![chat on discord](https://img.shields.io/discord/1106224720833159198?logo=discord)](https://discord.gg/SY5JJzPgME)
7
8 __picom__ is a compositor for X, and a [fork of Compton](History.md).
9
10 **This is a development branch, bugs to be expected**
11
12 You can leave your feedback or thoughts in the [discussion tab](https://github.com/yshui/picom/discussions), or chat with other users on [discord](https://discord.gg/SY5JJzPgME)!
13
14 ## Change Log
15
16 See [Releases](https://github.com/yshui/picom/releases)
17
18 ## Build
19
20 ### Dependencies
21
22 Assuming you already have all the usual building tools installed (e.g. gcc, python, meson, ninja, etc.), you still need:
23
24 * libx11
25 * libx11-xcb
26 * xproto
27 * xcb
28 * xcb-util
29 * xcb-damage
30 * xcb-xfixes
31 * xcb-shape
32 * xcb-renderutil
33 * xcb-render
34 * xcb-randr
35 * xcb-composite
36 * xcb-image
37 * xcb-present
38 * xcb-glx
39 * pixman
40 * libconfig (>= 1.7)
41 * libdbus (optional, disable with the `-Ddbus=false` meson configure flag)
42 * libGL, libEGL, libepoxy (optional, disable with the `-Dopengl=false` meson configure flag)
43 * libpcre2 (optional, disable with the `-Dregex=false` meson configure flag)
44 * libev
45 * uthash
46
47 If libconfig >= 1.7 is not available on your system, meson will try to build it from git. In which case, you also need `cmake`, and `git`.
48
49 On Debian based distributions (e.g. Ubuntu), the needed packages are
50
51 ```
52 libconfig-dev libdbus-1-dev libegl-dev libev-dev libgl-dev libepoxy-dev libpcre2-dev libpixman-1-dev libx11-xcb-dev libxcb1-dev libxcb-composite0-dev libxcb-damage0-dev libxcb-glx0-dev libxcb-image0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-render-util0-dev libxcb-shape0-dev libxcb-util-dev libxcb-xfixes0-dev meson ninja-build uthash-dev
53 ```
54
55 On Fedora, the needed packages are
56
57 ```
58 dbus-devel gcc git libconfig-devel libev-devel libX11-devel libX11-xcb libxcb-devel libGL-devel libEGL-devel libepoxy-devel meson pcre2-devel pixman-devel uthash-devel xcb-util-image-devel xcb-util-renderutil-devel xorg-x11-proto-devel xcb-util-devel
59 ```
60
61 To build the documents, you need `asciidoctor`
62
63 ### To build
64
65 ```bash
66 $ meson setup --buildtype=release build
67 $ ninja -C build
68 ```
69
70 Built binary can be found in `build/src`
71
72 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.
73
74 You can do that by setting the `CPPFLAGS` and `LDFLAGS` environment variables when running `meson`. Like this:
75
76 ```bash
77 $ LDFLAGS="-L/path/to/libraries" CPPFLAGS="-I/path/to/headers" meson setup --buildtype=release build
78 ```
79
80 As an example, on FreeBSD, you might have to run meson with:
81 ```bash
82 $ LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" meson setup --buildtype=release build
83 $ ninja -C build
84 ```
85
86 ### To install
87
88 ``` bash
89 $ ninja -C build install
90 ```
91
92 Default install prefix is `/usr/local`, you can change it with `meson configure -Dprefix=<path> build`
93
94 ## How to Contribute
95
96 All contributions are welcome!
97
98 New features you think should be included in picom, a fix for a bug you found - please open a PR!
99
100 You can take a look at the [Issues](https://github.com/yshui/picom/issues).
101
102 Contributions to the documents and wiki are also appreciated.
103
104 Even if you don't want to add anything to picom, you are still helping by compiling and running this branch, and report any issue you can find.
105
106 ### Become a Collaborator
107
108 Becoming a collaborator of picom requires significant time commitment. You are expected to reply to issue reports, reviewing PRs, and sometimes fix bugs or implement new feature. You won't be able to push to the main branch directly, and all you code still has to go through code review.
109
110 If this sounds good to you, feel free to contact me.
111
112 ## Contributors
113
114 See [CONTRIBUTORS](CONTRIBUTORS)
115
116 The README for the [original Compton project](https://github.com/chjj/compton/) can be found [here](History.md#Compton).
117
118 ## Licensing
119
120 picom is free software, made available under the [MIT](LICENSES/MIT) and [MPL-2.0](LICENSES/MPL-2.0) software
121 licenses. See the individual source files for details.