From: David Caldwell <david@porkrind.org>
Subject: Re: Mac OS X GNU Emacs Installer (make-package)
Date: Sat, 30 Nov 2002 19:38:08 -0800 [thread overview]
Message-ID: <2147483647.1038685088@[10.0.0.2]> (raw)
In-Reply-To: <A21B6B94-04CF-11D7-AADA-00039390AB82@mac.com>
On 11/30/02 5:53 PM -0800 Steven Tamm wrote:
> Yeah, I think you are right. The one concern that I had was what would
> happen if the location of the Emacs.app was moved. Your solution fixes
> that by creating a "shadow" application. Why not make the whole
> Emacs.app directory be a link to the lib-exec one? That way you wouldn't
> have the problem of dealing with two sets of files depending on whether
> you did it from the command line or from the finder. The downside is
> that the icon in the Applications menu would be a little screwed up.
I really wanted to do cp -lr but OS X cp doesn't support -l. In the end I
did this:
[david@Bluey ~/src/emacs-dev/emacs-cvs/mac]$ find /Applications/Emacs.app
-type f | xargs du -s
8 /Applications/Emacs.app/Contents/.cvsignore
8 /Applications/Emacs.app/Contents/Info.plist
14168 /Applications/Emacs.app/Contents/MacOS/Emacs
8 /Applications/Emacs.app/Contents/PkgInfo
104 /Applications/Emacs.app/Contents/Resources/Emacs.icns
16 /Applications/Emacs.app/Contents/Resources/Emacs.rsrc
8
/Applications/Emacs.app/Contents/Resources/English.lproj/InfoPlist.strings
And decided that it was negligible to have a complete copy in libexec (as
long as Contents/MacOS/Emacs was a link...).
> As another aside, I think the make-package script should eventually be
> rewritten in perl because of the guarantee that it exists on Mac OS X.
> Any objections.
I'm a big perl fan so you won't hear objections from me :).
> If Emacs.app is a symlink then it's a non-issue (obviously). pax at that
> point is just a wrapper around tar (see the man page), so I would assume
> it would do the right thing in any case.
Symlinking the whole app works just as well. The only "downside" is that
you get the little alias stamp on the icon. It doesn't really matter to me
if it's a symlink or a hard link. I can't see what either one offers over
the other one (in this case).
-David
next prev parent reply other threads:[~2002-12-01 3:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-30 22:23 Mac OS X GNU Emacs Installer (make-package) Steven Tamm
2002-11-30 22:38 ` Kai Großjohann
2002-11-30 22:48 ` David Caldwell
2002-11-30 23:19 ` Steven Tamm
2002-11-30 23:50 ` David Caldwell
2002-12-01 1:53 ` Steven Tamm
2002-12-01 2:04 ` Miles Bader
2002-12-01 2:23 ` Steven Tamm
2002-12-02 15:46 ` Richard Stallman
2002-12-01 3:38 ` David Caldwell [this message]
2002-12-02 18:26 ` Andrew Choi
2002-12-02 15:46 ` Richard Stallman
2002-12-02 15:46 ` Richard Stallman
2002-12-02 16:04 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2002-12-02 19:22 Steven Tamm
2002-12-02 19:45 ` Andrew Choi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='2147483647.1038685088@[10.0.0.2]' \
--to=david@porkrind.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.