Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 17 Nov 2017, 22:41
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
xsw: SDL-based slideshow presenter
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
muggins

Joined: 20 Jan 2006
Posts: 6733
Location: hobart

PostPosted: Tue 07 Apr 2009, 08:20    Post subject:  xsw: SDL-based slideshow presenter  

http://code.google.com/p/xsw/

Quote:
xsw is a slideshow presentation tool for all those who are frustrated with Microsoft PowerPoint and its clones.

Basics

By using xsw, you create your presentation "by hand", using the xsw language described in the manual. An example of a file is:

slide:
- text: "Hello" x:50 y:30 align:center
+ text: "World!"

The first line says we're writing a slide. The second one says: "add the text 'Hello' centered at the position 50x30 (each slide is 100x75)". The third line says: "write 'hello' using the same parameters that the line before'. That's what the plus (+) is for.

Let's say you save the script in a file called test.xsw. So, to run, just type:

$ xsw test.xsw


Enter xsw -I for an introduction.

Requires the installation of SDL libraries.

Reference: http://code.google.com/p/xsw/wiki/Reference

Last edited by muggins on Mon 11 May 2009, 07:35; edited 4 times in total
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6733
Location: hobart

PostPosted: Sun 12 Apr 2009, 20:02    Post subject:  

Uploaded v0.1.3.

Quote:
Version 0.1.3

* a bug was segfaulting xsw when a empty string (or spaces) was about to be shown. This was corrected, and now a empty string can be used as a line spacer.
* an option --intro was added to show a introductory slideshow.
* the presentation now can be started from any directory - the program will look for the images starting on the presentation path.
* the file INSTALL was overwritten by autoconf and was recovered.
* in developer mode, now xsw shows the fine position of the mouse in a box at the bottom right.

Version 0.1.2

* the keyword "text" is no longer needed, and it'll be ignored in new versions
* the limit of 1024 slides/commands was removed. There's no limit now.
* the keywords "image" and "background" can be used as "img" and "bg"
* a "-v" option was added the show the program version
* a syntax error now shows the line where the error ocurred
* a option called "image_path" was added, so that xsw will look for images in that directory as well
* documentation was corrected to inform about comments and keys that can be used during the execution of the program

Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6733
Location: hobart

PostPosted: Wed 15 Apr 2009, 21:15    Post subject:  

Uploaded v0.2.2.

Quote:
Version 0.2.2

* named colors: now colors can be referred by their X11 names (see Colors)
* IDs (template names and custom commands) and named colors are no longer case sensitive.
* corrected a bug where the background color was not working when using templates
* added license information to source files

Version 0.2.1

* fixed a serious bug where previous presentations would not work.

Version 0.2.0

* added options color and gradient to the background.
* added options color and border to the text.
* added option h (height) to the text.
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15235
Location: Paradox Realm

PostPosted: Thu 16 Apr 2009, 01:23    Post subject:  

Quote:
Requires SDL libraries.


Many thanks for updating so quick Smile

Are these standard in Puppy 4.2? Probably not, there are 3 different packages offered by the package manager . . .
.
Does anyone know
Do I only need the first?
Does anyone know how much they add?

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
muggins

Joined: 20 Jan 2006
Posts: 6733
Location: hobart

PostPosted: Sat 18 Apr 2009, 20:36    Post subject:  

Lobster,

good point...I just assumed the default SDL .pets would be fine...without actually testing them! Anyway they're missing stuff. I normally use Mu's LibSDL1.2-forDoom.pup, which has everything required by xsw. There's also a full SDL .pet, by spottedzebra which, (after I made a symlink from /usr/lib/libSDL_gfx.so.0.0.16 to /usr/lib/libSDL_gfx.so.13), worked with xsw. It's available here.
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15235
Location: Paradox Realm

PostPosted: Sun 19 Apr 2009, 03:38    Post subject:  

Thanks Muggins,

[/rant mode on]
A presentation program for Puppy would be great - yes there is the massive version in OpenOffice (I tend to use that) but it needs java . . .
and tweaking to get the multimedia to work
Koffice I have not used for presentation

I even had a go with Apres
http://www.murga-linux.com/puppy/viewtopic.php?p=66515&search_id=628421193#66515

As well as what you have compiled - anyone gonna test?
. . . there is an intriguing new possibility . . . FullerScreen
https://addons.mozilla.org/en-US/seamonkey/addon/4650/

I tried FullerScreen in Puppy 4.2 and it did not work for me . . . Crying or Very sad
Barry has got it working in the Woof Builds and I hope we will put it in 4.3

[/rant mode off]

Anyway sorry to hijack this thread for a general rant on Presentation software Embarassed

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
muggins

Joined: 20 Jan 2006
Posts: 6733
Location: hobart

PostPosted: Sun 19 Apr 2009, 05:10    Post subject:  

Uploaded v0.2.3, plus an SDL .pet containing the required libraries.

Quote:
Changes: A switch (-f) was added for displaying fullscreen. The window title now shows the current and total slide numbers.


Yes, the developer seems to be releasing a new version every few days...I hope he continues refining it.
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4838
Location: Manila

PostPosted: Sun 19 Apr 2009, 14:30    Post subject: thanks  

Thanks, muggins, for keeping watch. Will visit here from time to time. Hope I can spare time to test it.
_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6733
Location: hobart

PostPosted: Thu 23 Apr 2009, 08:14    Post subject:  

Uploaded v0.3.1.

Quote:
Version 0.3.1

* ALT+F4 and CTRL+C now quit xsw, and ESC leaves full screen.
* corrected a bug where image_path didn't accept static paths.
* corrected a bug where xsw2pdf would segfault when the xsw presentation file didn't have a extension

Version 0.3.0

* the program xsw2pdf was created. This programs requires ImageMagick and generates a PDF file from a presentation.
* the color search function was optimized and should be both faster to execute and to compile.
* the mouse pointer is now hidden in fullscreen.
* a strange number was being shown when CTRL was pressed in developer mode.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6733
Location: hobart

PostPosted: Mon 11 May 2009, 07:36    Post subject:  

Uploaded v0.3.5.

Quote:
Version 0.3.5
-------------
* a few files were missing in the last version, and this version corrects
this.

Version 0.3.4
-------------
* created the xswconv, that converts a xsw presentation to png, jpg and pdf.
* created the xsw2pdf, xsw2png and xsw2jpeg, that uses xswconv to convert
a xsw presentation.
* added a -s option to xsw, where the user can start the presentation
at a specific slide.
* added a window icon.
* when xsw enters developer mode in fullscreen, the mouse is now visible.
* corrected a bug where big presentations make xsw enter a race condition
* corrected a bug that prevented developer mode to work.
* corrected a bug that prevented gradients to work when the amount of red.
of the background and the gradient was the same.
* corrected a bug that increased CPU usage in developer mode.

Version 0.3.3
-------------
* xsw no longer install the Vera fonts if they can be found in the font
directory.
* corrected a problem where the font border would be broken if the text
was to fall out of the screen.
* error in configure.ac where ./configure was informing that SDL_image was
missing if SDL_gfx was actually missing.
* added xsw2pdf manual page.
* Changelog file replaced by the NEWS file.

Version 0.3.2
-------------
* created a tutorial presentation, that can be run with the switch --tutorial.
This presentation supersedes the previous introduction presentation.
* corrected a problem where many big presentations would fail due to not
freeing a font.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1046s ][ Queries: 12 (0.0111s) ][ GZIP on ]