Commit 5bcaa001058798eb245d53315bcfa8d4f36eea03 Parent: 03a8999aa980ed2cfe7286f3fddfe86add6a5e12 Author: Matt Colligan <mcol@posteo.net> Date: 2024-05-04 11:48:58 +0100 Committer: GitHub <noreply@github.com> Committed: 2024-05-04 11:48:58 +0100 Merge pull request #4 from limasierra/master Fixing build issues
xoop.c Modified
@@ -50,7 +50,7 @@ void exit_angrily(char msg[]) { - fprintf(stderr, msg); + fprintf(stderr, "%s", msg); xcb_disconnect(conn); exit(EXIT_FAILURE); }
readme Modified
@@ -29,6 +29,18 @@ -h help +Required libraries +------------------ + +On Ubuntu 23.10, the following packages are required: + +$ sudo apt install \ + libxcb-randr0-dev \ + libxcb-util0-dev \ + libxcb-xfixes0-dev \ + libxcb-xinput-dev + + To install ----------
makefile Modified
@@ -1,6 +1,7 @@ OUT = xoop -SRC = xoop.c -CFLAGS += -Wall -Wextra -pedantic -lxcb -lxcb-randr -lxcb-xinput -lxcb-xfixes +SRC = xoop.c +CFLAGS += -Wall -Wextra -pedantic +LDLIBS += -lxcb -lxcb-randr -lxcb-xinput -lxcb-xfixes PREFIX ?= /usr/local BINPREFIX ?= $(PREFIX)/bin MANPREFIX ?= $(PREFIX)/man/man1