Hi,
Perigee Slideshow is a tiny
command line slideshow program
source to be downloaded here:
http://jstanley.pingerthinger.com/slideshow.html
The following dependencies are needed (from debian wheezy repo):
libsdl-image1.2_1.2.12-2_i386.deb: 37 K
libsdl-image1.2-dev_1.2.12-2_i386.deb: 41 K (only for compiling purpose)
libwebp2_0.1.3-3+nmu1_i386.deb: 98 K
(libSDL1.2 is already present in dpup-wheezy-3.5.2.11)
I've extracted the zip archive under / and cd'ed to /slideshow-source-1.2/slideshow;
I opened a terminal inside /slideshow-source-1.2/slideshow and did
# ./buid.sh
(i needed to render build.sh executable)
I then got an error message telling
"exif_field.cpp ...96.32...‘sprintf’ was not declared in this scope"
I then edited and added
#include <stdio.h>
#include <cstdio>
at the top of /slideshow-source-1.2/exif_parser/exif_field.cpp
and then could get ./build.sh running without error.
Nothing more to do ... (no configure nor make command!
A slideshow binary is then created into /slideshow-source-1.2/slideshow.
Seems to run OK.
The resulting pet is attached with extra libs and html doc included.
Typing slideshow in a terminal displays all the options to use it.
sh-3.00# slideshow
Perigee Slideshow
(c) 2003-2010 by Jeremy Stanley
Usage: slideshow [options] picture_path
picture_path is either a directory or a text file containing a list
of image files, with one image file per line. Specify - to read a
list of files on stdin.
Options:
-width X : Set screen width to X pixels (default 800)
-height Y : Set screen height to Y pixels (default 600)
-window : Run in a window (dimensions specified by -width and -height)
-name : Display image filename
-advance X : Automatically advance images every X seconds
-random : Randomize picture order
-ready : Show indicator (small green square) when next image is ready
-loop : Start over when the slideshow completes
-tran XXX : Use a transition effect between slides. XXX can be one of
fade, checkers, blinds, uncover, or random
The following options apply only when picture_path is a directory:
-recurse : Recurse into subdirectories
-sort S : Sort file list, where S is one of the following:
n+ : Name ascending (a-z)
n- : Name descending (z-a)
cd+ : Create date ascending (oldest first)
cd- : Create date descending (newest first)
md+ : Mofify date ascending (oldest first)
md- : Mofify date descending (newest first)
ed+ : Exif date ascending (oldest first)
ed- : Exif date descending (newest first)
sh-3.00#
For example, to show image files present in /mypath/myfotos, one might run the following command to get them displayed in ascendant alphabetic order:
Code: Select all
# slideshow -sort n+ /mypath/myfotos
the following command displays their name:
Code: Select all
# slideshow -name -sort n+ /mypath/myfotos
Enjoy !
Cheers, Charlie
ps: the "q" suffix tells that slideshow may be exited just pressing the "q" key, using Mark Ulrich's alias forum member MU (vielen Danke Mark !) code for slideshow.cpp - may be found here
http://www.murga-linux.com/puppy/viewto ... 537#414537