Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
build
dist
.vscode/launch.json
.vscode/settings.json


## Ignore Visual Studio temporary files, build results, and
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,23 @@ npm run ui
- [libxcb](https://xcb.freedesktop.org/) with the Composite and SHM extensions
- [libxcb-wm](https://gitlab.freedesktop.org/xorg/lib/libxcb-wm)
- [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/)
- [procps](http://procps-ng.sourceforge.net/)

### Arch (pacman)

```console
# pacman -S pkg-config libxcb xcb-util-wm procps-ng
# pacman -S pkg-config libxcb xcb-util-wm
```

### Debian/Ubuntu (apt)

```console
# apt install pkg-config libxcb-dev libxcb-shm-dev libxcb-composite-dev libxcb-ewmh-dev libxcb-record-dev libxcb-shape-dev libprocps-dev
# apt install pkg-config libxcb-dev libxcb-shm-dev libxcb-composite-dev libxcb-ewmh-dev libxcb-record-dev libxcb-shape-dev
```

### Gentoo (portage)

```console
# emerge --ask --noreplace dev-util/pkgconf x11-libs/libxcb x11-libs/xcb-util-wm sys-process/procps
# emerge --ask --noreplace dev-util/pkgconf x11-libs/libxcb x11-libs/xcb-util-wm
```

# Why rewrite?
Expand Down
3 changes: 0 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
'<!@(<(pkg-config) --cflags xcb-composite)',
'<!@(<(pkg-config) --cflags xcb-record)',
'<!@(<(pkg-config) --cflags xcb-shape)',
'<!@(<(pkg-config) --cflags libprocps)'
],
'ldflags': [
'<!@(<(pkg-config) --libs-only-L --libs-only-other xcb)',
Expand All @@ -73,7 +72,6 @@
'<!@(<(pkg-config) --libs-only-L --libs-only-other xcb-composite)',
'<!@(<(pkg-config) --libs-only-L --libs-only-other xcb-record)',
'<!@(<(pkg-config) --libs-only-L --libs-only-other xcb-shape)',
'<!@(<(pkg-config) --libs-only-L --libs-only-other libprocps)'
],
'libraries': [
'<!@(<(pkg-config) --libs-only-l xcb)',
Expand All @@ -82,7 +80,6 @@
'<!@(<(pkg-config) --libs-only-l xcb-composite)',
'<!@(<(pkg-config) --libs-only-l xcb-record)',
'<!@(<(pkg-config) --libs-only-l xcb-shape)',
'<!@(<(pkg-config) --libs-only-l libprocps)'
],
"cflags_cc": [ "-std=c++17" ],
}],
Expand Down
1 change: 0 additions & 1 deletion native/os_x11_linux.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include <memory>
#include <iostream>
#include <napi.h>
#include <proc/readproc.h>
#include <xcb/composite.h>
#include <xcb/record.h>
#include <xcb/shape.h>
Expand Down