From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Building "vanilla" emacs on macOS (summary) Date: Wed, 8 Sep 2021 16:24:37 +0100 Message-ID: References: <981AC780-5C09-4002-B55A-08C62AA3C247@traduction-libre.org> <87ee9zbwu4.fsf@codeisgreat.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14276"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Pankaj Jangid Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 08 17:27:11 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNzTi-0003Tr-Kd for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Sep 2021 17:27:11 +0200 Original-Received: from localhost ([::1]:33822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNzTc-0000gx-21 for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Sep 2021 11:27:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNzRR-00071D-OK for emacs-devel@gnu.org; Wed, 08 Sep 2021 11:24:49 -0400 Original-Received: from outbound.soverin.net ([2a01:4f8:fff0:65::8:228]:55093) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNzRN-00037Q-V3 for emacs-devel@gnu.org; Wed, 08 Sep 2021 11:24:49 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 29F6A298; Wed, 8 Sep 2021 15:24:42 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1631114681; bh=/0fc3R7fA8mCdaRmUu5Ljdf2iSXFwgUOINH94Y48Ga0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pwFdHIXCHZs0lCb3E+ZGHeQG2GoExlFQgv4CqBdOTcsJtEggPOTuJg3mMWy9pex+1 6oq63+IDNJuVxu7/5sulnc7ekNv3FzJTymA6dVNhHKSQaC5taVgi2uBvIEQHzinBqp w3SBeQ6fTqwqeZcwHgq2CJAouZ0ZioKMupYW6N21z4v8dXmGKFOF39lZLq4z0B9uIy 304pfMXRbsVjr563/zquhCcbNNwlSrkQhztov1mv2fEBhyhN/ufqWJ/VvLfZn8/Q7J VibJ3K6lnuInVFR7gUNqB2vaDMVEgEK6kJGBaVVGilyQOqFpVdCcsrbspDcRxBc4XN Jsi2C1DLLwGBg== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1mNzRG-001Ht0-0d; Wed, 08 Sep 2021 16:24:38 +0100 Mail-Followup-To: Alan Third , Pankaj Jangid , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <87ee9zbwu4.fsf@codeisgreat.org> Received-SPF: pass client-ip=2a01:4f8:fff0:65::8:228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:274357 Archived-At: On Wed, Sep 08, 2021 at 08:24:59AM +0530, Pankaj Jangid wrote: > Alan Third writes: > > > In it's default set-up Emacs on macOS won't use libjpeg, libtiff, > > libpng and giflib even if they're installed as those image types are > > all built into NSImage, which is the default. So they're not > > essential. > > Ok. Then there is a bug in the generated ‘configure’ script. In my > trials, ‘./configure’, said ‘no’ for the above libraries when I didn’t > install the Homebrew packages and ‘yes’ otherwise. that's true, but you don't require them as long as configure reports: Does Emacs use native APIs for images? yes (ns) If you have both native API and the libraries built-in you can make Emacs use either, although I can't remember off-hand how to force it to use the libraries. Now, if you're building Emacs 27 it won't report that, but it will still prefer the native image API, and I'd suggest whatever else you do you don't actually want to use giflib as the native gif support is less buggy. -- Alan Third