Re: [GtkGLExt] OS X Quartz developers Call to Arms
On Nov 21, 2009, at 6:30 AM, Braden McDaniel wrote: > On Sat, 2009-11-21 at 02:33 +0100, Jack Skellington wrote: >> Hi all! >> >> I'm currently working on porting a commercial Gtk+ OpenGL App to Snow >> Leopard using the actively developed and maintained Gtk+ OS X Quartz >> backend. My last problem now is that GtkGlExt only works with X11. I'm >> not familiar with the Low Level OS X API's, so I'd properly wouldn't >> be able to write the backend myself but I think it would be awesome if >> someone here could help with the native OS X backend, getting closer >> to a fully supported native Gtk+ :) > > This patch is probably a good starting point: > > > https://sourceforge.net/tracker/?func=detail&aid=2750584&group_id=54333&atid=473436 > > I'll try to get back to reviewing this soon; though it might have to > wait until I get my KVM back from RMA. > > Do let me know how it goes for you. I managed to apply the patch and compile both GtkGLExt and my app, but when I start my app the main windows is complete empty of any gtk widgets (white background everywhere), the only thing thats visible is the borders I draw in the opengl area, but when I move the mouse up the the invisible file menu I'm able to open other (non opengl) windows which works as expected?? Regards Jacob Kolding dac...@juvul.com > -- > Braden McDaniel > > ___ > gtkglext-list mailing list > gtkglext-l...@gnome.org > http://mail.gnome.org/mailman/listinfo/gtkglext-list smime.p7s Description: S/MIME cryptographic signature ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: Gtk-OSX Frameworks (was: Why are developers...)
On Nov 10, 2009, at 7:32 PM, John Ralls wrote: On Nov 10, 2009, at 9:20 AM, Jacob Juul Kolding wrote: That would be great! I've been trying to build it on Snow Leopard, butI i'm stuck now with jhbuild meta-gtk-osx-core failing to build ige-mac-integration: Please rerun gtk-osx-build-install.sh to get the most recent jhbuildrc. You'll have to build 32-bit to use ige-mac-integration (it uses Carbon), but the latest jhbuildrc skips it for you if you build for 64-bit. (For now, you can just abandon the module; everything else is built.) But how do I build the framework or other apps without the ige stuff? Jacob Kolding dac...@juvul.com Regards, John Ralls smime.p7s Description: S/MIME cryptographic signature ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: Gtk-OSX Frameworks (was: Why are developers...)
On Nov 10, 2009, at 4:46 PM, Shawn Bakhtiar wrote: For building an application... I couldn't agree more, about the framework vs. jhbuild and autotools. You definitely want the latter. I like XCode's editor. when looking at source code (the colors man the colors). It also has a lot of nice features such as collapsible sections, an intuitive way of knowing if you {} are correct, as well as a jump to function feature that list all functions in the current file in a drop down menu. However, you can use the editor, and build in shell (jhbuild shell). In any case, gdb is a much better debugger to boot. But yeah.. just try to build mysql with it, or even use it in a build. Good luck!! Also using the ige-mac-bundler, users now simple drag and drop the latest package (application) to their application folder, and they are done, especially if you adhere to the XDG file system. I don't know what all the complaint is about... I have been using the jhbuild scripts with little to no problems. I have had a few dependency issues but nothing that can not be figured out with a little reading of the script itself and attention to what I am doing. In any case, anything that is missing, simple download to source directory, and build inside the jhbuild shell, your done! Like I said, I'm not too good with the back-end stuff, but it looks like I will be getting my own Snow Leopard today, I can re-run the jhbuild stuff from scratch, and see if I can't get a framework out. Would this help? That would be great! I've been trying to build it on Snow Leopard, butI i'm stuck now with jhbuild meta-gtk-osx-core failing to build ige-mac-integration: *** Building ige-mac-integration *** [10/11] make make all-recursive Making all in src if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - I. -I.. -I.. -Wall -Wunused -Wchar-subscripts -Wmissing-declarations - Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align - std=c99 -Wno-sign-compare -Wno-pointer-sign -Werror -I/Users/dacobi/ gtk/inst/include -I/Users/dacobi/gtk/inst/include/gtk-2.0 -I/Users/ dacobi/gtk/inst/lib/gtk-2.0/include -I/Users/dacobi/gtk/inst/include/ atk-1.0 -I/Users/dacobi/gtk/inst/include/cairo -I/Users/dacobi/gtk/ inst/include/pango-1.0 -I/Users/dacobi/gtk/inst/include/glib-2.0 -I/ Users/dacobi/gtk/inst/lib/glib-2.0/include -I/Users/dacobi/gtk/inst/ include/pixman-1 -I/Users/dacobi/gtk/inst/include/freetype2 -I/Users/ dacobi/gtk/inst/include/libpng12 -xobjective-c -g -O2 -MT libigemacintegration_la-ige-mac-menu.lo -MD -MP -MF ".deps/ libigemacintegration_la-ige-mac-menu.Tpo" -c -o libigemacintegration_la-ige-mac-menu.lo `test -f 'ige-mac-menu.c' || echo './'`ige-mac-menu.c; \ then mv -f ".deps/libigemacintegration_la-ige-mac-menu.Tpo" ".deps/ libigemacintegration_la-ige-mac-menu.Plo"; else rm -f ".deps/ libigemacintegration_la-ige-mac-menu.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall - Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes - Wnested-externs -Wpointer-arith -Wcast-align -std=c99 -Wno-sign- compare -Wno-pointer-sign -Werror -I/Users/dacobi/gtk/inst/include -I/ Users/dacobi/gtk/inst/include/gtk-2.0 -I/Users/dacobi/gtk/inst/lib/ gtk-2.0/include -I/Users/dacobi/gtk/inst/include/atk-1.0 -I/Users/ dacobi/gtk/inst/include/cairo -I/Users/dacobi/gtk/inst/include/ pango-1.0 -I/Users/dacobi/gtk/inst/include/glib-2.0 -I/Users/dacobi/ gtk/inst/lib/glib-2.0/include -I/Users/dacobi/gtk/inst/include/ pixman-1 -I/Users/dacobi/gtk/inst/include/freetype2 -I/Users/dacobi/ gtk/inst/include/libpng12 -xobjective-c -g -O2 -MT libigemacintegration_la-ige-mac-menu.lo -MD -MP -MF .deps/ libigemacintegration_la-ige-mac-menu.Tpo -c ige-mac-menu.c -fno- common -DPIC -o .libs/libigemacintegration_la-ige-mac-menu.o cc1obj: warnings being treated as errors ige-mac-menu.c: In function ‘menu_flash_off_cb’: ige-mac-menu.c:77: warning: implicit declaration of function ‘FlashMenuBar’ ige-mac-menu.c:77: warning: nested extern declaration of ‘FlashMenuBar’ ige-mac-menu.c: In function ‘carbon_menu_free’: ige-mac-menu.c:139: warning: implicit declaration of function ‘DisposeMenu’ ige-mac-menu.c:139: warning: nested extern declaration of ‘DisposeMenu’ ige-mac-menu.c: In function ‘carbon_menu_item_free’: ige-mac-menu.c:182: warning: implicit declaration of function ‘DeleteMenuItem’ ige-mac-menu.c:182: warning: nested extern declaration of ‘DeleteMenuItem’ ige-mac-menu.c: In function ‘carbon_menu_item_get_checked’: ige-mac-menu.c:294: warning: implicit declaration of function ‘GetMenuItemProperty’ ige-mac-menu.c:294: warning: nested extern declaration of ‘GetMenuItemProperty’ ige-mac-menu.c: In function ‘carbon_menu_item_update_state’: ige-mac-menu.c:337: warning: implicit declaration of function ‘ChangeMenuItemAttributes’ ige-mac-menu.c:337: warning: nested extern declaration of ‘ChangeMenuItemAttributes’ ige
Re: Why are no developers completing/maintaining native Gtk+ for OS X?
On Nov 10, 2009, at 4:03 AM, Jacob Juul Kolding wrote: On Nov 10, 2009, at 3:34 AM, Jacob Juul Kolding wrote: On Nov 10, 2009, at 1:05 AM, Shawn Bakhtiar wrote: To build the latest framework: 1) Get the latest using jhbuild and build 2) http://github.com/jralls/gtk-osx-framework/tree/master/framework/ I know absolutely nothing about "jhbuild + URL", could you please list all commands needed? Please forgive me if it sounded "bossy", that wasn't the plan... I've tried following the instructions on the gtk+osx sourceforge page, but "jhbuild bootstrap" fails because "tex" is missing. Anyone know where I can get that? Nevermind the tex thing, the actual problem is that glib fails to build because gettext is missing? /Jacob I think I was able to build the frameworks and compile against them using the Xcode IDE, but I prefer using make and the command line myself. Actually machine has a couple of versions of framework / dependencies and builds, so I don't know if I just got lucky. Like I said, in 52 days I will have more time to play :) > Subject: Re: Why are no developers completing/maintaining native Gtk+ for OS X? > From: ja...@juvul.com > Date: Tue, 10 Nov 2009 00:35:44 +0100 > To: k...@gtk.org > CC: gtk-devel-list@gnome.org > > On Nov 9, 2009, at 8:23 PM, Kristian Rietveld wrote: > > > On Nov 9, 2009, at 7:10 PM, Jack Skellington wrote: > >> 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. > > > > No, it is not fully complete, but getting close. Recently, I have > > been working on reviewing outstanding patches, fixing up the last > > few kinks remaining after the transition to client side windows and > > implemented proper and complete multi monitor support. I do have > > plans on how to continue my work on the backend. Development of the > > Mac port is actually pretty active. I only have very ample spare > > time to work on this and I do not get paid for this at all. Saying > > that the OS X port is not being actively developed is actually close > > to insulting to me; I have been trying my best to pick it up after > > the previous maintainer stopped working on it > > I can't tell you how happy reading this makes me. I love Gtk+ and have > been using it in projects for like a decade, mostly on *nix, but > lately cross-platform. > As for the insult part, it was never my intention, I was merely > relaying the present information thats available on the Gtk+ OS X > sourceforge site. > > Keep up the good work! > If I had money, I'd pay you ;) > > >> 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. > > > The basics for this have been worked out in the past and are > > available for everybody to pick up. John Ralls & co have been doing > > a good job at making GTK+ easy to build and looking into scripts for > > simplifying the creation of application bundles for GTK+ > > applications and a framework. > > A framework as in the Gtk.framework folder you add to the Xcode > project and then build? > > Ever since I started developing in OS X I've found this approach quite > beautiful in its simplicity. > I will seriously consider looking into this myself if/when I have the > time, > > Thanks again! > Jacob Juul Kolding > Juvul Tech > > > > > -kris. > > > ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list smime.p7s Description: S/MIME cryptographic signature ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: Why are no developers completing/maintaining native Gtk+ for OS X?
On Nov 10, 2009, at 3:34 AM, Jacob Juul Kolding wrote: On Nov 10, 2009, at 1:05 AM, Shawn Bakhtiar wrote: To build the latest framework: 1) Get the latest using jhbuild and build 2) http://github.com/jralls/gtk-osx-framework/tree/master/framework/ I know absolutely nothing about "jhbuild + URL", could you please list all commands needed? Please forgive me if it sounded "bossy", that wasn't the plan... I've tried following the instructions on the gtk+osx sourceforge page, but "jhbuild bootstrap" fails because "tex" is missing. Anyone know where I can get that? /Jacob I think I was able to build the frameworks and compile against them using the Xcode IDE, but I prefer using make and the command line myself. Actually machine has a couple of versions of framework / dependencies and builds, so I don't know if I just got lucky. Like I said, in 52 days I will have more time to play :) > Subject: Re: Why are no developers completing/maintaining native Gtk+ for OS X? > From: ja...@juvul.com > Date: Tue, 10 Nov 2009 00:35:44 +0100 > To: k...@gtk.org > CC: gtk-devel-list@gnome.org > > On Nov 9, 2009, at 8:23 PM, Kristian Rietveld wrote: > > > On Nov 9, 2009, at 7:10 PM, Jack Skellington wrote: > >> 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. > > > > No, it is not fully complete, but getting close. Recently, I have > > been working on reviewing outstanding patches, fixing up the last > > few kinks remaining after the transition to client side windows and > > implemented proper and complete multi monitor support. I do have > > plans on how to continue my work on the backend. Development of the > > Mac port is actually pretty active. I only have very ample spare > > time to work on this and I do not get paid for this at all. Saying > > that the OS X port is not being actively developed is actually close > > to insulting to me; I have been trying my best to pick it up after > > the previous maintainer stopped working on it > > I can't tell you how happy reading this makes me. I love Gtk+ and have > been using it in projects for like a decade, mostly on *nix, but > lately cross-platform. > As for the insult part, it was never my intention, I was merely > relaying the present information thats available on the Gtk+ OS X > sourceforge site. > > Keep up the good work! > If I had money, I'd pay you ;) > > >> 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. > > > The basics for this have been worked out in the past and are > > available for everybody to pick up. John Ralls & co have been doing > > a good job at making GTK+ easy to build and looking into scripts for > > simplifying the creation of application bundles for GTK+ > > applications and a framework. > > A framework as in the Gtk.framework folder you add to the Xcode > project and then build? > > Ever since I started developing in OS X I've found this approach quite > beautiful in its simplicity. > I will seriously consider looking into this myself if/when I have the > time, > > Thanks again! > Jacob Juul Kolding > Juvul Tech > > > > > -kris. > > > ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list smime.p7s Description: S/MIME cryptographic signature ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: Why are no developers completing/maintaining native Gtk+ for OS X?
On Nov 10, 2009, at 1:05 AM, Shawn Bakhtiar wrote: To build the latest framework: 1) Get the latest using jhbuild and build 2) http://github.com/jralls/gtk-osx-framework/tree/master/framework/ I know absolutely nothing about "jhbuild + URL", could you please list all commands needed? /Jacob I think I was able to build the frameworks and compile against them using the Xcode IDE, but I prefer using make and the command line myself. Actually machine has a couple of versions of framework / dependencies and builds, so I don't know if I just got lucky. Like I said, in 52 days I will have more time to play :) > Subject: Re: Why are no developers completing/maintaining native Gtk+ for OS X? > From: ja...@juvul.com > Date: Tue, 10 Nov 2009 00:35:44 +0100 > To: k...@gtk.org > CC: gtk-devel-list@gnome.org > > On Nov 9, 2009, at 8:23 PM, Kristian Rietveld wrote: > > > On Nov 9, 2009, at 7:10 PM, Jack Skellington wrote: > >> 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. > > > > No, it is not fully complete, but getting close. Recently, I have > > been working on reviewing outstanding patches, fixing up the last > > few kinks remaining after the transition to client side windows and > > implemented proper and complete multi monitor support. I do have > > plans on how to continue my work on the backend. Development of the > > Mac port is actually pretty active. I only have very ample spare > > time to work on this and I do not get paid for this at all. Saying > > that the OS X port is not being actively developed is actually close > > to insulting to me; I have been trying my best to pick it up after > > the previous maintainer stopped working on it > > I can't tell you how happy reading this makes me. I love Gtk+ and have > been using it in projects for like a decade, mostly on *nix, but > lately cross-platform. > As for the insult part, it was never my intention, I was merely > relaying the present information thats available on the Gtk+ OS X > sourceforge site. > > Keep up the good work! > If I had money, I'd pay you ;) > > >> 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. > > > The basics for this have been worked out in the past and are > > available for everybody to pick up. John Ralls & co have been doing > > a good job at making GTK+ easy to build and looking into scripts for > > simplifying the creation of application bundles for GTK+ > > applications and a framework. > > A framework as in the Gtk.framework folder you add to the Xcode > project and then build? > > Ever since I started developing in OS X I've found this approach quite > beautiful in its simplicity. > I will seriously consider looking into this myself if/when I have the > time, > > Thanks again! > Jacob Juul Kolding > Juvul Tech > > > > > -kris. > > > smime.p7s Description: S/MIME cryptographic signature ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: Why are no developers completing/maintaining native Gtk+ for OS X?
On Nov 9, 2009, at 8:23 PM, Kristian Rietveld wrote: On Nov 9, 2009, at 7:10 PM, Jack Skellington wrote: 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. No, it is not fully complete, but getting close. Recently, I have been working on reviewing outstanding patches, fixing up the last few kinks remaining after the transition to client side windows and implemented proper and complete multi monitor support. I do have plans on how to continue my work on the backend. Development of the Mac port is actually pretty active. I only have very ample spare time to work on this and I do not get paid for this at all. Saying that the OS X port is not being actively developed is actually close to insulting to me; I have been trying my best to pick it up after the previous maintainer stopped working on it I can't tell you how happy reading this makes me. I love Gtk+ and have been using it in projects for like a decade, mostly on *nix, but lately cross-platform. As for the insult part, it was never my intention, I was merely relaying the present information thats available on the Gtk+ OS X sourceforge site. Keep up the good work! If I had money, I'd pay you ;) 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. The basics for this have been worked out in the past and are available for everybody to pick up. John Ralls & co have been doing a good job at making GTK+ easy to build and looking into scripts for simplifying the creation of application bundles for GTK+ applications and a framework. A framework as in the Gtk.framework folder you add to the Xcode project and then build? Ever since I started developing in OS X I've found this approach quite beautiful in its simplicity. I will seriously consider looking into this myself if/when I have the time, Thanks again! Jacob Juul Kolding Juvul Tech -kris. smime.p7s Description: S/MIME cryptographic signature ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list