Skip to content
Snippets Groups Projects
README 1.98 KiB
Newer Older
  • Learn to ignore specific revisions
  • feh - Imlib2 based image viewer
    
    Birte Kristina Friesel's avatar
    Birte Kristina Friesel committed
    -------------------------------
    
     * <http://feh.finalrewind.org/>
    
     * <http://linuxbrit.co.uk/feh/>
    
     * #feh on irc.oftc.net
    
    Birte Kristina Friesel's avatar
    Birte Kristina Friesel committed
    Dependencies
    ------------
    
    
     * giblib
     * Imlib2
    
    Birte Kristina Friesel's avatar
    Birte Kristina Friesel committed
     * libcurl (disable with make curl=0)
    
     * libpng
     * libX11
    
    Birte Kristina Friesel's avatar
    Birte Kristina Friesel committed
     * libXinerama (disable with make xinerama=0)
    
    Birte Kristina Friesel's avatar
    Birte Kristina Friesel committed
    Recommended
    -----------
    
    
     * jpegtran  (supplied by the jpeg library, for lossless image rotation)
    
    
    Birte Kristina Friesel's avatar
    Birte Kristina Friesel committed
    Installation
    ------------
    
    $ sudo make install
    
    ZSH Completion for feh is available at
    <http://git.finalrewind.org/zsh/plain/etc/completions/_feh>
    
    
    Birte Kristina Friesel's avatar
    Birte Kristina Friesel committed
    Make flags
    ----------
    
    Use "make flag=bool", e.g. "make xinerama=0 debug=1" to disable Xinerama
    support and get a debug build.
    
    Available flags are:
    
     * curl     (default 1) - use libcurl to view http:// and similar images
     * debug    (default 0) - debug build, enables --debug
    
     * help     (default 0) - include help text (refers to the manpage otherwise)
    
     * stat64   (default 0) - Support CIFS shares from 64bit hosts on 32bit machines
     * xinerama (default 1) - Support Xinerama/XRandR multiscreen setups
    
     * exif     (default 0) - Builtin EXIF tag display support
    
    So, by default libcurl and Xinerama are enabled, the rest is disabled.
    
    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
    
    
    Builtin EXIF support is maintained by Dennis Real, see
    <https://github.com/reald/feh>.
    
    
    Birte Kristina Friesel's avatar
    Birte Kristina Friesel committed
    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.
    
    Birte Kristina Friesel's avatar
    Birte Kristina Friesel committed
    Testing (X)
    -----------
    
    
    Requires
    
     * import (usually supplied by imagemagick)
     * perl >= 5.10 with GD, Test::More and X11::GUITest
     * twm
    
    
    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.