site  contact  subhomenews

PROJECT: Ogle GUI

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:

http://bkhome.org/sources/alphabetical/o/
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

Comments

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]http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=34929[/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: http://www.murga-linux.com/puppy/viewtopic.php?p=483976#483976 Cheers

Ogle GUI
Username: ttuuxxx
"Hi Barry I compiled fox toolkit 1.6 statically and compiled your http://bkhome.org/sources/alphabetical/o/ogle-0.9.2-patched_debian5.2_libdvdread4.1.3bk.tar.bz2 then I compiled Goggles based on the fox toolkit static, Fedora did update goggles for sometime and the updated sources can be found at http://voidmain.kicks-ass.net/files/RPMS/goggles/goggles-0.9.1-3.fc6.vm.src.rpm 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 http://code.google.com/p/fxite/downloads/list 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 http://murga-linux.com/puppy/viewtopic.php?p=577308#577308 ttuuxxx


Tags: puppy