**********************************************
  AzPainter for Linux
  Copyright (C) 2013-2021 Azel

  http://azsky2.html.xdomain.jp/
  https://gitlab.com/azelpg/azpainter
  <azelpg@gmail.com>
**********************************************

This software is released under the GPL3 License.
Please see the file GPL3 for details.


=====================================
 * Overview
=====================================

Paint software for editing illustrations and images.


=====================================
 * Operating environment
=====================================

- Linux/FreeBSD/macOS(need XQuartz)

- X11R6 or later


=====================================
 * What you need to compile
=====================================

You need the C compiler, make, and development files for various libraries.

[Required libraries]
  x11 xext xcursor xinput
  zlib libpng jpeglib(jpeg-turbo) fontconfig freetype2
  tiff webp


## Required packages in each distribution
----------------------------------------------

(Debian/Ubuntu)

  gcc or clang, make
  libx11-dev libxext-dev libxcursor-dev libxi-dev
  libfreetype6-dev libfontconfig1-dev
  zlib1g-dev libpng-dev libjpeg-dev libtiff-dev libwebp-dev

(RedHat)

  gcc or clang, make
  libX11-devel libXext-devel libXcursor-devel libXi-devel
  libfreetype6-devel libfontconfig-devel
  zlib-devel libpng-devel libjpeg-devel libtiff-devel libwebp-devel

(Arch Linux)

  gcc or clang, make
  libx11 libxext libxcursor libxi
  freetype2 fontconfig
  zlib libpng libjpeg-turbo libtiff libwebp
  
(FreeBSD)

  gmake png jpeg-turbo tiff webp

  - Not compatible with BSD make.

(macOS)

  xcode libpng jpeg-turbo libtiff webp

  - It is assumed that XQuartz is installed.


=====================================
 * Compile and install
=====================================

After extracting the source archive,
go to the directory where it was extracted, and execute the following.

## Linux

$ ./configure
$ make
$ sudo make install

## FreeBSD

$ ./configure
$ gmake
# gmake install

## macOS

$ ./configure --prefix=/opt/X11
$ make
$ sudo make install


It will be installed in the "/usr/local" by default.

You can change the compile configuration by specifying options at configure runtime.
The help for configure can be found at . /configure --help for help with configure.


[exsample] Install to /usr

$ ./configure --prefix=/usr


=====================================
 * Setting files
=====================================

'~/.azpainter'


=====================================
 * How to use
=====================================

Shortcut to the "graphics" category of the main menu of the desktop
has been created, you can start from there.

If you want to start from the terminal, you can start with the following command.

$ azpainter


=====================================
 * Files
=====================================

INSTDIR is "/usr/local" by default.

<< Files to be installed >>

<INSTDIR>/bin/azpainter : Executable file
<INSTDIR>/share
  |- azpainter3/ : Files used by the app
  |- doc/azpainter/ : Document file
  |- applications/
     |- azpainter.desktop : Desktop file
  |- icons/hicolor/ : Icon file
     |- 48x48/apps/azpainter.png
     |- scalable/apps/azpainter.svg


<< File to be created >>

A "~/.config/azpainter" directory will be created
where each configuration file will be saved.


=====================================
 * About mlk
=====================================

I am using my own library mlk to build the GUI.

GUI fonts, colors, icon themes, etc. can be specified in the "az-mlk-style.conf" configuration file.

See "about_mlk_*.txt" for more information.

