| Author |
Message |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Sat 27 Oct 2007, 10:28 Post subject:
slideshow-1.1.pet: SDL based slideshow app |
|
people have often asked for a suitable slideshow presentation application for puppy. i quite like the simplicity, and smallness, of this SDL based one.
http://www.xmission.com/~jstanley/slideshow.html
it needs SDL library files to run. extract the attached file to /, then type slideshow --help to see options.
| Description |
|

Download |
| Filename |
slideshow-1.1.tar.bz2 |
| Filesize |
28.69 KB |
| Downloaded |
891 Time(s) |
Last edited by muggins on Mon 27 Oct 2008, 05:56; edited 1 time in total
|
|
Back to top
|
|
 |
fargo
Joined: 10 Jan 2008 Posts: 8
|
Posted: Thu 10 Jan 2008, 06:41 Post subject:
|
|
EXCELLENT
I'm trying to run this on Puppy 2.x but it complains about the file /usr/lib/libSDL-1.2.so.0 being too short!!
Any idea how to solve this?
BTW, your progy doesn't need X server, right?
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 10 Jan 2008, 07:02 Post subject:
|
|
re-install sdl with petget, or use this dotpup:
http://dotpups.de/dotpups/Games/LibSDL1.2-forDoom.pup
Try petget first, as both versions are slightly different.
Mark
|
|
Back to top
|
|
 |
Yogi
Joined: 19 Aug 2005 Posts: 176
|
Posted: Thu 10 Jan 2008, 17:52 Post subject:
|
|
sh-3.00# slideshow
sh: slideshow: command not found
sh-3.00# slideshow -help
sh: slideshow: command not found
sh-3.00#
Installed to /, but for some reason it doesn't see it. I'm running Pizza Pup 3.01.
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Thu 10 Jan 2008, 19:26 Post subject:
|
|
Hi Yogi,
how did you extract the archive to / ? I suspect that the executable, slideshow, has been extracted & ended up somewhere else in your file system, rather than /usr/bin. You can try & locate where it's been extracted to by entering:
find / -name slideshow
and, if you find it, move it to /usr/bin.
|
|
Back to top
|
|
 |
fargo
Joined: 10 Jan 2008 Posts: 8
|
Posted: Thu 10 Jan 2008, 20:35 Post subject:
|
|
Thank you MU. The SDL lib is working well now.
slideshow seems to need X server to run, because when I exit X and try to run it, it complains about no display device was found.
I'm wondering about how difficult it is to write a slideshow outside X11?
|
|
Back to top
|
|
 |
Yogi
Joined: 19 Aug 2005 Posts: 176
|
Posted: Thu 10 Jan 2008, 21:10 Post subject:
|
|
Yes, thank you Muggins. That was it.
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Fri 18 Jan 2008, 07:56 Post subject:
|
|
Yogi,
glad you got it working.
| Quote: |
I'm wondering about how difficult it is to write a slideshow outside X11? |
fargo,
yes SDL needs X11 AFAIK. There are commandline graphic viewers, which might have slideshow capability, but they would probably be Svga or framebuffer based. So you would need to either use an Svga based distro, (2 floppy based blueflops springs to mind), or one that supports framebuffer mode, like maybe dsl. previous pupversions used to have packages for framebuffer & svga, but it could be problematical tracking that stuff down.
|
|
Back to top
|
|
 |
fargo
Joined: 10 Jan 2008 Posts: 8
|
Posted: Fri 18 Jan 2008, 17:46 Post subject:
|
|
Thank you muggins
Actually I came from the GP2X world where we have SDL games without X11 (framebuffer only).
Ok, how about stripping down X11 to the components needed by your program only and configure it to start up once the computer powers on?
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Fri 18 Jan 2008, 19:01 Post subject:
|
|
Tried both SDL libraries and this command line:
| Code: | | slideshow -window -name 1c.jpg -advance 3 -random -tran random |
did not seem to work - nothing
am using xorg and Puppy 2.17
_________________ Puppy WIKI
Last edited by Lobster on Fri 24 Oct 2008, 18:28; edited 1 time in total
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Fri 18 Jan 2008, 19:14 Post subject:
|
|
Lob, you get any errors?
Maybe you need a different color-depth for your display.
Some games using SDL work only with 16 or with 24 bit.
Mark
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Fri 18 Jan 2008, 23:09 Post subject:
|
|
Hi Lobster,
you had me sweating there for a few secs, as I couldn't get the thing to work either!
| Quote: |
slideshow -window -name 1c.jpg -advance 3 -random -tran random |
-window option is probably redundant, as slideshow will use default window size of 800x600, unless you specify a different height & width.
-name should be entered by itself, to have the filename displayed on the pic. If not entered, pic will be unnamed.
-advance 3 -random -tran random This is all OK.
The last bit you should enter is just the path to the directory where the pics are, so on my computer, this works:
slideshow -name -advance 3 -random -tran random /x2
You can also have the last entry pointing to a text-file, with a list of jpegs to display, one per line. Hope this works for you.
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Sat 19 Jan 2008, 05:03 Post subject:
|
|
thanks guys
| Code: | # slideshow -name -advance 3 -random -tran random /x2
slideshow: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory
# slideshow -name 1c.jpg -advance 3 -random -tran random /x2
slideshow: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory |
Don't sweat - it is me being incompetent and 'CLI fear'
(A penguin condition)
Finally got an error message (did not even get that before)
this is the file I have in at the moment
libsdl-1.2-9
it is wrong - where do I get the one mentioned?
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sat 19 Jan 2008, 05:23 Post subject:
|
|
it definately is in:
http://dotpups.de/dotpups/Games/LibSDL1.2-forDoom.pup
But maybe that depends on another one?
Please post the result of this command:
ldd /usr/lib/libSDL_image-1.2.so.0
Mark
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Sat 19 Jan 2008, 06:08 Post subject:
|
|
Hi mark & lobster,
I think Mark's http://dotpups.de/dotpups/Games/LibSDL1.2-forDoom.pup is the only thing you need to install. Maybe the libSDL-1.2.9 doesn't have libSDL_image.so ?
|
|
Back to top
|
|
 |
|