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.bugs Subject: bug#49271: 28.0.50: native-comp: Signing macOS self-contained .app bundle fails due to new *.eln location Date: Wed, 30 Jun 2021 13:52:57 +0100 Message-ID: References: <83zgv7mtly.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10632"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49271@debbugs.gnu.org To: Jim Myhrberg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 30 14:54:54 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lyZjx-0002S9-6w for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Jun 2021 14:54:53 +0200 Original-Received: from localhost ([::1]:57428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyZjw-0003xb-8n for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Jun 2021 08:54:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyZj8-00035v-4Z for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2021 08:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45186) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyZj7-000547-Tr for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2021 08:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyZj7-0000jv-TQ for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2021 08:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jun 2021 12:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49271 X-GNU-PR-Package: emacs Original-Received: via spool by 49271-submit@debbugs.gnu.org id=B49271.16250576002792 (code B ref 49271); Wed, 30 Jun 2021 12:54:01 +0000 Original-Received: (at 49271) by debbugs.gnu.org; 30 Jun 2021 12:53:20 +0000 Original-Received: from localhost ([127.0.0.1]:56732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyZiK-0000ip-7R for submit@debbugs.gnu.org; Wed, 30 Jun 2021 08:53:20 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:45397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyZiI-0000id-El for 49271@debbugs.gnu.org; Wed, 30 Jun 2021 08:53:11 -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 B2106903; Wed, 30 Jun 2021 12:53:04 +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=1625057583; bh=58yRHi5vDuwqCtTiBBogeCERgBQ3NmOxnHBFQzd60TE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g5vyS87YOo82yxOxaP2k4zm/6hLSlU6xCOV3NNyDGMRGVXwrhPOaXNkb6qaeuwWx9 OIwb5eAr6/W50+JXSN01ko7d01SKc0VaUtELRkm7pIrNPfPn5Sv9BRFvYJcn/dgM6T D3Ess4lW5kwSbSUaxyk9Ll9b/7mPCKMqPUarW+/fdNH+e4948OdbogCt9cFLnGVU29 osrgl9Q++vuh8i9BInN3bR2pkb70Rul975YocHLNNVTldot6e/6RA2YbnMboL51vBM NvI+sONlKTEHM++lSiantFFnod7ZX/xs1XnE7cvaFO3upTHRPDux5vaDxvivunJWCW +YycJuMX6VcCA== Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id C2105202CCFB4B; Wed, 30 Jun 2021 13:52:57 +0100 (BST) Mail-Followup-To: Alan Third , Jim Myhrberg , Eli Zaretskii , 49271@debbugs.gnu.org Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209169 Archived-At: On Wed, Jun 30, 2021 at 01:39:10PM +0100, Jim Myhrberg wrote: > On Wed, Jun 30, 2021 at 1:20 PM Eli Zaretskii wrote: > > > The *.eln files are shared libraries. What is the canonical place to > > install shared libraries specific to an application? > > This page indicates that "Contents/Frameworks" is the place for shared > libraries: https://wiki.lazarus.freepascal.org/Application_Bundle > > I just poked around the internals of a bunch of Apple's apps and a few > third party apps, and it looks like "Contents/Frameworks" is where > they're storing *.dylib files among other things. So it might be the > sensible place for shared libraries. However, the same "two dots in > folder name" issue applies with codesign there too, so to use it we'd > need to drop the emacs version (28.0.50) from all folder paths. I just found this page which explains the deal with the dots in directory names: https://developer.apple.com/library/archive/technotes/tn2206/_index.html search for "period". It also explains why you need to put code in certain directories. I don't know why that page has been so hard to find. Anyway, I guess we do need to change the install location so it doesn't have the dots. It shouldn't really matter for the application bundle since you can't have multiple versions of Emacs installed in one bundle (without some hardcore messing around like the emacsformacosx.com builds). -- Alan Third