[gcompris-devel] [school-discuss] Re: GCompris Mac os X Binary
renoud-grappin
renoud.grappin at free.fr
Tue Jul 8 10:55:51 UTC 2008
Bruno Coudoin a écrit :
> Le samedi 28 juin 2008 à 01:06 +0000, psychdoc at sdf.lonestar.org a
> écrit :
>
>> e me, but I can't seem to locate the GCompris binary for
>> the Mac Os X Platform. I don't want to have to compile it myself,
>> don't
>> have the time nor the resources. Thanking you in anticipation...
>>
>
> I bought a MacBook 1.5 years ago just for that. We faced technical
> difficulties and have never been able to make a release for MacOS. The
> operating system is different enough to a regular GNU/Linux that it
> takes a lot of effort / time to support.
>
> Last week my MacBook stopped to work, it refuses to switch on. Of course
> the official warranty ended 6 month ago. The Apple hardware has been a
> huge over-cost for me and sadly it's of poor quality. Just after one
> year, I had to start to glue it because the plastic started to crack.
>
> So don't count on me to make a MacOS release soon.
>
>
Hello Mac User
In the past I recompiled an old version of gcompris for Osx ppc 10.4.
The gcompris version was 6 or 6.1.
Yves combe compiled a newer version, but I had problems with gtk library
on osX.
here's the way to do it according to Yves
Hello every body
I finally got a working gcompris on MacOSX 10.4.8
Some screnshot (in this case, people like screenshots):
http://fynl.free.fr/vrac/gc/osx/
It's compiled with GTK/aqua port from imendio (no need for X11):
http://developer.imendio.com/projects/gtk-macosx
This gtk aqua port it's still broken, look on the admin screenshot, or
in the gtk colorselector here:
http://fynl.free.fr/vrac/mypaint/MyPaint_OSX.jpeg
The localisation looks briken too: sounds stay in englesh, but some
strings are in french. I supperssed libiconv from link, it's maybe related.
Anyway here the way to get it:
- compile gtk osx with imendio script. It provides a ready to use shell
to get compilation in right environnement for the rest:
- compile pycairo and pygtk (needs suppress manually of docs subdir in
Makefile.am. I don't need docs). I compiled them with osx included
python (2.3).
- compile libart_lgpl
- compile libgnomecanvas. I manually suppressed libcanvas from
Makefile.am. I don't need it
- compile pysqlite2
- sqlite included osX does not have a .pc file (pkg-config). I put one
manually.
- GMSGFMT détection looks broken. run autogen with GMSGFMT variable.
GMSGFMT=/Users/yves/opt/gtk/bin/msgfmt
PKG_CONFIG_PATH=/usr/lib/pkgconfig/ ./autogen.sh --disable-gtk-doc
--disable-static --enable-shared --disable-scrollkeeper
--prefix=/Users/yves/opt/gtk/
Some modification in gcompris. Almost all in Some Makefile.am:
- suppress $LIBICONV) from the gcompris LDADD. It make a warning, fatal
because of -Werr, and look's not needed.
- suppress -u Py_initialize
- add #define NO_IMPORT_PYGOBJECT 1 before #include <pygobject.h>
- manually supress the SDL and SDL_detection from configure.in. I used
SDL and SDL_mixer frameworks for OSX.. Needs add SDL/ and SDL_mixer in
#include, eg: #include "SDL.h" needs to be #include <SDL/SDL.h>
All will this needs to be set from configure.in/Makefile.am files, of
course. But it works.
--
yves
the links are not updated!!!!!
If you are interested by the two packages, I'll upload them on a server.
Have a nice day
Marc RG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20080708/5763b88b/attachment.html>
More information about the Gcompris-devel
mailing list