Difference between revisions of "Notes on OSX port"

From GCompris
Jump to: navigation, search
(script launcher ([http://www.sveinbjorn.org/platypus Platypus]))
(X11/GTK)
Line 16: Line 16:
 
* Check [http://inkscape.org/ inkscape] and [http://gimp-app.sourceforge.net/ Gimp.app] way.
 
* Check [http://inkscape.org/ inkscape] and [http://gimp-app.sourceforge.net/ Gimp.app] way.
 
* Gimp.app links to a [http://www.sveinbjorn.org/platypus Platypus] script (ScriptExec). inkscape seems use the same solution.
 
* Gimp.app links to a [http://www.sveinbjorn.org/platypus Platypus] script (ScriptExec). inkscape seems use the same solution.
* Inkscape launch script set lot of environnement variables to locate correctly libs.
+
* Inkscape launch [http://inkscape.svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/packaging/macosx/Resources/script?view=log a shell] script set lot of environnement variables to locate correctly libs.
  
 
== script launcher ([http://www.sveinbjorn.org/platypus Platypus])/ScriptExec ==
 
== script launcher ([http://www.sveinbjorn.org/platypus Platypus])/ScriptExec ==

Revision as of 11:12, 13 February 2007

GCompris on OSX.

Gcompris osx s.png

Compilation modification

  • add #define NO_IMPORT_PYGOBJECT 1 before #include <pygobject.h>
  • Needs change on SDL/SDL_mixer détection. My opinion is to use OSX frameworks. SDL_mixer framework looks broken for now: missing SDL/ in headers #include (use of SDL frmaework..
  • suppress $LIBICONV in gcompris LDADD (multiply defined _locale_charset).

Native Gtk

  • Works, but with bugs. Some small images abd some colors looks bad. The color selector is broken.
  • Cairo/GTK are not frameworks. GTK is not relocatable (only on windows.
  • Wait a better version.

X11/GTK

  • Check inkscape and Gimp.app way.
  • Gimp.app links to a Platypus script (ScriptExec). inkscape seems use the same solution.
  • Inkscape launch a shell script set lot of environnement variables to locate correctly libs.

script launcher (Platypus)/ScriptExec