VectorLinux

Cooking up the Treats => New Package Requests => Topic started by: tomh38 on February 04, 2008, 06:34:42 am

Title: GNU Backgammon
Post by: tomh38 on February 04, 2008, 06:34:42 am
Would someone please build a package for GNU Backgammon:  http://www.gnubg.org (http://www.gnubg.org)?  Apparently if you know what you're doing it can be compiled with 3D support and overall looks way, way cooler than KBackgammon, or any other computer backgammon game I've ever seen.

I tried, but apparently I don't know what I'm doing.  :(

Oh, here's a little screenshot:  http://www.gnubg.org/shots/gnubg_win.png (http://www.gnubg.org/shots/gnubg_win.png)
Title: Re: GNU Backgammon
Post by: kukibl on February 04, 2008, 09:53:32 am
I've built package for this right now. It is working just fine, although I would like to test it more further. ;D

The problem is - where to upload it? Today I sent message to JohnB316, I am still waiting for reply. The package is 16 MB.
Title: Re: GNU Backgammon
Post by: tomh38 on February 04, 2008, 10:08:49 am
Thanks a lot Bender ... uh, I mean kukibl!

I think JohnB316 is pretty busy right now, so if you don't hear from him soon, try messaging exeterdad, I've seen him posting about new packages a lot lately.
Title: Re: GNU Backgammon
Post by: kukibl on February 04, 2008, 10:21:05 am
You welcome! ;)

I will build it one more time, on a "clean" system this time and test it. ;D I will PM exeterdad tomorrow if I don't get reply from JohnB316.

Thanks for advice!
Title: Re: GNU Backgammon
Post by: exeterdad on February 04, 2008, 01:21:44 pm
kukibl,

I'm afraid I'm not going to be able to help you to sign up as a packager  :-\  I'm certain I can't get you into the packagers forum, though I'm a "moderator" of sorts over there, I don't have access to the magic wand to modify your account. I'm also unsure what my "repo" rights are.

I'm sure glad to see your eagerness and willingness to help though  ;)  The more people we have on board makes for a more complete repo.  And of course you may have ideas for apps to package that we haven't even thought of.

I must warn you that our packaging standards have tightened up considerably since the packaging "how to" was written.  Just recently we've cracked down even harder, and a new slackbuild template created.  A new "how to" is being written as time allows.  But if you are able to compile and install for yourself, you already gotten past the hardest part.

JohnB316 will get back to you as soon as he's able, he's a good guy.

BTW thomh38....  to get 3d support with gnubg, you need to have gtkglext installed.  Otherwise it will quietly build with 2d support no matter what options you pass to ./configure.
Title: Re: GNU Backgammon
Post by: tomh38 on February 04, 2008, 01:57:23 pm
exeterdad

Thanks for clearing things up.  I hope this heps kukibl, as he seems to me to have "the right stuff" for a packager (maybe someday I will). 

I only got interested in this because somebody else was interested in a backgammon game for Linux, and then I found GNU Backgammon and it looked so cool.

I don't even know how to play backgammon.

I suppose I deserve the hat.

Tom
Title: Re: GNU Backgammon
Post by: exeterdad on February 04, 2008, 02:04:40 pm
Quote
I don't even know how to play backgammon.


Pssssst...... I don't either!
Title: Re: GNU Backgammon
Post by: rbistolfi on February 04, 2008, 02:07:57 pm
Backgammon is a really nice game. I like it because has some complex things but is not so demanding as chess.
Title: Re: GNU Backgammon
Post by: Lyn on February 04, 2008, 02:29:32 pm
I have always liked backgammon, easy to lean, but the element of chance and how a skilled player can make the chance work to their advantage makes it a fascinating game.    Certainly gnubackgammon looks good.
Title: Re: GNU Backgammon
Post by: tomh38 on February 04, 2008, 02:35:54 pm
Let's see ... we've got Argentina, Serbia, the UK (Wales represent!), the US ... World Tournament anyone?

Okay, exeterdad and I don't know how to play, so that would kind of make it like the World Cup.
Title: Re: GNU Backgammon
Post by: kukibl on February 04, 2008, 04:19:07 pm
@exeterdad

No problem, I understand. :-\ Maybe one day in the future... at least I hope so. Thank you for reply and for clearing things out for me.

@tomh38

Thank you once again! ;)

P.S.
I don't know how to play it either. ;D
Title: Re: GNU Backgammon
Post by: Lyn on February 05, 2008, 02:02:44 am
Let's see ... we've got Argentina, Serbia, the UK (Wales represent!), the US ... World Tournament anyone?

Okay, exeterdad and I don't know how to play, so that would kind of make it like the World Cup.

Wonderful idea... the basics take about 15 mins to learn - tactics come later :-)

http://www.boardgamecentral.com/games/bg.html

As described its a racing game, the object being to get all your men off the board.  The oldest racing game I know of is Senet - the Egyptian Game of Life, which was so wide spread no one wrote down the rules.  New Scientist about 20 years ago published a version of it one christmas based on rules extrapolated from a poem extolling its virtues.  So embedded in  ancient Egyptian culture that it was used as a last ditch defense of your soul in the afterlife if you had proved wanting....   
Title: Re: GNU Backgammon
Post by: rbistolfi on February 05, 2008, 04:50:18 am
Great idea, If it will be by teams, I pick Lyn as team partner ;D
Title: Re: GNU Backgammon
Post by: tomh38 on February 05, 2008, 07:48:21 am
I've decided I'm going to learn backgammon.  I think it would actually be fun to have a VL backgammon tournament (Backgammmon Unreal Tournament 2008!) ... seriously though, how would we do it?

I know we don't need GNU Backgammon.  It would be nice if somebody packaged it, but if not, not (I can see how it isn't a priority).
Title: Re: GNU Backgammon
Post by: exeterdad on February 05, 2008, 07:58:53 am
So what's the status then.  Is it NOT packaged? Did kukibl give up?  Hope I didn't discourage him! I did a quick and dirty package for proof of concept.  It runs in 3d but crashes with ATI cards from a bug in gtkglext.
Title: Re: GNU Backgammon
Post by: kukibl on February 05, 2008, 10:00:41 am
So what's the status then.  Is it NOT packaged? Did kukibl give up?  Hope I didn't discourage him! I did a quick and dirty package for proof of concept.  It runs in 3d but crashes with ATI cards from a bug in gtkglext.

I've built package with 3d support. Also, I've created package for gtkglext but using makepkg, because there was some error reports with checkinstall. Works fine for me though. It is not problem for me to upload it on some of free file hosting sites, like RapidShare? Is that ok?

Actually, there is just one problem (I noticed it this morning when I added .desktop file and icons) and I hope that more experienced packagers could help me. I've created .desktop file by editing chromium.desktop. There is icon for GNU Backgammon in XFCE's menu, but when I click on it GNU Backgammon opens and closes after 1 second. If I run it from terminal, it works just fine (and yeah - it looks awesome with 3d :) ). For now, I've solved problem by adding "Terminal=True" line to GNU Bg's desktop file. So now, when I click on it, it opens terminal and Backgammon. :-\

Btw I did not give up, of course. It is not that easy to discourage me, exeterdad. ;) I am not experienced packager, but I am very very interested in the topic and I will try hard to improve my packaging knowledge in the future. As I wrote, hope one day I will be member of VL's packaging team.
Title: Re: GNU Backgammon
Post by: Lyn on February 05, 2008, 03:39:18 pm
Great idea, If it will be by teams, I pick Lyn as team partner ;D


 ;D
Title: Re: GNU Backgammon
Post by: exeterdad on February 05, 2008, 04:07:19 pm
Wonderful.  Team USA consists of Tom and myself.  This should be interesting.  I wonder if we can defeat them by drinking Budweiser and eating Pickled eggs?  I won't be able to sleep in the "Big Bed", but at least we'd have a shot.  Whaddya think?
Title: Re: GNU Backgammon
Post by: tomh38 on February 05, 2008, 06:45:34 pm
(http://i24.photobucket.com/albums/c16/tomh38/Homer-01-june.gif?t=1202265727)Mmmmmm ... flatulence.

I live in St. Louis and know some people who work at Anheuser-Busch.  Maybe we could get A-B to sponsor Team USA.  Perhaps we could even get jackets.  :D

Oh, kukibl, please do upload the package you made.  I'd really like to try it out, even if you're not yet an official packager.
Title: Re: GNU Backgammon
Post by: kukibl on February 06, 2008, 02:49:08 am
I've uploaded both packages to RapidShare, as you can see. Download it, install with #installpkg and play. ;)

Gtkglext link:

http://rapidshare.com/files/89580120/gtkglext-1.2.0-i586-1vl59.tlz.html (http://rapidshare.com/files/89580120/gtkglext-1.2.0-i586-1vl59.tlz.html) Size: 221KB

GNU Backgammon link:

http://rapidshare.com/files/89586917/gnubg-0.15-i586-1vl59.tlz (http://rapidshare.com/files/89586917/gnubg-0.15-i586-1vl59.tlz) Size: 16.1 MB

Although I am not official packager, please report any errors/bugs you encounter. Do that on this topic or PM me.

Thank you!

Alex
Title: Re: GNU Backgammon
Post by: tomh38 on February 06, 2008, 06:46:50 am
kukibl:  Thanks for the packages!  They installed fine on my machine.  3D looks great.  I'll let you know if I find any problems.

Now I just need to learn backgammon ...  :D
Title: Re: GNU Backgammon
Post by: overthere on February 08, 2008, 02:10:13 am
tomh38
thanks for suggesting this I have been testing boards and could not install this one

Lyn
 If you like ancient board games you will find P.S. Neeley's page very interesting
 Senet was played with reeds as dice..this variation nicely adds this fact but is not as fun to play as UR. I play it with wine on vector, a wooden board game is available..I forget where I got it just now.
 
senet
http://www.xmission.com/~psneeley/Shareware/senet.htm

Ur
http://www.xmission.com/~psneeley/Shareware/ur.htm

kukibl
Thanks so much for the backgammon, I play this often and did not want to add 70 meg for the kbackgammon as wine plays geert's or quickgamon at a few hundred kb..this was worth all 16meg in comparison to both...I also have small rockets but it is a limited demo..

yes I see my shortcut requires xterm but it is hidden below.
There is no sound for me although it is checked by default.
On p3 700 mhz with 512ram plus swap I can not play 3d as it is frustratingly slow but the 2d full screen is as I said very nice compared to others.
The game 2d on 6oo mhz with 256ram is a bit slow but I changed the speed setting and this helps a lot so still very playable.but still no snd..I will play some more and play with the options..thanks for your efforts this is a nice addition to VL
Title: Re: GNU Backgammon
Post by: kukibl on February 08, 2008, 10:47:26 am
kukibl
Thanks so much for the backgammon, I play this often and did not want to add 70 meg for the kbackgammon as wine plays geert's or quickgamon at a few hundred kb..this was worth all 16meg in comparison to both...I also have small rockets but it is a limited demo..

yes I see my shortcut requires xterm but it is hidden below.
There is no sound for me although it is checked by default.
On p3 700 mhz with 512ram plus swap I can not play 3d as it is frustratingly slow but the 2d full screen is as I said very nice compared to others.
The game 2d on 6oo mhz with 256ram is a bit slow but I changed the speed setting and this helps a lot so still very playable.but still no snd..I will play some more and play with the options..thanks for your efforts this is a nice addition to VL

You welcome, overthere! ;) About sound... Open GNU BG > Settings menu > Options > Sound tab > put "aplay" (without quotes of course) in Sound command field > OK. After that save settings by clicking Save settings item in Settings menu. I hope it works now. :)
Title: Re: GNU Backgammon
Post by: overthere on February 08, 2008, 12:39:09 pm
Thanks
no..this only doubles the string..
.ie:/usr share/file/aplay/usr/share/file
and posts an error this file does not exist

solution
I added aplay here for sound:

open--
/home/gnubg/gnubgautorc

scroll down to--
set sound enable yes
set sound system command

add aplay after command and save file--
set sound system command aplay

this works for me
thanks
Title: Re: GNU Backgammon
Post by: kukibl on February 09, 2008, 08:40:00 am
no..this only doubles the string..
.ie:/usr share/file/aplay/usr/share/file
and posts an error this file does not exist

Strange... ??? It perfectly worked for me. Anyway, it is important that problem is solved. ;)
Title: Re: GNU Backgammon
Post by: overthere on February 09, 2008, 08:48:21 pm
The game is very nice and the alternative(rc entry) was just as simple for adding aplay for sound. perhaps my error, but as you say works fine now. Thanks again