site  contact  subhomenews


November 27, 2010 — BarryK
I don't really have a page anymore with suggestions for projects. That is, for any programmer wanting to get involved with Puppy and wanting suggestions on what to do.

So I thought that I might post to my blog with "PROJECT:" in the title, which should make it easy to find them all.

Wary Puppy (and the upcoming Quirky 1.4) has the Ogle DVD player, and feedback is that it works extremely well, better than some other players such as Gnome-Mplayer.

The GUI does have at least one problem though -- the Stop button does not work. You have to click the 'close' box on the window to stop it. This would be a good project for someone knowledgeable in C coding.

The source is available here. There are two Ogle packages, the commandline package and the GUI wrapper:
Us#er#na#me: pu#pp#y Pa#ss#wo#rd: li#nu#x

Here is how I compiled them:
wary 081, 7 oct 2010

ogle won't compile with libdvdread 4.1.3 (as supplied by mplayer site) and used in all puppies now. so, try compile libdvdread 0.9.7 statically...

libdvdread 0.9.7
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --disable-shared --enable-static

ogle 0.9.2-patched5.2
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu
# make
...if fails in 'vmg' dir, add '-ldl':
# gcc -fomit-frame-pointer -funroll-loops -g -O2 -Wall -g -O2 -Wall -march=i586 -mcpu=pentiumpro -o ifo_dump ifo_dump.o vmcmd.o -L/usr/lib /usr/lib/libdvdread.a -lrt -Wl,--rpath -Wl,/usr/lib -ldl
# new2dir make install

ogle_gui 0.9.2-patched4.2
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --enable-gtk2
# make
# new2dir make install


Add actionStop()
Username: PathFinder_Cate
To add the STOP feature to the GUI, try the following: In actions.c, add (near line 244): [code] void actionStop(void *data) { DVDStop(nav); } [/code] then ( in the decraration for actions[] ) change: the line { "Stop", NULL, NULL }, to { "Stop", do_action, actionStop }, I think that this might do it.

Ogle GUI
Username: ttuuxxx
"Hi PathFinder_Cate I tried you patch and well it didn't work for me, it compiled fine, but the end result was the same, a broken stop button, do you have your patched sources? You could post them on the forum. Thanks for looking at this :) ttuuxxx

ogle gui
Username: ttuuxxx
"Hi Barry UI made a theme for ogle gui from scratch, pixel by pixel, added an icon for play and converted the xpm's to png once we workout the broken stop button I'll make a sources package. The theme is a lot smaller than the default and looks better:) ttuuxxx [img][/img]

Ogle stop button?
Username: BarryK
"Any progress here?

ogle patch (not the stop button)
Username: 01micko
"Well I guess the stop button patch is the one we really want but alas it eludes! I did manage to patch the ogle source to compile against the latest libdvdnav, so that is a little bit of good news. If you get the source I posted to the forum read the changelog for the patches, they are all manually applied, with URLs where I found them (or the idea in one case) Forum post: Cheers

Ogle GUI
Username: ttuuxxx
"Hi Barry I compiled fox toolkit 1.6 statically and compiled your then I compiled Goggles based on the fox toolkit static, Fedora did update goggles for sometime and the updated sources can be found at the end result was a 794kb pet that has Googles gui/ogle dvd, not bad results. Fox toolkit statically compiled only works for some apps, I tried to compile which is a nice text editor based on FXScintilla, but wouldn't compile statically but it did compile under normal shared fox libs. But dxirc which is a mirc chat did compile statically. If you wanted to try the two static versions that did work on 2.14X (They should work on wary also) they can be found at ttuuxxx

Tags: puppy