summaryrefslogtreecommitdiff
path: root/README
blob: 7fa77ff716ceb7fb204158f5a4a454c488614828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
feh - Imlib2 based image viewer

 * <http://feh.finalrewind.org/>
 * <http://linuxbrit.co.uk/feh/>
 * #feh on irc.oftc.net

Dependencies:

 * giblib
 * Imlib2
 * libpng
 * libX11


Recommended:

 * jpegtran  (supplied by the jpeg library, for lossless image rotation)
 * wget      (for http/ftp support)


Installation:

$ make
$ sudo make install

If compilation does not work or you want to customize stuff (like disable
Xinerama support), edit config.mk first.

Note: config.mk is designed so that in most cases, you can set environment
variables instead of editing it. E.g.:
CFLAGS='-g -Os' make
export DESTDIR=/tmp/feh PREFIX=/usr; make && make install


Testing (non-X):

$ make test

Requires perl >= 5.10 with Test::Command. The tests are non-interactive and
work without X, so they can safely be run even on a headless buildserver.


Testing (X):

Requires
 * import (usually supplied by imagemagick)
 * perl >= 5.10 with GD, Test::More and X11::GUITest
 * twm
 * Xnest

$ make test-x11

Be aware that this is quite experimental, so far the X-tests have only been
run on one machine. So they may or may not work for you.