Page 1 of 1
Battleship
Posted: 7. Sep 2012, 00:22
by Andyun
Battleship - a small game for two players (human-computer). Dependencies: gtk+2.0, libcanberra-gtk.
Homepage:
https://launchpad.net/battleship
Source code:
https://launchpad.net/~finteis/+archive ... /+packages

Re: Battleship
Posted: 7. Sep 2012, 00:46
by mimosa
I'll package it if you test my package

Re: Battleship
Posted: 7. Sep 2012, 00:57
by Andyun
OK. My SLKBUILD (don't works sounds):
Code: Select all
pkgname=battleship
pkgver=0.47
pkgrel=111
source=("https://launchpad.net/~finteis/+archive/battleship/+files/battleship_0.47-1-0ubuntu1%7Equantal.tar.gz")
docs=("authors" "copying" "changelog" "install" "news" "readme")
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"battleship (Battleship Game)"
"You play versus a computer controlled opponent."
"Instead of firing blindly you get hints"
"about the enemy's ships' positions."
""
"Homepage: https://launchpad.net/battleship"
)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man
make || return 1
make DESTDIR=$startdir/pkg install
}
Re: Battleship
Posted: 7. Sep 2012, 02:04
by mimosa
Right so the problem is no sound effects, otherwise fine? I just built it myself (but not using your SLKBUILD, just by hand), and it worked beautifully, but as you say, no sound.
EDIT
By the way, I lost every time.
Re: Battleship
Posted: 7. Sep 2012, 21:26
by mimosa
However, sound does work if you turn it on in preferences. Can you confirm whether this works with your package?
Very good sound effects btw!
Re: Battleship
Posted: 7. Sep 2012, 23:28
by Andyun
In Salix 14.0 alpha1 and Live CD 13.37 the sounds of Battleship does not work.
Re: Battleship
Posted: 29. Sep 2012, 20:29
by mimosa
I've made a package for it but sound still doesn't work. However, I suspect this is just because of unmet dependencies - such as libvorbis, which was uploaded to the repo recently. I'll try again in a week or two.
Re: Battleship
Posted: 19. Oct 2012, 14:33
by mimosa
Everything that should be needed must have been packaged by now, but I still can't get it to work. Perhaps a patch is needed, but that's beyond my abilities. Alternatively, maybe an older version (from among those Ubuntu versions) might work.
I'm afraid I give up.
In case anyone is interested in pursuing this, I just found that I needed glibc-solibs to build it, which I don't think I did before. This is a build time dependency, not run time.