Why are no developers completing/maintaining native Gtk+ for OS X?

2009-11-09 Thread Jack Skellington
Hello All

I'm currently in charge of the development of a cross-platform OpenGL
app which uses GTk+ for it's interface.
The app runs on both *nix/X.org and win32 but when I started looking
into OS X I found that the Quartz OS X version of Gtk+ is neither
complete nor being actively developed.

I must say I find this rather baffling. I would have thought a
platform like OS X to be a priority?

I know that solutions like MacPorts provide Gtk+ for the X server in
OS X, but I strongly doubt that the average OS X user would know where
to begin with a project like MacPorts, and to be honest the look 'N
feel * compared to native OS X.

Also if a native Gtk+ OS X framework were available people who are
maintaining Gtk+ apps would have the option to extend their user base
to OS X quite quickly.

I would urge anyone with the time and knowledge to consider helping
complete Gtk+ for native OS X.

Sincerely
Jacob Juul Kolding
Juvul Tech
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


GtkGLExt OS X Quartz hack patch

2010-05-22 Thread Jack Skellington
I've made a patch that allows gtkglext to run on quartz osx without
filling up the entire toplevel window.
The problem was it seems that a function was used,
gdk_quartz_window_get_nsview(widget-window);
that allways returns the toplevel window.

What I've done is to create a NSOpenGLView and add it as a subview to
the toplevel NSView,
and then manually resize the OpenGLView when necessary. (In a very
hackish way...)

I haven't changed anything regarding pixmaps or even the release
context functions, but the basic widget/view works...

(Full patched source)
http://juvul.com/stuff/gtkglext-1.2.0.osx-hack.tar.gz

(The previous quartz patch.
gtkglext-1.2.0_quartz_patch.diff.7z.001, gtkglext-1.2.0_quartz_patch.diff.7z.001
Apply first!!! )


http://sourceforge.net/tracker/index.php?func=detailaid=2750584group_id=54333atid=473436
(The quartz hack patch)
http://juvul.com/stuff/gtkglext-1.2.0.osx-hack.patch

To build, just run the commands below in the patched gtkglext folder:
(change the dir's to your own first..)

jhbuild shell
./configure  --with-gdktarget=quartz --libdir=gtk/inst/lib
--bindir=gtk/inst/bin --includedir=gtk/inst/include
make
make install

And it should be done.

Best Regards
Jacob Juul Kolding
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: GtkGLExt (was Re: Gtk 3.0)

2009-12-04 Thread Jack Skellington
On Fri, Dec 4, 2009 at 8:02 PM, Emmanuele Bassi eba...@gmail.com wrote:
 (Sorry, I'm sending this via my phone so it's not going to be nicely
 formatted; I apologize)

 I'm really not working on it - mainly for three reasons: 1) if you want to
 use GL, GtkGlExt is good enough and integrating it into gtk+ it's not a
 good idea; 2) cairo should get GPU acceleration for 2D drawing, which is
 what most of users really care about; 3) if you want a 3D canvas you should
 be using Clutter.

If you want to do ACTUAL 3D rendering your choises are OpenGL and OpenGL,
Clutter doesn't come anywhere near it.
It's true that the API is getting better in 3.0+ but you can still do
the same with 2.0+.
Also it's a matter of personal taste.
At the dawn of time John Carmack chose OpenGL and urged all GPU
vendors to make OpenGL drivers
because of the horrible DirectX API.
Of course DirectX has come a long way since, but if you want any form
of cross-platform support
your only choice is still OpenGL.

 Integrating raw GL inside a gtk+ application is a niche requirement enough
 that I'm not at all sure it should be moved to gtk+ itself. And if you're
 dropping into raw GL there is no way you are not a niche use case.

It may be niche as in not many apps use it, but that hardly makes it
any less important.
When companies like Autodesk ports ther many many $$$ apps
to Linux they don't have the choice of using GTK+
As far  as I can tell GTK+ is the only widget API on any PC platform
that doesn't have an OpenGL widget/view.
Not being able to use advanced 3D visualizations in modern day apps
seems rather odd IMNSHO.

Regards
Jacob Kolding


 On 4 Dec 2009 18:13, Carlos Pereira jose.carlos.pere...@ist.utl.pt
 wrote:

 Thanks Javier,
 it's good to know that EmmanueleBassi http://live.gnome.org/EmmanueleBassi
 is now taking care of GtkGLExt integration with GTK...

 Regards,
 Carlos

  Hello Carlos,   2009/12/3 Carlos Pereira 
 jose.carlos.pere...@ist.utl.pt:      That's w...

 ___ gtk-app-devel-list mailing
 list gtk-app-devel-l...@g...
 ___
 gtk-app-devel-list mailing list
 gtk-app-devel-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list