GIMP# on OS-X… yes!

July 17, 2007 at 2:20 pm | In C#, GIMP, Programming | 4 Comments

As you can see in the screenshot below (the dialog of a sample plug-in written in C#) I got GIMP# running on my MacBook Pro.

ncp dialog

The problem mentioned in my previous post was that there were multiple instances of some libraries. Mostly caused by me messing with both MacPorts and Fink. I reinstalled everything from scratch and this time I only used MacPorts for installing GIMP and GTK. Mono and GTK# were built from source. There are still some issues with libjpeg which resides in two different places. Some info about that can be found here.

There are three things on my list before I will release GIMP# for OS-X:

  1. Execute a set of about 200 unit tests
  2. See if all plug-ins work the same way as they do on my Linux machine
  3. Create an installer

If all goes well this is a matter of days…

GIMP# on OS-X… almost

July 15, 2007 at 9:10 pm | In C#, GIMP | 6 Comments

I made some progress putting GIMP# on OS-X. There were numerous hurdles, like compiling Gtk#, installing and running GIMP, setting the right paths, forgetting to install the development packages of several libs, handling with different extensions for dynamic libraries, etc. etc. Most of this was of course caused by my unfamiliarity with the Mac as a development platform. However I’m proud to present you the following screenshot:

GIMP# on OS-X

I know, this is not a fully functional GIMP# plug-in running, but if you look closely you can see that the ncp plug-in which is written in C#, registers itself. It still crashes as soon as I try to run it, but hopefully I will be able to fix that after a bit of debugging.

Once I get it running, I will start experimenting with an installer for the Mac. Any suggestions on a good one are welcome.

Update (July 16): the AverageBlur plug-in works fine. This is about the only plug-in that doesn’t use any Gtk# stuff. All other plug-ins still crash as soon as I try to run them.

My new MacBook :)

July 12, 2007 at 6:57 am | In GIMP, Programming | 2 Comments

Since one week I own a really nice MacBook Pro. It’s still single boot but that’s probably going to change in the near future as soon as I got some time. You probably all know what a MacBook looks like, but here’s the picture anyhow:

I already installed some development software and next I will start porting GIMP#. Hopefully this will be a bit easier than our win32 port in the past. After porting I will have to figure out how to create an installer so that GIMP# will be available for the growing legion of OS-X users.

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.