From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Charles A. Roelli" Newsgroups: gmane.emacs.bugs Subject: bug#27645: MacOS: run GUI Emacs without 'make install' Date: Thu, 20 Jul 2017 20:58:06 +0200 Message-ID: <91265521-adda-3240-df40-3fe3e4234b32@aurox.ch> References: <7c02464a-7569-40a8-5746-7a6883dc251e@aurox.ch> <20170712185235.GB23391@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1500577155 26499 195.159.176.226 (20 Jul 2017 18:59:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Jul 2017 18:59:15 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cc: 27645@debbugs.gnu.org, jean.christophe.helary@gmail.com To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 20 20:59:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYGfB-0006N2-1X for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jul 2017 20:59:05 +0200 Original-Received: from localhost ([::1]:39521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYGfG-0000RJ-P6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jul 2017 14:59:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYGfB-0000Qy-Oe for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2017 14:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYGf8-0007iz-LK for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2017 14:59:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47309) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYGf8-0007in-Hc for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2017 14:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dYGf8-000555-9p for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2017 14:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Charles A. Roelli" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jul 2017 18:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27645 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 27645-submit@debbugs.gnu.org id=B27645.150057709619482 (code B ref 27645); Thu, 20 Jul 2017 18:59:02 +0000 Original-Received: (at 27645) by debbugs.gnu.org; 20 Jul 2017 18:58:16 +0000 Original-Received: from localhost ([127.0.0.1]:49986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYGeO-00054A-D9 for submit@debbugs.gnu.org; Thu, 20 Jul 2017 14:58:16 -0400 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:41202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYGeM-00053w-Bb for 27645@debbugs.gnu.org; Thu, 20 Jul 2017 14:58:14 -0400 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 9BE2F224C2 for <27645@debbugs.gnu.org>; Thu, 20 Jul 2017 18:52:49 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=dkim; t=1500576768; x= 1501440769; bh=ahtLfCOatTrXURtgUT7Ol9CmN8XhiV6KExZ3hf7AWfg=; b=C 55bask6X7nnJCPpRr+1VkXwqZbJX/6ZkjqwmY7E/v4bT75p+sOumABgg9Uk2Ymop jsKT/tg8YnIoAIe2HtsXrkC/cH734jN4lbHSlL5scsBGpy9gi4jwThJXx8b9/8NN +cFJ7RvnvLuYt/t3GCYiLo4PPnwHl+TyXiDGIzQz28= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9FrYe2iUx0dw for <27645@debbugs.gnu.org>; Thu, 20 Jul 2017 18:52:48 +0000 (UTC) Original-Received: from [192.168.1.120] (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 1E7BC224A1; Thu, 20 Jul 2017 18:52:48 +0000 (UTC) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134794 Archived-At: I'll push this in a few days if there's no further changes to make. On 15/07/2017 16:58, Charles A. Roelli wrote: > On 12/07/2017 20:52, Alan Third wrote: > >> On Mon, Jul 10, 2017 at 09:12:14PM +0200, Charles A. Roelli wrote: >>> The patch is attached. >> I haven’t had a chance to test this, but it looks good, thanks for >> working on it. >> >>> In the top-level directory, use: >>> - ./configure --with-ns >>> + make >>> -(On macOS, --with-ns is enabled by default.) >>> +This will compile all the files. >> I understand that running make also runs configure, but I think it’s >> worth leaving configure and the stuff about --with-ns in there. If you >> try to build the NS port on anything other than macOS then you really >> need to know about --with-ns. > > Thanks, I've put it back. > >> >>> -This will compile all the files, but emacs will not be able to be >>> run except >>> -in -nw (terminal) mode. >>> +In order to run Emacs, you must run: >>> -In order to run Emacs.app, you must run: >>> + src/emacs >>> + >>> +In order to install Emacs, you must run: >>> make install >> I read this as it’s going to install Emacs somewhere on my PC, it >> should probably be something like: ‘To build Emacs.app ...’. >> > > It may install it (with --disable-ns-self-contained). I've clarified > this (hopefully). > > I've also placed the nsterm.m change inside #ifdef NS_IMPL_COCOA, > since the > activationPolicy doesn't seem to exist on GNUstep. > > See the updated patch again.