Felipe, I've attached the script I use to launch apps that have been linked against Gimp's gtk2 libraries (renamed from .sh to .txt so it doesn't get stripped out). This script could be placed inside the app's bundle to launch it - that's the way Gimp starts up on OS X.
My thinking behind linking against Gimp's gtk2 libraries is to simplify distribution of an app: Just direct the user to an official Apple site to download the Gimp installer. Since it's a universal binary the same .dmg can be used on both PowerPC and Intel Macs and since it's open source you could post it on your own site or network if you want. This is a foolproof way of installing the gtk2 libraries on a Mac that doesn't require fink, which would be a showstopper for most Mac users. Plus it adds an app (Gimp) that's useful in its own right. The first part of the script just locates Gimp by looking in the usual places. The second part of the script sets various environment variables that gtk2 apparently likes to have. With the advent of the Carbon widgetset, gtk2 isn't quite as important to me anymore, but it still may have its uses on OS X. I tested various programs against gtk2 today and it doesn't seem quite as slow as I remember - maybe I'm just slower now. Thanks. -Phil -----Original Message----- From: Felipe Monteiro de Carvalho [mailto:[EMAIL PROTECTED] Sent: Sat 6/2/2007 4:04 PM To: lazarus@miraclec.com Subject: Re: Cannot compile GTK2 lcl anymore On 6/2/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: > I can still compile, link and run apps against Gimp's gtk2 2.6.10 libaries on > my PowerPC Mac with FPC 2.0.4. Are you sure gtk2 widgetset has a dependency > on 2.8? I don't know. I just know that I have gtk 2.4 from fink here and it fails to link. I will test latter with gtk2 from gimp. -- Felipe Monteiro de Carvalho _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
<<winmail.dat>>