OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: pungipungi on August 19, 2005, 06:31:16 pm
-
I wondered if anyone uses a chess engine under gpe. So far I didn't find any hint ...
After two weeks setting up my bitbake/compile environment and getting the first gpe program compiled, I've seen that also the fltk lib is available.
For personal tests I did a little port of my old agenda frontend (http://members.cheese.at/woody/) and recompiled gnuchess for the zaurus.
[img]http://members.cheese.at/woody/fltk-chess/fltk-chess-small.png\" border=\"0\" class=\"linked-image\" /]
click to enlarge (http://members.cheese.at/woody/fltk-chess/fltk-chess.png)
Beware the colours are much nicer on the zaurus ....
If there is any interest I will publish the sources ....
-
How simple is the compile? Put together a .bb file for it and add it to OE,
Si
-
It's based on the fltk-lib as provided by the 3.5.3 development tree.
The GUI is very simple. It's only one simple make file, one source code file, a header file , some pixmaps ...
The only pitty is that I'm not used to writing bb files. I've tried one very simple for gnuchess (without patches) and it seems to work. I will try to write another one for the frontend soon ...
By the way, in older versions there was a gnuchess package available. But I can't find a bb file. Is this caused by switching to oe?
At the moment I've transfered an ipkg to my webpage (http://members.cheese.at/woody/fltk-chess/). It includes an extra set of X libraries since my production for 3.5.3 complains for a missing symbol when using it with the standard X11 lib delivered with 3.5.3.
I haven't checked yet if my X11 libs can be used with all the other gpe and X11 stuff delivered with 3.5.3.
-
By the way, in older versions there was a gnuchess
package available. But I can't find a bb file. Is this caused
by switching to oe?
In older versions of what? OpenZaurus? If you mean that gnuchess was available before OE was used, then perhaps it simply a case of no-one having added it. There are a couple of chess programs in there already - phalanx and knights, though it looks like both are for Opie.
It includes an extra set of X libraries since my
production for 3.5.3 complains for a missing symbol when using
it with the standard X11 lib delivered with 3.5.3.
Hmm, this is an fltk error I assume? I think this is because 3.5.3 uses diet-x11 by default. I ran into this problem when I was messing about with Giac. If you specify that you want to use the full-fat version of the X11 libs then this will go away. A more long term solution is to see what fltk needs the full-fat libs for and see if it can be patched to remove the requirement and allow it to use diet-x11.
Si
-
In older versions of what? OpenZaurus? If you mean that gnuchess was available before OE was used, then perhaps it simply a case of no-one having added it. There are a couple of chess programs in there already - phalanx and knights, though it looks like both are for Opie.
Yes openzaurus but don't know which version ...
knights is definitive a qt application.
phalanx defines as section opie/libs but I'm not sure if it is really a qt application since it's also used as chess engine for knights (which acts as frontend).
Hmm, this is an fltk error I assume? I think this is because 3.5.3 uses diet-x11 by default. I ran into this problem when I was messing about with Giac. If you specify that you want to use the full-fat version of the X11 libs then this will go away. A more long term solution is to see what fltk needs the full-fat libs for and see if it can be patched to remove the requirement and allow it to use diet-x11.
Uuups ... good point I have to check which libraries fltk-chess uses at the moment ...
(at least I was glad to have a running bitbake based building environment after struggling around two weeks with to less memory, wrong bitbake versions, missing archives, .... )
Good news concerning bb files. I've managed to make a very raw dirty version for gnuchess and another for my fltk-chess frontend. So I'm on the way ...
-
I've placed 2 archives and the bb files for gnuchess and the fltk-chess frontend on my Webpage (http://members.cheese.at/woody/fltk-chess/).
Not sure if the bb files are already correct. They worked in my local configuration (with archives loaded to ~/sources). Maybe somebody can try it .....
I edited your post as the URL was wrong - Lardman
Thanks ...
-
Hmm, this is an fltk error I assume? I think this is because 3.5.3 uses diet-x11 by default. I ran into this problem when I was messing about with Giac. If you specify that you want to use the full-fat version of the X11 libs then this will go away. A more long term solution is to see what fltk needs the full-fat libs for and see if it can be patched to remove the requirement and allow it to use diet-x11.
You were right. I've changed fltk a bit to make it run also with the diet-X11 libs. Therefore I've eliminated the XOpenIM call which is not part of diet-x11. But it works nevertheless ...
I've placed the result (based on koen's feed on)
http://members.kabsi.at/woody/feed/ (http://members.kabsi.at/woody/feed/)
-
Have they been added in? (not at uni so I can't look at my dev machine atm)
If not, and you're happy to maintain them, create a bug on the bug-tracker and set the type as 'enhancement' and give an explanantion of what you're providing & attach the .bbs
Si
-
I changed the .bbs a bit and put them at http://dominion.kabel.utwente.nl/koen/OE/ (http://dominion.kabel.utwente.nl/koen/OE/)
-
You were right. I've changed fltk a bit to make it run also with the diet-X11 libs. Therefore I've eliminated the XOpenIM call which is not part of diet-x11. But it works nevertheless ...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99614\"][{POST_SNAPBACK}][/a][/div]
Do you have a patch for fltk? I think that would be a good addition to the fltk in OE
-
Do you have a patch for fltk? I think that would be a good addition to the fltk in OE
http://members.cheese.at/woody/patches/ (http://members.cheese.at/woody/patches/)