Skip to content

Familex/xpaint

Repository files navigation

xpaint

simple paint application written for X

Documentation

For detailed program description and usage see man 1 xpaint.

Requirements

  • X11 headers (libX11-devel on fedora, libx11-dev on alpine)
  • Xft headers (libXft-devel on fedora, libxft-dev on alpine)
  • X11 extentions headers (libXext-devel on fedora, libxext-dev on alpine)

Build

In order to build xpaint, execute make xpaint command in the project root.

Execute make help command to see list of all available targets.

Configure

Change config.h file to configure application.

Install

Edit Makefile to match your local setup (app is installed into the /usr/local namespace by default).

Afterwards execute make clean install to build and install app (if necessary as root):

Nix

This repository is a flake.

Run it using nix run in project root or build with nix build.

Execute nix develop in project root to enter the shell with installed dependencies and development tools.