Games on porteus: is there chess and scrabble ?

Non release banter
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 5122
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Games on porteus: is there chess and scrabble ?

Post#1 by francois » 04 Nov 2012, 13:53

I did not found chess and scrabble on porteus thru the package manager. Thus this attempts to provide a few game modules to porteus: chess and scrabble. After a while, and with some help from the member of this forum, here is what I came with:

1.0 CHESS

1.1 scid_vs_pc:
scid_vs_pc is available thru usm sbo command line. It works great. The tk libraries are needed under porteus.

Code: Select all

root@porteus:~# usm -g tk
...

Code: Select all

root@porteus:~# usm sbo -b scid_vs_pc
...
1.2 pychess is built up from source:
http://www.pychess.org/download/pychess-0.12rc1.tar.gz

Here are the necessary dependencies

Code: Select all

# pychess
python,pygtk,pygtksourceview,pygobject,pycairo,gnome-icon-theme,gst-python,gst-plugins-base,gstreamer and gnome-python,gnome-python-desktop,gtksourceview2
This is more than what could have been expected from the install file in the source package:

Code: Select all

Dependencies:
python >= 2.6
pygtk
pygobject
pycairo
gnome-python-desktop
python-rsvg (if it's in a separate package in your distribution)
gnome-icon-theme
gst-python (OPTIONAL for sound)

1.3 Adding chess engines: crafty stockfish fairymax fruit.
.stockfish:
http://support.stockfishchess.org/kb/ad ... h-on-linux

Pychess works fine, and although it could work as a standalone application (it comes with its own chess engine), I provide the command necessary to install it with a few additional chess engines:
crafty stockfish fairymax fruit.
Last edited by francois on 08 Nov 2014, 02:58, edited 7 times in total.
Carpe diem.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5652
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: PPM and games from debian: where are chess and scrabble

Post#2 by brokenman » 04 Nov 2012, 16:30

I just started PPM, updated database for debian and then typed 'chess' in the search area. Scrolling tot he bottom showed pychess. It was downloaded and converted into a porteus module. Using the 'activate' in PPM showed it required no dependencies which is incorrect.

You will also need python and pygtk. After grabbing these it showed an error regarding no pygtk module. Probably wrong version of python. Ran out of time after this.

Interestingly your first choice "scid vs PC" compiled no problem for me and runs nicely. I compiled from my trinity development platform but i see no reason why it wouldn't compile under Porteus v1.2

Installing gnuchess from slacky also works fine for me.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4623
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: PPM and games from debian: where are chess and scrabble

Post#3 by fanthom » 04 Nov 2012, 17:58

After grabbing these it showed an error regarding no pygtk module. Probably wrong version of python.
i would say that pygobject was missing.

going off-topic - since PPM does not resolve python deps i would propose creating "python bundle" module containing:
python, pygtk, pycairo, pygobject, notify-python, sip, etc (i'll try to track the most popular) and drop it to /packages section on the server.
the only problem is how to expose this bundle to the users.

the perfect solution would be to inform users about python deps not being resolved directly in PPM and add a button to download/activate this bundle.

This way we wouldn't have to update anything manually and still rely on automatic dep resolution while creating modules.

What do you say brokenman?
Please add [Solved] to your thread title if the solution was found.

User avatar
wread
Module Guard
Module Guard
Posts: 1108
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: PPM and games from debian: where are chess and scrabble

Post#4 by wread » 04 Nov 2012, 22:59

There is a chess game in KDE named Knights that should run ok in Porteus; at least the old versions are for KDE3 that can be run in Trinity. I guess an old Slackware version could have it in txz that can be converted to xzm.
There is a slax version of Knights-0.6 in lzm that could be converted -not as easily- to Porteus.....
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
francois
Contributor
Contributor
Posts: 5122
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: PPM and games from debian: where are chess and scrabble

Post#5 by francois » 05 Nov 2012, 21:50

Thanks for the comments to all. I will look at your suggestions.

@brokenman: You are right. I don't know why I got no result for pychess under debian. And I did not try scid as keyword in porteus. But the search function works fine now. As I worked under no change condition, maybe debian was out of sync, ppm was not properly associated with the data as in the save change condition :oops: . However, with scid or pychess I got the results now.

If there are already some libraries provided with some other packages in the module folder, will PPM take them into account when resolving dependencies for a new module? I imagine that the answer is yes. Thus building modules I should be in no changes mode to build modules for external users or specify the necessary libraries.

So I should have two porteus 1.2 installations, one for module building and one for working on a day to day basis. I am wrong?
Carpe diem.

User avatar
francois
Contributor
Contributor
Posts: 5122
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: PPM and games from debian: where are chess and scrabble

Post#6 by francois » 27 Nov 2012, 03:08

brokenman wrote:I just started PPM, updated database for debian and then typed 'chess' in the search area. Scrolling tot he bottom showed pychess. It was downloaded and converted into a porteus module. Using the 'activate' in PPM showed it required no dependencies which is incorrect.

You will also need python and pygtk. After grabbing these it showed an error regarding no pygtk module. Probably wrong version of python. Ran out of time after this.
@brokenman:
1) How did you get to know about the missing dependencies for pychess? Presently, I have added python-all from deb and spygtk-2.22.0.xxx.xzm and the gui of pychess still does not work. I have tried:

Code: Select all

root@porteus:~# slackyd -d pychess

Warning: package `brscan4-0.3.0-3.i386' isn't standard. Skipping.
Warning: package `cupswrapperMFC7860DW-2.0.4-2.i386' isn't standard. Skipping.
Warning: package `mfc7860dwlpr-2.1.0-1.i386' isn't standard. Skipping.
Checking pychess-0.10.1-i386-1: done.

All packages "pychess" checked are ok !

root@porteus:~#    
What would you do to troubleshoot the package?

2) It seems that I am not very good at games, for scid:

Code: Select all

root@porteus:/# scid
/usr/games/tkscid: error while loading shared libraries: libtcl8.5.so.0: cannot open shared object file: No such file or directory
root@porteus:/#
Any suggestions.
Carpe diem.

User avatar
francois
Contributor
Contributor
Posts: 5122
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: PPM and games: where are chess and scrabble ?

Post#7 by francois » 08 Dec 2013, 06:18

Finally, I got pychess built up from source:
http://www.pychess.org/download/pychess-0.12rc1.tar.gz

Here are the necessary dependencies

Code: Select all

# pychess
python,pygtk,pygtksourceview,pygobject,pycairo,gnome-icon-theme,gst-python,gst-plugins-base,gstreamer and gnome-python,gnome-python-desktop,gtksourceview2
This is more than what could have been expected from the install file in the source package:

Code: Select all

Dependencies:
python >= 2.6
pygtk
pygobject
pycairo
gnome-python-desktop
python-rsvg (if it's in a separate package in your distribution)
gnome-icon-theme
gst-python (OPTIONAL for sound)
Quite happy with it. After working with it for a while, testing it, I will provide it. This is a firt time pychess on slackware. 8)

Now I am going to try to get stockfish chess engine to work within pychess (but some others too). It would be one of the stongest chess engine. Quite interesting with pychess , it seems that you could observe one chess engine competing against one another.
Last edited by francois on 03 Jul 2014, 05:57, edited 2 times in total.
Carpe diem.

User avatar
francois
Contributor
Contributor
Posts: 5122
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: PPM and games from debian: where are chess and scrabble

Post#8 by francois » 09 Dec 2013, 16:40

Scrabble will be the next one on the list:
http://sourceforge.net/projects/scrabbl ... urce=files

Here an old version in cli mode (not very sexy though):
http://ftp.nara.wide.ad.jp/pub/linuxpac ... /Scrabble/
Carpe diem.

User avatar
francois
Contributor
Contributor
Posts: 5122
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: PPM and games from debian: where are chess and scrabble

Post#9 by francois » 03 Jul 2014, 05:30

I just build scid_vs_pc with usm sbo. It works great. Its not mentioned but tk is needed.
Last edited by francois on 01 Jan 2015, 22:01, edited 1 time in total.
Carpe diem.

User avatar
francois
Contributor
Contributor
Posts: 5122
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: PPM and games from debian: where are chess and scrabble

Post#10 by francois » 08 Nov 2014, 00:34

I just rebuilt scid_vs_pc and a few months ago pychess on porteus. The instructions in this thread are valid to build the packages. They are summarised in the first post.
Carpe diem.

Post Reply