all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Piet van Oostrum <piet@cs.uu.nl>
To: emacs-devel@gnu.org
Subject: Missing info and man files in standalone Emacs.app (macosx)
Date: Sat, 27 Jan 2007 12:37:28 +0100	[thread overview]
Message-ID: <m27iv8vgxz.fsf@ordesa.cs.uu.nl> (raw)

I noticed that a stand-alone Emacs application in Mac OS X doesn't contain
the info and man pages. This is in emacs installed from the 22.0.92 and
22.0.93 pretest tarballs and in the cvs version. The files are
inadvertantly removed from the built version by the make-package script.
The following patch will solve this:

diff -u /Volumes/TEMP/MISC/Downloads/emacs/emacs-22.0.93/mac/make-package.\~1\~ /Volumes/TEMP/MISC/Downloads/emacs/emacs-22.0.93/mac/make-package
--- /Volumes/TEMP/MISC/Downloads/emacs/emacs-22.0.93/mac/make-package.~1~	2007-01-21 19:34:38.000000000 +0100
+++ /Volumes/TEMP/MISC/Downloads/emacs/emacs-22.0.93/mac/make-package	2007-01-25 08:53:49.000000000 +0100
@@ -330,6 +330,8 @@
 if test "$self_contained" = "yes"; then
     # Move shared files down to Resources directory
     mv $installprefix/share/emacs/$version/* $installprefix
+    mv $installprefix/share/info $installprefix
+    mv $installprefix/share/man $installprefix
     rm -rf $installprefix/share
     # These directories might remain in Resources
     mv $installprefix/bin $installprefix/../MacOS/bin

There is another problem with the info files, however. The mac startup code
in mac.c sets the environment variable INFOPATH to the location of the info
files in the application bundle (.../Contents/Resources/info). However this
causes the Info-directory-list variable to get only that directory as
value, disregarding any other info directories in the system, such as
/usr/local/share/info. I think it would be more useful to initialize
configure-info-directory (Vconfigure_info_directory) with that value
instead of the environment variable.

-- 
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet@vanoostrum.org

             reply	other threads:[~2007-01-27 11:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-27 11:37 Piet van Oostrum [this message]
2007-01-30 17:11 ` Missing info and man files in standalone Emacs.app (macosx) Chong Yidong

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=m27iv8vgxz.fsf@ordesa.cs.uu.nl \
    --to=piet@cs.uu.nl \
    --cc=emacs-devel@gnu.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.