You are not logged in.

#1 2003-08-18 18:23:20

whatah
Member
Registered: 2003-08-10
Posts: 114

frozen bubble!

is it me, or is there no frozen bubble for arch linux? where is the goodness that is frozen bubble? i tried installing it, but SDL_Perl is needed and the sdl_perl included with arch linux just doesn't cut it. And there is a lack of games in arch linux it seems, we should get a gamer to package games all day long and post them so i can play them,  :twisted:

Offline

#2 2003-08-18 19:24:12

orelien
Forum Fellow
From: France
Registered: 2002-12-05
Posts: 220
Website

Re: frozen bubble!

Indeed, I've already tried to package frozen-bubble, but I gave up at that time because of problems with sdl_perl (was it a segfault?).
Anyway, here is the PKGBUILD:

pkgname=frozen-bubble
pkgver=1.0.0
pkgrel=1
pkgdesc="..."
#depends=('sdl_image' 'sdl_mixer' 'sdl_perl>=1.19')
source=(http://guillaume.cottenceau.free.fr/fb/$pkgname-$pkgver.tar.bz2)
url="http://www.frozen-bubble.org/"

build() {
  cd $startdir/src/$pkgname-$pkgver
  make PREFIX=/usr || return 1
  make PREFIX=$startdir/pkg/usr install
}

If someone's in the mood? or someone's more lucky than me?

I've just given it a new try, but it looks like there's a big problem with perl and SDL:

[orelien@pikachu src]$ perl -e 'use SDL;'
Erreur de segmentation (core dumped)

Offline

#3 2003-08-18 19:55:34

andy
Member
From: Germany
Registered: 2002-10-11
Posts: 374

Re: frozen bubble!

With the following PKGBUILD, I got it compiled in no time :-) :

pkgname=frozen-bubble
pkgver=1.0.0
pkgrel=1
pkgdesc="..."
#depends=('sdl_image' 'sdl_mixer' 'sdl_perl>=1.19' 'sdl_gfx')
source=(http://guillaume.cottenceau.free.fr/fb/$pkgname-$pkgver.tar.bz2)
url="http://www.frozen-bubble.org/"

build() {
  cd /usr/lib
  ln -s libSDL_gfx.so.7.0.0 libSDL_gfx.so.0
  cd $startdir/src/$pkgname-$pkgver
  make PREFIX=/usr || return 1
  make PREFIX=$startdir/pkg/usr install
}

First : I did not check all the dependencies (hence it still is commented). But sdl_gfx certainly was missing. Maybe this output helps :

# pacman -Q | egrep "sdl|perl"
perl 5.8.0-5
sdl 1.2.5-4
sdl_gfx 2.0.7-1
sdl_image 1.2.3-1
sdl_mixer 1.2.5-1
sdl_net 1.2.5-1
sdl_perl 1.20.0-3
sdl_sound 1.0.0-1
sdl_ttf 2.0.6-1

Second : this lib-fixing is REALLY ugly ...

Offline

#4 2003-08-18 20:09:16

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

Re: frozen bubble!

andy wrote:

Second : this lib-fixing is REALLY ugly ...

explain this please.


AKA uknowme

I am not your friend

Offline

#5 2003-08-18 20:22:43

whatah
Member
Registered: 2003-08-10
Posts: 114

Re: frozen bubble!

that PKGBUILD works, but it detected a conflict, i threw caution to the wind and overwrote the file that was already in the FS because i am never gonna uninstall frozen bubble!!!!
thanks alot

Offline

#6 2003-08-18 21:19:48

andy
Member
From: Germany
Registered: 2002-10-11
Posts: 374

Re: frozen bubble!

sarah31 wrote:
andy wrote:

Second : this lib-fixing is REALLY ugly ...

explain this please.

All right. This is what I got when I first tried a makepkg :

Can't load '/usr/lib/perl5/site_perl/5.8.0/i686-linux/auto/SDL_perl/SDL_perl.so' for module SDL_perl: libSDL_gfx.so.0: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.0/i686-linux/DynaLoader.pm line 229.
 at /usr/lib/perl5/site_perl/5.8.0/i686-linux/SDL.pm line 9

It seems that the real problem is in either perl_sdl or sdl_gfx. I would say perl_sdl needs the link and hence its installation should perform that link. But then again, why does perl_sdl want a libSDL_gfx.so.0 and not libSDL_gfx.so.7.0.0 ? Is this an "unclean" build environment during the creation for the perl_sdl package ?

P.S.: I would have answered quicker .... but ... you know .... I installed frozen bubble ... ;-)

Offline

#7 2003-08-18 22:11:06

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

Re: frozen bubble!

ok thanks. without the error there in my face i was missing the point of that statement. it gives me some more to work with too when i look at this issue.

btw i tried making this package almost a year ago but i was never able to get the source url to work.


AKA uknowme

I am not your friend

Offline

#8 2003-09-24 23:24:15

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

Re: frozen bubble!

Hello,
trying to create pkgs for frozen-bubble on my slack box I found out that it needs sdl_perl-1.19.0. It doesn't work with 2.0.x. Actually it returns the error message andy reported.
Could someone pls check the pkg for it, again. I'm really busy fixing some networks/servers at 2 workplaces this week to check it myself sad (and play frozen-bubble afterwards big_smile).

Offline

Board footer

Powered by FluxBB