You are not logged in.

#1 2008-01-12 13:23:00

Neje
Member
From: Netherlands
Registered: 2004-05-03
Posts: 26

alsaplayer 0.99.80 gtk(2) problem?

Hi all,

Does anybody else use alsaplayer ( http://archlinux.org/packages/alsaplayer ) still? I liked it as a simple graphical audio player in which I could play around with the song speed if I felt like it, but I can't get the new version 0.99.80 to work in graphical mode, and I think it has to do with gtk versions.

The www.alsaplayer.org website has a comment on the main page

July 12 2007
AlsaPlayer 0.99.80-rc2 is out. [...]
The GTK1 interface get broken in the process and is removed from the package.

and I don't see anything about gtk1 support having been reintroduced.

I see that the arch package still depends on plain gtk though (I do have gtk2 installed anyway).

When I try (inspired by alsaplayer --help)
alsaplayer -i gtk, alsaplayer -i gtk1 or alsaplayer -i gtk2
in console, I get
Failed to load interface gtk (or gtk1, or gtk2)

Does anybody else have this problem? Could it be a problem with the package/gtk or did I miss a setting?

Thanks in advance for any hints,
Regards,

Neje

Offline

#2 2008-01-13 13:10:37

roeleman
Member
Registered: 2007-11-09
Posts: 46

Re: alsaplayer 0.99.80 gtk(2) problem?

Hallo Neje,

same problem here.  Alsaplayer doesn't want to load in GUI-mode.  I got the same command line error. 
I checked the PKGBUILD in ABS and I these are the configure options:

./configure --prefix=/usr --enable-esd \
      --disable-opengl --enable-gtk --enable-jack \
      --disable-gtk2 --enable-audiofile

as You see there is --enable-gtk and --disable-gtk2, I think it should become --disable-gtk and enable-gtk2 as alsaplayer is has now a GTK2 interface (they made the switch with the last version).

I will try it for You!

Offline

#3 2008-01-13 13:54:46

roeleman
Member
Registered: 2007-11-09
Posts: 46

Re: alsaplayer 0.99.80 gtk(2) problem?

OK, i got it to work as normal.  GTK2 mode can load but I can not play.

In the PKGBUILD I putted --enable-gtk1 and --enable-gtk2 and --enable-opengl,  with these it works;  If You now start alsaplayer (as regular) you got the gtk1 interface.  With "alsaplayer -i gtk2" You got the GTK2 interface (You can see it but that's all...)

regards,
roel

Offline

#4 2008-01-13 14:19:31

Neje
Member
From: Netherlands
Registered: 2004-05-03
Posts: 26

Re: alsaplayer 0.99.80 gtk(2) problem?

Hi Roel,

Thanks for the confirmation that it's a gtk thing indeed, and thanks a lot for the hints.
Apparently, now is a good time for me to finally try ABS...

Regards,
Neje

Offline

#5 2008-01-13 15:21:53

Neje
Member
From: Netherlands
Registered: 2004-05-03
Posts: 26

Re: alsaplayer 0.99.80 gtk(2) problem?

Hi again,

It works! ABS was easier than I thought it was going to be.

I installed ABS and in the PKGBUILD, I changed the gtk dependency to gtk2 (probably pointless), changed --enable-gtk to --disable-gtk and --disable-gtk2 to --enable-gtk2 and it works already (I didn't touch the other options like opengl yet because I wanted to try one thing at a time).
The main difference with the old version is that it doesn't play on start by default anymore ;-) but that was soon fixed by editing ~/.alsaplayer/config

Thanks for the pointers!

Neje

Offline

#6 2008-02-04 06:11:27

cwjiof
Member
From: Taichung, TW
Registered: 2008-01-27
Posts: 131

Re: alsaplayer 0.99.80 gtk(2) problem?

Thank you, Neje. Good work. I'v never thought of this.

Offline

Board footer

Powered by FluxBB