You are not logged in.

#1 2004-08-13 04:04:31

mipooh
Member
From: Tungsai / Thailand
Registered: 2004-08-04
Posts: 25

ogle-gui

It would be nice to have ogle-gui.


Isn´t it wonderful?

Offline

#2 2004-08-13 23:27:35

kritoke
Member
From: Texas, USA
Registered: 2003-08-01
Posts: 211
Website

Re: ogle-gui

It should be in staging now.

Kritoke


http://counter.li.org/ Registered Linux User #318963 kritoke@jabber.org

Offline

#3 2004-08-14 01:13:54

mipooh
Member
From: Tungsai / Thailand
Registered: 2004-08-04
Posts: 25

Re: ogle-gui

Thanks for that.

The first start ended with

ogle_gui: error while loading shared libraries: libglade-2.0.so.0....

as the libglade is in current I got it installed. But the dependency should be added.

After that several errors I had to find out that I should start it with ogle /mnt/dvd. Now it works, thanks for the package.

Mipooh


Isn´t it wonderful?

Offline

#4 2004-08-14 02:41:32

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: ogle-gui

if you are using udev it seems that using the true path is not acceptable in many applications and you must use /mnt/<dvddevicename> instead. It was one of the reasons I went back to devfs as I did not feel like reconfiguring a bunch of application preferences.


AKA uknowme

I am not your friend

Offline

#5 2004-08-14 03:46:42

mipooh
Member
From: Tungsai / Thailand
Registered: 2004-08-04
Posts: 25

Re: ogle-gui

In my first try after installing ogle-gui i just typed ogle, as I had in mind I did that yesterday when I tried out ogle.

No problem to type ogle /mnt/dvd instead.


Isn´t it wonderful?

Offline

#6 2004-08-15 21:51:53

mak
Member
Registered: 2004-03-08
Posts: 47
Website

Re: ogle-gui

hiho.


ogle_gui is QUITE buggy, because of that i'm trying to build > goggles
which is looking _very_ nice and should have more settings ...

however i'm wondering, as i haven't found any evidence here,
has anyone ever succeded building it ?

it depends on fox, which is available as a pkg,
but it seems to be missing fox-config ?


maybe someone else wants to give it a spin. hmmz.


mak.


$ wget -c -r -l inf -i what_the_hel.l

Offline

#7 2004-08-15 22:05:58

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: ogle-gui

mak wrote:

hiho.


ogle_gui is QUITE buggy, because of that i'm trying to build > goggles
which is looking _very_ nice and should have more settings ...

however i'm wondering, as i haven't found any evidence here,
has anyone ever succeded building it ?

it depends on fox, which is available as a pkg,
but it seems to be missing fox-config ?


maybe someone else wants to give it a spin. hmmz.


mak.

can you post, what you have as PKGBUILD?


The impossible missions are the only ones which succeed.

Offline

#8 2004-08-15 22:49:57

mak
Member
Registered: 2004-03-08
Posts: 47
Website

Re: ogle-gui

well i haven't gotten as far as making a PKGBUILD yet.
but i was able to build it, so the pkg isn't far away now.

there were TWO probs.

[1] the arch-FOX-pkg misses the >fox-config< so there needs to be build a new pkg.
[2] i forgot to add the correct-build-option[-with-xv=no] ... *silly_me*

however it's working really great. at last a way to switch the region !!!


mak.

--- edit ----

# Maintainer: mak <m4k@gmx.net>
#
pkgname=goggles
pkgver=0.7.4
pkgrel=1
pkgdesc="Ogle GUI build with FOX-Toolkit"
url="http://www.fifthplanet.net/goggles.html"
depends=('ogle' 'fox>=1.2.0')
source=(http://www.fifthplanet.net/files/$pkgname-$pkgver.tar.bz2)
md5sums=('d0ef875a6559829ba131bfc0d3b2bfdf')

build() {
  cd $startdir/src/$pkgname-$pkgver
  sed -i 's|export CFLAGS="-Wall -O2 -march=i586 -mcpu=i586"|export CFLAGS="-Wall -O2 -pipe -march=i686"|' build/config.linux
  sed -i 's|export CXXFLAGS="-Wall -O2 -march=i586 -mcpu=i586"|export CXXFLAGS="-Wall -march=i686 -O2 -pipe"|' build/config.linux

  ./gb --prefix=/usr --with-xv=no || return 1
  # install
  mkdir -p $startdir/pkg/usr/{bin,share/goggles}
  install -D -m 755 src/ogle_gui_goggles $startdir/pkg/usr/bin/ogle_gui_goggles
  install -D -m 755 scripts/goggles $startdir/pkg/usr/bin/goggles
  install -D -m 644 desktop/goggles_manual.pdf $startdir/pkg/usr/share/goggles/goggles_manual.pdf
}

--- edit ----

pkg is working quite stable ... at least _more_ stable than ogle_gui
i had to change the install-part and the Makefile, because the other way the pkg is build for i586.


$ wget -c -r -l inf -i what_the_hel.l

Offline

#9 2004-08-16 01:09:06

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: ogle-gui

- what do you mean with fox-config and how it is created? (i'm maintaining the fox toolkit in arch and it works for all my needs "as is")

email me, what you changed that i can fix the pkg, if it is really missing

- why do you build it without xv?

i don0t use ogle frontend, because of the instability - hope that goggles is better on stability


The impossible missions are the only ones which succeed.

Offline

#10 2004-08-16 01:25:08

KalephOne
Member
From: Fortaleza, Brasil
Registered: 2004-04-02
Posts: 99

Re: ogle-gui

great, you killed my fun :cry:
last night I had just created a pkgbuild for goggles too (but yours is way better) big_smile
bp: when building with xv, it searchs for libXv.a, with doesnt exist (at least on my system). Maybe linking libXv.so to it might work...


Kaleph
jabber: kaleph@jabber.org

Offline

#11 2004-08-16 13:11:14

mak
Member
Registered: 2004-03-08
Posts: 47
Website

Re: ogle-gui

@KalephOne: sorry for that. and u might be right on the Xv-stuff[well it did build just fine WITHOUT xv.]

@dp: didn't know u maintain fox, however goggles did complain that there is no fox-config...
and it didn't build, however it could also have been this issue with Xv ...
so i rebuild fox myself, and found a fox-config in the srcs, installed it, and everything did build.

maybe one doesn't need the fox-config after all ...


--- edit ---

i just did a quick test-build with the official-fox-pkg. there are some warnings but it's building fine.
so there doesn't need to be a fox-config. exact output follows:

Unable to locate fox-config.
 Please check your FOX installation or adjust the FOX Prefix. 
 As of FOX 1.2.3 there should be a fox-config. Maybe FOX-1.2.0 or FOX 1.2.3 was stalled?
 Trying to build it anyway...
 Check FOX version   : 1.2.1
 Check FOX Library   : FOUND
 Check FOX Header    : FOUND
 Check OGLE Library  : FOUND

so maybe in the next fox-pkg the fox-config should be included ? wink

--- edit ---

mak.


$ wget -c -r -l inf -i what_the_hel.l

Offline

#12 2004-08-16 13:51:56

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: ogle-gui

KalephOne wrote:

great, you killed my fun :cry:
last night I had just created a pkgbuild for goggles too (but yours is way better) big_smile
bp: when building with xv, it searchs for libXv.a, with doesnt exist (at least on my system). Maybe linking libXv.so to it might work...

[damir@Asteraceae /]$ locate libXv
/usr/X11R6/lib/libXv.so.1
/usr/X11R6/lib/libXvMC.so
/usr/X11R6/lib/libXvMC.so.1
/usr/X11R6/lib/libXvMC.so.1.0
/usr/X11R6/lib/libXv.so.1.0
/usr/X11R6/lib/libXv.so
[damir@Asteraceae /]$ pacman -Qo /usr/X11R6/lib/libXv.so
/usr/X11R6/lib/libXv.so is owned by xorg 11R6.7.0-1

the .so is there - the .a is missing

if there is no flag to tell to use dynamic (so) instead of static (a) libXv, it needs libXv.a :-(


The impossible missions are the only ones which succeed.

Offline

#13 2004-08-16 13:54:50

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: ogle-gui

mak wrote:

@KalephOne: sorry for that. and u might be right on the Xv-stuff[well it did build just fine WITHOUT xv.]

@dp: didn't know u maintain fox, however goggles did complain that there is no fox-config...
and it didn't build, however it could also have been this issue with Xv ...
so i rebuild fox myself, and found a fox-config in the srcs, installed it, and everything did build.

maybe one doesn't need the fox-config after all ...


--- edit ---

i just did a quick test-build with the official-fox-pkg. there are some warnings but it's building fine.
so there doesn't need to be a fox-config. exact output follows:

Unable to locate fox-config.
 Please check your FOX installation or adjust the FOX Prefix. 
 As of FOX 1.2.3 there should be a fox-config. Maybe FOX-1.2.0 or FOX 1.2.3 was stalled?
 Trying to build it anyway...
 Check FOX version   : 1.2.1
 Check FOX Library   : FOUND
 Check FOX Header    : FOUND
 Check OGLE Library  : FOUND

so maybe in the next fox-pkg the fox-config should be included ? wink

--- edit ---

mak.

i'll have a look at fox-config for the next release --- the author does not have it under "install" in the makefile, but i will have a look at it --- thanx for the "heads up"


The impossible missions are the only ones which succeed.

Offline

#14 2004-08-16 15:13:34

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: ogle-gui

mak wrote:
# Maintainer: mak <m4k@gmx.net>
#
pkgname=goggles
pkgver=0.7.4
pkgrel=1
pkgdesc="Ogle GUI build with FOX-Toolkit"
url="http://www.fifthplanet.net/goggles.html"
depends=('ogle' 'fox>=1.2.0')
source=(http://www.fifthplanet.net/files/$pkgname-$pkgver.tar.bz2)
md5sums=('d0ef875a6559829ba131bfc0d3b2bfdf')

build() {
  cd $startdir/src/$pkgname-$pkgver
  sed -i 's|export CFLAGS="-Wall -O2 -march=i586 -mcpu=i586"|export CFLAGS="-Wall -O2 -pipe -march=i686"|' build/config.linux
  sed -i 's|export CXXFLAGS="-Wall -O2 -march=i586 -mcpu=i586"|export CXXFLAGS="-Wall -march=i686 -O2 -pipe"|' build/config.linux

  ./gb --prefix=/usr --with-xv=no || return 1
  # install
  mkdir -p $startdir/pkg/usr/{bin,share/goggles}
  install -D -m 755 src/ogle_gui_goggles $startdir/pkg/usr/bin/ogle_gui_goggles
  install -D -m 755 scripts/goggles $startdir/pkg/usr/bin/goggles
  install -D -m 644 desktop/goggles_manual.pdf $startdir/pkg/usr/share/goggles/goggles_manual.pdf
}

Boo, hardcoded optimizations, the bane of port writers...

Change the i686 to $CARCH... or even better, change the whole CFLAGS line to $CFLAGS (You'll have to quote the sed script differently though, to have $CFLAGS expanded).  Same situation with $CXXFLAGS.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#15 2004-08-16 18:05:02

mak
Member
Registered: 2004-03-08
Posts: 47
Website

Re: ogle-gui

@Xentac: that was just a _quick_ fix. as the PKGBUILD was just made for testing purposes ...

shouldn't it be enough to change the sed-lines like this?

  sed -i 's|export CFLAGS="-Wall -O2 -march=i586 -mcpu=i586"|export CFLAGS="$CFLAGS"|' build/config.linux
  sed -i 's|export CXXFLAGS="-Wall -O2 -march=i586 -mcpu=i586"|export CXXFLAGS="$CXXFLAGS"|' build/config.linux

it's building ok ... well i'm not used to changing build-scripts :oops:

mak.


$ wget -c -r -l inf -i what_the_hel.l

Offline

#16 2004-08-16 21:42:53

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: ogle-gui

That probably should have had a tongue in it somewhere.  I was just pointing it out for your own edification.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#17 2004-08-16 21:51:40

mak
Member
Registered: 2004-03-08
Posts: 47
Website

Re: ogle-gui

Xentac wrote:

That probably should have had a tongue in it somewhere.  I was just pointing it out for your own edification.

ohhh-kay. just learning the _magicks_ of Makefile-editing via sed ... but do these changes work, 'cause i'm certainly NOT sure WHAT i did there ...

does makepkg set the $CFLAGS/$CXXFLAGS-variables before building ? *wonders*


help please. mak :?  < that emoticon is called *confused*, looks rather angry to me. wink


$ wget -c -r -l inf -i what_the_hel.l

Offline

#18 2004-08-17 00:05:40

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: ogle-gui

You should probably test it out.  It might work in that case but not all of them.

Yes, CFLAGS and CXXFLAGS are set by /etc/makepkg.conf before the build function is run.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#19 2005-03-29 14:42:01

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: ogle-gui

Since I myself just installed ArchLinux, I'll see if I can build a official Goggles package smile

Offline

#20 2005-03-30 03:55:19

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: ogle-gui

Ok... as promised here it is:


# Contributor: Sander Jansen <sander@knology.net>

pkgname=goggles
pkgver=0.8.0
pkgrel=1
pkgdesc="Frontend for Ogle DVD Player"
depends=('fox>=1.4.0' 'ogle' )
source=(http://fifthplanet.net/files/$pkgname-$pkgver.tar.gz)
url="http://fifthplanet.net/goggles.html"
md5sums=('21f2509b63377c4a66f3518e124e9ec5')

build() {
    cd $startdir/src/$pkgname-$pkgver

    # Override default flags
    export CFLAGS="-Wall -O2 -pipe -march=i686"
    export CXXFLAGS="-Wall -O2 -pipe -march=i686"

    # Compile    
    ./gb 

    # gb does not return valid error code
    if [ ! -f src/ogle_gui_goggles ] ; then
        return 1
    fi    
    
    # make sure destination exists    
    mkdir -p $startdir/pkg/usr/{bin,share/goggles} 

    # Install
    ./gb install --prefix=$startdir/pkg/usr 
}

The package itself can be downloaded here: http://fifthplanet.net/files/goggles-0.8.0-1.pkg.tar.gz

Offline

#21 2005-04-21 04:10:39

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: ogle-gui

Bump!  I submitted Goggles to AUR.

Offline

#22 2005-04-22 08:07:20

bravo90078
Member
Registered: 2005-04-22
Posts: 18

Re: ogle-gui

I installed the package but when I run it all I get is the ogle window... no gui at all... am I doing something wrong?

EDIT: actually nvrmind... I think I know what the problem is..

Offline

#23 2005-04-22 14:56:45

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: ogle-gui

What was the problem?

Offline

#24 2005-04-22 19:06:11

mic64
Member
Registered: 2005-03-03
Posts: 173

Re: ogle-gui

Hi

the installed goggles script in /usr/bin leads to something like
DVDP_UI=/var/abs/local/usr/bin/ogle_gui_goggles

change this to
DVDP_UI=/usr/bin/ogle_gui_goggles

then it works..at least it starts then.
I get only sound..no video.

mic

Offline

#25 2005-04-22 19:56:47

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: ogle-gui

Big Oops... I will fix it tonight....
About the no video, are you running any other media player at the same time?

Offline

Board footer

Powered by FluxBB