From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Michael Reilly Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs with graphics support on a Mac system Date: Sun, 24 Jul 2011 08:08:54 -0400 Message-ID: References: <4E2BD217.1010402@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015174c0f340c3cc204a8cf9042 X-Trace: dough.gmane.org 1311509344 20646 80.91.229.12 (24 Jul 2011 12:09:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 24 Jul 2011 12:09:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 24 14:09:00 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QkxUS-0003gz-MG for ged-emacs-devel@m.gmane.org; Sun, 24 Jul 2011 14:09:00 +0200 Original-Received: from localhost ([::1]:59539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkxUS-0002wP-4H for ged-emacs-devel@m.gmane.org; Sun, 24 Jul 2011 08:09:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkxUP-0002wJ-V1 for emacs-devel@gnu.org; Sun, 24 Jul 2011 08:08:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkxUO-0005p0-Qf for emacs-devel@gnu.org; Sun, 24 Jul 2011 08:08:57 -0400 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]:52237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkxUO-0005ow-Ky for emacs-devel@gnu.org; Sun, 24 Jul 2011 08:08:56 -0400 Original-Received: by ewy9 with SMTP id 9so2583983ewy.0 for ; Sun, 24 Jul 2011 05:08:55 -0700 (PDT) Original-Received: by 10.213.8.23 with SMTP id f23mr303761ebf.28.1311509335260; Sun, 24 Jul 2011 05:08:55 -0700 (PDT) Original-Received: by 10.213.29.12 with HTTP; Sun, 24 Jul 2011 05:08:54 -0700 (PDT) In-Reply-To: <4E2BD217.1010402@swipnet.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142251 Archived-At: --0015174c0f340c3cc204a8cf9042 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Jul 24, 2011 at 4:04 AM, Jan Dj=E4rv wrote: > > > Paul Michael Reilly skrev 2011-07-24 07:16: > > I am struggling trying to get -ljpeg support on Mac OS X (Lion). I can >> build >> Emacs without graphics support just fine using XCode4 support but I woul= d >> now >> like to add some of the helpful additions that come with graphics and >> image >> support. My first attempt was to use MacPorts and install the jpeg >> package. >> I moved the jpeg include and lib files into /usr/include and /usr/lib b= ut >> configure still fails to detect jpeg support. Before I try to grok the >> autoconf script I am curious to know what approach is used by those who = do >> build on and for Mac OS X hardware to achieve graphics and image support= . >> >> > If you configure --with-ns, Emacs displays images just fine without -ljpe= g. > It uses other API:s. Did you try opening a jpeg file? > I did not. And imagine my chagrin when I did and discovered that you are right! :-) Very nice indeed. Is this generally true, that Emacs built on OS X will provide the same functionality as, say, Linux, but without external libraries being installed? Thanks, -pmr --0015174c0f340c3cc204a8cf9042 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Sun, Jul 24, 2011 at 4:04 AM, Jan Dj=E4rv <jan.h.d@swipnet.se= > wrote:


Paul Michael Reilly skrev 2011-07-24 07:16:

I am struggling trying to get -ljpeg support on Mac OS X (Lion). =A0I can b= uild
Emacs without graphics support just fine using XCode4 support but I would n= ow
like to add some of the helpful additions that come with graphics and image=
support. =A0My first attempt was to use MacPorts and install the jpeg packa= ge.
=A0I moved the jpeg include and lib files into /usr/include and /usr/lib b= ut
configure still fails to detect jpeg support. =A0Before I try to grok the autoconf script I am curious to know what approach is used by those who do<= br> build on and for Mac OS X hardware to achieve graphics and image support.

If you configure --with-ns, Emacs displays images just fine without -ljpeg.=
It uses other API:s. =A0Did you try opening a jpeg file?

I did not. =A0And imagine my chagrin when I did and disco= vered that you are right! :-) =A0Very nice indeed.

Is this generally true, that Emacs built on OS X will provide the same func= tionality as, say, Linux, but without external libraries being installed?

Thanks,

-pmr
=A0
--0015174c0f340c3cc204a8cf9042--