From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 6ED48BBC4 for ; Mon, 30 Mar 2009 16:09:05 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai8BAONu0ElDWxLCe2dsb2JhbACBUpQ1AQEWIgSnFIRNiE2DegY X-IronPort-AV: E=Sophos;i="4.38,431,1233529200"; d="scan'208";a="26635234" Received: from ip67-91-18-194.z18-91-67.customer.algx.net (HELO server1.bertec.net) ([67.91.18.194]) by mail1-smtp-roc.national.inria.fr with ESMTP; 30 Mar 2009 16:09:03 +0200 Received: from kuba-laptop.bertec.net (kuba-laptop.bertec.net [192.168.2.48]) by server1.bertec.net (Postfix) with ESMTP id 5C93D1056D1 for ; Mon, 30 Mar 2009 10:09:00 -0400 (EDT) Message-Id: <8B15BB4E-3423-483D-8A96-DAD66DFA4B71@osu.edu> From: Kuba Ober To: caml-list@yquem.inria.fr In-Reply-To: <2B4B31CE-5C55-4F07-AC9C-84307AF1F7C2@cea.fr> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: [Caml-list] native GTK+ on Mac OS X Date: Mon, 30 Mar 2009 10:08:59 -0400 References: <20090330100002.CA4F0BBC6@yquem.inria.fr> <2B4B31CE-5C55-4F07-AC9C-84307AF1F7C2@cea.fr> X-Mailer: Apple Mail (2.930.3) X-Spam: no; 0.00; gtk:01 subdirectory:01 usr:01 lib:01 gimp:01 ocaml:01 gtk:01 bug:01 gimp:01 quartz:98 quartz:98 sourceforge:01 binaries:01 binaries:01 caml-list:01 > > > For distributing binaries, I build my quartz variant of MacPorts > as a subdirectory of the installation path that I wish to use > (/usr/local/Frama-C/lib/macports), and include in the distributed > archive those libraries that are necessary for running Frama-C. > See the contents of one of the Mac OS X distributions > for details: http://frama-c.cea.fr/download.html > > This unfortunately means that the > binaries can not be installed anywhere else. > Gimp.app (http://gimp-app.sourceforge.net/) allows > to move the application around by using a shell script > to change, at each launch, the paths in all the configuration > files that have them hard-coded. But some of the libraries > that Frama-C depends on seem to have binaries files > with hard-coded paths, so I didn't succeed in doing the > same thing. > > Tangentially, I would be interested in any improvement > suggestions from people more knowledgeable that me > on the subject of gtk-quartz, displaying unicode with > pango on Mac OS X, and their interactions with OCaml. I have been running macports and gtk2 compiled +quartz +no_x11 for quite a while now. The only snag is that instead of installing pango you have to install pango-devel, as there is a bug that prevents pango from compiling w/o x11 support in current MacPorts. I'm running native gimp and other tools, and it all "just works", so I don't really see why you'd even need the x11 gtk. Kuba