[gcompris-devel] [Bugs] Porting on Mac os 10.2

bruno bruno.coudoin at free.fr
Sat Dec 7 12:47:02 UTC 2002


Christophe, 

Glag to see you porting gcompris to Mac. I will do my best to support
you. Can you please keep track of what to modify in gcompris and send me
a patch when your done.

For your problem, I am not sure to excatly understand your issue so I
will explain how gcompris works.
When gcompris is started, it load all the plugin it can found in the
plugin directory usually in /usr/local/lib/gcompris/lib*.so
Then it searches for menu.xml usually in
/usr/local/share/gcompris/boards/
When it loads menu.xml or any boards, gcompris get the type field and
then calls each plugin is_our_board() function that returns is this
plugin can handle this board.

Now the trick is that the initial menu that display the boards list/menu
in gcompris is itself a plugin.
So until you have ported menu.c plugin, nothing will happen :(

Hope it helps and good luck.

Hope to see gcompris on mac soon.

Bruno.



Le ven 06/12/2002 à 16:35, Christophe Trophime a écrit :
> Just a few words.
> I just forget to mention that I try to port gcompris 1.2.1-1.
> Then I found out that initializing DATADIRNAME in aclocal.m4
> just as for CATOBJEXT solve the DATADIRNAME problem.
> 
> However I still have a problem.
> Gcompris exits saying that "Can't find the menu board or plugin ..."
> 
> I suspect that I can't actually find the plugin library
> because I don't get any message about loading the shared libraries.
> So I find that:
> 
> dlsym(h, "get_bplugin_info) returns NULL.
> 
> I guess it will be solved as soon as I will be able to build
> the shared library the right way for Mac Os 10.2...
> 
> Thank for any help.
>  
> -- 
> Christophe Trophime <trophime at grenoble.cnrs.fr>
> LCMI
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> gcompris-devel mailing list
> gcompris-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gcompris-devel






More information about the Gcompris-devel mailing list