[gtkada] GTKAda on Mac without X11.

Pascal p.p14 at orange.fr
Thu May 5 22:48:50 CEST 2011


Hi again.
I've tried many example proposed in GTKAda package and on libre site.
Here is some feedbacks:
base_widget			: ok
calendar_combo		: when clic on triangle, the counter increase or decrease without stopping
composite_widget	: ok
cursors				: cursor.png file is missing
doublebuffer			: ok
dynamic_cast		: errors
  (dynamic:5541): Gtk-CRITICAL **: gtk_pixmap_new: assertion `val != NULL' failed
  (dynamic:5541): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed
  (dynamic:5541): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
images				: doesn't quit and in Gdk_New_From_File (Pix, "../../testgtk/alps.png", Error); -- one ".." too much in path
powergnu			: file.tst missing
testgtk				: no OpenGL activated, how to activate on Mac?
tutorial				: is there GtkAda tutorial? Where?
user_data			: error when clic two times on the second button
  $ ./test_handlers 
  My_Destroy2
  My_Destroy2
  raised CONSTRAINT_ERROR : erroneous memory access

Have you same behavior?

Here are some broken URL on GTKAda page on libre web site:
- http://ctrpc17.ctr.unican.es/win_io/
- http://beru.univ-brest.fr/~singhoff/cheddar/
- http://www.pvv.org/~randhol/Ada95/Glosa/
- http://www.xs4all.nl/~huygensf/scala	
- http://developer.gnome.org/doc/API/gdk/index.html
- http://developer.gnome.org/doc/API/gtk/index.html
- http://developer.gnome.org/doc/GGAD/ggad.html	
- http://developer.gnome.org/doc/API/glib/index.html

I've also written a short howto for French readers, see:
http://blady.pagesperso-orange.fr/creations.html#gtkada : web site
http://blady.pagesperso-orange.fr/Ressources/gtk-ada.pdf : pdf text

Regards, HTH, Pascal.
http://blady.pagesperso-orange.fr


Le 25 avr. 2011 à 21:54, Pascal a écrit :

> Hello.
> I've installed GTKAda 2.14 from Libre site on Mac OS X 10.6 with GTK+ 2.24 from GTKOSX.
> 
> These fantastic guys (other ones ;-) from GTK-OSX (http://gtk-osx.sourceforge.net) provide GTK+ 2.24 directly running on Mac without the help of X11!
> The installation is quite simple and fully automated.
> See http://sourceforge.net/apps/trac/gtk-osx/wiki/Build.
> On my side, I ran:
> 
> $ sh gtk-osx-build-setup.sh 
> $ jhbuild bootstrap
> $ jhbuild build meta-gtk-osx-bootstrap
> $ jhbuild build meta-gtk-osx-core
> 
> And that's it.
> 
> Then, I installed GTK-Ada site:
> 
> $ jhbuild shell
> $ ./configure
> $ make
> $ make install
> 
> Before, I had to modify ~/.jhbuildrc-custom because GCC from GNAT doesn't understand -arch specific GCC option from Apple
> and src/gtkextra/gtkitementry.c because some fields have their name changed in GTK 2.24, I guess.
> I'll write soon a complete howto.
> 
> Here are some remarks found in GtkAda:
> - in user manuel URL http://libre.act-europe.fr/GtkAda/ is not valid.
> - gate.1 and gtkada-config.1 are missing in share/man/man1 directory.
> - "Gnome" URLs on gtkada main web page of Libre site are not available:
> http://developer.gnome.org/doc/
> ...
> 
> Regards, Pascal.
> http://blady.pagesperso-orange.fr
> 
> 
> _______________________________________________
> gtkada mailing list
> gtkada at lists.adacore.com
> http://lists.adacore.com/mailman/listinfo/gtkada




More information about the gtkada mailing list