From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: NS port and DESTDIR Date: Sat, 29 Jan 2022 15:10:17 -0500 Message-ID: References: <12FD2A63-D329-43F4-9099-8F6A1AC4ACE4@madlon-kay.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008e523a05d6be2474" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12600"; mail-complaints-to="usenet@ciao.gmane.io" Cc: EMACS development team To: Aaron Madlon-Kay Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 29 21:11:46 2022 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 1nDu4Y-00037x-IQ for ged-emacs-devel@m.gmane-mx.org; Sat, 29 Jan 2022 21:11:46 +0100 Original-Received: from localhost ([::1]:37368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDu4X-0005nn-4A for ged-emacs-devel@m.gmane-mx.org; Sat, 29 Jan 2022 15:11:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDu3P-00054C-8O for emacs-devel@gnu.org; Sat, 29 Jan 2022 15:10:36 -0500 Original-Received: from [2a00:1450:4864:20::135] (port=41706 helo=mail-lf1-x135.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDu3L-0005Wy-TM for emacs-devel@gnu.org; Sat, 29 Jan 2022 15:10:34 -0500 Original-Received: by mail-lf1-x135.google.com with SMTP id x7so18555617lfu.8 for ; Sat, 29 Jan 2022 12:10:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3esRYJrbt6xlJJABHmcDea+nzeBQ1GTJIQhip7799Aw=; b=ecYXS7DRGNrzmtdCtJPz7hhh39u0cHQkvFA1mwjvDChKGPxHZ96mbfPQ+C9f9j25x0 +DfDhzCyyoKfCJwG0cklSOTqx3qowliUNvbnPQGA0BuFe+bHITgxkYCKig0D5A8GukmX WIfzVAwcsgkjZFQnDPVjuOWWyvp1BLizmot6eDZR66FIoulq0v4au8drZTnEPgEztKX/ jdlaKjYYNyq8jhEP/k7xZifW1lm/RhH+NF964vXHDO+bNKMAQyiJU31cYKsRTchCqmty y/MmryxGFHqyBJW5IpvBxQ2V5VlTOmlVpLrQ12lXWOue0QvXz1V31X46jZtb/ub5PtNK vIVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3esRYJrbt6xlJJABHmcDea+nzeBQ1GTJIQhip7799Aw=; b=kQ21/oIubIOAFuAY5N+oPqf1LWQvl5NEdCNd0XaW6ziOz24a1aPFLTj+CIiNbEBt4d 7d+ypn5xMiNT/rvxca0kYk5pG3YdS0u/i6QGwRfsNKo4jKN77FMidWA796TbZCpQAOFC tBkjtvqDr47DJdm+fX8ixiSFquyxImEZfROikS0qFoW4KCJm40CsjcIhJOOvpzroyoMa mUg1Q5nqj5bMycalzzF5QnpqhCwN9cmjKetz67FISUdaGwcA3rhCsVbMpfmz5H4PbuRN +1/ejBSJq6xFJgSrfby5s5RVNQT8PvatYT4fW1YVCoxCo80y9G+rz8qA3M/Qg3FeoGUE P5Rw== X-Gm-Message-State: AOAM533xiZWRq/xDOUUeD4LrD419NQGmNpz98E3Ro/g3QGlHCGCHMs9e EZbu/+cNi9uJLQ8jGJ7tmb9JcYyMHafZRF/iZRU= X-Google-Smtp-Source: ABdhPJx8LphWqVlY79aEKs/owzZi3fU5FhRNZLK5rO34Kh0VYz61uDYSDF4UbnKYVM91Q6iuD23GQuX+HOwOaWYIvb0= X-Received: by 2002:a05:6512:36cc:: with SMTP id e12mr10268045lfs.96.1643487028989; Sat, 29 Jan 2022 12:10:28 -0800 (PST) In-Reply-To: <12FD2A63-D329-43F4-9099-8F6A1AC4ACE4@madlon-kay.com> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::135 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=yandros@gmail.com; helo=mail-lf1-x135.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:285568 Archived-At: --0000000000008e523a05d6be2474 Content-Type: text/plain; charset="UTF-8" On Sat, Jan 29, 2022 at 9:23 AM Aaron Madlon-Kay wrote: > I was poking around packaging stuff and noticed that it seems `make > install`-ing the self-contained NS port does not handle DESTDIR correctly. > Is this intentionally not a supported use case? > (Forgive me if this has changed in the last couple years.) The ns port "self contained app" puts everything inside the .app directory, which is very much the standard in the macOS world, and makes it possible to have, for example, multiple distinct emacs installations simultaneously, as well as to distribute emacs from a build-capable machine to other machines just by passing around the .app directory. (I gather that flatpak and snap are efforts to bring this sort of organization to other systems.) In this world, it's hard to see what DESTDIR would/should do. What were you expecting? Is there something that you're trying to do when building emacs that doesn't work? (My memory says that the options for macOS that ARE NOT self-contained are likely seriously underused, but since they're basically "do what you do on nearly every unix-like system", they should pretty much work, IFF you disable the self-contained app option. Hope that helps, ~Chad --0000000000008e523a05d6be2474 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Sat, Jan 29, 2022 at 9:23 AM Aaron Mad= lon-Kay <aaron@madlon-kay.com> wrote:
I w= as poking around packaging stuff and noticed that it seems `make install`-i= ng the self-contained NS port does not handle DESTDIR correctly. Is this in= tentionally not a supported use case?

The ns port "self contained app" puts everything in= side the .app directory, which is very much the standard in the macOS world= , and makes it possible to have, for example, multiple distinct emacs insta= llations simultaneously, as well as to distribute emacs from a build-capabl= e machine to other machines just by passing around the .app directory. (I g= ather that flatpak and snap are efforts to bring this sort of organization = to other systems.) In this world, it's hard to see what DESTDIR would/s= hould do. What were you expecting? Is there something that you're tryin= g to do when building emacs that doesn't work? (My memory says that the= options for macOS that ARE NOT self-contained are likely seriously underus= ed, but since they're basically "do what you do on nearly every un= ix-like system", they should pretty much work, IFF you disable the sel= f-contained app option.

~Chad

--0000000000008e523a05d6be2474--