Menu

Tree [aa6f95] default tip /
 History

Read Only access


File Date Author Commit
 debian-control 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 COPYING 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 README 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 build 2012-02-05 John Lindgren John Lindgren [7a1a71] Fix build with newer libpng.
 build-debian 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 cache.c 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 common.c 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 image-scale.c 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 image-scale.h 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 image.c 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 image.h 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 install 2012-09-01 John Lindgren John Lindgren [29824a] Make sure files are installed with correct perm...
 jpeg-thumb.c 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 jpeg-thumb.h 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 jpeg.c 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 jpeg.h 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 loaders.c 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 main.c 2010-12-09 John Lindgren John Lindgren [6d3823] Make the idle loop tickless by using poll().
 my-png.c 2012-02-05 John Lindgren John Lindgren [7a1a71] Fix build with newer libpng.
 my-png.h 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 reflect.desktop 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 reflect.png 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 reflect.svg 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 remove 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 thumbs.c 2010-12-09 John Lindgren John Lindgren [6d3823] Make the idle loop tickless by using poll().
 utils.c 2010-12-09 John Lindgren John Lindgren [6d3823] Make the idle loop tickless by using poll().
 utils.h 2010-12-09 John Lindgren John Lindgren [6d3823] Make the idle loop tickless by using poll().
 view-image.c 2010-12-09 John Lindgren John Lindgren [6d3823] Make the idle loop tickless by using poll().
 view-thumbs.c 2010-12-09 John Lindgren John Lindgren [6d3823] Make the idle loop tickless by using poll().
 viewer.h 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 window.c 2013-04-20 John Lindgren John Lindgren [aa6f95] Only downscale, never upscale.
 ylib-draw.c 2010-12-09 John Lindgren John Lindgren [83b5f8] Initial import of Reflect 0.9.2010.05.15.
 ylib-text.c 2012-09-16 John Lindgren John Lindgren [177fe5] Fix FcFontMatch assertion.
 ylib.c 2010-12-09 John Lindgren John Lindgren [6d3823] Make the idle loop tickless by using poll().
 ylib.h 2010-12-09 John Lindgren John Lindgren [6d3823] Make the idle loop tickless by using poll().

Read Me

Reflect Image Viewer 0.9.2010.05.15
-----------------------------------

Reflect is an image viewer for Linux that provides only basic features while
minimizing bloat and user effort.  The interface is simple, driven by intuitive
keyboard commands.  Reflect performs well even on an old (300 Mhz) computer.

These instructions are known to work on an i386 machine running Debian 4.0 Etch.
If you install Reflect on a different architecture or operating system, please
tell me about any successes or difficulties you may have.

   John Lindgren <john.lindgren@tds.net>
   July 9, 2009

Update (January 27, 2010): Also tested on Debian 5.0 Lenny i386, Debian testing
i386, and Debian testing amd64.


Building
--------

Building Reflect is only a matter of compiling all the C source files in this
folder and linking them with the right libraries.  You will need GCC and headers
for the following libraries (listed by their Debian names):

   libc6 (of course!)
   libx11
   libfontconfig1
   libfreetype6
   libjpeg62
   libexif
   libpng12

Now run the following script:

   ./build

This will produce a binary named "reflect".  If you like, you can now run
another script to create a nice .deb package.  This script must be run as root
so that the files in the package are owned by root:

   ./build-debian

This will create a package named "reflect_<VERSION>_i386.deb".  If your computer
is a different architecture than i386, the package should still be created fine;
you will just need to rename it.  I haven't tested this, though.

Update (January 27, 2010): ./build-debian now detects amd64 correctly.

Installing
----------

Any installation, of course, must be done by root.  If you created a .deb
package, you can just install that.  Otherwise, the following script will copy
the necessary files into place:

   ./install

There is a similar script to remove these files:

   ./remove


Running
-------

You should now be able to open images in Reflect from your file manager or from
a terminal.  The program does not accept any command-line switches.  The
interface is very simple.  Pressing Enter goes immediately to the next image.
The Up and Down keys navigate through a list of images.  Alt-F4 (depending on
your window manager) quits.