Re: Getting GTK+ to work on the Mac

2007-03-21 Thread Michael L Torrie
On Wed, 2007-03-21 at 14:22 +0100, Jeremiah Foster wrote:
 Hello,
 
 I am writing an article for the O'Reilly Network on getting GTK+
 to work on Apple's OS X operating system. I am familiar with a number
 of resources, for example Imendio's web site and build script, and 
 the pdf by Anders Carlsson which I am reading now. 
 
 I have not been able to get GTK+ to build on my OS X 10.3.9 machine
 with a PowerPC processor. I have posted to Imendio's hosted forum but there
 currently appears to be a lack of developers using the forum, or at 
 least they are not currently active.

Imendio's branch does not support 10.3 at all.  You have to have 10.4 to
build it.  I hope this will change, but they can only devote resources
to 10.4 at this time, unless some influx of volunteer developers occurs.
I would dearly love to see GTK Quartz on 10.3, and would spend time on
it if I could, but like everyone else, my time is limited.

 
 I would like to know if there are other resources on GTK+ and the Mac
 that I do not know about. 

MacPorts and Fink both have GTK+ for 10.3 or newer, but require X11.

Something else you might want to talk about in your article is methods
for deploying a GTK app in OS X.  For example, Gimp is available as a
Mac app bundle.  It requires X11 still, but the app bundle launches it
for you and also allows the gimp.app icon to receive file files via a
drag and drop in the finder or on the doc, and associates Gimp with file
types.  This makes Gimp, even though it's still running under X11 in
this case, more of a normal mac app.  

 
 Also is this the right forum for me to post issues regarding building 
 GTK+ on the Mac?
 
 Thanks very much,
 
   Jeremiah
 ___
 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


Re: Getting GTK+ to work on the Mac

2007-03-21 Thread Jeremiah Foster
Wed, Mar 21, 2007 at 04:17:39PM +0100:  Richard Hult mangled some bits into 
this alignment:
 Jeremiah Foster skrev:

Tjena Richard!
 
 There has been some work recently on getting it building and working on 
 10.3, but some work is probably still needed. If you are interested in 
 helping out with that, that would be great!

I would most definitely like to help out if I can. I have come very close to
a complete build but certain things are lacking. Right now I am having trouble
with the Gtk+2 bindings in perl, but that is offtopic on this list I suppose.

I used fink to install Gtk+2 like this:

fink install pkgconfig glib2 gtk+2 gtk+2-dev glib2-dev

This dragged in a lot of other packages for me as well. I have not tested
to see whether Gtk+2 is working because I wanted to use perl to write code
and I am stuck there as I mentioned. 

I am going to try to write a simple C program to test Gtk+2 to make sure that
bit is okay.

  Also is this the right forum for me to post issues regarding building 
  GTK+ on the Mac?
 
 The list is for developing GTK+ itself, so at least I prefer to keep 
 questions about build problems in the forum (most of the time they are 
 not really related to GTK+ but to problems in the build environment etc).

I will try to keep the focus on building Gtk+ then! :)

Regards,

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


Re: Getting GTK+ to work on the Mac

2007-03-21 Thread Jeremiah Foster

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


Re: Getting GTK+ to work on the Mac

2007-03-21 Thread Jeremiah Foster
File Edit Options Buffers Tools Help

 
Wed, Mar 21, 2007 at 11:13:59AM -0600:  Michael L Torrie mangled some bits into 
this alignment:
 On Wed, 2007-03-21 at 14:22 +0100, Jeremiah Foster wrote:
 
  I have not been able to get GTK+ to build on my OS X 10.3.9 machine
  with a PowerPC processor. I have posted to Imendio's hosted forum but there
  currently appears to be a lack of developers using the forum, or at
  least they are not currently active.

 Imendio's branch does not support 10.3 at all.  You have to have 10.4 to
 build it.  I hope this will change, but they can only devote resources
 to 10.4 at this time, unless some influx of volunteer developers occurs.
 I would dearly love to see GTK Quartz on 10.3, and would spend time on
 it if I could, but like everyone else, my time is limited.

I see. Too bad, but I understand the limited resources.
 
  I would like to know if there are other resources on GTK+ and the Mac
  that I do not know about.

 MacPorts and Fink both have GTK+ for 10.3 or newer, but require X11.

Right now I am using fink to install GTK+2 but it is failing. I am using
this web page as a resource: 
http://gtk2-perl.sourceforge.net/install/panther.html

One thing to note if someone else reads this post is that the above resource
should also mention that one needs to install the Glib-dev and Gtk+2-dev
packages with fink as well as the regular packages, otherwise you will get
warnings about GObject not being present.

 Something else you might want to talk about in your article is methods
 for deploying a GTK app in OS X.  For example, Gimp is available as a
 Mac app bundle.  It requires X11 still, but the app bundle launches it
 for you and also allows the gimp.app icon to receive file files via a
 drag and drop in the finder or on the doc, and associates Gimp with file
 types.  This makes Gimp, even though it's still running under X11 in
 this case, more of a normal mac app.

Good point, I will attempt to do that. I will have to dig into that somewhere,
perhaps a GIMP developer on this mailing list.

Regards,

Jeremiah

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


Re: Getting GTK+ to work on the Mac

2007-03-21 Thread Emmanuele Bassi
On Wed, 2007-03-21 at 21:38 +0100, Jeremiah Foster wrote:

  MacPorts and Fink both have GTK+ for 10.3 or newer, but require X11.
 
 Right now I am using fink to install GTK+2 but it is failing. I am using
 this web page as a resource: 
 http://gtk2-perl.sourceforge.net/install/panther.html
 
 One thing to note if someone else reads this post is that the above resource
 should also mention that one needs to install the Glib-dev and Gtk+2-dev
 packages with fink as well as the regular packages, otherwise you will get
 warnings about GObject not being present.

this is tre only if you want to compile the perl bindings for GTK+
yourself - and, if I may say, it's pretty obvious.  it's also said in
the README file for the Gtk2 and Glib perl modules:

  
http://gtk2-perl.cvs.sourceforge.net/gtk2-perl/gtk2-perl-xs/Glib/README?revision=1.71view=markup
  
http://gtk2-perl.cvs.sourceforge.net/gtk2-perl/gtk2-perl-xs/Gtk2/README?revision=1.79view=markup

section INSTALLATION and DEPENDENCIES.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,  E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net

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