INSTALL - information about source, compilation etc.
----------------------------------------------------

zgv requires these libraries to be installed:

- svgalib
- libjpeg
- libpng
- zlib
- libtiff

(If you decide to enable PCD_SUPPORT, you'll also need libpcd, from
the xpcd package. And if you enable the SDL backend, you'll obviously
need SDL rather than svgalib.)

These should all (except possibly libpcd?) come with your
distribution, and are probably already installed if you use anything
remotely `graphicsy'. :-) Do be sure to install any accompanying
`development' packages too, as these usually contain header files
necessary for compilation.

Any reasonably recent versions will do for all of these libraries, I
imagine. As ever though, I should note that you shouldn't use svgalib
version 1.2.10 or earlier due to a potential security risk.

So, once you're sure those libraries are installed, you should have a
overall check through `config.mk', to see if it all looks ok. Most
people should find it ok as-is, but you may want to change PREFIX
and/or comment out SHARE_INFIX if you want the files to go somewhere
other than /usr/bin, /usr/share/info, and /usr/share/man/man1. (The
latter two paths may look a little odd to old hands like me :-), but
they're FHS-friendly and thus the default.)

(There's also an option to use a somewhat buggy SDL backend; I'd
recommend only using this if you really have to. Note that if you
do enable it, the zgv executable will be installed as `zgv-sdl'.)

Then do `make', and (as root) `make install'. This compiles zgv, then
installs it and its documentation (both info files and man page).

Good luck!

-Rus.
