Actually jhbuild shell doesn't seem to be necessary anymore to build Geany under OSX....from http://www.gtk-osx.org/ you can download a nice and convenient .dmg file that seems to install all the necessary framework files...in my first tries I fiddled around with jhbuild but it's not required for building Geany these days, as far as I can tell. Maybe I'll take a deeper look at the other integration packages (osx theme sounds interesting...) in the near future but now I have some Python coding to do...which was the reason for installing Geany in the first place ;) (before the whole trouble started *g).

Oh, and what about creating a nice Geany .dmg package for the OSX community? ;-) ...maybe there are some other users interested..so we could combine efforts..

May the Source Be With You! :)

Oliver 

On Fri, Oct 2, 2009 at 4:33 PM, Jason Oster <jason.oster@campnavajo.com> wrote:
On 10/01/2009 06:58 AM, Juergen Potzkoten wrote:
Success!

first of all I'd like to thank you Nick & Jason for the hints!
Building Geany natively under OSX with GTK+  (without X11) sounded fine
to me..so I started again from scratch and deleted my previous attempts
& macports.

Here's what I did:

- installed GTK+ from http://www.gtk-osx.org/
- downloaded the latest Geany SVN Version again
- ran ./autogen.sh in Terminal again and got the following error:

....
    checking pkg-config is at least version 0.9.0... yes
    checking for GTK... configure: error: Package requirements
(gtk+-2.0 >= 2.8.0) were not met:

    No package 'gtk+-2.0' found
...

- fired up Finder to search for gtk, found it under <myuser>/gtk
- added the path in Terminal by typing:
  export PKG_CONFIG_PATH=<myuser>/gtk/inst/lib/pkgconfig/
- checked it with: pkg-config --modversion gtk+-2.0
  Output: 2.16.2

-so there we are!
-then I ran configure, make and sudo make install again

-->Success! Geany executable is under /usr/local/bin/geany and runs fine
now!

Maybe this little "Howto" can push the other OS X users (are there any?
;) ) into the right direction...

Thanks again and have a nice day!
Oliver

Glad you got it working! I'm not sure if gtk-osx still uses jhbuild shell (it probably does for building it and dependencies) but it at least provides a full environment to build GTK+ apps on OS X. There were also some related packages from the same group (Imendio) to build OS X application packages, a more OS X-alike GTK+ theme, and an integration package to use the OS X menu bar and Dock.

It was enough to get the look-and-feel just about right, but again I don't know how much progress has been made on those side-projects.

Happy hacking! :)

_______________________________________________
Geany mailing list
Geany@uvena.de
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany